/// / / Specify whether the chart needs the legend objChart.haslegegend = true; objChart.hastitle = true; objChart.title.caption = "Analysis Graph"; // Specify the type of the chart. The type is worth it by owc.chartcharttypeenum //objChart.Type = OWC11.ChartChartTypeEnum.chChartTypeSmoothLine; //objChart.Type = OWC11.ChartChartTypeEnum.chChartTypeBarStacked1003D; OWC11.ChartChartTypeEnum [] chartTypes = new OWC11.ChartChartTypeEnum [] {OWC11.ChartChartTypeEnum.chChartTypeColumnClustered, OWC11.ChartChartTypeEnum.chChartTypeColumn3D, OWC11.ChartChartTypeEnum.chChartTypeBarClustered, OWC11.ChartChartTypeEnum.chChartTypeBar3D, OWC11.ChartChartTypeEnum.chChartTypeArea, OWC11.ChartChartTypeEnum.chChartTypeArea3D, OWC11.ChartChartTypeEnum.chChartTypeDoughnut, OWC11.ChartChartTypeEnum.chChartTypeLineStacked, OWC11.ChartChartTypeEnum.chChartTypeLine3D, OWC11.ChartChartTypeEnum.chChartTypeLineMarkers, OWC11. ChartChartTypeEnum.chChartTypePie, OWC11.ChartChartTypeEnum.chChartTypePie3D, OWC11.ChartChartTypeEnum.chChartTypeRadarSmoothLine, OWC11.ChartChartTypeEnum.chChartTypeSmoothLine}; objChart.Type = chartTypes [intChartTypes]; // string [] chartTypesCh = new str ING [] {"Vertical Column Statistics", "3D Vertical Column Statistics", "Horizontal Column Statistics", "3D Horizontal Column Statistics", "Regional Statistics", "3D Regional Chart", "Hollow Pie Figure "," Pacing Statistics "," 3D Point Statistics "," Panpoint Statistics Chart "," Pie Diagram "," 3D Pie Chart "," Network Statistics "," Arc Chart "}; For (int i = 0; i // given classification objChart.SeriesCollection [i] .SetData (OWC11.ChartDimensionsEnum.chDimCategories, (int) OWC11.ChartSpecialDataSourcesEnum.chDataLiteral, data_al [0] .ToArray ()); // setpoint objChart.SeriesCollection [i] .SetData (Owc11.ChartdimensionSenum.chdimvalues, (int) OWC11.CHARTSPECIALDATASOURESENUM.CHDATALIAL, DATA_AL [i 1] .toarray ()); objChart.seriescollection [i] .caption = "electricity indicator";} // Output into GIF file string strAbsolutePath = filePath "// temp // test.gif"; objCSpace.ExportPicture (strAbsolutePath, "GIF", chartWidth, chartHeight); relative path GIF file // create string strRelativePath;. strRelativePath = @ ".. /Analyse/temp/test.gif "; returnismpath;} usage: Private void page_load (object sender, system.eventargs e) {if (! ispostback) {string [] charttypesch = new string [] {"Vertical Column Statistics", "3D Vertical Column Statistics", "Level Column Statistics" "3D horizontal bar graph", "chart area", "3D chart area", "a hollow pie", "polyline chart", "3D polyline chart", "a little chart polyline", " Pie, "3D Pie Diagram", "Network Statist", "Arc Chart"}; for (int i = 0; i SQL = "SELECT DISTINCT Wellname from Well_Electric_fl"; Super.ddl_Load (SQL, DropdownList1, "Wellname", "Wellname"); }