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

Message ListMessage List     Post MessagePost Message

  chart labels
Posted by M_Jay on Feb-09-2011 17:07
Attachments:
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.
ch.png

  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