Home forums Using CanvasJS second variable

This topic contains 2 replies, has 2 voices, and was last updated by  clubteams 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15703

    clubteams
    Member

    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.
    Thans

    #15706

    Bivek Singh
    Moderator

    @clubteams,

    Please take a look at this jsFiddle.

    —-
    Bivek Singh,
    Team CanvasJS

    #15720

    clubteams
    Member

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.