Scatter Line Chart with Error Bars


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

Please note that error bars are also supported by Cartesian Line charts – see Line Chart with Error Bars.

Quick Start

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

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

// create a line series and set the data
var series = chart.line(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.