Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
Vaadin Charts set different tooltips for each point
Hi,
i have a big question.
Is it possible to create a different tooltip for each point in the series?
So i have a columnrange chart and the first tooltip should show the the low and the high of the point on the other hand the second bar should have a tooltip which only shows the value of it.
Is that possible?
Regards
Arne
Last updated on
Create an extended DataSeriesItem and some property to it. When creating your data series, fill the property with value you can use to customize the formatting of tooltip like
tooltip.setFormatter( "function() { if (this.myProperty) { return this.y; } else { return this.low + \" - \" + this.high; } }");
or something like that
Last updated on
You cannot reply to this thread.