• echarts中,如果同时设置了主标题和副标题,副标题默认显示在主标题下方。若想要主标题和副标题在同一行,可以将title设置为数组,即:将主标题伪装成副标题
      1. title: [{
      2. text: "主标题",
      3. left: 0,
      4. textStyle: {
      5. fontSize: 30,
      6. },
      7. },
      8. {
      9. text: "- 副标题",
      10. left: 100,
      11. top: 5,
      12. textStyle: {
      13. fontSize: 20
      14. }
      15. }],