Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] How to set dataset programmatically in Chart dialog at runtime?

Hi All,

How to set dataset programmatically in Chart dialog at runtime?

We have integrated Chart dialog(BIRT Chart customization dialog) in our RCP
application. Our application provides Eclipse based view plug-in to display
generated chart from SWT table.

It also provides facility to customize chart through BIRT built-in chart
customization dialog.

We follow following sequences to invoke chart dialog:
- Generate chart from available SWT table using BIRT API.
- Invoke chart dialog by creating instance of ChartDlg (new
org.eclipse.birt.chart.ui.swt.ChartDlg(chart, iUIServiceProvider, null)).

We are able to display chart dialog with all available UI sheets
successfully, except following UI sheets, where it throws exception, as
dataset is not set for the same.

- Data
- Attributes -> Series

Can anyone help us to resolve the said problem?

We use BIRT 2.0M1 release with IBM Eclipse 3.1.

We would like to thank in advance.

Regards
BIRT users


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@xxxxxxxxx and delete this mail. 
_____________________________________________________________________

Back to the top