[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: How to access the underlying chart object in a report design

Stuart,

I am not sure what you mean. I thought you were rendering to html.
If you are using the Chart engine standalone look at the AutoDataBindingViewer example in the org.eclipse.birt.chart.examples plugin. You can check it out of CVS.


Jason

Stuart Roe wrote:
Jason,

I'm managing to get the Chart to render into a JPanel. As I haven't managed to bind a dataset, just the standard chart image it rendered.

Looking at the source, I can see that this is performed via the Generator.bindData functions. I have managed to locate the design's dataset/source definitions via Chart.getDataSet()[.getDataSource()], but I don't really understand how I can bind these handles to the chart object.

Can you please give me some pointers?

Stuart.