http://blog.csdn.net/gisfarmer/article/details/3736452

 

Chart饼状图,每根柱子的宽度:

  int a = Chart1.Series["Series1"].Points.Count;
  Chart1.Series["Series1"].CustomProperties = "PointWidth=0.5";
  Chart1.Width = Unit.Pixel(25 * a);

如果有多个Series,还可以在乘以Series的个数。

相关文章:

  • 2021-05-26
  • 2021-08-14
  • 2021-08-10
  • 2022-02-06
  • 2021-11-28
猜你喜欢
  • 2022-02-09
  • 2021-11-26
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2021-09-05
  • 2021-08-31
相关资源
相似解决方案