How can i make line in excel (use aspose)

how can i make line or curve in excel

i have to make graph as use line or curve

sheet.Shapes.AddLine(16, 16, 6, 0, 0, 65);
sheet.Shapes.AddLine(17, 16, 6, 2, 10, 65);
sheet.Shapes.AddLine(18, 16, 6, 2, -10, 65);

a line isn't rise

please help me

Hi,

If you want to add a curve, then you should use the Worksheet.Shapes.AddArc() method.