I think the use of google charts is easier than that. A wget returns the png
file and then you can do what you want. Right now the JHS uses jhtml to put
the <img src=...> into the log, but it would be trivial to get the ;ng data
and then do whatever.


On Thu, Jul 29, 2010 at 9:44 PM, bill lam <[email protected]> wrote:

> (some) google services can also be accessed using cli
>
> http://code.google.com/p/googlecl/wiki/ExampleScripts
>
> so I think some google services (not yet charts) are also available to
> jconsole.
>
> for debian (and ubuntu?) the package name is googlecl
>
> Чтв, 29 Июл 2010, Eric Iverson писал(а):
>  > A new JHS update is available. It adds a dozen lines of new J code and
> gives
> > a hint at what is available through Google Charts.
> >
> > An interesting example of the power of browser/web/html/javascript and
> cloud
> > computing.
> >
> > Use JAL (Package Manager) to install version 1.0.12 and then restart JHS.
> >
> > In jijx try:
> >    plotlines 'fubar';'abc|def';400 200; 2 10$?20#1000
> >    plotpie 'fubar';'abc|def|ghi';400 200; 50 24 12
> >
> > Look at the dead simple the J code. The functions just pack up the info
> for
> > the chart you want and request it as a URL from the google charts web
> site
> > and a png file is sent back in return.
> >
> > Amazing, state the art plotting with only a few lines in total of J code!
> >
> > And normal browser services allow you to save the png file, open in a new
> > tab, etc.
> >
> > See google chart on the web for examples and documentation on all the
> > possbilities.
> >
> > This exact same stuff is available to users of the JHS server at
> Jsoftware
> > jum. You'll have to use jum to kill your task with the older version and
> > restart you task with the new version and then the examples from above
> will
> > work exactly the same.
> >
> > I think this is a big deal!
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>  ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to