Skip to main content



      Home
Home » Archived » BIRT » Disabling a series line at runtime for birt charts
Disabling a series line at runtime for birt charts [message #157831] Tue, 02 May 2006 13:30 Go to next message
Eclipse UserFriend
Originally posted by: jaymzs.hotmail.com

I want to create a chart that has a dynamic amount of y - series and want
to
disable/enable the correct amount of series to display on the chart
accordingly.
Is there any way to do this within the report itself ( as in java script )
or within in the Report Designer for eclipse ( maybe setting a property of
the chart to an expression or something ) ?
Re: Disabling a series line at runtime for birt charts [message #157954 is a reply to message #157831] Wed, 03 May 2006 03:26 Go to previous message
Eclipse UserFriend
You can do this with chart scripting. I would do it in
beforeGeneration(chart, context);

Check the org.eclipse.birt.chart.examples for examples of chart scripts,
it's the best way to get started with chart scripting.

I think the easiest way to change the model is to create the original chart
with all the series you need and then make them visible/invisible from the
script.

Thanks,

David

"js" <jaymzs@hotmail.com> wrote in message
news:49e6c2f1380b1d7d09a53b016b51e983$1@www.eclipse.org...
>
> I want to create a chart that has a dynamic amount of y - series and want
> to disable/enable the correct amount of series to display on the chart
> accordingly.
> Is there any way to do this within the report itself ( as in java script )
> or within in the Report Designer for eclipse ( maybe setting a property of
> the chart to an expression or something ) ?
>
Previous Topic:Birt XY Plots
Next Topic:How to repeat horizontally
Goto Forum:
  


Current Time: Wed May 14 05:32:08 EDT 2025

Powered by FUDForum. Page generated in 0.07428 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top