Page 1 of 1

Can Draw Legend Colour?

Posted: Fri Jul 06, 2007 7:25 am
by 8119968
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

Posted: Fri Jul 06, 2007 8:02 am
by 9348258
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"