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

Message ListMessage List     Post MessagePost Message

  Can the orientation of the xaxis labels be set at an angle?
Posted by Christophe on Jan-17-2012 21:05
Hi there,

Is it possible to change the orientation of the xaxis labels of a finance chart so that the labels are displayed at an angle (45, 90degrees).

Thanks,

Christophe

  Re: Can the orientation of the xaxis labels be set at an angle?
Posted by Peter Kwan on Jan-18-2012 02:17
Hi Christophe,

If you are using the FinanceChart object, the API to change the x-axis labels orientation is FinanceChart.setXAxisStyle. For example:

#Arial 8pt black rotated by 90 degrees
c.setXAxisStyle("arial.ttf", 8, 0x000000, 90)

Hope this can help.

Regards
Peter Kwan