Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » 3D Bar Chart, drill through and series
3D Bar Chart, drill through and series [message #555281] Thu, 26 August 2010 07:36
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi all,

I created 3D BarChart using BIRT Chart API (2.5.2 version) and added
onclick trigger with URL redirect action, then rendered PNG image and
got image map.

I found the following problems:

1. Series parameter is null for 3D charts. For 2D it is correct. I
investigated sources and found diffirencies between 2D and 3D renderers:

org.eclipse.birt.chart.computation.withaxes.PlotWith2DAxes (Line 2313):

dpa[i] = new DataPointHints( oDataBase,
oDataOrthogonal,
seOrthogonal.getSeriesIdentifier( ), <<<<<<<<<<<
percentileValue,
seOrthogonal.getDataPoint( ),
fsBase,
fsOrthogonal,
fsSeries,
fsPercentile,
i,
lo,
dLength,
rtc );



org.eclipse.birt.chart.computation.withaxes.PlotWith3DAxes (Line 1458):
dpa[i] = new DataPointHints( oDataBase,
oDataOrthogonal,
oDataAncillary, <<<<<<<<<<<
percentileValue,
seOrthogonal.getDataPoint( ),
fsBase,
fsOrthogonal,
fsSeries,
fsPercentile,
i,
lo3d,
new double[]{dXLength, dZLength},
rtc );

If I copy marked line from 2D class to 3D, it works correctly, but I am
not sure that it is correct fix.

2. I need to know an index of clicked row, but URL does not contain this
information and I have to iterate over data rows and look for category
and value from URL, but that code does not guarantee success. So I think
row index would be very important parameter that allow developer to
identify data row uniquely.

Should I create bugzilla tickets for these problems?
Previous Topic:Display of Image Using Scripted Data Source
Next Topic:Problem in Birt 2.6 with showing Image in Report
Goto Forum:
  


Current Time: Sat Dec 20 23:13:17 GMT 2014

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

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