This is a migrated thread and some comments may be shown as answers.

AxisY error en MinValue and MaxValue

1 Answer 37 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Rodrigo
Top achievements
Rank 1
Rodrigo asked on 03 Nov 2011, 11:34 AM
Hello I'm trying to put a minimum and maximum in the Y but I do not take, attached code and screenshot
<telerik:RadChart Visibility="{Binding visibilidadGraficaBarras, Converter={StaticResource boolToVis}}" x:Name="radChart2"
Width="400" Height="440" ItemsSource="{Binding ListaRespuestas}" >
                                     
<telerik:ChartArea>
<telerik:ChartArea.AxisY>
<telerik:AxisY  MinValue="30" MaxValue="90" Step="10"></telerik:AxisY>
</telerik:ChartArea.AxisY>
</telerik:ChartArea>
                                     
<telerik:RadChart.PaletteBrushes>
<SolidColorBrush Color="ForestGreen"></SolidColorBrush>
</telerik:RadChart.PaletteBrushes>
<telerik:RadChart.SeriesMappings>
<telerik:SeriesMapping LegendLabel="Perfil de puntuaciones T"  >
<telerik:SeriesMapping.SeriesDefinition   >
<telerik:BarSeriesDefinition>
</telerik:BarSeriesDefinition>
</telerik:SeriesMapping.SeriesDefinition>
<telerik:SeriesMapping.ItemMappings>
<telerik:ItemMapping FieldName="Valor"  DataPointMember="YValue"/>
<telerik:ItemMapping FieldName="Tipo" DataPointMember="XCategory" />
</telerik:SeriesMapping.ItemMappings>
</telerik:SeriesMapping>
</telerik:RadChart.SeriesMappings>
</telerik:RadChart>

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 07 Nov 2011, 02:41 PM
Hello Rodrigo,

When setting a manual axis range you would firstly need to set the AutoRange property to false and then define the Min, Max and Step.

Hope this helps.

All the best,
Nikolay
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
Rodrigo
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or