Removing highcharts.com credits link

前端 未结 5 1701
一向
一向 2020-11-30 17:16

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 wo

相关标签:
5条回答
  • 2020-11-30 17:36

    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.

    0 讨论(0)
  • 2020-11-30 17:40
    credits : null
    

    also works to disable the credits

    0 讨论(0)
  • 2020-11-30 17:51

    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
    },
    
    0 讨论(0)
  • 2020-11-30 17:55

    Add this to your css.

    .highcharts-credits {
    display: none !important;
    }
    
    0 讨论(0)
  • 2020-11-30 18:01

    Both of the following code will work fine for removing highchart.com from the chart:-

    credits: false
    

    or

    credits:{
     enabled:false,
    }
    
    0 讨论(0)
提交回复
热议问题