Stacked Stick Chart

Overview

A Stacked Stick Chart is a multi-series Stick Chart that displays the trend of the value each series contributes over time or categories.

The concept of stacking in AnyChart is described in this article: Stacked (Overview).

Quick Start

To build a Stacked Stick Chart, create a multi-series Stick Chart and set the stackMode() method into value:

// create a chart
var chart = chart.column();

// enable the value stacking mode
chart.yScale().stackMode("value");

// create stick series
var series1 = chart.stick(seriesData_1);
var series2 = chart.stick(seriesData_2);

Playground

Adjusting

The Stick series' settings are mostly the same as other series'. The majority of information about adjusting series in AnyChart is given in the General Settings article.

You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.