score:0

try to change tickinterval, minortickinterval on axis.

on logarithmic axes, the unit is the power of the value. for example, setting the minortickinterval to 1 puts one tick on each of 0.1, 1, 10, 100 etc. setting the minortickinterval to 0.1 produces 9 ticks between 1 and 10, 10 and 100 etc.

highcharts.chart('container', {
  title: {
    text: 'logarithmic axis demo'
  },
  xaxis: {
    tickinterval: 1,
    type: 'logarithmic',
  },
  yaxis: {
    type: 'logarithmic',
    minortickinterval: 0.1,
  },
  tooltip: {
    headerformat: '<b>{series.name}</b><br />',
    pointformat: 'x = {point.x}, y = {point.y}'
  },
  series: [{
    data: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512],
    pointstart: 1
  }]
});

demo: https://jsfiddle.net/blacklabel/x21uc5sd/


Related Query