ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  different styles for labels
Posted by Aram Hovsepyan on Dec-01-2011 22:24
Attachments:
Hi,

I am looking to have a special label style (the last one) being bold and using different
colors. I have been through the whole documentation of chart director but can't find it
anywhere. I am attaching a sample of what I mean. The very last label is bold and uses
slightly darker colors.
Thanks a lot.
Best regards,
Aram.
Screen Shot 2011-12-01 at 15.23.00.png

  Re: different styles for labels
Posted by Peter Kwan on Dec-01-2011 23:51
Hi Aram,

For the last label, instead of using "Extraversion", you can use "<*font=arialbd.ttf*>Extraversion". In this way, the label can use a different font. You may refer to the documentation on "CDML" (you may look for CDML in the ChartDirector documentation index) to see what other tags are available. You can use the tags change the font style, size, color, underline, add background color, insert icons, rotate the text, etc..

Note: The "arialbd.ttf" iabove refers to the Arial Bold font. In .NET and Java, you can also use "<*font=Arial Bold*>".

Hope this can help.

Regards
Peter Kwan