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

Bug 311497

Summary: The icon for stock chart in legend area is different when there is secondary axis and output series is stock
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: Lionel.wyl, lshen
Version: 2.6.0   
Target Milestone: 2.6.0 RC0   
Hardware: PC   
OS: Windows XP   
Whiteboard: Non-Auto
Attachments:
Description Flags
screenshot none

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.