如何解决“混合的有效内容"问题, highcharts导出错误? [英] How can I get around "mixed active content" highcharts exporting error?

查看:127
本文介绍了如何解决“混合的有效内容"问题, highcharts导出错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于混合的活动内容"错误,您似乎无法使用通过https导出".

It appears you cannot use Exporting with https, because of "mixed active content" error.

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

您可以通过查看Highmaps演示之一来看到此问题:

You can see this problem by viewing one of the Highmaps demos:

此(http)的工作原理: http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/maps/demo/distribution/

This (http) works: 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/

This (https) doesn't: https://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/maps/demo/distribution/

有什么方法可以允许Exports与https页面一起使用?

Is there any way to allow Exporting to work with an https page?

推荐答案

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

The exporting URL defaults to 'http://export.highcharts.com'. You can manually set it to use https for the same address.

在代码中(更新了JSFiddle ):

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

这篇关于如何解决“混合的有效内容"问题, highcharts导出错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆