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

Bug 313871

Summary: Error in chart builder when use pattern as series color and select 'use Series Palette as line color'.[13]
Product: z_Archived Reporter: Maggie Shen <lshen>
Component: BIRTAssignee: Yi Wang <yi.wang>
Status: VERIFIED FIXED QA Contact: Xiaodan Wang <xwang>
Severity: normal    
Priority: P3 CC: Lionel.wyl
Version: 2.6.0   
Target Milestone: 2.6.0 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard: Non-Auto
Attachments:
Description Flags
screen shot none

Description Maggie Shen CLA 2010-05-21 03:41:40 EDT
Created attachment 169481 [details]
screen shot

description:
Error in chart builder when use pattern as series color and select 'use Series Palette as line color'.

build id:
2.6.0 v20100521-0630

steps to reproduce:
1. New a radar chart.
2. Use pattern as series color.
3. On Format chart page, select 'use Series Palette as line color'.

Actual result:
Error occurs in chart builder.

Expected result:
1. The error message need to be updated.
Or. 2. Disable 'use Series Palette as line color' in this case.
Comment 1 Yulin Wang CLA 2010-05-24 03:00:21 EDT
Please keep it consistent with Line or Scatter chart.
Comment 2 Yi Wang CLA 2010-05-24 05:44:05 EDT
By converting a Palette entry of type PatternImage into a line color, FillUtil.getColor() should be used instead of simply casting it into ColorDefinition.
Comment 3 Xiaodan Wang CLA 2010-05-24 23:20:16 EDT
In this case, gray is used for line color by default.

Verified in build (2.6.0.v20100525-0630).