Jump to content

Google Charts in uniGUI (new version with Print method)


Pep

Recommended Posts

  • 1 month later...
  • 7 months later...
1 hour ago, MVakili said:

But nowhere in the source, I found no reference to any site or CDN

 

cfs.GCharts.uniGUI.pas (Line 115):

const
  JS_RESOURCE_GCHARTS_LOADER : string = '<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>';

 

  • Thanks 1
Link to comment
Share on other sites

Hello Sherzod,

According to the guidelines stated in the FAQ section of the Google Charts documentation (https://developers.google.com/chart/interactive/faq#using-the-api), it is required that your users' computers have access to the "https://www.gstatic.com/charts/loader.js" file in order to utilize the interactive features of Google Charts.

const
  JS_RESOURCE_GCHARTS_LOADER : string = '<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>';

The reason I provided that specific answer was to ensure compliance with Google's terms of service. It is important to note that the source code of the components directly references "https://www.gstatic.com/charts/loader.js" in order to adhere to these terms.

 

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
  • 2 weeks later...

const
  JS_RESOURCE_GCHARTS_LOADER : string = '<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>';
  JS_RESOURCE_JQUERY: string = '<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>';

It appears to be these const here.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...