小智 332
您可以使用'none'作为位置来禁用图例:
legend: {position: 'none'}
dim*_*mus 86
有点清洁的方式
legend: 'none'
Run Code Online (Sandbox Code Playgroud)
小智 7
var options = {
title: 'USA City Distribution',
legend: 'none'
};
Run Code Online (Sandbox Code Playgroud)
在drawChart()功能上,legend: none在图表选项对象中添加属性