Home > front end >  Echarts how to adjust the legend of the text and icon
Echarts how to adjust the legend of the text and icon

Time:09-22



As shown in figure, after joining together the \ n, icon followed, how to set? And how to give the percentage figures add parentheses,

CodePudding user response:

Set the text style textStyle: {} padding at the top of the property padding:,0,0,0 [15] before digital add left parenthesis in an empty string, in front of the sign on the right and right parenthesis
  • Related