High-Low (HiLo) Chart


A high-low (HiLo) chart is a chart type mostly used to illustrate movements in the price of a financial instrument over time. Each vertical line on the chart shows the price range (the highest and lowest prices) over one unit of time - e.g., one day or one hour. So, the HiLo chart looks like the OHLC chart, but does not have tick marks indicating the opening and closing prices.

HiLo is a series type that is predominantly used for demonstrating the stock market data, due to its specifics. So AnyChart HiLo series are also available in AnyStock - see the HiLo series in AnyStock article to learn more.

This article explains how to create a basic HiLo chart as well as configure settings that are specific to the type. You can also see the table below to get a brief overview of the HiLo chart's characteristics:

ModulesCore + Basic Cartesian / Base
Data Fieldsx, high, low
Multiple SeriesYES
VerticalVertical HiLo
Error BarsN/A
StockStock HiLo
Japanese Candlestick
Range Area
Range Bar
Range Column
Range Spline Area
Range Step Area
Chartopedia: HiLo Chart
General Settings


The HiLo chart requires adding the Core and Basic Cartesian modules:

<script src="https://cdn.anychart.com/releases/8.12.1/js/anychart-core.min.js"></script>
<script src="https://cdn.anychart.com/releases/8.12.1/js/anychart-cartesian.min.js"></script>

Alternatively, you can use the Base module, which includes, among other things, the two modules mentioned above:

<script src="https://cdn.anychart.com/releases/8.12.1/js/anychart-base.min.js"></script>

Learn more: Modules.

Quick Start

To create a HiLo chart, use the anychart.hilo() chart constructor. If you pass the data to this chart constructor, it creates a HiLo series.

To create a HiLo series explicitly, call the hilo() method.

The following sample demonstrates how a basic HiLo chart is created:

// create data
var data = [
  ["January", 1000, 10000],
  ["February", 500, 12000],
  ["March", 3000, 18000],
  ["April", 4000, 11000],
  ["May", 6000, 9000]

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

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

// set the chart title
chart.title("HiLo Chart: Basic Sample");

// set the container id

// initiate drawing the chart


General Settings

In AnyChart there are many settings that are configured in the same way for all chart types, including the HiLo chart (for example, legend and interactivity settings).

Read the overview of general settings: General Settings.

Special Settings


The appearance settings of an Area chart can be configured in three states: normal, hover, and selected. Use the normal(), hovered(), and selected() methods.

Combine them with the stroke() method. Also, you can use some other methods from anychart.core.StateSettings.

In the sample below, there are two HiLo series with appearance settings configured:

// create the first series
var series1 = chart.hilo(seriesData_1);

// configure the visual settings of the first series
series1.normal().stroke("#00cc99", 1, "10 5", "round");
series1.hovered().stroke("#00cc99", 2, "10 5", "round");
series1.selected().stroke("#00cc99", 4, "10 5", "round");

// create the second series
var series2 = chart.hilo(seriesData_2);

// configure the visual settings of the second series
series2.hovered().stroke("#0066cc", 2);
series2.selected().stroke("#0066cc", 4);



Labels are text or image elements that can be placed anywhere on any chart (you can enable them on a whole series or in a single point). For text labels, font settings and text formatters are available.


A Tooltip is a text box displayed when a point on a chart is hovered over. There is a number of visual and other settings available: for example, you can edit the text by using font settings and text formatters, change the style of background, adjust the position of a tooltip, and so on.

Vertical HiLo

Most types of series in AnyChart can be drawn both in horizontal and vertical orientation: Vertical Charts.

Here is information about creating Vertical HiLo series: