Home forums Using CanvasJS series data sum

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

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

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

    #24058

    @sepetar,

    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.