这里刚好有个例子,添加了Chart的标题和Y轴单位标签。请参考:- <c1:C1Chart HorizontalAlignment="Stretch" Margin="10,10,10,10" Name="c1Chart1" VerticalAlignment="Stretch">
- <c1:C1Chart.Data>
- <c1:ChartData ItemNames="企业1 企业2 企业3 企业4 企业5">
- <c1:DataSeries Label="Series 1" RenderMode="Default" Values="20 22 19 24 25" />
- </c1:ChartData>
-
- </c1:C1Chart.Data>
- <c1:C1ChartLegend DockPanel.Dock="Right" />
- <TextBlock DockPanel.Dock="Top" Text="2013年度报表" HorizontalAlignment="Center"/>
- <TextBlock DockPanel.Dock="Left" HorizontalAlignment="Left" VerticalAlignment="Center" Text="单位:万元" Margin="0,100,-40,0">
- <TextBlock.RenderTransform>
- <RotateTransform Angle="-90"/>
- </TextBlock.RenderTransform>
- </TextBlock>
- </c1:C1Chart>
复制代码 |