Opened 12 years ago
Closed 7 years ago
#12081 closed defect (patchwelcome)
Customized dojox.chart theme with silverlight error
Reported by: | Siqi | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.13 |
Component: | DojoX GFX | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Step 1. Customize the default chart theme by removing the "width" property of maker.stroke in dojox.charting.Theme.js Step 2. Enable silverlight for the gfx rendering
Open the attachment with IE, an error occurs and no chart will be displayed. Do not have this problem if svg is enabled for the gfx rendering.
Attachments (1)
Change History (4)
Changed 12 years ago by
Attachment: | test_customized_theme.html added |
---|
comment:1 Changed 12 years ago by
I think that it is caused by something wrong in the function 'setStroke' in dojox/gfx/silverlight.js. If the width of stroke is not set for the theme, s.width will be NaN. We need to take care of this situation just like what has been done in dojox/gfx/svg.js.
r.strokeThickness = s.width;
comment:2 Changed 11 years ago by
Milestone: | tbd → future |
---|---|
Status: | new → assigned |
comment:3 Changed 7 years ago by
Milestone: | future → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | assigned → closed |
Silverlight is mostly abandoned as a tech, so closing as patchwelcome.
Put it under "dojox/charting/tests"