var instance = new GC.Spread.Sheets.Charts.ChartCollection(sheet); var value; // Type: Chart value = instance.add(name, chartType, x, y, width, height, dataRange, dataOrientation);
Parameters
- name
- The name of the chart that will be added to the sheet.
- chartType
- The type of the chart.
- x
- The x location of the chart.
- y
- The y location of the chart.
- width
- The width of the chart.
- height
- The height of the chart.
- dataRange
- The formula string of data range for the chart.
- dataOrientation
- The orientation of data for series.