Point Series Legend

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Point Series Legend

Post by asupriya » Tue Oct 22, 2013 11:16 am

Here we are uploading our new sample project. Where , you can see the series style as points in the form of sets of red triangle & green circles. That are displayed in the graph as the channel placement. Where, we want the legend to show up the information only about the channel & not how many points added for that channel in the graph

For an example, see the screenshot "Point Graph.jpg" that a channel has different points displayed as green circles 9times & other channel has different points displayed as red triangle 10 times, But the Legend should sort out only the channels available in it & not the duplicates of it.

So, tell us how to get only the channel name on the legends, when each channel has the series style as points?

Question 2:- If you see the screen shot "Point Graph.jpg". You will see the Y-axis values on the Y-axis. When the user want to display the graph within some Y-axis range e.g. between 35-45 value on Y-axis. We want that Left Grid as visible at the top Y-axis value (45) & at the bottom Y-axis value (35) only and not between that range. Suggest Us?


Note : TChart Version number is 3.5.3700.30575

Thanking you
Attachments
Point Graph.jpg
Screen shot
Point Graph.jpg (165.95 KiB) Viewed 5513 times
SampleTeeCart.7z
Sample Project
(10.83 KiB) Downloaded 574 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Point Series Legend

Post by Sandra » Thu Oct 24, 2013 2:37 pm

Hello asupriya,
For an example, see the screenshot "Point Graph.jpg" that a channel has different points displayed as green circles 9times & other channel has different points displayed as red triangle 10 times, But the Legend should sort out only the channels available in it & not the duplicates of it.
So, tell us how to get only the channel name on the legends, when each channel has the series style as points?
I have modified your code, so instead of you there are 19 series there are two series, one with 9 times and other with 10 times. I think this change do the code works in your end.
Question 2:- If you see the screen shot "Point Graph.jpg". You will see the Y-axis values on the Y-axis. When the user want to display the graph within some Y-axis range e.g. between 35-45 value on Y-axis. We want that Left Grid as visible at the top Y-axis value (45) & at the bottom Y-axis value (35) only and not between that range. Suggest Us?
You must use custom label to achieve as you want. I have incorporated this in your code.

Please check if the attached project works in your end.
To check the functionality of range, checked and unchecked the checkbox of SetMinMax

Thanks,
Attachments
SampleTeeCart.zip
(20.58 KiB) Downloaded 558 times
Best Regards,
Sandra Pazos / 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