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

Message ListMessage List     Post MessagePost Message

  using multiple type of xlabel
Posted by kord on Mar-05-2009 13:22
HI,

how do we put multiple type of labels in x axis?(fixed and dynamic)
i have two types of data to display as labels in x axis.
first is fixed label shown a constant.
second are dynamic labels (get from database table) to compare with the constant.
can we do that? if possible,how?

tq in advance

  Re: using multiple type of xlabel
Posted by Peter Kwan on Mar-06-2009 02:53
Hi kord,

You may use Axis.addLabel to add custom labels on the axis. For example, in VB/VBScript, it is like:

'add a label xxx at x=260
Call c.xAxis().addLabel(260, "xxx")

You may use CDML to configure the label to have a different font or style, like:

Call c.xAxis().addLabel(260, "<*font=arialbd.ttf,color=CC0000*>xxx")

Hope this can help.

Regards
Peter Kwan