AxisY error en MinValue and MaxValue

2 posts, 0 answers
  1. Rodrigo
    Rodrigo avatar
    14 posts
    Member since:
    May 2011

    Posted 03 Nov 2011 Link to this post

    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>
  2. Nikolay
    Admin
    Nikolay avatar
    385 posts

    Posted 07 Nov 2011 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top