分词图例 - eCharts
word break legend - eCharts
我想打断饼图的图例文本行。
按照echarts官网的说明试过,没成功
legend: {
orient: 'vertical',
left: '50%',
top: 'center',
data: mydata['data']['categoriestype'],
textStyle: {
color: '#CAD3DF',
fontSize: '14',
fontFamily: 'Roboto',
rich: {
mychart: {
width: '10'
}
},
},
},
与ECharts. How to apply width on title?
相同的问题
貌似echarts暂时不支持换行
github中有一个issue
Currently, auto line wrap is not supported. So text with only make
sense on text background. We should take into account the
implementation of auto line wrap, although it is not easy.
我想打断饼图的图例文本行。
按照echarts官网的说明试过,没成功
legend: {
orient: 'vertical',
left: '50%',
top: 'center',
data: mydata['data']['categoriestype'],
textStyle: {
color: '#CAD3DF',
fontSize: '14',
fontFamily: 'Roboto',
rich: {
mychart: {
width: '10'
}
},
},
},
与ECharts. How to apply width on title?
相同的问题貌似echarts暂时不支持换行
github中有一个issue
Currently, auto line wrap is not supported. So text with only make sense on text background. We should take into account the implementation of auto line wrap, although it is not easy.