Mixin: StackMixin

StackMixin

Methods


normalized( [normalized])

If stacked and normalized are true, renders normalized stacked marks, such as normalized stacked bar and normalized stacked area chart. If normalized is not specified, returns the current normalized setting.
Parameters:
Name Type Argument Default Description
normalized boolean <optional>
false
Source:
Returns:
Type
normalized | StackMixin
Example
stackMixin.normalized(true)

stacked( [stacked])

If stacked is true, renders stacked marks, such as stacked bar and stacked area chart. If stacked is not specified, returns the current stacked setting.
Parameters:
Name Type Argument Default Description
stacked boolean <optional>
false
Source:
Returns:
Type
stacked | StackMixin
Example
stackMixin.stacked(true)