Hi, new dygraphs user here. Awesome library!
Just one minor thing that I can't sort out. I have a graph with a range selector along the x-axis. I set valueRange to [5, 30].
If you use the range selector to move through the data the y-axis obeys the limits I set, but if you drag the graph itself the y limits adjust.
An example can be seen here.
Try reducing the x range to 10 days. Then drag the range selector left or right and the y axis remains unchanged.
Then try dragging the graph itself (not the range selector) left or right with the mouse to see what I mean.
You can play with the options in the javascript console by accessing the dygraph object stored in dygraphSettings.dygraph
The code I used is:
var graph = new Dygraph( document.getElementById("dygraph-graph"), get_graph_data(["Temperature"]), { labels: ["Time", "Temperature"], labelsDiv: "dygraph-legend", labelsSeparateLines: true, colors: ["#dd0000"], valueRange: [5, 30], showRangeSelector: true, drawXGrid: false, axes: { y: { valueFormatter: function(y) { return y.toFixed(1) + "\xB0C"; } } } }); Thanks,
David