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

Message ListMessage List     Post MessagePost Message

  How to wrap Labels in Multi- Stacked Bar Chart?
Posted by karthik.r on Mar-21-2009 16:15
Hi

How to wrap Labels in Multi- Stacked Bar Chart?

  Re: How to wrap Labels in Multi- Stacked Bar Chart?
Posted by Peter Kwan on Mar-23-2009 08:50
Hi karthik.r,

I am not sure which labels you would like to wrap.

In general, you may use TextBox.setMaxWidth to wrap labels that are longer than a certain width. For example, for the vertical axis labels, the code is like (in VB/VBScript):

'wrap labels longer than 60 pixels
Call c.xAxis().setLabelStyle("arial.ttf", 8).setMaxWidth(60)

For the vertical axis, you may replace 60 with the actual left margin in your chart design.

Hope this can help.

Regards
Peter Kwan