Removing highcharts.com credits link

不羁岁月 提交于 2019-11-26 11:46:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!