【问题标题】:How can I get around "mixed active content" highcharts exporting error?如何解决“混合活动内容”highcharts 导出错误?
【发布时间】:2016-06-02 23:39:18
【问题描述】:

由于“混合活动内容”错误,您似乎无法使用 https 导出。

Blocked loading mixed active content "http://export.highcharts.com/"

您可以通过查看其中一个 Highmaps 演示来了解这个问题:

这(http)有效: http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/maps/demo/distribution/

这 (https) 不会: https://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/maps/demo/distribution/

有什么方法可以让导出与 https 页面一起工作?

【问题讨论】:

    标签: highcharts export highmaps mixed-content


    【解决方案1】:

    导出 URL 默认为 'http://export.highcharts.com'。您可以手动将其设置为对同一地址使用 https。

    在代码中(updated JSFiddle):

    exporting: {
        url: 'https://export.highcharts.com'
    }
    

    【讨论】:

    • 从 4.2.6 版开始,默认为 https 而不是 http
    猜你喜欢
    • 2023-03-07
    • 1970-01-01
    • 1970-01-01
    • 2016-03-21
    • 1970-01-01
    • 2017-01-11
    • 1970-01-01
    • 2013-12-31
    • 2014-02-23
    相关资源
    最近更新 更多