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

Highcharts Logarithmic Chart

Highcharts Logarithmic Chart

Highcharts Spline ChartHighcharts Spline Chart

The following example demonstrates a logarithmic chart.

We learned the Highcharts configuration syntax in the previous chapters. Now let's look at how to configure it.


Configure

Set yAxis.type to 'logarithmic'. It defines the X axis type. The optional values are "linear", "logarithmic", "datetime", or "category". The default value is linear.



yAxis

var yAxis = {

   type: 'logarithmic',

   minorTickInterval: 0.1

};

Example

Filename: highcharts_line_logarithmic.htm









Highcharts 教程 | Runoob Tutorial(runoob.com)









The output of the above example is:

Highcharts Spline ChartHighcharts Spline Chart