Page 1 of 1

Point Series Legend

Posted: Tue Oct 22, 2013 11:16 am
by 13051032
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

Re: Point Series Legend

Posted: Thu Oct 24, 2013 2:37 pm
by 10050769
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,