Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312531

Summary: Highlight works differently when run SvgInteractivityViewer.java [13]
Product: z_Archived Reporter: Xiaodan Wang <xwang>
Component: BIRTAssignee: Heng Li <liheeng>
Status: CLOSED FIXED QA Contact: Xiaodan Wang <xwang>
Severity: normal    
Priority: P3 CC: hchristensen, Lionel.wyl
Version: 2.6.0   
Target Milestone: 2.6.0 RC3   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
screenshot none

Description Xiaodan Wang CLA 2010-05-12 01:38:45 EDT
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
Comment 1 Heng Li CLA 2010-05-27 02:27:29 EDT
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.
Comment 2 Xiaodan Wang CLA 2010-05-28 01:07:02 EDT
Verified in build (2.6.0.v20100528-0630), closed.
Comment 3 Heng Li CLA 2010-06-17 22:42:06 EDT
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.