SpreadJS 13
GC.Spread.Sheets.Charts Namespace / Chart type / switchDataOrientation Method
In This Topic
    switchDataOrientation Method
    In This Topic
    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