Nov 22, 2013, 1:06 AM
[CLOSED] Changing Chart Background Color
I have added a menuItem that allows the user to select the background color of the chart. Do I need to tell the chart to redraw because the new color is not showing up?
<ext:MenuItem runat="server" Text="Background Color" Icon="ColorSwatch">
<Menu>
<ext:ColorMenu runat="server">
<Listeners>
<Select Handler="Ext.getCmp('CrtsChart').background.fill = '#' + color;" />
</Listeners>
</ext:ColorMenu>
</Menu>
</ext:MenuItem>
Last edited by Daniil; Nov 22, 2013 at 11:00 AM.
Reason: [CLOSED]