Community
Participate
Working Groups
Created attachment 168085 [details] screenshot Description: Highlight works differently when run SvgInteractivityViewer.java. Build number: 2.6.0.v20100512-0630 Steps to reproduce: 1. Run /org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/interactivity/SvgInteractivityViewer.java 2. Choose "Highlight Series" and click "Show". 3. Click the tube 5 times. Expected result: Highlight works the same as other format. Actual result: There are 4 status, and the 1st and the 2nd will only appear once. Error log: N/A
Fixed by adding a Path element in group element. It seems group element can not support dynamic changing style attributes enough by javascript. Now add path element into each group element and copy the style attributes from group element, when user do highlight, just dynamic changes the styles of path element.
Verified in build (2.6.0.v20100528-0630), closed.
Rollbacked the previous check-ins for highlight function, the previous check-in made 30% performance degradation. Now we just change chart examples to avoid highlight issue.