[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

Jason,

It appears to be returning a handle. I need to create some more code to get the render to occcur. I'll let you know the outcome.

Thank you for the response.

Stuart.

Jason Weathersby wrote:
Stuart,

Try
ReportDesignHandle rdh =(ReportDesignHandle) design.getDesignHandle( );
ExtendedItemHandle chart = (ExtendedItemHandle) rdh.findElement("mychart" ); IReportItem item = chart.getReportItem();
Chart cm = (Chart)item.getProperty("chart.instance");


Jason