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

Message ListMessage List     Post MessagePost Message

  title for the summary chart legend circle
Posted by Ricardo on Jul-30-2013 05:57
Attachments:
I can put a title and as shown in Figure
capture-20130729-174912.png

  Re: title for the summary chart legend circle
Posted by Peter Kwan on Jul-30-2013 19:15
Hi Ricardo,

You can use BaseChart.addText to add text at anywhere you like on the chart. If you are using code similar to the "Pie Chart with Legend (2)" sample code, it is like (in VB6/VBScript):

'After setting up the entire chart, layout the legend box, so we can know if top-left corner
Set b = c.layoutLegend()

'Add text bottom-left aligned with the top-left corner of the legend box
Call c.addText(b.getLeftX(), b.getTopY(), "SSSS SSSS CCCC<*br*>AAAA BBBB", "arialbd.ttf", 12, &H000000, cd.BottomLeft)

Hope this can help.

Regards
Peter Kwan