| Summary: | ImageMap's series property is not available for 3D charts | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Boris Stepanov <freepriman> |
| Component: | BIRT | Assignee: | Heng Li <liheeng> |
| Status: | RESOLVED FIXED | QA Contact: | Xiaoying Gu <bluesoldier> |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier, liheeng |
| Version: | 2.5.2 | ||
| Target Milestone: | 2.6.2 | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Boris Stepanov
Boris, Could you please attach your code that could reproduce this? The 3D chart with URL redirect created in BIRT chart designer has correct image map for PNG format, I am not sure if there is API usage issue in your code. Thanks. I will try to create snippet. I fixed it in class org.eclipse.birt.chart.computation.withaxes.PlotWith3DAxes, line 1460.
this code:
dpa[i] = new DataPointHints( oDataBase,
oDataOrthogonal,
oDataAncillary, <<<<<<<<
percentileValue,
seOrthogonal.getDataPoint( ),
fsBase,
fsOrthogonal,
fsSeries,
fsPercentile,
i,
lo3d,
new double[]{
dXLength, dZLength
},
rtc );
was changed to:
dpa[i] = new DataPointHints( oDataBase,
oDataOrthogonal,
seOrthogonal.getSeriesIdentifier( ), <<<<<
percentileValue,
seOrthogonal.getDataPoint( ),
fsBase,
fsOrthogonal,
fsSeries,
fsPercentile,
i,
lo3d,
new double[]{
dXLength, dZLength
},
rtc );
Now, I understand your meaning exactly, it seems a bug, here should be series identifier, I will fix it. Thanks! (In reply to comment #2) > I will try to create snippet. I fixed it in class > org.eclipse.birt.chart.computation.withaxes.PlotWith3DAxes, line 1460. > > this code: > > dpa[i] = new DataPointHints( oDataBase, > oDataOrthogonal, > oDataAncillary, <<<<<<<< > percentileValue, > seOrthogonal.getDataPoint( ), > fsBase, > fsOrthogonal, > fsSeries, > fsPercentile, > i, > lo3d, > new double[]{ > dXLength, dZLength > }, > rtc ); > > was changed to: > > dpa[i] = new DataPointHints( oDataBase, > oDataOrthogonal, > seOrthogonal.getSeriesIdentifier( ), <<<<< > percentileValue, > seOrthogonal.getDataPoint( ), > fsBase, > fsOrthogonal, > fsSeries, > fsPercentile, > i, > lo3d, > new double[]{ > dXLength, dZLength > }, > rtc ); Fixed by using correct series identifier to initialize data point hints |