Center Point Values of ShowItemLabels property StepLineSeriesDefinition

2 posts, 0 answers
  1. Meliton Tienda
    Meliton Tienda avatar
    3 posts
    Member since:
    Nov 2009

    Posted 26 Aug 2013 Link to this post

    Hello guys,

    I´m trying to center the labels of StepLineSeriesDefinition points, like shows the next picture.

    My XAML is 

     <Grid x:Name="LayoutRoot" Background="White" DataContext="{Binding Source={StaticResource ViewModelObject}}">
            <telerik:RadChart x:Name="RadChart1" ItemsSource="{Binding ScatterData}">
                <telerik:RadChart.SeriesMappings>
                    <telerik:SeriesMapping CollectionIndex="0">
                        <telerik:SeriesMapping.SeriesDefinition> 
                            <telerik:StepLineSeriesDefinition  ShowItemLabels="True" ShowPointMarks="True" />
                        </telerik:SeriesMapping.SeriesDefinition>
                        <telerik:ItemMapping FieldName="XPoint" DataPointMember="XValue"  />
                        <telerik:ItemMapping FieldName="YPoint" DataPointMember="YValue" />
                    </telerik:SeriesMapping>
                </telerik:RadChart.SeriesMappings>
                <telerik:RadChart.DefaultView>
                    <telerik:ChartDefaultView>
                        <telerik:ChartDefaultView.ChartLegend>
                            <telerik:ChartLegend Name="legend" />
                        </telerik:ChartDefaultView.ChartLegend>
                        <telerik:ChartDefaultView.ChartArea>
                            <telerik:ChartArea LegendName="legend">
                                <telerik:ChartArea.ZoomScrollSettingsX>
                                    <telerik:ZoomScrollSettings ScrollMode="ScrollAndZoom" MinZoomRange="0.01"/>
                                </telerik:ChartArea.ZoomScrollSettingsX>
                            </telerik:ChartArea>
                        </telerik:ChartDefaultView.ChartArea>
                    </telerik:ChartDefaultView>
                </telerik:RadChart.DefaultView>
            </telerik:RadChart>
        </Grid>

    Any Idea for this??
    ...


     
  2. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 29 Aug 2013 Link to this post

    Hello,

    This is not supported out of the box. You can try to customize the way your labels are displayed using the following help topic as a starter:
    http://www.telerik.com/help/silverlight/radchart-howto-display-pointmarks-and-labels-for-specific-points-only.html

    Regards,
    Peshito
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top