|
customlabels |
Posted by jbb43 on Dec-17-2011 13:07 |
|
hi,
im using addCustomDataLabel to represent specific points on a line graph. The default position of the label is above the data point. Is it possible to change the label position and put it to the side of the data point, and control the gap and/or a line out to the datalabel?
thanks! |
Re: customlabels |
Posted by Peter Kwan on Dec-20-2011 06:07 |
|
Hi jbb43,
You may use TextBox.setAlignment to change the alignment of the labels, and Box.setPos to shift the label (control the gap). For example, in VBScript/ASP:
Set t = layer.addCustomDataLabel(......)
Call t.setAlignment(cd.Left)
Call t.setPos(10, 0)
Hope this can help.
Regards
Peter Kwan |
|