Chart myChart = new Chart();
myChart.DataPointWidth = 5;
宽度以PlotArea的百分比为单位,如下例:
chart.Width = 500;
chart.DataPointWidth = 1.5; 柱状图条的宽度即为:500*1.5%=7.5
Chart myChart = new Chart();
myChart.DataPointWidth = 5;
宽度以PlotArea的百分比为单位,如下例:
chart.Width = 500;
chart.DataPointWidth = 1.5; 柱状图条的宽度即为:500*1.5%=7.5