Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1502

Summary: Axis.SetAutomatic(false); Axis.SetMinMax(0,100); does not work with AddRealTime(), only AddXY()
Product: ActiveX TeeChart Reporter: Henry Hoffmann <HH-Software>
Component: AxesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major CC: sandra
Priority: ---    
Version: TeeChart Pro Activex Control v2015 v2015.0.0.3 Release   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description Henry Hoffmann 2016-04-10 05:15:45 EDT
Hello steema team,

The failure looks like error TA05011024 from October 2005.

In that time you got the following failure description:
-------
I set axis minimum and maximum axis limits using SetMinMax. Next, I use either Series.AddXY or Series.AddRealTime functions to add points to a FastLine series. In first case, if Y coordinate is greater than maximum axis value, it is not shown. In case of AddRealTime, 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. 
-------
I tested the newest version AXv2015.0.0.3 and got the same results, please check this.

The AddXY function works, but is significantly slower than AddRealTime.

A few years earlier I had already submitted a proposal, I would like to repeat now.

In my application I get readings of up to 5 KHz sample rate,
to be displayed on the graph.
The functions AddRealTime or AddXY are ineffective because each value must be added individually.
The AddArray function would be perfect if that would not always delete the existing data. Please implement a new AddArrayXXX function that does not erase the old data. That would be my view, a useful extension of TChart API.

with best regards
your otherwise very satisfied user of TeeChart
Henry Hoffmann
Comment 1 sandra pazos 2016-04-19 11:06:27 EDT
Hello, 

I would like inform you, we have implemented for next TeeChart Activex v2016 maintenance release a new AddArrayXXX method that does not erase the old data. 

Thanks for your collaboration