DevExpress ChartControl X轴 刻度Lable 45度角

< dxc:ChartControl HorizontalAlignment = "Left" Name = "chart" Grid.Row = "0" VerticalAlignment = "Top" >
     < dxc:ChartControl.Diagram >
         < dxc:XYDiagram2D >
             < dxc:XYDiagram2D.AxisX >
                 < dxc:AxisX2D >
                     < dxc:AxisX2D.Label >
                         < dxc:AxisLabel >
 
                             < dxc:AxisLabel.ElementTemplate >
                                 < DataTemplate >
                                     < Border Padding = "{Binding Path=Label.Padding}"
                                             Background = "{Binding Path=Label.Background}"
                                             BorderBrush = "{Binding Path=Label.BorderBrush}"
                                             BorderThickness = "{Binding Path=Label.BorderThickness}" >
 
                                      <!--Silvelright版本的图表控件 可能是 {Binding Content}-->
                                         < ContentPresenter Content = "{Binding Path=Text}" 
                                                           RenderTransformOrigin = "0.5,0.5" >
                                             < ContentPresenter.RenderTransform >
                                                 < RotateTransform Angle = "45" />
                                             </ ContentPresenter.RenderTransform >
                                         </ ContentPresenter >
 
                                     </ Border >
                                 </ DataTemplate >
                             </ dxc:AxisLabel.ElementTemplate >
 
                         </ dxc:AxisLabel >
                     </ dxc:AxisX2D.Label >
                 </ dxc:AxisX2D >
             </ dxc:XYDiagram2D.AxisX >
             < dxc:XYDiagram2D.Series >
                 < dxc:BarSideBySideSeries2D >
                     < dxc:BarSideBySideSeries2D.Points >
                         < dxc:SeriesPoint Argument = "A" Value = "6" />
                         < dxc:SeriesPoint Argument = "B" Value = "12" />
                         < dxc:SeriesPoint Argument = "C" Value = "56" />
                         < dxc:SeriesPoint Argument = "D" Value = "80" />
                         < dxc:SeriesPoint Argument = "E" Value = "6" />
                     </ dxc:BarSideBySideSeries2D.Points >
                 </ dxc:BarSideBySideSeries2D >
             </ dxc:XYDiagram2D.Series >
         </ dxc:XYDiagram2D >
     </ dxc:ChartControl.Diagram >
</ dxc:ChartControl >

你可能感兴趣的:(DevExpress ChartControl X轴 刻度Lable 45度角)