Home forums Using CanvasJS Pie Chart Sample Count

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

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

    vocality
    Participant

    Hi –

    Is there a fixed limit on the number of data samples included in a Pie Chart ?
    I understand that with many samples, smaller values will get lost in the chart, but at what point does canvasJS not bother rendering the sample because it’s too small or run out of colours to represent the samples ?

    Thanks,

    Paul

    #5316

    Sunil Urs
    Keymaster

    Paul,

    There is no limit on the number of data samples for pie/doughnut. CanvasJS tries to render every dataPoint. But when dataPoint’s segment becomes smaller than .1 pixel, it won’t be visible in most cases – limit should depends on browser’s implementation of Canvas.


    Sunil Urs

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

You must be logged in to reply to this topic.