在Google折线图中隐藏网格线

问题描述

我已经使用Google Charts API尝试了针对我的问题的所有解决方案,但没有一个能够成功隐藏/删除网格线。请在下面找到选项对象的代码:

var materialOptions = {
        chart: {
          title: 'XXX'
        },vAxis: {
          gridlines: {
          color: 'transparent'
        },minorGridlines:{
            color: 'transparent'
          },baselineColor: 'transparent'
        },hAxis: {
          gridlines: {
          color: 'transparent'
        },minorGridlines: {
          color: 'transparent'
        },baselineColor: 'transparent'

        },};
    }

vAxis或hAxis上的“ count = 0”部分也不起作用。我不确定自己在做什么错。请帮忙!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)