ChartDirector Support
Forum Home
Search
Message List
Post Message
[Mar-23-2013 01:42]
perl setFontAngle for setAggregateLabelFormat?
(Donavon)
[Mar-25-2013 21:56]
Re: perl setFontAngle for setAggregateLabelFormat?
(Peter Kwan)
perl setFontAngle for setAggregateLabelFormat?
Posted by Donavon on Mar-23-2013 01:42
|
Reply
|
Monitor
Is there a way to setFontAngle for setAggregateLabelFormat?
I've tried:
$layer->setAggregateLabelFormat("{value}")->setFontAngle(90);
and
$layer->setAggregateLabelFormat("{value}");
$layer->setFontAngle(90);
Thank You,
~Donavon
Re: perl setFontAngle for setAggregateLabelFormat?
Posted by Peter Kwan on Mar-25-2013 21:56
|
Reply
|
Monitor
Hi Donavon,
The method is Layer.setAggregateLabelStyle. For example:
#Arial Bold 8pts black rotated by 90 degrees
$layer->setAggregateLayerStyle("arialbd.ttf", 8, 0x000000, 90);
Hope this can help.
Regards
Peter Kwan