ucharts tooltip换行问题
ucharts tooltip用和\n都没有反应啊
格式为
"tooltipDemo1":function(item, category, index, opts){
console.log(item);
return '随便用'+'\n'+item.name+':'+item.data+"A"
},
ucharts tooltip换行问题
ucharts tooltip用和\n都没有反应啊
格式为
"tooltipDemo1":function(item, category, index, opts){
console.log(item);
return '随便用'+'\n'+item.name+':'+item.data+"A"
},
1 个回复
秋云
目前uCharts的tooltips不支持/n换行,但可以通过拼接textlist的方式来实现,具体参考示例项目中other.vue