Home forums Using CanvasJS Exclude values

This topic contains 1 reply, has 2 voices, and was last updated by  Suyash Singh 2 years, 6 months ago.

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

    I am trying to find a way to exclude 2 specifik values from my dataset.
    If I dont want to display value fx. -10 and + 20 (values could be an error situation) ,but the values they cannot be removed from the data. Is this possible?

    Best regards.




    You can keep a copy of dataSeries in separate array, excluding the ones which you have considered as an error situation, and passing that to chart will work fine in your case. Please refer this jsfiddle.

    Team CanvasJS

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

You must be logged in to reply to this topic.