Step Line Chart with Error Bars

Overview

This article explains how to create a Step Line 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 Step Line Chart article to learn about other available settings.

Quick Start

To build a Step Line chart, use the anychart.stepLine() chart constructor, then create a Step Line series with the stepLine() method. To add error bars, call error().

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

// create a step line series and set the data
var series = chart.stepLine(data);

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

Playground