Home › forums › Using CanvasJS › Exclude values
Tagged: Exclude values
This topic contains 1 reply, has 2 voices, and was last updated by Suyash Singh 2 years, 1 month ago.
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?
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.
You must be logged in to reply to this topic.