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

Message ListMessage List     Post MessagePost Message

  Legend label at primary and secondary Y axis
Posted by kranthi on Dec-05-2010 01:22
Attachments:
Hi Peter Kwan,

Can you please let me know how can i place the legend lables  at both the Y axis's  as shown in attached image .

I have developed that graph  using ChartDirector control in (C#)
Image1.gif

  Re: Legend label at primary and secondary Y axis
Posted by Peter Kwan on Dec-06-2010 18:52
Hi kranthi,

ChartDirector cannot automatically distribute the legend icons into the axis titles. For your case, I think you may use Axis.setTitle to set the axis titles with the color box legend icons. The color box can be considered the same as text. There is a text charater which is a box (commonly used as "square bullet").

For example, instead of using "ALCSQF" as the axis title, you may use "<*font,color=FF0000,size=13*>\\u25A0<*/font>  ALCSQF" as the axis title. (The \\u25A0 is the square character - you may look up the available text characters using the Windows Character Map).

Hope this can help.

Regards
Peter Kwan

  Re: Legend label at primary and secondary Y axis
Posted by kranthi on Dec-14-2010 00:38
Thanks a lot peter !!!!!!!