Vertical Line Chart

Overview

This article explains how to create a Vertical Line chart in AnyChart.

To learn more about vertical charts in general and how to customize them, see Vertical Charts (Overview). You can also read the Line Chart article to learn about other available settings.

Quick Start

To build a Vertical Line chart, use the anychart.line() or anychart.vertical() chart constructor. Then call the line() method to create a Line series.

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

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

Playground

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