ChartData _bubbleData = new ChartData();
DataSeries ds1 = new DataSeries() { Label ="A1"};
ds1.ValuesSource = new double[] { BaseParam.ygpqwd, BaseParam.rgpqwd, BaseParam.sgpqwd, BaseParam.ssgpqwd, BaseParam.wgpqwd, BaseParam.lgpqwd };
_bubbleData.Children.Add(ds1);
mainWindow.c1Chart1.ChartType = ChartType.Column;
mainWindow.c1Chart1.Data.ItemNames = "A B C D E F";
mainWindow.c1Chart1.Data = _bubbleData;
ItemNames还是原始的1 2 3 4 5 6 |
|