Bug 319887 - Tooltip mis-display in line chart
Summary: Tooltip mis-display in line chart
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.5.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-14 13:27 EDT by Richard Gong CLA
Modified: 2010-07-26 23:10 EDT (History)
1 user (show)

See Also:


Attachments
Report Design (47.41 KB, application/octet-stream)
2010-07-19 12:19 EDT, Richard Gong CLA
no flags Details
Screen Shot (27.72 KB, image/jpeg)
2010-07-19 12:23 EDT, Richard Gong CLA
no flags Details
screenshot with 2.5.2 release (16.32 KB, image/png)
2010-07-26 05:52 EDT, Xiaoying Gu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Gong CLA 2010-07-14 13:27:39 EDT
See the attachment, tooltip is shown the script in the Tooltip Text setting when mouse over the marker on the legend. This issue happens in line chart, not in bar chart.
Comment 1 Xiaoying Gu CLA 2010-07-19 02:03:50 EDT
Could you please attached the screenshot and the report design?
Comment 2 Richard Gong CLA 2010-07-19 12:19:24 EDT
Created attachment 174646 [details]
Report Design

Added report design.
Comment 3 Richard Gong CLA 2010-07-19 12:23:08 EDT
Created attachment 174647 [details]
Screen Shot

Added screen shot.
Comment 4 Xiaoying Gu CLA 2010-07-21 23:22:03 EDT
According to the screenshot you attached, the tooltip is defined on the legend?
The tooltip on legend only support plain text, so the behavior is correct.

And tooltip defined on Value series works correct using the scripts you attached in the example. I tired on the 2.6.0 release and latest 2.6.1 nightly build.
Comment 5 Richard Gong CLA 2010-07-22 12:48:20 EDT
No, the tooltip is not defined on the legend, please see my attached report design. I use 2.5.2.
Comment 6 Xiaoying Gu CLA 2010-07-26 05:51:33 EDT
(In reply to comment #5)
> No, the tooltip is not defined on the legend, please see my attached report
> design. I use 2.5.2.

I tried the report you attached with 2.5.2 release build <2.5.2.v20100210-0630>.
And the tooltip just worked fine.

Please see my attachment. And it's wired that in the screenshot you attached, the tooltip appeared around the legend area. If the mouse is over the markers which has defined script, the tooltip should appear around the line markers.
Comment 7 Xiaoying Gu CLA 2010-07-26 05:52:25 EDT
Created attachment 175207 [details]
screenshot with 2.5.2 release
Comment 8 Richard Gong CLA 2010-07-26 13:12:13 EDT
Yes, when the mouse moves over the data point on the line, the tooltip shows up correctly. However, if the mouse is over the markers on the legend, it shows the script (see my screen shot), which shouldn't show anything at all. This weird behavior only happens in line chart. 

I haven't tried 2.6, but it's there in 2.5.2.
Comment 9 Xiaoying Gu CLA 2010-07-26 23:10:38 EDT
(In reply to comment #8)
> Yes, when the mouse moves over the data point on the line, the tooltip shows up
> correctly. However, if the mouse is over the markers on the legend, it shows
> the script (see my screen shot), which shouldn't show anything at all. This
> weird behavior only happens in line chart. 
> I haven't tried 2.6, but it's there in 2.5.2.


I do can reproduce this issue in 2.5.2 and 2.6.0 release now.

But I tried with the latest 2.6.1 build (20100727-0630), it seems this issue has been fixed.
Would you please download the latest 2.6.1 build and have a re-try?