You must be logged in to post your query.
Home › Forums › Chart Support › AxisY minimum value not working
Tagged: axisY minimum
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
@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
Thank you!
But isn’t it at least a workaround that I could do to solve it
Regards
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
Yes, it is possible by substantially increasing the value of smallest DataPoint of the DataSeries as shown in this JSFiddle.
Great, @shashiranjan! It worked perfectly!
Thank you very much!
You must be logged in to reply to this topic. Login/Register