.I use highcharts-vue and xAxis.tickPositioner function

```js
chartOptions: {
  chart: {
    type: 'areaspline'
  },
  xAxis: {
    tickPositioner: function () {
      let positions = [],        
          tick = Math.floor(this.dataMin),
          increment = Math.ceil((this.dataMax - this.dataMin) / 10)

      if (this.dataMax !== null && this.dataMin !== null) {
          for (tick; tick  <= this.dataMax; tick += increment) {
              positions.push(tick)
          }
      }
      return positions
    }  
  },
  series: [],
  categories: []
}

mounted(){
  this.chartOptions.series = [
    {name: 'test1', data: [1]},
    {name: 'test2', data: [2]}
  ]
  this.chartOptions.xAxis.categories = ['category1']
}
```

```html
<highcharts :options="chartOptions"></highcharts>
```

I need it because ussualy I have a lot of data point.
It works good If this.chartOptions.series[i].data.length > 1.
But if this.chartOptions.series[i].data.length == 1 - browser is crashed.
What can I do to fix it?