官方文档在这一块交待的不是很清楚,记录一下。

             title:{
              left:15,
              top:10,
              subtext:"AAA  {yellow|316}       BBB  {blue|219}",
              subtextStyle:{
                fontSize:14,
                color:"#333",
                rich:{
                  yellow:{
                    fontSize:16,
                    fontWeight:700,
                    color:'#EEA644'
                  },
                  blue:{
                    fontSize:16,
                    fontWeight:700,
                    color:'#42B7D5'
                  }
                }
              }
            }

另外,与HTML不同。

echarts 中,多几个空格也是有效的,不会像HTML中那样只算一个。

相关文章:

  • 2021-06-06
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2021-04-25
相关资源
相似解决方案