You must be logged in to post your query.
Home › Forums › Chart Support › Custom tooltip for column chart
Is there a way to have a custom tooltip for each column in a column or stacked column chart? For instance, when hovering column 1, the info given has 3 values and the info given hovering column 2 has only 1. What Im trying to achieve is a stacked column where some values dont apply to every column, eg: the column 1 is divided in 3 parts, while the column 2 only 1 part. With stacked column I just set y: 0 to the column where the data doesnt apply, but it will still show up in the tooltip. Is there a way around it? Am I just doing it wrong?
@sebaulloa1,
You can use contentFormatter to filter the content of toolTip according to your requirement. Please take a look at this JSFiddle for an example on the same.
— Shashi Ranjan Team CanvasJS
Awesome! Thank you Shashi! you rock
You must be logged in to reply to this topic. Login/Register