Step Line Chart with Error Bars


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.line() chart constructor, then create a Step Line series with the stepLine() method. To add error bars, call error().

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

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

// create error bars


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