I have data where most of the values are in range 41-44, but occasionally there are peaks to 150-350, so y-axis is automatically scaled to 0-350 and chart is simply unreadable.
How to set fixed min and max for y-axis? I know that some values will be "above" chart, but that is not a problem.
EDIT: alternatively I want to enable zooming in this graph which would be even better, any idea how to do this?
EDIT2: or maybe you can suggest other simple charting library with enabling/disabling lines, zooming & panning?
I have stumbled upon this question multiple times looking for a solution, Rickshaw now supports this itself by setting
min
andmax
in the graph constructor: https://github.com/shutterstock/rickshaw#rickshawgraph