|
building table-based-only chartdir output |
Posted by Daniel on Dec-09-2014 00:18 |
|
Hi all,
I need to deliver relatively simple output that requires none of the great chartdirector primitives. This plain output is more of the kind of stuff that you would deliver with plain old html and embedded anchored images.
I understand that delivering it via the base TTFText class would not offer table-constrained output and it looks like the addTable documentation only mention chartdir cdml tables only in the context of an existing chart, as a data supplement to it. Is it possible to deliver such graphics as a standalone production? Does it make sense?
Regards for this great product again:)
Daniel |
Re: building table-based-only chartdir output |
Posted by Peter Kwan on Dec-09-2014 04:41 |
|
Hi Daniel,
Yes. You can create a chart that just contains a table and nothing else. First, create a
PieChart but do not provide any data. The chart will then be empty. You can then use
BaseChart.addTable to add a table, and then use the normal method (appendRow,
appendCol, setCell, etc) to populate the table, and then output it using the same method
as outputting the chart.
Hope this can help.
Regards
Peter Kwan |
Re: building table-based-only chartdir output |
Posted by Daniel on Dec-09-2014 15:27 |
|
Hi Peter
>Hope this can help.
It certainly does, Peter. Thanks for the speedy answer:)
Daniel |
|