Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为 Flot 图设置一个最小值,但如果一个值超出最小值,它应该自动缩放。
没有内置的方法可以做到这一点。
您需要在绘图之前遍历您的点,如果其中任何一个超过您的最小值,则不要提供轴最小值。