JS API Reference

Welcome to the Highcharts Stock JS (highstock) Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.

series.xrange.data

An array of data points for the series. For the xrange series type, points can be given in the following ways:

  1. An array of objects with named values. The objects are point configuration objects as seen below.
    data: [{
        x: Date.UTC(2017, 0, 1),
        x2: Date.UTC(2017, 0, 3),
        name: "Test",
        y: 0,
        color: "#00FF00"
    }, {
        x: Date.UTC(2017, 0, 4),
        x2: Date.UTC(2017, 0, 5),
        name: "Deploy",
        y: 1,
        color: "#FF0000"
    }]