简体   繁体   English

dygraph:x轴y轴设置最小值和最大值

[英]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. 如果我理解得很好,则可以将Y轴使用valuerange属性。

What is the equivalent for the X axis ? X轴的等效值是多少? I have been looking in the documentation and I cannot find it. 我一直在寻找文档,但找不到。 Thanks 谢谢

It's dateWindow . 它是dateWindow

You may also be interested in the synchronizer extra , which will keep your chart axes in sync for you. 您可能还对同步器extra感兴趣,它将使您的图表轴保持同步。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM