滚动缩放的图表调整ChartArea的大小 [英] Scrolling zoomed Chart resizes ChartArea

查看:190
本文介绍了滚动缩放的图表调整ChartArea的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在窗体上有一个DataVisualization.Charting.Chart,并且Chart沿X轴缩放.我遇到的问题是,当我左右拖动滚动条时,图表区域的右侧会四处移动.

关于如何在滚动时保持图表宽度恒定的任何建议?

TIA.

Hi all,

I''ve got a DataVisualization.Charting.Chart on a Form, and the Chart is zoomed along the X-axis. The problem I have is that when I drag the scroll bar left and right, the right-hand side of the chart area moves around.

Any suggestions on how to keep the width of the chart constant while scrolling?

TIA.

推荐答案

找到它,您必须将ChartArea.InnerPlotPosition从自动"转换为手动".
Found it, you have to turn the ChartArea.InnerPlotPosition from Auto to Manual.


这篇关于滚动缩放的图表调整ChartArea的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆