Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311497 - The icon for stock chart in legend area is different when there is secondary axis and output series is stock
Summary: The icon for stock chart in legend area is different when there is secondary ...
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 RC0   Edit
Assignee: Heng Li CLA
QA Contact: Xiaodan Wang CLA
URL:
Whiteboard: Non-Auto
Keywords:
: 311675 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 04:33 EDT by Xiaodan Wang CLA
Modified: 2010-05-11 22:52 EDT (History)
2 users (show)

See Also:


Attachments
screenshot (78.61 KB, image/png)
2010-05-04 04:33 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-04 04:33:49 EDT
Created attachment 166920 [details]
screenshot

Description:
The icon for stock chart in legend area is different when there is secondary axis and output series is stock.

Build number:
2.6.0.v20100504-0630

Steps to reproduce:
1. New a stock chart.
2. New a bar chart with secondary axis and output series is stock. 

Expected result:
The icon is the same as when create stock chart.

Actual result:
See the screenshot. 

Error log:
N/A
Comment 1 Heng Li CLA 2010-05-11 00:08:43 EDT
*** Bug 311675 has been marked as a duplicate of this bug. ***
Comment 2 Heng Li CLA 2010-05-11 00:15:17 EDT
The reason is that the line attribute is reset by using first bar outline attribute while setting stock chart as secondary y axis. Now fixed by replacing line attribute of stock chart only if the first bar outline attribute is not null
Comment 3 Xiaodan Wang CLA 2010-05-11 22:52:30 EDT
Verified in build (2.6.0.v20100512-0630), closed.