In the chart control in my app, I got a one time graphic. I set the property because this code shows: < / P>
chart 1. Chartresrege ("ChartAria 1"). Axisx scroll bar. Enabled = true chart 1 Chartresrege ("ChartAria 1"). Axisx ISLLAUToff = True Chart 1 Chartresrege ("ChartAria 1"). Axisx Scale Weave Size = 40
I did this because I wanted to fix the column width so that 40 columns can be seen. Then a scroll is shown automatically (above the first 40 columns).
I should know how to always make this scroll right. That's because the visible columns are always the last 40.
Thank you!
Diego
Edit
I copied the code from here on:
I have found: Every time I add a new point, I have to run this code:
If (chrGraficos.ChartAreas [0] .xisx max> chrGraficos.ChartAreas [0] .AxisX.ScaleView.Size) chrGraficos.ChartAreas [0] AxisX.ScaleView.Scroll (chrGraficos.ChartAreas [0] .AxisX.Maximum );
Comments
Post a Comment