Tagged with Google_Charts - Visokio Forums http://forums.visokio.com/discussions/tagged/Google_Charts/feed.rss Mon, 30 Oct 17 17:34:00 -0400 Tagged with Google_Charts - Visokio Forums en-CA Scripting: Incorporating Google Charts Gallery? http://forums.visokio.com/discussion/2522/scripting-incorporating-google-charts-gallerys Thu, 17 Apr 2014 06:12:26 -0400 daniel 2522@/discussions https://developers.google.com/chart/interactive/docs/gallery

Would it be possible to get these graphs into Omniscope's Content view? I'm mainly interested in the Timeline and the Candlestick charts which Omniscope views do not currently provide.

I've been able to get the code examples to work but I don't know how to write the JavaScript to actually get the graphs to use the data within Omniscope files.


Clarification:

The code example here has a section which define var data and the array of data, how do I write it so that var data becomes a reference to columns of data in the Omniscope file?

var data = google.visualization.arrayToDataTable([
['Mon', 20, 28, 38, 45],
['Tue', 31, 38, 55, 66],
['Wed', 50, 55, 77, 80],
['Thu', 77, 77, 66, 50],
['Fri', 68, 66, 22, 15]
// Treat first row as data as well.
], true);

https://developers.google.com/chart/interactive/docs/gallery]]>