AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.waterfall.Total Improve this Doc

Methods Overview

Coloring
fill()Fill settings.
hatchFill()Hatch fill settings.
stroke()Stroke settings.
Miscellaneous
label()Label settings.
name()Name settings.
x()'X' value settings.

Methods Description

fill

Getter for the total fill color.

Returns:

anychart.graphics.vector.Fill - Fill color.
Setter for the total fill color. Learn more about coloring.

Params:

NameTypeDescription
coloranychart.graphics.vector.Fill

Returns:

anychart.core.waterfall.Total - Self instance for method chaining.

hatchFill

Getter for hatch fill settings.

Returns:

anychart.graphics.vector.HatchFill - Hatch fill settings.
Setter for hatch fill settings. Learn more about hatch fill settings.

Params:

NameTypeDescription
typeanychart.graphics.vector.HatchFill.HatchFillType | stringHatch fill type

Returns:

anychart.core.waterfall.Total - Self instance for method chaining.

label

Label settings getter.

Returns:

anychart.core.ui.LabelsFactory - Labels factory instance.
Label config setter.

Params:

NameTypeDescription
configObjectLabel configuration object.

Returns:

anychart.core.waterfall.Total - Self instance for method chaining.
Label enabled state setter.

Params:

NameTypeDescription
enabledbooleanLabel enabled state.

Returns:

anychart.core.waterfall.Total - Self instance for method chaining.

name

Getter for the total name.

Returns:

string - Name of total.
Setter for the total name.

Params:

NameTypeDescription
valuestringName of total.

Returns:

anychart.core.waterfall.Total - Self instance for method chaining.

stroke

Getter for the stroke settings.

Returns:

anychart.graphics.vector.Stroke - Total stroke settings.
Setter for connector stroke using an object. Learn more about connector stroke

Params:

NameTypeDescription
settingsanychart.graphics.vector.StrokeStroke settings from anychart.graphics.vector.Stroke.

Returns:

anychart.core.waterfall.Total - Self instance for method chaining.

x

Getter for the total 'x' value.

Returns:

string - Value of category.
Setter for the total 'x' value.

Params:

NameTypeDescription
valuestringTarget category.

Returns:

anychart.core.waterfall.Total - Self instance for method chaining.