Pat070
Pat070

Reputation: 335

dygraph: x-axis y axis set min and max values

I am displaying a few graphs in different frames and I would like to have the same min and max values for the axis in all of them.

If I understand well, I can use the valuerange property for the Y axis.

What is the equivalent for the X axis ? I have been looking in the documentation and I cannot find it. Thanks

Upvotes: 1

Views: 1353

Answers (1)

danvk
danvk

Reputation: 16903

It's dateWindow.

You may also be interested in the synchronizer extra, which will keep your chart axes in sync for you.

Upvotes: 2

Related Questions