programatically generating Multiple Chart instances from a single Chart.

indhareindhare Junior Member
edited December 31, 1969 in Designing Analytics Reports
Hi All

two days before I started using BIRT. I am trying the following:

I manually created a chart, supplied all the required chart data.

In the script tab of the report want to do some thing like this:

var Chart1 = this.getReportElement("Chart1");

create an other var Chart2 = Chart1.
change the name of the Chart2
and change the filters and data range etc.

I am not able to achieve this.

if not, How to create a Chart object on the fly.

I found that "this" object of the report is of type IReportDesign. from that I donno how to dynamically create charts.

Help me to overcome this obstacle, please.
Sign In or Register to comment.