FastLine AddRealTime ignores axis limits
Posted: Tue Oct 18, 2005 7:20 pm
Hello,
I am using TeeChart 7.0.0.5 with Visual C++ 6.0 and Visual Basic 6 on Windows XP.
I sent the example project to the newsgroup.
There are two TeeChart controls in the example project. Both use FastLine series. Control on the left demonstrates Series.AddXY(), chart on the right demonstrates problem with AddRealTime.
I set axis minimum and maximum axis limits using SetMinMax. Next, I use either Series.AddXY or AddRealTime functions to add points to a FastLine series. In first case, as shown in TeeChart on the left, if Y coordinate is greater than maximum axis value, it is not shown. In case of AddRealTime, as shown by TeeChart on the right, the axis maximum is increased to fit the value. This happens even though Automatic value of axis remains False.
Setting axis minimum and maximum after AddRealTime restores wanted values, but I don't want to slow down my app by additional SetMinMax calls.
Thanks,
Alex
I am using TeeChart 7.0.0.5 with Visual C++ 6.0 and Visual Basic 6 on Windows XP.
I sent the example project to the newsgroup.
There are two TeeChart controls in the example project. Both use FastLine series. Control on the left demonstrates Series.AddXY(), chart on the right demonstrates problem with AddRealTime.
I set axis minimum and maximum axis limits using SetMinMax. Next, I use either Series.AddXY or AddRealTime functions to add points to a FastLine series. In first case, as shown in TeeChart on the left, if Y coordinate is greater than maximum axis value, it is not shown. In case of AddRealTime, as shown by TeeChart on the right, the axis maximum is increased to fit the value. This happens even though Automatic value of axis remains False.
Setting axis minimum and maximum after AddRealTime restores wanted values, but I don't want to slow down my app by additional SetMinMax calls.
Thanks,
Alex