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

Center Point Values of ShowItemLabels property StepLineSeriesDefinition

1 Answer 49 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Meliton Tienda
Top achievements
Rank 1
Meliton Tienda asked on 26 Aug 2013, 10:24 PM
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??
...


 

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 29 Aug 2013, 12:06 PM
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 >>
Tags
ChartView
Asked by
Meliton Tienda
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or