How to set y-axis to fixed range in rickshaw?
d3.js, javascript, rickshaw
Solution
I have stumbled upon this question multiple times looking for a solution, Rickshaw now supports this itself by setting `min` and `max` in the graph constructor: https://github.com/shutterstock/rickshaw#rickshawgraph
Problem
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. Here is my chart 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?