Home Forums Chart Support AxisY minimum value not working

AxisY minimum value not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • #24049

    Hi everyone,

    I’ve setting minimum value in my axisY structure but the respective dataPoint is not being rendered. Why?

    Follows a fiddle of my issue:
    https://jsfiddle.net/guilhermemaranhao/y54gbefn/16/

    Why dataPoint { y: 1, label: “3”} is not being shown?

    Did I miss anything or have I set something that is disabling it?

    Thank you,

    Guilherme

    #24054

    @guilhermemaranhao,

    As the dataPoint y-value is small compared to other y-values, the height of that specific dataPoint becomes smaller and may become less than 1px height. Because of this behavior, you can’t see the dataPoint with y-value 1. We will improve this behavior in our future releases.

    ____
    Shashi Ranjan
    Team CanvasJS

    #24059

    Thank you!

    But isn’t it at least a workaround that I could do to solve it

    Regards

    #24062

    For example, @shashiranjan, is it possible, just before rendering, to get the dataPoint pixel? If so, I could “increase” the y-value a little bit, so that it could be shown. Of course, it’s far from ideal, but at least, I could have my dataPoint visible in my chart.

    Thank you

    #24083

    @guilhermemaranhao,

    Yes, it is possible by substantially increasing the value of smallest DataPoint of the DataSeries as shown in this JSFiddle.

    ____
    Shashi Ranjan
    Team CanvasJS

    #24088

    Great, @shashiranjan! It worked perfectly!

    Thank you very much!

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

You must be logged in to reply to this topic.