问题
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.
I assumed I would get an option, so how do I remove it?
回答1:
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:
credits: {
enabled: false
},
回答2:
It's said here that you should be able to add the following to your chart config:
credits: {
enabled: false
},
that will remove the "Highcharts.com" text from the bottom of the chart.
回答3:
Both of the following code will work fine for removing highchart.com from the chart:-
credits: false
or
credits:{
enabled:false,
}
回答4:
Add this to your css.
.highcharts-credits {
display: none !important;
}
回答5:
credits : null
also works to disable the credits
来源:https://stackoverflow.com/questions/15459224/removing-highcharts-com-credits-link