日期:2014-05-18  浏览次数:20781 次

MsChart效果
图一

图二


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

------解决方案--------------------
表示做过这个3d的饼图,但调这个透明的 属性 就没去试过,顶一下 。
------解决方案--------------------
更改 ChartArea和 Series 属性

C# code

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);