根据文档,您可以根据需要禁用按钮.该文档甚至提供了一个加载图表的示例,其中禁用了按钮.
在您的配置中,请确保包含以下内容:
var chart = new Highcharts.Chart({
/* Other items removed to focus on navigation */
navigation: {
buttonOptions: {
enabled: false
}
}
});
Run Code Online (Sandbox Code Playgroud)