Bug 268490 - Tooltip in bar chart does not allow formatting
Summary: Tooltip in bar chart does not allow formatting
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Birt-Chart-inbox@eclipse.org CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 04:22 EDT by stefan meyer CLA
Modified: 2010-08-12 22:27 EDT (History)
2 users (show)

See Also:


Attachments
Report with tooltip on bars (44.11 KB, application/octet-stream)
2009-03-13 04:22 EDT, stefan meyer CLA
no flags Details
Here you can see the axis value formatting dialog (161.12 KB, image/jpeg)
2009-03-16 05:21 EDT, stefan meyer CLA
no flags Details
Here you can see the tooltip editing dialog (138.40 KB, image/jpeg)
2009-03-16 05:22 EDT, stefan meyer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan meyer CLA 2009-03-13 04:22:07 EDT
Created attachment 128670 [details]
Report with tooltip on bars

I have difficulties to format data in the bar tooltips. it would be nice to be able to use a formatting in the gui as it is possible for axis values. Or there should be a javascript formatting function that accepts a formatting pattern.
Comment 1 Yulin Wang CLA 2009-03-16 05:11:42 EDT
Could you tell me what's your expected behavior? The more specific, the better.
I didn't see "it's possible for axis values".
Comment 2 stefan meyer CLA 2009-03-16 05:21:22 EDT
Created attachment 128886 [details]
Here you can see the axis value formatting dialog

Here you can see the axis value formatting dialog
Comment 3 stefan meyer CLA 2009-03-16 05:22:25 EDT
Created attachment 128887 [details]
Here you can see the tooltip editing dialog

There is not built-in gui-supported formatting. Also a javascript formatting function is not available
Comment 4 Yulin Wang CLA 2009-03-16 05:37:42 EDT
Oh, I think you can't compare between them.
The first one is to format axis values, not the tooltips.
The value type of data point tooltip are decided by the expression, not like specified numeric/datetime type in axis. The tooltip value may be various type in runtime. In design time, you don't know what the value type is. Hence it's hard to set one format to the tooltips.
The workaround is that the user uses the javascript to format the tooltip value.