Chart Propert not binding in Data Template

4 posts, 0 answers
  1. Nidhi
    Nidhi avatar
    19 posts
    Member since:
    Jun 2011

    Posted 14 Jul 2011 Link to this post

    Hi Team,

    I am showing charts in Listbox. I have placed RadChart Control in Itemplate. its not binding the ChartData and SeriesDefinition property. These property has value and preperty get is also called . But still its not showing series, saying "No data Series". On the other side, ChartTitle property is bound and showing chart title.

    Please see this issue and send any sample.

    Thanks in adavance..

    Regards,
    Nidhi

    XAMl code attached

    <ListBox  Grid.Column="0" ItemsSource="{Binding DrillDownChart}" >
             <ListBox.ItemsPanel>
                 <ItemsPanelTemplate>
                     <toolKit:WrapPanel  Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Stretch"  >
                     </toolKit:WrapPanel>
                 </ItemsPanelTemplate>
             </ListBox.ItemsPanel>
             <ListBox.ItemTemplate >
                 <DataTemplate>
                     <Grid Width="110" Height="114">
     
                         <Grid.RowDefinitions>
                             <RowDefinition Height="*" />
                             <RowDefinition Height="Auto" />
                         </Grid.RowDefinitions>
                         <Border Grid.Row="0">
     
                             <telerik:RadChart ItemsSource="{Binding ChartData}" SeriesMappings="{Binding ChartSeriesMappings}" >
     
     
     
                                 <telerik:RadChart.DefaultView>
                                     <telerik:ChartDefaultView ChartLegendPosition="Right">
                                         <telerik:ChartDefaultView.ChartTitle>
                                             <telerik:ChartTitle Content="{Binding ChartTitle}"/>
     
     
                                         </telerik:ChartDefaultView.ChartTitle>
                                         <telerik:ChartDefaultView.ChartArea>
                                             <telerik:ChartArea LabelFormatBehavior="None"   SmartLabelsEnabled="True"  >
                                                  
                                             </telerik:ChartArea>
                                         </telerik:ChartDefaultView.ChartArea>
                                         <telerik:ChartDefaultView.ChartLegend>
                                             <telerik:ChartLegend Name="ChartLegend"
                                                  LegendItemMarkerShape="Triangle" />
                                         </telerik:ChartDefaultView.ChartLegend>
                                     </telerik:ChartDefaultView>
                                 </telerik:RadChart.DefaultView>
     
                             </telerik:RadChart>
     
     
                         </Border>
     
                         <TextBlock Text="{Binding ChartTitle}" Grid.Row="1" />
     
                     </Grid>
                 </DataTemplate>
             </ListBox.ItemTemplate>
         </ListBox>

  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 18 Jul 2011 Link to this post

    Hi Nidhi,

    Thank you for contacting us and for the details provided. Indeed, there is a problem in this scenario. I have logged it in our Public Issue Tracking System, so you can track its status here. I have updated your Telerik points for reporting this.

    Kind regards,
    Ves
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for WPF is Visual Studio 2017 Ready
  4. Trevor
    Trevor avatar
    3 posts
    Member since:
    Jul 2011

    Posted 02 Nov 2011 Link to this post

    Any updates about this? I seem to be having the same problem.
  5. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 04 Nov 2011 Link to this post

    Hi Trevor,

    I am afraid this has not been fixed yet. Please, accept our apologies for the inconvenience caused by this problem.

    Best regards,
    Ves
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top