You must be logged in to post your query.
Home › Forums › Chart Support › stripLines out of the graph, not shown
Problem of the day, I have a simple stripLine on the Y axis and would like it to be displayed on the graph no matter what values are the other datasets. Right now, it is “above” the graph.
There should be such an option to take into consideration the stripline when calculating the draw area…
Actual behavior: add a stripLine with a value higher than the Y maximum, by default it won’t show up. Example: https://jsfiddle.net/Lb92t5vh/ (just change it’s value for 40 or under and it will show obviously)
Expected behavior: the graph Y axis would scale up and allow the stripLine to be visible.
Y-Axis range depends on the range of y-values passed (from dataPoints array) and not on stripLine values. However, you can manually set the range of axisY by setting its minimum and maximum. Please take a look at this updated JSFiddle for the same.
Thanks for your answer,
I’m aware of the axis minimum/maximum options, though, why not have an option to fit all data in the chart view (if not by default)?
Thanks for your suggestion. We will reconsider this behavior in future releases.
You must be logged in to reply to this topic. Login/Register