Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

chart control starting with only first "X" points and scrollbar

$
0
0

I have a chart that diplays around 400 rows from a datagridview control.

These rows are represented as points. The X values start from 1 to 400 in 1 point intervals (1,2,3,4...) and the Y values start from a value and then increment with 0.1 intervals(0.1,0.2,0.3,...).

The problem is that by design the chart starts with all the points represented in the chartarea and you can imagine that they are very hard to see individually.

My question is how to start the chart with only, let say, 40 - 50 points and a scrollbar. So, when the user first populate the chart from datagridview he/she can see the first 50 - 60 points and then move the scrollbar to see the next 50 -60 and so on...

I think that the chart must start zoomed for this but i did not find any reference on the internet on how to do that and have a scrollbar automatically...





Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>