This question is locked. New answers and comments are not allowed.
Hi,i have radchat with 4 bars if any bar has zero value then bar will not be visible,,its ok ,but i want to rearrange the all bars in central..how should i do this ?also,how to change background color of legend area please let me know here i have attached screen for your reference.. her is my code,In Xaml File.. < <Style x:Key="MyBarStyle" TargetType="chart:Bar"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="chart:Bar"> <Canvas Opacity="0" x:Name="PART_MainContainer"> <Rectangle x:Name="PART_DefiningGeometry" Height="{TemplateBinding ItemActualHeight}" Width="{TemplateBinding ItemActualWidth}" Style="{TemplateBinding ItemStyle}" /> <Rectangle Height="{TemplateBinding ItemActualHeight}" Width="{TemplateBinding ItemActualWidth}" Fill="{StaticResource BarMaskBrush}" /> <Rectangle x:Name="PART_SelectedState" Height="{TemplateBinding ItemActualHeight}" Width="{TemplateBinding ItemActualWidth}" /> <Canvas.RenderTransform> <ScaleTransform x:Name="PART_AnimationTransform" ScaleY="0" /> </Canvas.RenderTransform> </Canvas> </ControlTemplate> </Setter.Value> </Setter> </Style> </UserControl.Resources> <Grid x:Name="LayoutRoot" Background="White"> <telerik:RadChart x:Name="RadChart1" BorderThickness="0" PaletteBrushesRepeat="True" Width="200"> <telerik:RadChart.PaletteBrushes> <SolidColorBrush Color="#FF01a0db" /> <SolidColorBrush Color=" #FF619d3a" /> <SolidColorBrush Color="#FFc2ae30" /> <SolidColorBrush Color="#FFbf2e29" /> </telerik:RadChart.PaletteBrushes> </telerik:RadChart> </Grid>In Code behind filein page loadRadChart1.ItemsSource = new double[] { 0, 4, 5, 9 };Thanks,Saravanan