This question is locked. New answers and comments are not allowed.
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 advance..
Regards,
Nidhi
XAMl code attached
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 advance..
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>
<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>