|
chart labels |
Posted by M_Jay on Feb-09-2011 17:07 |
|
My graph has 4 quarters and I want to display labels ?Potential Vulnerabilities? in the first quarter, ?Key Vulnerabilities? in the second quarter, ?Strategic Advantages? in the third quarter and ?Potential Advantages? in the fourth quarter.
|
Re: chart labels |
Posted by Peter Kwan on Feb-10-2011 02:37 |
|
Hi M_Jay,
You may use BaseChart.addText to add custom text to anywhere you like in the chart. For example:
$c->addText($c->getPlotArea()->getLeftX(), $c->getPlotArea()->getTopY(), "Potential Advantages", "Arial Bold", 18, 0x000000, TopLeft);
For more information, please refer to the documentation on BaseChart.addText.
Hope this can help.
Regards
Peter Kwan |
|