HighStock Charts does not work on SSL, i.e. Https

I have a site that is a secure site, it is accessible using the https: // protocol. This site is of a high standard.

Highchart worked fine when the protocol was http: // . But after installing the secure certificate, it did not load in any browser.

I imported the js HighStock diagram as shown below.

Then I thought about changing the protocol to get js from http: // to https: // as shown below

After that, the diagram began to display correctly in Internet Explorer.

But charts still don't load in Google Chrome, Firefox and Safari, etc.

Can someone tell me the correct way to visualize / display the HighStock diagram above the site which is accessed using the https: // protocol.

export and print functions should also work. A.

This is a very urgent requirement, so any help would be appreciated.

Thanks in advance.

Hello

Soham Patel

+6
source share
2 answers

I had the same problem and I solved it by deleting the protocol (http :) by doing the following:

<script src="//www.myserver.com/js/HighStock/js/highstock.js" type="text/javascript"></script> 
+2
source

It's hard to say without any code to look at, but one option is to download some things using http and others using https. Make sure everything on the page uses https, for example. All loaded scripts, etc.

0
source

All Articles