ZedGraph 的 Y 轴刻度

发布于 2024-09-24 20:00:35 字数 182 浏览 0 评论 0原文

我不明白这个轴缩放。我可以设置最大/最小 更改 GraphPane.Y2Axis.Scale.Min/Max。

然而,这将条与秤分离。尽管比例发生了变化,但条形与以前的位置完全相同。很明显,他们不再有任何关系了。

如果我设置最大/最小,我显然希望条形在 y 方向上缩放,但这不会发生。

我做错了什么?

I don't understand this axis scaling. I'm able to set the max/min by
changing GraphPane.Y2Axis.Scale.Min/Max.

However, this decouples the bars from the scale. The bars are at the exact same place as before, even though the scale change. So obviously, they are not related anymore.

If I set the max/min, I obviously want the bars to be zoomed in the y direction, but this doesn't happen.

What am I doing wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

猫瑾少女 2024-10-01 20:00:35

解决方案是将属性 IsY2Axis 设置为 True

The solution is to set the property IsY2Axis to True.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文