dizzy
Posts: 79
Joined: Mon Aug 01, 2022 5:28 pm

zoomType = 'X' issue

Hi,
I have zoomType set to 'x' for my chart, but does seem to work for me.

When clicking down and dragging with the house, it does not show any areas being highlighted, and on larger charts, it just simply moves the chart left or right depending on where im dragging.

can anyone tell why this may be from this fiddle? http://jsfiddle.net/dizzy0ny/3ukcexvh/134/
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: zoomType = 'X' issue

Hi there,

That's because the zoomType: 'x' property has to be in the chart object.

Code: Select all

chart: {
      zoomType: 'x'
    },
DEMO: http://jsfiddle.net/BlackLabel/1s8ut3vw/
API Reference: https://api.highcharts.com/highstock/chart.zoomType

Regards!
Kamil Musiałowski
Highcharts Developer
dizzy
Posts: 79
Joined: Mon Aug 01, 2022 5:28 pm

Re: zoomType = 'X' issue

ah! i thank you!
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: zoomType = 'X' issue

You're welcome, feel free to contact us anytime!

Best regards
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Usage”