BarChart issue with XCategory...

2 posts, 0 answers
  1. Zack
    Zack avatar
    23 posts
    Member since:
    Jan 2008

    Posted 28 Jan 2010 Link to this post

    Hi,

    I have set my chart up as below - I am not able to get the XCategory field or XValue fields to show up on the XAxis.

    My business object is a simple class with 3 properties, Value, SeriesPoint and Label.

    Tooltips are not working on this chart either....

    Any help greatly appreciated.

    Zack

    <telerikChart:RadChart x:Name="RadChartHistoricalMV" FontSize="10" ItemsSource="{Binding Path=HistoricalMarketValue}">
                <telerikCharting:SeriesMapping>
                    <telerikCharting:SeriesMapping.SeriesDefinition>
                        <telerikCharting:BarSeriesDefinition ShowItemToolTips="True" ShowItemLabels="True" >                       
                        </telerikCharting:BarSeriesDefinition>
                    </telerikCharting:SeriesMapping.SeriesDefinition>
                    <telerikCharting:SeriesMapping.ItemMappings>
                        <telerikCharting:ItemMapping DataPointMember="YValue" FieldName="MValue" />
                        <telerikCharting:ItemMapping DataPointMember="XValue" FieldName="SeriesPoint" />
                        <telerikCharting:ItemMapping DataPointMember="XCategory" FieldName="mLabel" />                                       
                    </telerikCharting:SeriesMapping.ItemMappings>
                </telerikCharting:SeriesMapping>
            </telerikChart:RadChart>
  2. Zack
    Zack avatar
    23 posts
    Member since:
    Jan 2008

    Posted 01 Feb 2010 Link to this post

    my bad - I forgot the

    <

     

    telerikChart:RadChart.SeriesMappings>

     


    tags - that sorted it all out.
Back to Top