Home forums Using CanvasJS series data sum

This topic contains 1 reply, has 2 voices, and was last updated by  Shashi Ranjan 4 weeks ago.

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


    Is it possible to get third series data as a sum or difference of two series data in dynamic chart ?



    You can achieve the above requirement by adding the y-value of the 1st and 2nd DataSeries for their corresponding x-value and then pushing it to a third DataSeries as shown in this JSFiddle.

    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.