开发者

Silverlight charts with x and y axis label

开发者 https://www.devze.com 2023-03-18 03:22 出处:网络
I have a columnseries chart and its working fine,But i would like to add Month as Master Label in x -axis and No of Issue as开发者_运维技巧 Master Label in y - axis.

I have a columnseries chart and its working fine,But i would like to add Month as Master Label in x -axis and No of Issue as开发者_运维技巧 Master Label in y - axis.

    <toolkit:Chart  Title="Issue Occurrence Trend">
        <toolkit:ColumnSeries ItemsSource="{Binding}" AnimationSequence="Simultaneous"   IndependentValueBinding="{Binding Month}"  DependentValueBinding="{Binding NoIssue}"  >
        </toolkit:ColumnSeries>
    </toolkit:Chart>

Need help on this.


Like this ?

<toolkit:Chart  Title="Issue Occurrence Trend">

<toolkit:Chart.Axes>
<toolkit:CategoryAxis Title="Month" Orientation="X" />
<toolkit:CategoryAxis Title="No of Issue" Orientation="Y" />
</toolkit:Chart.Axes>

<toolkit:ColumnSeries ItemsSource="{Binding}" AnimationSequence="Simultaneous"   IndependentValueBinding="{Binding Month}"  DependentValueBinding="{Binding NoIssue}"  >
</toolkit:ColumnSeries>
</toolkit:Chart>
0

精彩评论

暂无评论...
验证码 换一张
取 消