谷歌图表中的垂直轴水平滚动静态 [英] Horizontal scroll with vertical axes static in google charts

查看:82
本文介绍了谷歌图表中的垂直轴水平滚动静态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在应用中使用 google图表,并且想实现滚动。我可以通过样式化容器div来完成。

I am using google chart in my App and I wanted to implement scroll. I could do it by styling the container div.

但问题是它会使用轴滚动整个图形。如何仅水平滚动图表区域并保持垂直轴静态?

But the problem is that it scrolls the entire graph with the axis. How to scroll horizontally only the chart area and keep the vertical axis static?

推荐答案

Visualization API具有内置控件处理图表滚动: ChartRangeFilter

The Visualization API has a built-in control to handle chart scrolling: the ChartRangeFilter.

这篇关于谷歌图表中的垂直轴水平滚动静态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆