legend Symbols

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

legend Symbols

Post by qcrnd » Mon Nov 23, 2009 3:23 pm

Hi
I have an area graph and I added Pointers to each searies to mark each point. The problem is that it effects the legend . I dont want my legend symbols to be like the Pointers because my the points are very small Diamond with size 2. I want it just to be a plane rectangle with color just like it is when the Points is invisible.
Thanks.

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

Re: legend Symbols

Post by Sandra » Wed Nov 25, 2009 12:02 pm

Hello gcrnd,

If you use the code of last thread I replied here,you only need add these lines, because his application works as you want. See following code:

Code: Select all

  
           //-------------Style Legend-----------------------------------------//
            points1.ShowInLegend = false;
            tChart1.Legend.LegendStyle = Steema.TeeChart.LegendStyles.Values;
           //-------------------------------------------------------------------//

I hope will helps.

Thanks
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