我爱Aspx >> Asp.Net >> 用C#绘柱形图(owc编程)ChartChartTypeEnum.chChartTypePie,
ChartChartTypeEnum.chChartTypePie3D,
ChartChartTypeEnum.chChartTypeRadarSmoothLine,
ChartChartTypeEnum.chChartTypeSmoothLine};
string[] chartTypesCh = new string[] { "垂直柱状统计图", "3D垂直柱状统计图", "水平柱状统计图", "3D水平柱状统计图", "区域统计图", "3D区域统计图", "中空饼图", "折线统计图", "3D折线统计图", "折线带点统计图", "饼图", "3D饼图", "网状统计图", "弧线统计图" };
for (int i = 0; i < chartTypes.Length; i++)
{
chartMap.Add(chartTypesCh[i], chartTypes[i]);
}
}
public ChartSpaceClass BuildCharts()
{
string chartCategoriesStr = String.Join("\t", chartCategoriesArr);
string chartValuesStr = String.Join("\t", chartValuesArr);
OWC11.ChartSpaceClass oChartSpace = new OWC11.ChartSpaceClass();
// ------------------------------------------------------------------------
// Give pie and doughnut charts a legend on the bottom. For the rest of
// them let the control figure it out on its own.
// ------------------------------------------------------------------------
chartType = (ChartChartTypeEnum)chartMap[chartTypeCh];
if (chartType == ChartChartTypeEnum.chChartTypePie ||
chartType == ChartChartTypeEnum.chChartTypePie3D ||
chartType == ChartChartTypeEnum.chChartTypeDoughnut)
Ҷƪл˵?
解读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]