line

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
.net
Newbie
Newbie
Posts: 10
Joined: Thu Jan 29, 2004 5:00 am
Location: IL

line

Post by .net » Wed Jan 05, 2005 8:22 am

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!

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Jan 05, 2005 11:07 am

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 ?

.net
Newbie
Newbie
Posts: 10
Joined: Thu Jan 29, 2004 5:00 am
Location: IL

Post by .net » Mon Jan 10, 2005 9:56 am

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!

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 10, 2005 10:29 am

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]
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply