我爱Aspx >> Asp.Net >> 用C#绘柱形图(owc编程){
oChartSpace.HasChartSpaceLegend = true;
oChartSpace.ChartSpaceLegend.Position = ChartLegendPositionEnum.chLegendPositionBottom;
}
oChartSpace.Border.Color = "blue";
oChartSpace.Charts.Add(0);
oChartSpace.Charts[0].HasTitle = true;
oChartSpace.Charts[0].Type = chartType;
oChartSpace.Charts[0].ChartDepth = 125;
oChartSpace.Charts[0].AspectRatio = 80;
oChartSpace.Charts[0].Title.Caption = chartTitle;
oChartSpace.Charts[0].Title.Font.Bold = true;
//绘图区背景颜色
//oChartSpace.Charts[0].PlotArea.Interior.Color = "red";
//绘图区
// oChartSpace.Charts[0].PlotArea.Floor.Interior.Color = "green";
oChartSpace.Charts[0].SeriesCollection.Add(0);
oChartSpace.Charts[0].SeriesCollection[0].DataLabelsCollection.Add();
//柱状图颜色
//oChartSpace.Charts[0].SeriesCollection[0].Interior.Color = "red";
// ------------------------------------------------------------------------
// If you're charting a pie or a variation thereof percentages make a lot
// more sense than values...
// ------------------------------------------------------------------------
if (chartType == ChartChartTypeEnum.chChartTypePie ||
chartType == ChartChartTypeEnum.chChartTypePie3D ||
chartType == ChartChartTypeEnum.chChartTypeDoughnut)
{
oChartSpace.Charts[0].SeriesCollection[0].DataLabelsCollection[0].HasPercentage = true;
Ҷƪл˵?
解读C#中的规则表达式(正则表达..[04-21]
C#中的特性(Attributes)[04-21]
几个C#写的网络相关开源组件[04-21]
c#学习体会:使用 ref 和 out 传递..[04-21]
c#中使用ref和out一点认识[04-21]
C#的前途如何?[04-21]
VB C# 语法对比图 (代码实例)[04-21]
C#高级编程Wrox,C#完全手册下载[04-21]
在C#中使用COM+实现事务控制[04-21]
使用C#调用外部Ping命令获取网络..[04-21]
JS的IE和Firefox兼容性汇编[04-21]
编写高性能Web 应用程序的 10 个..[04-21]
ASP输出Word、Excel文件[04-21]
UTF-8与GB2312互转方法[04-21]
.net打包自动安装数据库[04-21]
解读C#中的规则表达式(正则表达..[04-21]
C#中的特性(Attributes)[04-21]
几个C#写的网络相关开源组件[04-21]
多个页面向同一目标页面PostBack..[04-21]
常用SQL书写技巧[04-21]