Home forums Using CanvasJS Negative Value Label Placement Issue

This topic contains 2 replies, has 2 voices, and was last updated by  Priyanka M S 1 year, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #22651

    Hi canvasJS team,

    I came across an issue with dataPoint label, not sure if its a bug or a feature.
    If a dataPoint has a negative value, its label will be displayed underneath the point.
    I’ve tried to alter label position/placement but can’t figure out how to move them to the top.

    Please see the example in jsfiddle, you can see label “Hello #3” is underneath of the point.




    We are looking into it and will get back to you at the earliest.

    Priyanka M S



    Sorry for the delay!
    The behavior of showing indexLabel beneath the graph for negative values is intentional, in order to avoid the overlapping of labels when there are too many dataPoints with negative and positive y-values and hence increase the readability.

    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.