Home forums Using CanvasJS How to ignore the data values less than no 5

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 3 months ago.

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

    i have a dynamic array it includes numbers from ZERO to thousands(0-1000x). and i display it in a pie chart. so i want to ignore all the values less than FIVE. then i have only (5-xxxxx) values to display.
    thanks for your helps and time

    #26324

    @amir,

    You can parse through the dataPoints to check if the value is greater than 5 or not before passing it to chart options to achieve this. Please take a look at this JSFiddle.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.