移交报表处理
This commit is contained in:
@@ -415,6 +415,13 @@ namespace Web.Controls
|
||||
|
||||
chart1.Series[dataSourceTeam.DataPointName].Label = "#VAL{P}";//设置标签文本 (在设计期通过属性窗口编辑更直观)
|
||||
chart1.Series[dataSourceTeam.DataPointName].IsValueShownAsLabel = true;//显示标签
|
||||
if (dataSourceTeam.DataPointName == "Actual Finished(%)")
|
||||
{
|
||||
chart1.Series[dataSourceTeam.DataPointName].Color = Color.Red;
|
||||
}
|
||||
else {
|
||||
chart1.Series[dataSourceTeam.DataPointName].Color = Color.Blue;
|
||||
}
|
||||
foreach (Model.DataSourcePoint dataSourcePoint in dataSourceTeam.DataSourcePoints)
|
||||
{
|
||||
chart1.Series[dataSourceTeam.DataPointName].Points.AddXY(dataSourcePoint.PointText, dataSourcePoint.PointValue);
|
||||
|
||||
Reference in New Issue
Block a user