If I have data to plot to a line graph with a narrow range, i.e. temperature data, I can not find a way to change the lowest value on the Y Axis from 0. So, in my case I end up with a flat line of values at the top of the graph.
In the source useChartContext
code I see references to the props userXScale/userYScale, but it appears to take 0 as the bottom range regardless of what is supplied:
if (userYScale) {
userYScale.range([0, contentHeight])
If this feature exists, it should be documented.
All of the storybook pages and examples you show in the repo show 0 as the bottom bound of the Y Axis.
If this feature does not exist, please allow a way pass a preferred yAxis start value into the ChartContext. With a static set of data, the user could trivially determine a suitable bottom value, and pass it in.
Perhaps, fitting the animated style of the project, a squiggly "break" could be used to show the graph's distortion from 0.