There is one more significant player in the plot toolkit. Html canvas is already available in all modern, non-IE browsers. With html5, this will become a strong standard and newer IE versions will support it. This allows the client with Javascript with J plot data to efficiently and completely support good graphics locally with the lightweight JHS installation.
I see 3 levels for plot/graphics support in J7: 1. J7 base install with google charts 2. install plot addon with canvas output support for non-network JHS 3. install GTK addons for 'ultimate' support I think google charts is quite sufficient for the base install and I plan to drop the current JHS base install support for plot addon with support for PDF and SVG. SVG was always only a temporary bridge and with google charts and canvas coming along it is now a complete dead end. The canvas support in Firefox, Safari, and Chrome means that it already makes perfect sense to provide that as an output for the J plot addon. Just needs someone to do the work. It would be nice, but I don't see canvas support as a necessary part of the the first J7 release. On Sun, Aug 1, 2010 at 9:35 PM, Sherlock, Ric <[email protected]>wrote: > > From: bill lam > > Sent: Monday, 2 August 2010 12:53 > > > > Пнд, 02 Авг 2010, Sherlock Ric писал(а): > > > My impression is that it wouldn't be too difficult to build on the > > > current media/platimg addon to provide the cross-platform (non wd) > > > support for creating png images for the jhs client. This would > > > enable offline use of jhs with plotting and viewmat etc as well as > > > improving performance/functionality for servers providing content to > > > multiple clients via the web. > > > > For platimg addon to work on linux, it also need the gtk to be > > installed, but in that case, j7gtk with j plot should already work. I > > imagine most graphic libraries require a graphical environment such as > > x-window. > > If JHS is to be a lightweight, simple-to-install, cross-platform front end > for J then I think it would be an advantage to use native graphic libraries > on each platform (a la platimg) rather than require that gtk be > downloaded/installed to produce graphics. > > > I think working from Chris' j7gtk with latest addons update, and run > > jhs using command > > ...jconsole ~addons/ide/jhs/core.ijs -js " jhs'' " > > > > the jplot package should work properly and can serve png to its > > clients. (untested) > > I agree that this should work - however I think it will currently open a > separate (non-browser) window to display the plot rather than display the > image in line in the session like plotlines does now. For JHS I think having > the images displayed inline will potentially be very compelling for some end > uses. > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
