Click here to Skip to main content
15,887,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

1 solution

Found it, you have to turn the ChartArea.InnerPlotPosition from Auto to Manual.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900