小程序自定义tooltip的样式无效
Aroooooo opened this issue · comments
在微信小程序中使用echarts时,我想在tooltip中自定义样式,使用富文本(rich),但是formatter返回的数据并没有应用样式。
tooltip: {
show:true,
trigger: 'axis',
renderMode:'richText',
rich:{
tooltipStyle:{color:'#FAAA39',fontSize:30},
formatter:function(val){
return '{tooltipStyle|123}'
},
},
},