代码如下
<c1:C1Chart HorizontalAlignment="Left" Height="300" Margin="10,10,0,0" VerticalAlignment="Top" Width="497">
<c1:C1Chart.Data>
<c1:ChartData ItemNames="1 P2 P3 P4 P5">
<c1ataSeries Label="Series 1" RenderMode="Default" Values="20 22 19 24 25"/>
<c1ataSeries Label="Series 2" RenderMode="Default" Values="8 12 10 12 15"/>
</c1:ChartData>
</c1:C1Chart.Data>
<c1:C1ChartLegend/>
<TextBlock DockPanel.Dock="Top" Name="c1Title" FontSize="14" Text="asdasdfasdfasdfasdfasdfasdfasdfasdfasdfasdadsfasdfasdfasdf"/>
</c1:C1Chart>
效果见附件
|