Can Draw Legend Colour?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
LG
Newbie
Newbie
Posts: 30
Joined: Tue Apr 08, 2003 4:00 am

Can Draw Legend Colour?

Post by LG » Fri Jul 06, 2007 7:25 am

Dear All,

I am using bubble series and I define the blue is positive value and red is negative value for instance. I want to draw somewhere in the legend for that series to have two colour so that users can understand this easily.

Could anyone please advise how to draw 2 additional colours and some text in the legend? Or any alternative that would be helpful or fix this problem?


Regards,

LG

Edu
Advanced
Posts: 206
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Post by Edu » Fri Jul 06, 2007 8:02 am

Hi LG

There are some possibilities to change the legend. You can change the simbol of the legend with OnDrawSimbol Event, also you can display multiple Legend using the Chart AfterDraw event. Other possibilities is drawing more text in the legend using the chart canvas, the last is using ExtraLegend Tool which displays additional legend objects. You can see the examples following in the below paths at the features demo. You'll find the demo at TeeChart's program group.

OnDrawSimbol Event "All Features\Welcome !\Miscellaneous\Legend\OnDrawSymbol Event"
Multiple Legend "All Features\Welcome !\Miscellaneous\Legend\Multiple Legends"
Drawing more text "All Features\Welcome !\Miscellaneous\Legend\Drawing more text"
ExtraLegend Tool "All Features\Welcome !\Tools\Extra Legend"
Best Regards,
Edu

Steema Support Central
http://support.steema.com/

Post Reply