In my previous response to the message below, I forgot to note that in 
Mathematica one can also directly invoke the standard Google Charts URL 
format in an Import. For example,

Import["http://chart.apis.google.com/chart?chs=250x100&chd=t:60,40&cht=p3&chl=Hello|World"]

This has the disadvantage, of course, of requiring a syntax somewhat 
unlike the corresponding J syntax. It has the advantage over the J 
approach (at least right now, so far as I can see) of using the Google 
Charts syntax, which is fully documented at the Google Charts site.

Of course I would seldom want to use Mathematica like that, since it 
already has lots of built in charting types.

On 7/29/2010 10:18 PM, [email protected] wrote:
> Message: 4
> Date: Thu, 29 Jul 2010 20:06:17 -0400
> From: Eric Iverson<[email protected]>
> Subject: [Jbeta] 1.0.12 JHS update available - Google Charts - a big
>       deal
> To: Beta forum<[email protected]>
> Message-ID:
>       <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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!

-- 
Murray Eisenberg                     [email protected]
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to