Community
Participate
Working Groups
Build Identifier: M20100211-1343 In org.eclipse.birt.chart.render.BaseRenderer at line 1274 there's this comment: // TODO: label text may be changed in script, // in such the ellipsis may need to be recalculated This bit me when I tried to reduce the size of the legend label in beforeDrawLegendItem. The BIRT code obtains the truncation index based on the legend label before the event and then attempts to do a substring after the event without checking the index. I worked around the problem by appending spaces to the end of the string so it remained the same length, but it ought to be fixed. Reproducible: Always Steps to Reproduce: Preview the attached report.
Created attachment 171430 [details] Simple report that illustrates the problem.
Fixed.
Verified in daily build 20100903-0630.