Automatic Series Min Max failed
Posted: Tue Jan 19, 2010 12:54 pm
Hello,
I'm filling a pointer series using the direct array method explained in the FAQ:
Series.XValues.Value = xArr
Series.XValues.Count = xArr.Length
Series.YValues.Value = yArr
Series.YValues.Count = yArr.Length
for a new series this works absolutly fine.
If I want to change the series by assigning new arrays for x and y values the charts axes do not refresh automatically. Using the Visual Studio Debugger I figured out, that the series Minimum and maximum values do not change after assigning the new arrays. Unfortunatly the .Modified property mentioned in the FAQ is not available in my version fo teeChart (2.0.2306.26232). What is the correct procedure for this? I don't want to check the min and max by myself and set the Axis MinMax values manually, also this works.
Thanx,
Marcus
I'm filling a pointer series using the direct array method explained in the FAQ:
Series.XValues.Value = xArr
Series.XValues.Count = xArr.Length
Series.YValues.Value = yArr
Series.YValues.Count = yArr.Length
for a new series this works absolutly fine.
If I want to change the series by assigning new arrays for x and y values the charts axes do not refresh automatically. Using the Visual Studio Debugger I figured out, that the series Minimum and maximum values do not change after assigning the new arrays. Unfortunatly the .Modified property mentioned in the FAQ is not available in my version fo teeChart (2.0.2306.26232). What is the correct procedure for this? I don't want to check the min and max by myself and set the Axis MinMax values manually, also this works.
Thanx,
Marcus