简体   繁体   English

如何删除Google Charts Calendar图例?

[英]How do I remove a Google Charts Calendar legend?

https://developers.google.com/chart/interactive/docs/gallery/calendar https://developers.google.com/chart/interactive/docs/gallery/calendar

Is there a way to remove the legend (top right gradient that shows min and max values) from a Google Calendar chart? 有没有办法从Google日历图表中删除图例(显示最小值和最大值的右上渐变)?

just set the legend parameter to none 只需将图例参数设置为none

legend: 'none';

from https://developers.google.com/chart/interactive/docs/gallery/geochart 来自https://developers.google.com/chart/interactive/docs/gallery/geochart

An object with members to configure various aspects of the legend, or 'none', if no legend should appear. 具有成员的对象,用于配置图例的各个方面,如果不出现图例,则为“无”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM