Page 1 of 1

Change a Series Font in Legend

Posted: Wed Apr 22, 2009 3:57 pm
by 9094157
Hello,
We would like to call attention to a particular series that is displayed in the legend.
Is there a way to change an individual series font or highlight it? We are running v2.
I appreciate any suggestions.

Posted: Thu Apr 23, 2009 10:08 am
by 10050769
Hello kdn2009,
Is there a way to change an individual series font or highlight it? We are running v2.
With v2 of teeChartFor .Net is not possible change font an individual series of legend.

In version 3 of TeeChartFor .Net exist a property that allows change value of individual series text of legend but not series font. See Welcome !\New in Legend\Legend Items of demos, or next example.

Code: Select all

tChart1.Legend.Item[5].Text = "Hello";
Also, exist other solution that I believe that you will be more useful, there is draw custom legend. You can find an examplehere.

I hope that have served my help.

Thanks,

Legend text

Posted: Mon Jun 08, 2009 7:55 pm
by 9094157
Hello,
Is it possible to change the size of the series text in the legend? What about make it bold or in italics?
Thanks,
Kim

Posted: Tue Jun 09, 2009 7:44 am
by 10050769
Hello Kim,


If you want change size text in the legend and style (Bold,Italic,Regular, strikeout, Underline) you can use next lines of code in your application:

Code: Select all

 tChart1.Legend.Font.Italic = true;
 tChart1.Legend.Font.Size = 15;
I hope that will helps.

Thanks,