图一图二
请教怎么调出图二中饼图的底线:红色 黄色透明饼图的底线,透明效果图一调出来了,
但是一直调不出图二中上半部分的底线。

解决方案 »

  1.   

    更改 ChartArea和 Series 属性
    this.Chart1.ChartAreas["ChartArea1"].BackColor = Color.Gainsboro;
                this.Chart1.ChartAreas["ChartArea1"].BackGradientStyle = GradientStyle.TopBottom;
                this.Chart1.ChartAreas["ChartArea1"].BackSecondaryColor = Color.White;
                this.Chart1.ChartAreas["ChartArea1"].BorderColor = Color.FromArgb(64, 64, 64, 64);
                this.Chart1.ChartAreas["ChartArea1"].BorderDashStyle = ChartDashStyle.Solid;
                this.Chart1.ChartAreas["ChartArea1"].ShadowColor = Color.Transparent;
    ser.BorderColor = Color.FromArgb(180, 26, 59, 105);
      

  2.   

    自己摸索出来了
    不是ChaertArea Series的属性
    Series的Points属性  DataPoint.BorderColor颜色设置为可见色就行,默认是空。