Hi
I have a couple of questions about the trend function. I use it in a number of graphs to display a trend for temperatures in each month of the year and visually it works very well.
What I would like to do is extract the trend (the x and y values for the start and end points would be great) for each month and add them to a grid. I can't find an example of getting at the values that the trend function must calculate to display this line.
The other question I have - is can I use the clever bit of code that calculates the trend without displaying a graph - or is it dependent on a graph being displayed?
Bruce.
Trend Function
Re: Trend Function
Hi Bruce,
TeeChart functions have to be connected to a Series to be drawn. Then, when the function has been calculated, it "inserts" the values into the series XValues/YValues Valuelists. You can get the values from these lists.Metman wrote:What I would like to do is extract the trend (the x and y values for the start and end points would be great) for each month and add them to a grid. I can't find an example of getting at the values that the trend function must calculate to display this line.
You can always make the associated series invisible (Visible:=false) but the function always needs the associated series for being calculated.Metman wrote:The other question I have - is can I use the clever bit of code that calculates the trend without displaying a graph - or is it dependent on a graph being displayed?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |