你好,有如下实体类
public class StuInfo
{
private string _StuName;
public string StuName
{
get { return _StuName; }
set { _StuName = value; }
}
private int _StuResult;
public int StuResult
{
get { return _StuResult; }
set { _StuResult = value; }
}
}
List<StuInfo> listStu
将listStu填充数据后,如何在xaml中写类似于ItemSource="{Binding Path=listStu}"的写法,让C1Chart显示出柱状图效果(X轴姓名,Y轴成绩)
比较着急,希望能尽快回答,多谢了! |
|