3D Percent Stacked Bar Chart

Overview

A 3D Percent Stacked Bar Chart is a multi-series 3D Bar Chart that displays the trend of the percentage each value contributes over time or categories.

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

Quick Start

To build a 3D Percent Stacked Bar Chart, create a multi-series 3D Bar Chart and set the stackMode() method into percent:

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

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

// create 3d bar series
var series1 = chart.bar3d(seriesData_1);
var series2 = chart.bar3d(seriesData_2);

Playground

Adjusting

The 3D Percent Stacked Bar series' settings are mostly the same as other series' ones. 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.