ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

TimeChart.settings.stacks

This section is defined by the type LinearChartSettingsStack.

Properties

drawFullArea: boolean
Default value: null

Whether to fill the entire area under each series or only the difference between it and the series below.

The default is true for based stacks and false for everything else.

name: string
Default value: ""

The display name in info popup.

separateNegativeValues: boolean
Default value: null

Whether to separate negative values.

The default is false for line series but true for other series types.

type: "normal" | "proportional" | "based"
Default value: "normal"
Version 1.14.4: larger series values in based stacks now hide smaller values that come after them.

Different representation of stacked series values.

Valid values:
  • normal - a regular stack, values of series are added up
  • proportional - absolute values shown as percentage of from sum of given stack
  • based - all series are aligned to zero line; note that the order of the series is important - larger values might hide smaller that come after them.
X