Vaadin Charts set different tooltips for each point


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?


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

Thank you very much that’s it.