You must be logged in to post your query.
Home › Forums › Chart Support › CanvasJS Tooltip
Hi Canvas JS Team,
I have json with no y values. If I am adding tooltip it shows ‘undefined’ value. How to handle this scenario?
http://jsfiddle.net/273Lqh3g/86/
Thanks
@leo,
You are facing this issue as the dataPoints that you are passing to chart doesn’t have y-value whereas within toolTip contentFormatter you are trying to access y-value, which is basically undefined. Removing y-value within contentFormatter should work fine in your case. Please take a look at this updated jsfiddle.
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register