Hi Joe,
Unluckily, you cannot put "elaborate tables" into a legend box. You can use "CDML" to achieve some simple text layout, but not complex text layout like HTML or a word processor.
For example, in the "Donut Chart" sample code, CDML is used to configure the legend box to have a simple "table like" layout:
http://www.advsofteng.com/doc/cdphp.htm#donut.htm
For more information on CDML, see:
http://www.advsofteng.com/doc/cdphp.htm#cdml.htm
ChartDirector cannot interpret HTML. Normally, only a brower can interpret HTML (even PHP cannot interpret HTML). As you are writing a web application, you may consider to create the legend box using HTML and include it as part of your HTML web page (perhaps putting it next to the chart image, so it looks like being a legend box for the chart).
Regards
Peter Kwan |