Stick Chart with Error Bars

Overview

This article explains how to create a Stick chart with error bars.

To learn more about error charts in general and how to customize them, see Error Chart (Overview). In addition, you can read the Stick Chart article to learn about other available settings.

Quick Start

To build a Stick chart, use the anychart.column() chart constructor, then create a Stick series with the stick() method. To add error bars, call error().

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

// create a stick series and set the data
var series = chart.stick(data);

// create error bars
series.error("10%");

Playground

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