Home › forums › Using CanvasJS › second variable
This topic contains 2 replies, has 2 voices, and was last updated by clubteams 1 year, 3 months ago.
Hi, I want to add a second variable within the tool tip pop up. I have it charting fine based on the overall sales for the month, but I want to add the number of sales as part of the display. In other words the chart amount is $15,000, (varies by month) but I want to add the number of sales next to the charted amount. ie
Jan 2017 $15,000 (22)
Feb 2017 $13,000 (20)
The second number represents the number of sales, which will not be a part of the path of the line chart, but I need to display that variable next to the sales number.
Please take a look at this jsFiddle.
You must be logged in to reply to this topic.