Hi Joshua,

Google Apps Script (the scripting engine for Sheets) has two JavaScript 
environments: server-side and client-side. The server-side environment 
provides easy access to Google data and services (SpreadsheetApp, etc) but 
is not always compatible with libraries you find on the web. The 
client-side environment is what powers the dialogs and sidebars you open 
using Apps Script, and is supports nearly all the functionality your 
browser does and is compatible with nearly every Javascript library.

If you are trying to do visualizations you're almost certainly running in 
the client-side environment, so that's good! If the library you are trying 
to use is hosted somewhere then you only need to add a <script 
src=""></script> tag to import it into your HTML dialog. If not, you'll 
need to import it into your script, which isn't as simple. Apps Script 
doesn't support .js files, so you'll need paste the content into your HTML 
file inbetween <script></script> tags.

Good luck!
- Eric

On Sunday, February 18, 2018 at 7:17:24 PM UTC-5, Joshua Marshall Moore 
wrote:
>
> Hi all,
>
> I was wondering if someone could walk me through including third party 
> (github) javascript in Google Spreadsheets. I already figured out how to 
> display a simple page in spreadsheets. But I'm trying to visualize graphs 
> in 3D in the spreadsheet, with supplied information. Is that possible? 
>
> Joshua Moore
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
  • Spreadsheets functions Joshua Marshall Moore
    • Re: Spreadsheets functions 'Eric Koleda' via Google Spreadsheets API

Reply via email to