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

[Solved] 2013.1.403.1050 horizontal bar label display issue

1 Answer 52 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steve
Top achievements
Rank 1
Steve asked on 08 Apr 2013, 05:47 PM
appears as though latest version of chart changes label display layout.
I've not made changes to xaml, but layout of labels has changed, now hidden by bars.
<telerik:RadChart x:Name="ScoreSetsChart" ItemsSource="{Binding ReverseView}" Height="180">
    <telerik:RadChart.DefaultSeriesDefinition>
        <telerik:HorizontalBarSeriesDefinition ShowItemToolTips="True">
            <telerik:HorizontalBarSeriesDefinition.LabelSettings>
                <telerik:BarLabelSettings LabelDisplayMode="Inside"/>
            </telerik:HorizontalBarSeriesDefinition.LabelSettings>
        </telerik:HorizontalBarSeriesDefinition>
    </telerik:RadChart.DefaultSeriesDefinition>
    <telerik:RadChart.SeriesMappings>
        <telerik:SeriesMapping LegendLabel="Scores">
            <telerik:SeriesMapping.ItemMappings>
                <telerik:ItemMapping DataPointMember="XCategory" FieldName="ScoreName" />
                <telerik:ItemMapping DataPointMember="YValue" FieldName="Value" />
            </telerik:SeriesMapping.ItemMappings>
        </telerik:SeriesMapping>
    </telerik:RadChart.SeriesMappings>
    <telerik:RadChart.DefaultView>
        <telerik:ChartDefaultView>
            <telerik:ChartDefaultView.ChartArea>
                <telerik:ChartArea Name="ScoreSetsChartArea1" ItemToolTipOpening="ScoreSetsChart_ItemToolTipOpening">
                    <telerik:ChartArea.AxisY>
                        <telerik:AxisY AutoRange="False" MaxValue="5" MinValue="0" Step="1" MinorTicksVisibility="Collapsed"  />
                    </telerik:ChartArea.AxisY>
                    <telerik:ChartArea.AxisX>
                        <telerik:AxisX LayoutMode="Inside" />
                    </telerik:ChartArea.AxisX>
                </telerik:ChartArea>
            </telerik:ChartDefaultView.ChartArea>
            <telerik:ChartDefaultView.ChartLegend>
                <telerik:ChartLegend Visibility="Collapsed" Width="0" Height="0"/>
            </telerik:ChartDefaultView.ChartLegend>
            <telerik:ChartDefaultView.ChartTitle>
                <telerik:ChartTitle Content="{Binding ScoreCollectionName}" FontSize="10" Padding="0 1 0 0" />
            </telerik:ChartDefaultView.ChartTitle>
        </telerik:ChartDefaultView>
    </telerik:RadChart.DefaultView>
</telerik:RadChart>

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 12 Apr 2013, 06:54 AM
Hi Steve,

 I prepared a sample based on your xaml snippet and the images. However I couldn't reproduce the issue with the labels. Please compare my test attachment with yours to see what causes the difference. If you are not able to find what causes the problem on your side, please strip down your project and send us the runnable sample as attachment. This way we'll be able to support you further.

Greetings,
Evgenia
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Steve
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or