ASP.NET OWC11 Generate Chart (C #)

xiaoxiao2021-03-06  108

String strcategory = "1" '/ t' "2" '/ t' "3" '/ t' "4" '/ t' "5" '/ t' "6 " '/ t'; string strign =" 9 " '/ t' " 8 " '/ t' " 4 " '/ t' " 10 " '/ t' " 12 " '/ t' "6" '/ t';

// Statement Object Chartspace thischart = new chartspaceclass (); chchart thischchart = thischart.CHARTS.ADD (0); chsries thischseries = thischchart.seriescollection.add (0);

// Display legend thischchart.haslegegend = true; // Title thischchart.hastitle = true; thischchart.title.caption = "chart";

// Given X, Y axial illustration ThischChart.axes [0] .hastitle = true; thischchart.axes [1] .hastitle = true; thischchart.axes [0] .title.caption = "month"; thischchart. Axes [1] .title.caption = "Quantity";

// chart type ThisChChart.Type = ChartChartTypeEnum.chChartTypeColumnClustered3D; // rotation ThisChChart.Rotation = 360; ThisChChart.Inclination = 10; // background color ThisChChart.PlotArea.Interior.Color = "red"; // background ThisChChart.PlotArea .Floor.interior.color = "green";

ThischChart.overlap = 50;

转载请注明原文地址:https://www.9cbs.com/read-103148.html

New Post(0)