Mar 08, 2013, 7:29 PM
[CLOSED] Set chart axes min and mix value from code behind
Hello,
I defined a chart with the following markup. It works fine. How can I set ext:GauseAxis 'Minimum' and 'Maximum' values from code behind?
I defined a chart with the following markup. It works fine. How can I set ext:GauseAxis 'Minimum' and 'Maximum' values from code behind?
<ext:Chart ID="MyChart" runat="server" StyleSpec="background:#fff;" InsetPadding="25" Flex="1" StoreID="MyStore">
<AnimateConfig Easing="ElasticIn" Duration="1000" />
<Axes>
<ext:GaugeAxis Minimum="0" Maximum="100" Steps="10" Margin="-10" />
</Axes>
<Series>
<ext:GaugeSeries AngleField="Data1" Donut="0" ColorSet="#F49D10,#ddd" />
</Series>
</ext:Chart>
I came to the point below (;MyChart.Axes.ElementAt(0) ... ?
Thanks.
Last edited by Daniil; Mar 14, 2013 at 9:49 AM.
Reason: [CLOSED]