var instance = new GC.Spread.Sheets.Charts.ChartCollection(sheet); var value; // Type: any value = instance.zIndex(name, zIndex);
Parameters
- name
- The name of the chart.
- zIndex
- The z-index of the chart.
var instance = new GC.Spread.Sheets.Charts.ChartCollection(sheet); var value; // Type: any value = instance.zIndex(name, zIndex);
var dataRange = "A1:D4"; activeSheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 180, dataRange); var dataRange2 = "A20:D24"; activeSheet.charts.add('Chart2', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 180, 600, 180, dataRange2); activeSheet.charts.zIndex('Chart1', 897); activeSheet.charts.zIndex('Chart2', 890);