Group: Forum Members
Last Active: 11 Years Ago
Posts: 7,
Visits: 1
|
Hello,
I have a relatively simple 3D bar chart which can display 10 bars along the X-axis (i.e. position 1 - 10). If I need to add more than 10 bars, I'd like to shift the existing bars (e.g. bars 2 - 10) one position to the left along the X-axis (dropping out the bar data at position 1) and add the latest bar to the 10th position. My current C# implementation calls ClearDataPoints(), and redraws each bar at its' new X-axis location. This method of scrolling makes for a jerky (and slow) way to update the chart given that I'm doing this from unmanaged code. I don't want (and don't need) to add a horizontal scroll bar. Is there a better way to get the result I seek, or is it as simple as keeping the data history in the managed code?
Thanks,
Steve Clevenger
|