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:
Name | Type | Description |
---|---|---|
color | anychart.graphics.vector.Fill |
Returns:
anychart.core.waterfall.Total - Self instance for method chaining.hatchFill
Getter for hatch fill settings.
Detailed description
This method can be used as getter only if the value has been previously set.
Returns:
anychart.graphics.vector.HatchFill - Hatch fill settings.Setter for hatch fill settings.
Learn more about hatch fill settings.
Params:
Name | Type | Description |
---|---|---|
type | anychart.graphics.vector.HatchFill.HatchFillType | string | Hatch fill type |
Returns:
anychart.core.waterfall.Total - Self instance for method chaining.Try it:
label
Label settings getter.
Returns:
anychart.core.ui.LabelsFactory - Labels factory instance.Label config setter.
Params:
Name | Type | Description |
---|---|---|
config | Object | Label configuration object. |
Returns:
anychart.core.waterfall.Total - Self instance for method chaining.Try it:
Label enabled state setter.
Params:
Name | Type | Description |
---|---|---|
enabled | boolean | Label 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.
Detailed description
NOTE: Chart must contain no category with same name.
Params:
Name | Type | Description |
---|---|---|
value | string | Name of total. |
Returns:
anychart.core.waterfall.Total - Self instance for method chaining.Try it:
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:
Name | Type | Description |
---|---|---|
settings | anychart.graphics.vector.Stroke | Stroke settings from anychart.graphics.vector.Stroke. |
Returns:
anychart.core.waterfall.Total - Self instance for method chaining.Try it:
x
Getter for the total 'x' value.
Returns:
string - Value of category.Setter for the total 'x' value.
Params:
Name | Type | Description |
---|---|---|
value | string | Target category. |
Returns:
anychart.core.waterfall.Total - Self instance for method chaining.Try it: