Page 1 of 1

Drill down displaying data line on trends

Posted: Tue Oct 17, 2006 4:05 am
by 9640740
Hi,

I was wondering if it is possible to have a dataline that displays the values of the trend lines at the intersections where the data line hits the trend line?

I think Excel does this, I need it to do it in TeeChart 5 but more preferebaly 7.

Can you guys let me know if so how? Cause i tried looking for it in TeeChart 5 and i only got the line but no values.

thanks

Jon.

Posted: Tue Oct 17, 2006 7:51 am
by narcis
Hi Jon,

CrossPoints function calculates coordinates for crossing points of source line series. This function was added in TeeChart Pro v6 ActiveX. You'll find an example of this in v7's features demo, available at its program group. The example is at All Features\Welcome!\Functions\Extended\Cross Points.

Posted: Wed Oct 18, 2006 5:03 am
by 9640740
Narcis,

Thanks but i dont think i was clear enough, i want to be able to drag the mouse cursor over the trend lines and see the actual value been displayed. At any point on the trend line. I thought these are called data lines.

Here is an example:
http://www.suncorp.com.au/suncorp/tools ... lator.html

Let me know ASAP, thanks.

Jon

Posted: Wed Oct 18, 2006 7:34 am
by narcis
Hi Jon,

Ok, now I understand what are you looking for. To achieve that you can use the interpolating example I posted in this message.

Posted: Thu Oct 19, 2006 12:49 am
by 9640740
Narcis,

Can this be done through the TeeChart Commander? as i would like to display it as option that they can turn on or off.

jon

Posted: Thu Oct 19, 2006 7:48 am
by narcis
Hi jon,

This can not be achieved via the chart editor. There are two tools that would be useful here, MarksTip and Cursor tools. However you won't be able to achieve exactly the same with them.

Posted: Thu Oct 26, 2006 2:53 am
by 9640740
Narcis,

I have one last comment, playing with the code i realise this is only feasible on a thick client application? or is it posible to be able to do this with in a web browser and the active x TeeChart object?

Jonathan

Posted: Thu Oct 26, 2006 7:38 am
by narcis
Hi Jonathan,

This is also possible in a web application with TeeChart Pro ActiveX being a live object. You'll find examples of this at TeeChart's program group at the ASP Server Examples entry and at the examples folder. Full example sources are included.