Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312531 - Highlight works differently when run SvgInteractivityViewer.java [13]
Summary: Highlight works differently when run SvgInteractivityViewer.java [13]
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0 RC3   Edit
Assignee: Heng Li CLA
QA Contact: Xiaodan Wang CLA
URL:
Whiteboard: Obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 01:38 EDT by Xiaodan Wang CLA
Modified: 2010-06-17 22:42 EDT (History)
2 users (show)

See Also:


Attachments
screenshot (131.42 KB, image/png)
2010-05-12 01:38 EDT, Xiaodan Wang CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.