syampillai / SOCharts

A wrapper around the "echarts" JavaScript library to use it as a Vaadin component.
Apache License 2.0
27 stars 11 forks source link

PieChart Custom ToolTip #32

Closed thejoker101 closed 6 months ago

thejoker101 commented 7 months ago

Is there a way to do a custom tooltip for a pie chart? There's an example for a LineChart, but applying that to a PieChart doesn't actually render anything. Doing .append(dataValues) in the custom tooltip will show the value, but if you do a custom AbstractDataProvider, it just seems to come up blank.

syampillai commented 6 months ago

Due to a bug, it had the AbstractDataProvider to the SOChart instance in order to make it work. However, this issue is already resolved in the latest version 3.2.5