|
Formatting Linear Scale on RadialAxis |
Posted by Carl Thompson on Sep-18-2009 07:13 |
|
Hi Peter,
I am trying to change the appearance of the small text boxes and Scale text that appears when using:
$c->radialAxis->setLinearScale2($scale_start, $scale_end, $labels);
I found that I could modify the colour of the line and text using ...
$c->radialAxis->setColors();
... but could not determine a way to change the small box surrounding the scale text.
I was hoping to add some transparency to the box backgound and lines.
Thanks |
Re: Formatting Linear Scale on RadialAxis |
Posted by Peter Kwan on Sep-19-2009 00:59 |
|
Hi Carl,
May be you can try:
#set the label format to Arial 8pt, with a semi-transparent white background
#and a semi-transparent black border
$t = $c->radialAxis->setLabelStyle("arial.ttf", 8);
$t->setBackground(0x80ffffff, 0x80000000)
Hope this can help.
Regards
Peter Kwan |
Re: Formatting Linear Scale on RadialAxis |
Posted by Carl Thompson on Sep-20-2009 01:58 |
|
Thanks Peter ... works great! |
|