Home forums Using CanvasJS Average line on line chart

This topic contains 1 reply, has 2 voices, and was last updated by  Sunil Urs 3 years ago.

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


    I’m trying to add an average line which is an average of all the other lines on a chart, and while I could do this server side, I was wondering if there was an easy way to do this in canvasjs. This is my current chart http://jsfiddle.net/txcsLgad/1/

    • This topic was modified 3 years, 1 month ago by  zachary.

    Sunil Urs

    There is no way to do this automatically. Best option is to calculate the averages either on the server (or client side) and adding it to the chart.

    Sunil Urs

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

You must be logged in to reply to this topic.