Closed Wenbo16 closed 6 years ago
pie chart 的tooltip 好像用不了,检查了一下代码:https://github.com/Zen33/vue-sparklines/blob/master/components/charts/Pie.js,第76行 是否应该改为 tooltip.innerHTML = this.tooltipProps.formatter({ value, color}) || tooltipContent ?
tooltip.innerHTML = this.tooltipProps.formatter({ value, color}) || tooltipContent
感谢指正,已修复。vue-sparklines@0.1.8
pie chart 的tooltip 好像用不了,检查了一下代码:https://github.com/Zen33/vue-sparklines/blob/master/components/charts/Pie.js,第76行 是否应该改为
tooltip.innerHTML = this.tooltipProps.formatter({ value, color}) || tooltipContent
?