Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313871 - Error in chart builder when use pattern as series color and select 'use Series Palette as line color'.[13]
Summary: Error in chart builder when use pattern as series color and select 'use Serie...
Status: VERIFIED 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 RC2   Edit
Assignee: Yi Wang CLA
QA Contact: Xiaodan Wang CLA
URL:
Whiteboard: Non-Auto
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 03:41 EDT by Maggie Shen CLA
Modified: 2010-05-24 23:20 EDT (History)
1 user (show)

See Also:


Attachments
screen shot (95.53 KB, image/jpeg)
2010-05-21 03:41 EDT, Maggie Shen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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).