Zoom Google Line chart

后端 未结 4 650
暗喜
暗喜 2020-12-13 14:59

I am trying to create a line chart with the Google Visualization API. I want to enable zooming. Documents say that the \'explorer\' option is useful. But when I try to use

4条回答
  •  我在风中等你
    2020-12-13 15:35

    The Below code will work but you should not use animation on your charts. Remove animation and use only explorer. This is a bug, if animation is applied then zoom will not work.

    I spent weeks to figure this out.

    explorer: {
      keepInBounds: true,
      maxZoomIn: 8.0
    }
    

提交回复
热议问题