Spline Chart with Error Bars

Overview

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

Quick Start

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

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

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

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

Playground