Home forums Using CanvasJS Exclude values

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

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

    claus
    Member

    Hi.
    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.

    Claus

    #14324

    Suyash Singh
    Moderator

    Claus,

    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.


    Suyash,
    Team CanvasJS

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

You must be logged in to reply to this topic.