Home forums Using CanvasJS Adding #total to dynamic generated toolTip

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 8 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20211

    jonas
    Member

    Hello guys.
    I have an array, with 20 sub arrays, that goes into my graph.
    In my toolTip im displaying {name}: {y}, the thing is, not all of my points in the graph has 20 entries, some only have 6..
    Im trying to work out a solution to adding Total: #total to the end of the toolTipContent.

    Have anyone done this before and might know where i can be going wrong?

    (I can add code and pictures if its needed)

    #edit1: Forgot to mention that im using a Stacked Area Chart.

    • This topic was modified 8 months, 1 week ago by  jonas. Reason: Added type of chart
    #20218

    Vishwas R
    Keymaster

    @jonas,

    Can you kindly create jsfiddle, so that we can understand your requirement better and help you out?


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.