首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

MsChart成效

2012-08-10 
MsChart效果图一图二请教怎么调出图二中饼图的底线:红色 黄色透明饼图的底线,透明效果图一调出来了,但是一

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

热点排行