Closed ssuess closed 5 years ago
UGH, I finally solved my own problem. The option needed to be nested inside chart
, like so:
chartStuff: {
title: null,
chart: {
zoomType: 'x'
},
legend: {
symbolRadius: 10,
squareSymbol: true,
symbolWidth: 10,
symbolPadding: 10
},
tooltip: {
shared: true, //...etc
Hi @ssuess ,
Thank you for reporting the issue.
After taking a look on your code, I see that the zoomType
parameter is put directly on the chartOptions, but it should be wrapped by another object called chart
, like in the below example.
Live example: https://codesandbox.io/s/highcharts-vue-demo-90yvq API Reference: https://api.highcharts.com/highcharts/chart.zoomType
Kind regards!
No matter what I do, I can't get zoom to work on highcharts-vue, although everything else seems to work normally. I am building my project with vue and quasar latest versions. Here are my chart options