Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Highcharts Inverted X and Y Axes

Highcharts Inverted X and Y Axes

Highcharts Area ChartHighcharts Area Chart

The following example demonstrates an area chart with inverted X and Y axes.

We learned the basic Highcharts configuration syntax in the previous chapters. Now let's look at some other configurations. Add the inverted property to chart.

chart Configuration

Set the inverted property of chart to true, so the X axis is vertical and the Y axis is horizontal.



var chart = {

   type: 'area',

   inverted: true

};

Example

Filename: highcharts_area_inverted.htm









Highcharts 教程 | Runoob Tutorial(runoob.com)









The output of the above example is:

Highcharts Area ChartHighcharts Area Chart