Customized tooltip for Vaadin Charts


I am looking at including extra information to my chart tooltips.
Taking the example of
. If I have additional information in an arraylist ;say the sample size for each series , how can I add this information in the tooltip?

I have to display this information against eah series. If someone can guide me the best possible way to show this it will be great.


Maybe it’s too late, but it still may help somebody else.

Tooltip.setFormater javadoc might be useful in this case:

If tooltip is not shared you can use ‘’