ErrorBar

ErrorBar class

Represents error bar of data series.

class ErrorBar extends Line;

Example

const { Workbook, ChartType, ErrorBarDisplayType, ErrorBarType } = require("aspose.cells.node");

var workbook = new Workbook();
var cells = workbook.worksheets.get(0).cells;
cells.get("a1").putValue(2);
cells.get("a2").putValue(5);
cells.get("a3").putValue(3);
cells.get("a4").putValue(6);
cells.get("b1").putValue(4);
cells.get("b2").putValue(3);
cells.get("b3").putValue(6);
cells.get("b4").putValue(7);

cells.get("C1").putValue("Q1");
cells.get("C2").putValue("Q2");
cells.get("C3").putValue("Y1");
cells.get("C4").putValue("Y2");

var chartIndex = workbook.worksheets.get(0).charts.add(ChartType.Column, 11, 0, 27, 10);
var chart = workbook.worksheets.get(0).charts.get(chartIndex);
chart.nSeries.add("A1:B4", true);
chart.nSeries.categoryData = "C1:C4";

for (var i = 0; i < chart.nSeries.count; i++) {
    var aseries = chart.nSeries.get(i);
    aseries.xErrorBar.displayType = ErrorBarDisplayType.Minus;
    aseries.xErrorBar.type = ErrorBarType.FixedValue;
    aseries.xErrorBar.amount = 5;
}

Constructors

ConstructorDescription
constructor(Line)Constructs from a parent object convertible to this.

Properties

PropertyTypeDescription
typeErrorBarTypeRepresents error bar amount type.
displayTypeErrorBarDisplayTypeRepresents the display type of error bar.
amountnumberRepresents amount of error bar.
showMarkerTTopbooleanIndicates if formatting error bars with a T-top.
plusValuestringRepresents positive error amount when error bar type is Custom.
minusValuestringRepresents negative error amount when error bar type is Custom.
compoundTypeMsoLineStyleSpecifies the compound line type
dashTypeMsoLineDashStyleSpecifies the dash line type
capTypeLineCapTypeSpecifies the ending caps.
joinTypeLineJoinTypeSpecifies the joining caps.
beginTypeMsoArrowheadStyleSpecifies an arrowhead for the begin of a line.
endTypeMsoArrowheadStyleSpecifies an arrowhead for the end of a line.
beginArrowLengthMsoArrowheadLengthSpecifies the length of the arrowhead for the begin of a line.
endArrowLengthMsoArrowheadLengthSpecifies the length of the arrowhead for the end of a line.
beginArrowWidthMsoArrowheadWidthSpecifies the width of the arrowhead for the begin of a line.
endArrowWidthMsoArrowheadWidthSpecifies the width of the arrowhead for the end of a line.
themeColorThemeColorGets and sets the theme color.
colorColorRepresents the Color of the line.
transparencynumberReturns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).
styleLineTypeRepresents the style of the line.
weightWeightTypeGets or sets the WeightType of the line.
weightPtnumberGets or sets the weight of the line in unit of points.
weightPxnumberGets or sets the weight of the line in unit of pixels.
formattingTypeChartLineFormattingTypeGets or sets format type.
isAutomaticColorbooleanReadonly. Indicates whether the color of line is automatic assigned.
isVisiblebooleanRepresents whether the line is visible.
isAutobooleanIndicates whether this line style is auto assigned.
gradientFillGradientFillReadonly. Represents gradient fill.

Methods

MethodDescription
getType()@deprecated. Please use the ’type’ property instead. Represents error bar amount type.
setType(ErrorBarType)@deprecated. Please use the ’type’ property instead. Represents error bar amount type.
getDisplayType()@deprecated. Please use the ‘displayType’ property instead. Represents the display type of error bar.
setDisplayType(ErrorBarDisplayType)@deprecated. Please use the ‘displayType’ property instead. Represents the display type of error bar.
getAmount()@deprecated. Please use the ‘amount’ property instead. Represents amount of error bar.
setAmount(number)@deprecated. Please use the ‘amount’ property instead. Represents amount of error bar.
getShowMarkerTTop()@deprecated. Please use the ‘showMarkerTTop’ property instead. Indicates if formatting error bars with a T-top.
setShowMarkerTTop(boolean)@deprecated. Please use the ‘showMarkerTTop’ property instead. Indicates if formatting error bars with a T-top.
getPlusValue()@deprecated. Please use the ‘plusValue’ property instead. Represents positive error amount when error bar type is Custom.
setPlusValue(string)@deprecated. Please use the ‘plusValue’ property instead. Represents positive error amount when error bar type is Custom.
getMinusValue()@deprecated. Please use the ‘minusValue’ property instead. Represents negative error amount when error bar type is Custom.
setMinusValue(string)@deprecated. Please use the ‘minusValue’ property instead. Represents negative error amount when error bar type is Custom.
isNull()Checks whether the implementation object is null.
getCompoundType()@deprecated. Please use the ‘compoundType’ property instead. Specifies the compound line type
setCompoundType(MsoLineStyle)@deprecated. Please use the ‘compoundType’ property instead. Specifies the compound line type
getDashType()@deprecated. Please use the ‘dashType’ property instead. Specifies the dash line type
setDashType(MsoLineDashStyle)@deprecated. Please use the ‘dashType’ property instead. Specifies the dash line type
getCapType()@deprecated. Please use the ‘capType’ property instead. Specifies the ending caps.
setCapType(LineCapType)@deprecated. Please use the ‘capType’ property instead. Specifies the ending caps.
getJoinType()@deprecated. Please use the ‘joinType’ property instead. Specifies the joining caps.
setJoinType(LineJoinType)@deprecated. Please use the ‘joinType’ property instead. Specifies the joining caps.
getBeginType()@deprecated. Please use the ‘beginType’ property instead. Specifies an arrowhead for the begin of a line.
setBeginType(MsoArrowheadStyle)@deprecated. Please use the ‘beginType’ property instead. Specifies an arrowhead for the begin of a line.
getEndType()@deprecated. Please use the ’endType’ property instead. Specifies an arrowhead for the end of a line.
setEndType(MsoArrowheadStyle)@deprecated. Please use the ’endType’ property instead. Specifies an arrowhead for the end of a line.
getBeginArrowLength()@deprecated. Please use the ‘beginArrowLength’ property instead. Specifies the length of the arrowhead for the begin of a line.
setBeginArrowLength(MsoArrowheadLength)@deprecated. Please use the ‘beginArrowLength’ property instead. Specifies the length of the arrowhead for the begin of a line.
getEndArrowLength()@deprecated. Please use the ’endArrowLength’ property instead. Specifies the length of the arrowhead for the end of a line.
setEndArrowLength(MsoArrowheadLength)@deprecated. Please use the ’endArrowLength’ property instead. Specifies the length of the arrowhead for the end of a line.
getBeginArrowWidth()@deprecated. Please use the ‘beginArrowWidth’ property instead. Specifies the width of the arrowhead for the begin of a line.
setBeginArrowWidth(MsoArrowheadWidth)@deprecated. Please use the ‘beginArrowWidth’ property instead. Specifies the width of the arrowhead for the begin of a line.
getEndArrowWidth()@deprecated. Please use the ’endArrowWidth’ property instead. Specifies the width of the arrowhead for the end of a line.
setEndArrowWidth(MsoArrowheadWidth)@deprecated. Please use the ’endArrowWidth’ property instead. Specifies the width of the arrowhead for the end of a line.
getThemeColor()@deprecated. Please use the ’themeColor’ property instead. Gets and sets the theme color.
setThemeColor(ThemeColor)@deprecated. Please use the ’themeColor’ property instead. Gets and sets the theme color.
getColor()@deprecated. Please use the ‘color’ property instead. Represents the Color of the line.
setColor(Color)@deprecated. Please use the ‘color’ property instead. Represents the Color of the line.
getTransparency()@deprecated. Please use the ’transparency’ property instead. Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).
setTransparency(number)@deprecated. Please use the ’transparency’ property instead. Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).
getStyle()@deprecated. Please use the ‘style’ property instead. Represents the style of the line.
setStyle(LineType)@deprecated. Please use the ‘style’ property instead. Represents the style of the line.
getWeight()@deprecated. Please use the ‘weight’ property instead. Gets or sets the WeightType of the line.
setWeight(WeightType)@deprecated. Please use the ‘weight’ property instead. Gets or sets the WeightType of the line.
getWeightPt()@deprecated. Please use the ‘weightPt’ property instead. Gets or sets the weight of the line in unit of points.
setWeightPt(number)@deprecated. Please use the ‘weightPt’ property instead. Gets or sets the weight of the line in unit of points.
getWeightPx()@deprecated. Please use the ‘weightPx’ property instead. Gets or sets the weight of the line in unit of pixels.
setWeightPx(number)@deprecated. Please use the ‘weightPx’ property instead. Gets or sets the weight of the line in unit of pixels.
getFormattingType()@deprecated. Please use the ‘formattingType’ property instead. Gets or sets format type.
setFormattingType(ChartLineFormattingType)@deprecated. Please use the ‘formattingType’ property instead. Gets or sets format type.
isAutomaticColor()@deprecated. Please use the ‘isAutomaticColor’ property instead. Indicates whether the color of line is automatic assigned.
isVisible()@deprecated. Please use the ‘isVisible’ property instead. Represents whether the line is visible.
setIsVisible(boolean)@deprecated. Please use the ‘isVisible’ property instead. Represents whether the line is visible.
isAuto()@deprecated. Please use the ‘isAuto’ property instead. Indicates whether this line style is auto assigned.
setIsAuto(boolean)@deprecated. Please use the ‘isAuto’ property instead. Indicates whether this line style is auto assigned.
getGradientFill()@deprecated. Please use the ‘gradientFill’ property instead. Represents gradient fill.

constructor(Line)

Constructs from a parent object convertible to this.

constructor(obj: Line);

Parameters:

ParameterTypeDescription
objLineThe parent object.

type

Represents error bar amount type.

type : ErrorBarType;

Example

const { Workbook, ChartType, ErrorBarType } = require("aspose.cells.node");

var workbook = new Workbook();
var cells = workbook.worksheets.get(0).cells;
cells.get("a1").putValue(2);
cells.get("a2").putValue(5);
cells.get("a3").putValue(3);
cells.get("a4").putValue(6);
cells.get("b1").putValue(4);
cells.get("b2").putValue(3);
cells.get("b3").putValue(6);
cells.get("b4").putValue(7);

cells.get("C1").putValue("Q1");
cells.get("C2").putValue("Q2");
cells.get("C3").putValue("Y1");
cells.get("C4").putValue("Y2");

var chartIndex = workbook.worksheets.get(0).charts.add(ChartType.Column, 11, 0, 27, 10);
var chart = workbook.worksheets.get(0).charts.get(chartIndex);
chart.nSeries.add("A1:B4", true);
chart.nSeries.categoryData = "C1:C4";

for (var i = 0; i < chart.nSeries.count; i++) {
    var aseries = chart.nSeries.get(i);
    //Sets custom error bar type
    aseries.xErrorBar.type = ErrorBarType.Custom;
    aseries.xErrorBar.plusValue = "=Sheet1!A1";
    aseries.xErrorBar.minusValue = "=Sheet1!A2";
}

displayType

Represents the display type of error bar.

displayType : ErrorBarDisplayType;

amount

Represents amount of error bar.

amount : number;

Remarks

The amount must be greater than or equal to zero.

showMarkerTTop

Indicates if formatting error bars with a T-top.

showMarkerTTop : boolean;

plusValue

Represents positive error amount when error bar type is Custom.

plusValue : string;

minusValue

Represents negative error amount when error bar type is Custom.

minusValue : string;

compoundType

Specifies the compound line type

compoundType : MsoLineStyle;

dashType

Specifies the dash line type

dashType : MsoLineDashStyle;

capType

Specifies the ending caps.

capType : LineCapType;

joinType

Specifies the joining caps.

joinType : LineJoinType;

beginType

Specifies an arrowhead for the begin of a line.

beginType : MsoArrowheadStyle;

endType

Specifies an arrowhead for the end of a line.

endType : MsoArrowheadStyle;

beginArrowLength

Specifies the length of the arrowhead for the begin of a line.

beginArrowLength : MsoArrowheadLength;

endArrowLength

Specifies the length of the arrowhead for the end of a line.

endArrowLength : MsoArrowheadLength;

beginArrowWidth

Specifies the width of the arrowhead for the begin of a line.

beginArrowWidth : MsoArrowheadWidth;

endArrowWidth

Specifies the width of the arrowhead for the end of a line.

endArrowWidth : MsoArrowheadWidth;

themeColor

Gets and sets the theme color.

themeColor : ThemeColor;

Remarks

If the foreground color is not a theme color, NULL will be returned.

color

Represents the Color of the line.

color : Color;

transparency

Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).

transparency : number;

style

Represents the style of the line.

style : LineType;

weight

Gets or sets the WeightType of the line.

weight : WeightType;

weightPt

Gets or sets the weight of the line in unit of points.

weightPt : number;

weightPx

Gets or sets the weight of the line in unit of pixels.

weightPx : number;

formattingType

Gets or sets format type.

formattingType : ChartLineFormattingType;

isAutomaticColor

Readonly. Indicates whether the color of line is automatic assigned.

isAutomaticColor : boolean;

isVisible

Represents whether the line is visible.

isVisible : boolean;

isAuto

Indicates whether this line style is auto assigned.

isAuto : boolean;

gradientFill

Readonly. Represents gradient fill.

gradientFill : GradientFill;

getType()

@deprecated. Please use the ’type’ property instead. Represents error bar amount type.

getType() : ErrorBarType;

Returns

ErrorBarType

setType(ErrorBarType)

@deprecated. Please use the ’type’ property instead. Represents error bar amount type.

setType(value: ErrorBarType) : void;

Parameters:

ParameterTypeDescription
valueErrorBarTypeThe value to set.

getDisplayType()

@deprecated. Please use the ‘displayType’ property instead. Represents the display type of error bar.

getDisplayType() : ErrorBarDisplayType;

Returns

ErrorBarDisplayType

setDisplayType(ErrorBarDisplayType)

@deprecated. Please use the ‘displayType’ property instead. Represents the display type of error bar.

setDisplayType(value: ErrorBarDisplayType) : void;

Parameters:

ParameterTypeDescription
valueErrorBarDisplayTypeThe value to set.

getAmount()

@deprecated. Please use the ‘amount’ property instead. Represents amount of error bar.

getAmount() : number;

Remarks

The amount must be greater than or equal to zero.

setAmount(number)

@deprecated. Please use the ‘amount’ property instead. Represents amount of error bar.

setAmount(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

Remarks

The amount must be greater than or equal to zero.

getShowMarkerTTop()

@deprecated. Please use the ‘showMarkerTTop’ property instead. Indicates if formatting error bars with a T-top.

getShowMarkerTTop() : boolean;

setShowMarkerTTop(boolean)

@deprecated. Please use the ‘showMarkerTTop’ property instead. Indicates if formatting error bars with a T-top.

setShowMarkerTTop(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getPlusValue()

@deprecated. Please use the ‘plusValue’ property instead. Represents positive error amount when error bar type is Custom.

getPlusValue() : string;

setPlusValue(string)

@deprecated. Please use the ‘plusValue’ property instead. Represents positive error amount when error bar type is Custom.

setPlusValue(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getMinusValue()

@deprecated. Please use the ‘minusValue’ property instead. Represents negative error amount when error bar type is Custom.

getMinusValue() : string;

setMinusValue(string)

@deprecated. Please use the ‘minusValue’ property instead. Represents negative error amount when error bar type is Custom.

setMinusValue(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getCompoundType()

@deprecated. Please use the ‘compoundType’ property instead. Specifies the compound line type

getCompoundType() : MsoLineStyle;

Returns

MsoLineStyle

setCompoundType(MsoLineStyle)

@deprecated. Please use the ‘compoundType’ property instead. Specifies the compound line type

setCompoundType(value: MsoLineStyle) : void;

Parameters:

ParameterTypeDescription
valueMsoLineStyleThe value to set.

getDashType()

@deprecated. Please use the ‘dashType’ property instead. Specifies the dash line type

getDashType() : MsoLineDashStyle;

Returns

MsoLineDashStyle

setDashType(MsoLineDashStyle)

@deprecated. Please use the ‘dashType’ property instead. Specifies the dash line type

setDashType(value: MsoLineDashStyle) : void;

Parameters:

ParameterTypeDescription
valueMsoLineDashStyleThe value to set.

getCapType()

@deprecated. Please use the ‘capType’ property instead. Specifies the ending caps.

getCapType() : LineCapType;

Returns

LineCapType

setCapType(LineCapType)

@deprecated. Please use the ‘capType’ property instead. Specifies the ending caps.

setCapType(value: LineCapType) : void;

Parameters:

ParameterTypeDescription
valueLineCapTypeThe value to set.

getJoinType()

@deprecated. Please use the ‘joinType’ property instead. Specifies the joining caps.

getJoinType() : LineJoinType;

Returns

LineJoinType

setJoinType(LineJoinType)

@deprecated. Please use the ‘joinType’ property instead. Specifies the joining caps.

setJoinType(value: LineJoinType) : void;

Parameters:

ParameterTypeDescription
valueLineJoinTypeThe value to set.

getBeginType()

@deprecated. Please use the ‘beginType’ property instead. Specifies an arrowhead for the begin of a line.

getBeginType() : MsoArrowheadStyle;

Returns

MsoArrowheadStyle

setBeginType(MsoArrowheadStyle)

@deprecated. Please use the ‘beginType’ property instead. Specifies an arrowhead for the begin of a line.

setBeginType(value: MsoArrowheadStyle) : void;

Parameters:

ParameterTypeDescription
valueMsoArrowheadStyleThe value to set.

getEndType()

@deprecated. Please use the ’endType’ property instead. Specifies an arrowhead for the end of a line.

getEndType() : MsoArrowheadStyle;

Returns

MsoArrowheadStyle

setEndType(MsoArrowheadStyle)

@deprecated. Please use the ’endType’ property instead. Specifies an arrowhead for the end of a line.

setEndType(value: MsoArrowheadStyle) : void;

Parameters:

ParameterTypeDescription
valueMsoArrowheadStyleThe value to set.

getBeginArrowLength()

@deprecated. Please use the ‘beginArrowLength’ property instead. Specifies the length of the arrowhead for the begin of a line.

getBeginArrowLength() : MsoArrowheadLength;

Returns

MsoArrowheadLength

setBeginArrowLength(MsoArrowheadLength)

@deprecated. Please use the ‘beginArrowLength’ property instead. Specifies the length of the arrowhead for the begin of a line.

setBeginArrowLength(value: MsoArrowheadLength) : void;

Parameters:

ParameterTypeDescription
valueMsoArrowheadLengthThe value to set.

getEndArrowLength()

@deprecated. Please use the ’endArrowLength’ property instead. Specifies the length of the arrowhead for the end of a line.

getEndArrowLength() : MsoArrowheadLength;

Returns

MsoArrowheadLength

setEndArrowLength(MsoArrowheadLength)

@deprecated. Please use the ’endArrowLength’ property instead. Specifies the length of the arrowhead for the end of a line.

setEndArrowLength(value: MsoArrowheadLength) : void;

Parameters:

ParameterTypeDescription
valueMsoArrowheadLengthThe value to set.

getBeginArrowWidth()

@deprecated. Please use the ‘beginArrowWidth’ property instead. Specifies the width of the arrowhead for the begin of a line.

getBeginArrowWidth() : MsoArrowheadWidth;

Returns

MsoArrowheadWidth

setBeginArrowWidth(MsoArrowheadWidth)

@deprecated. Please use the ‘beginArrowWidth’ property instead. Specifies the width of the arrowhead for the begin of a line.

setBeginArrowWidth(value: MsoArrowheadWidth) : void;

Parameters:

ParameterTypeDescription
valueMsoArrowheadWidthThe value to set.

getEndArrowWidth()

@deprecated. Please use the ’endArrowWidth’ property instead. Specifies the width of the arrowhead for the end of a line.

getEndArrowWidth() : MsoArrowheadWidth;

Returns

MsoArrowheadWidth

setEndArrowWidth(MsoArrowheadWidth)

@deprecated. Please use the ’endArrowWidth’ property instead. Specifies the width of the arrowhead for the end of a line.

setEndArrowWidth(value: MsoArrowheadWidth) : void;

Parameters:

ParameterTypeDescription
valueMsoArrowheadWidthThe value to set.

getThemeColor()

@deprecated. Please use the ’themeColor’ property instead. Gets and sets the theme color.

getThemeColor() : ThemeColor;

Returns

ThemeColor

Remarks

If the foreground color is not a theme color, NULL will be returned.

setThemeColor(ThemeColor)

@deprecated. Please use the ’themeColor’ property instead. Gets and sets the theme color.

setThemeColor(value: ThemeColor) : void;

Parameters:

ParameterTypeDescription
valueThemeColorThe value to set.

Remarks

If the foreground color is not a theme color, NULL will be returned.

getColor()

@deprecated. Please use the ‘color’ property instead. Represents the Color of the line.

getColor() : Color;

Returns

Color

setColor(Color)

@deprecated. Please use the ‘color’ property instead. Represents the Color of the line.

setColor(value: Color) : void;

Parameters:

ParameterTypeDescription
valueColorThe value to set.

getTransparency()

@deprecated. Please use the ’transparency’ property instead. Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).

getTransparency() : number;

setTransparency(number)

@deprecated. Please use the ’transparency’ property instead. Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).

setTransparency(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getStyle()

@deprecated. Please use the ‘style’ property instead. Represents the style of the line.

getStyle() : LineType;

Returns

LineType

setStyle(LineType)

@deprecated. Please use the ‘style’ property instead. Represents the style of the line.

setStyle(value: LineType) : void;

Parameters:

ParameterTypeDescription
valueLineTypeThe value to set.

getWeight()

@deprecated. Please use the ‘weight’ property instead. Gets or sets the WeightType of the line.

getWeight() : WeightType;

Returns

WeightType

setWeight(WeightType)

@deprecated. Please use the ‘weight’ property instead. Gets or sets the WeightType of the line.

setWeight(value: WeightType) : void;

Parameters:

ParameterTypeDescription
valueWeightTypeThe value to set.

getWeightPt()

@deprecated. Please use the ‘weightPt’ property instead. Gets or sets the weight of the line in unit of points.

getWeightPt() : number;

setWeightPt(number)

@deprecated. Please use the ‘weightPt’ property instead. Gets or sets the weight of the line in unit of points.

setWeightPt(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getWeightPx()

@deprecated. Please use the ‘weightPx’ property instead. Gets or sets the weight of the line in unit of pixels.

getWeightPx() : number;

setWeightPx(number)

@deprecated. Please use the ‘weightPx’ property instead. Gets or sets the weight of the line in unit of pixels.

setWeightPx(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getFormattingType()

@deprecated. Please use the ‘formattingType’ property instead. Gets or sets format type.

getFormattingType() : ChartLineFormattingType;

Returns

ChartLineFormattingType

setFormattingType(ChartLineFormattingType)

@deprecated. Please use the ‘formattingType’ property instead. Gets or sets format type.

setFormattingType(value: ChartLineFormattingType) : void;

Parameters:

ParameterTypeDescription
valueChartLineFormattingTypeThe value to set.

isAutomaticColor()

@deprecated. Please use the ‘isAutomaticColor’ property instead. Indicates whether the color of line is automatic assigned.

isAutomaticColor() : boolean;

isVisible()

@deprecated. Please use the ‘isVisible’ property instead. Represents whether the line is visible.

isVisible() : boolean;

setIsVisible(boolean)

@deprecated. Please use the ‘isVisible’ property instead. Represents whether the line is visible.

setIsVisible(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

isAuto()

@deprecated. Please use the ‘isAuto’ property instead. Indicates whether this line style is auto assigned.

isAuto() : boolean;

setIsAuto(boolean)

@deprecated. Please use the ‘isAuto’ property instead. Indicates whether this line style is auto assigned.

setIsAuto(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getGradientFill()

@deprecated. Please use the ‘gradientFill’ property instead. Represents gradient fill.

getGradientFill() : GradientFill;

Returns

GradientFill