Google 可视化注释时间线选择点大小
有没有办法更改 Google 可视化 API 注释时间线上的“选择点”大小?
我发现我可以使用粗细属性设置线条大小,但找不到所选点大小的任何内容。
chart.draw(data, {
displayAnnotations: true,
displayRangeSelector:false,
fill:30,
thickness:3,
colors:['#59761d', '#1d4376', '#761d1d']
});
我已阅读文档,但没有看到上面有任何东西。我曾假设谷歌自己在谷歌分析中使用了这个组件,并且谷歌分析肯定有更大的选择点。也许他们只是借用了一些代码,而他们确实有所不同?
Is there any way to change the "select dot" size on a Google Visualization API Annotated Time Line?
I have found that I can set the line size with the thickness property, but can't find anything for the select dot size.
chart.draw(data, {
displayAnnotations: true,
displayRangeSelector:false,
fill:30,
thickness:3,
colors:['#59761d', '#1d4376', '#761d1d']
});
I have read the documentation, but don't see anything on it. I had assumed Google themselves used this component in Google Analytics, and Google Analytics definitely has larger select dots. Perhaps they simply borrowed some code for that, and they are indeed different?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试使用其他可视化中的配置选项名称(例如,折线图中点大小的选项称为“pointSize”),但我怀疑它们是否有效。
根据我的经验,可视化的文档非常详尽,如果您在那里找不到它,它可能还不存在。对不起!
You can try to use Configuration Option Names from other visualizations(for example the option for dot size in a line graph is called "pointSize"), but I doubt they will work.
In my experience, the documentation for the visualizations are very thorough, and if you cannot find it there, it probably does not exist yet. Sorry!