读书人

MsChart成效

发布时间: 2012-08-10 12:19:33 作者: rapoo

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

读书人网 >C#

热点推荐