☆☆☆owc11组件怎样让饼图实现3D效果?百分比怎么才能显示在饼图外面?
我用的owc11,可是看到的效果不是三维的,百分比都在中间看不清...
大家帮看看哪的问题啊??????
Dim objCSpace As ChartSpaceClass = New ChartSpaceClass
Dim objChart As ChChart = objCSpace.Charts.Add(0)
objChart.Type = ChartChartTypeEnum.chChartTypePie3D
objChart.HasLegend = True
objChart.HasTitle = True
objChart.Title.Caption = Request.QueryString( "tit ")
'添加一个series
objChart.SeriesCollection.Add(0)
'给定数据分类
objChart.SeriesCollection(0).SetData(ChartDimensionsEnum.chDimCategories, ChartSpecialDataSourcesEnum.chDataLiteral, strCategory)
'给定数据值
objChart.SeriesCollection(0).SetData(ChartDimensionsEnum.chDimValues, ChartSpecialDataSourcesEnum.chDataLiteral, strValue)
'百分比
Dim dlSeries1Labels As ChDataLabels = objChart.SeriesCollection(0).DataLabelsCollection.Add()
dlSeries1Labels.HasPercentage = True
'输出成GIF文件.
'byte[] fimg = (byte[])objCSpace.GetPicture ( "gif ", 500, 200)
Response.Buffer = True
Response.ContentType = "image/gif "
Response.BinaryWrite(CType(objCSpace.GetPicture( "gif ", 300, 200), Byte()))
Response.End()
[解决办法]
用OCW11我也遇到了不少问题
[解决办法]
学习一下
顶
[解决办法]
用Excel吧,有3D得~~
[解决办法]
http://www.cnblogs.com/Athos/archive/2007/02/09/645930.aspx
[解决办法]
。。。。。。
[解决办法]
关注帮顶下
[解决办法]
学习~!
帮顶
[解决办法]
http://www.hedgerwow.com/BLOG/owc/OWCMain.htm
各种详细的例子