Open viraj12345 opened 6 years ago
Are you loading this file straight from disk or via a local server? i.e. does the URL bar start with http
or file
?
Also, using the same Chrome browser that's causing you issues, does this example load correctly? https://pivottable.js.org/examples/gchart.html
I downloaded the source code and tried to open gchart.html (under examples directory)in Google Chrome but the charts or table is not showing up.
Iam getting the below error
A parser-blocking, cross site (i.e. different eTLD+1) script, https://www.google.com/uds/?file=visualization&v=1&packages=charteditor%2Ccorechart, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
A parser-blocking, cross site (i.e. different eTLD+1) script, https://www.google.com/uds/api/visualization/1.0/40ff64b1d9d6b3213524485974f36cc0/format+en,default+en,ui+en,table+en,orgchart+en,motionchart+en,gauge+en,annotatedtimeline+en,imagechart+en,corechart+en,charteditor+en.I.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details. google.loader.f @ jsapi:23
Failed to load file:///C:/pivottable-master/examples/mps.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. send @ jquery.js:9659
I tried invoking through node.js as well but getting the same error. The same works fine in IE and Firefox