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

Highcharts X-Axis Inverted Spline Chart

Highcharts X-Axis Inverted Spline Chart

Highcharts Spline ChartHighcharts Spline Chart

The following example demonstrates an X-axis inverted spline chart.

We learned the Highcharts configuration syntax in the previous chapters. Now let's look at a complete example:


Configure

Set the chart type to spline. chart.type defaults to "line".

Configure X-axis inversion. Setting inverted to true inverts the X axis; the default is false.



chart

var chart = {

   type: 'spline',

   inverted: true

};

Example

Filename: highcharts_spline_inverted.htm









Highcharts 教程 | Runoob Tutorial(runoob.com)



 





The output of the above example is:

Highcharts Spline ChartHighcharts Spline Chart