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 2 weeks, 1 day ago.

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

    Ryan
    Member

    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.

    https://jsfiddle.net/QwZuf/2578/

    #22659

    Priyanka M S
    Member

    @ryan,

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

    __
    Priyanka M S
    CanvasJS

    #22875

    Priyanka M S
    Member

    @ryan,

    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.