Spread.Sheets Documentation
switchDataOrientation Method
GC.Spread.Sheets.Charts Namespace > Chart type : switchDataOrientation Method
Switches the data orientation between rows and columns.
Syntax
var instance = new GC.Spread.Sheets.Charts.Chart(sheet, name, chartType, x, y, width, height, dataRange, dataOrientation);
var value; // Type: boolean
value = instance.switchDataOrientation();
function switchDataOrientation() : boolean;

Return Value

Returns true when data orienetation is changable and successful switched; otherwise, false.
See Also

Reference

Chart type