Page 1 of 1

line

Posted: Wed Jan 05, 2005 8:22 am
by 8123657
Hello!
I want to ask about the Line TeeChart: I need a graph that represents one
line that connectin all the points I add,how do I do it? (I choosed the
line chart and it build a line for each point and I need one line for all
the points)?

Thanks!

Posted: Wed Jan 05, 2005 11:07 am
by Pep
Hi,

I'm sorry, I'm not sure what you refer. Using a Line Series style should do the trick, it connects all the pooint added. Also you can make the pointer visible or invisible.
Could you please be more specific ?

Posted: Mon Jan 10, 2005 9:56 am
by 8123657
Thanks.
The problem is that I would like to know if the user clicked on the point and what are the coardinates of the point he cliked?
How do I do it?
Thanks!

Posted: Mon Jan 10, 2005 10:29 am
by narcis
Hi .net,

You can implement the chart ClickSeries event and get the clicked X and Y values with:

Code: Select all

tChart1.Series[0].XValues.Value[valueIndex]
tChart1.Series[0].YValues.Value[valueIndex]