var scatterChart = workSheet.Drawings.AddChart("scatterChart", eChartType.XYScatterLines) as ExcelScatterChart; scatterChart.Title.Text = GraphTitle; var rangeLabel = workSheet.Cells["D2:D2571"]; var range1 = workSheet.Cells["C2:C2571"]; scatterChart.Series.Add(range1, rangeLabel); scatterChart.Series[0].Header = workSheet.Cells["A1"].Value.ToString(); scatterChart.Legend.Position = eLegendPosition.Right; scatterChart.SetSize(600, 300); scatterChart.SetPosition(5, 0, 1, 0
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)