Hi Guys,
I am tearing what little hair I have left out with this one.
D2007, latest TChart Pro.
Until a short time ago, couple of weeks, everything was working fine when I added new data to a Line Series. Data points, labels, etc, all fine.
Suddenly, now, when I add my first data point either through 'Series1.Add' or 'Series1.AddXY' I get 10 zero value entries in the Chart Data (0 to 9) so my first data point ends up being point 10.
I have been trying to pin it down and the closest I can get is at the point of the first '.Add', zap, the extra data is added in first.
Any thoughts, directions, hints would be greatly appreciated.
Regards & TIA,
Ian
Unwanted data in TLineSeries
Re: Unwanted data in TLineSeries
Additional info. If I repeat the process, clear Series1 and '.add' data, without exiting the app, it all works perfectly. It's as if there is something initialising the Chart data on the first '.Add'.
First_Run attached is on initial data load.
Second_Run attached is on second run data load.
In both cases there is a Series1.Clear as the first step before loading data.
Ian
First_Run attached is on initial data load.
Second_Run attached is on second run data load.
In both cases there is a Series1.Clear as the first step before loading data.
Ian
- Attachments
-
- Second_Run.png (26.24 KiB) Viewed 3983 times
-
- First_Run.png (30.09 KiB) Viewed 3946 times
Re: Unwanted data in TLineSeries
Hi,
What TeeChart version are you using?
Is it happening when you create a new simple example project or only in a concrete old project?
What TeeChart version are you using?
Is it happening when you create a new simple example project or only in a concrete old project?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |