javascript 删除 highcharts.com 积分链接
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15459224/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Removing highcharts.com credits link
提问by user2178935
I have just purchased highcharts, but the credits link still appears on my graphs which are quite prominent on my site and it distorts the chart view.
我刚刚购买了highcharts,但积分链接仍然出现在我的图表上,这些链接在我的网站上非常突出,并且它扭曲了图表视图。
I assumed I would get an option, so how do I remove it?
我以为我会得到一个选项,那么如何删除它?
回答by SteveP
You can customise the credits, changing the URL, text, Position etc. All the info is documented here: http://api.highcharts.com/highcharts/credits. To simply disable them altogether, use:
您可以自定义信用,更改 URL、文本、位置等。所有信息都记录在此处:http: //api.highcharts.com/highcharts/credits。要完全禁用它们,请使用:
credits: {
enabled: false
},
回答by Ahmad Alfy
回答by Arun Kumar N
Both of the following code will work fine for removing highchart.com from the chart:-
以下两个代码都可以很好地从图表中删除 highchart.com:-
credits: false
or
或者
credits:{
enabled:false,
}
回答by Psychedelic Wizard
Add this to your css.
将此添加到您的 css 中。
.highcharts-credits {
display: none !important;
}
回答by brujo_rojas
credits : null
also works to disable the credits
也可以禁用学分