[En-Nut-Discussion] Web Charts? Use java?
Tim Tait
tim.tait1 at gmail.com
Mon Feb 20 17:38:18 CET 2006
Edwin-
Thanks for the quick reply.
Edwin van den Oetelaar wrote:
> Things that come to my mind ...
>
> 1) Use flash (in client) let Ethernut serve XML data. (works for sure)
I'm not a fan of flash, nor have I experience any with developing using
it. But the include flash on the httpd sample does not work in my
FireFox browser. How would flash compare in size?
> 2) Use javascript in client to make nice graphic from XML (works for
> sure) think AJAX ..
Interesting.
> 3) Let Ethernut generate page with data in JavaScript arrrays, let the
> client make nice graphics from this data. (no xml parse on client)
Sounds easy:) I found some nice shareware that does this using VML
<http://www.structura.info/XYGraph/XYGraphDemo.htm>, but it only seems
to only work under IE not Firefox:( Plus it's a bit big... I guess Java
byte code has an edge there.
> 4) Let Ethernut generate PNG or GIF file from data and serve that to
> client (needs lots of work/memory on ethernut)
I think client-side graphic generation is the way to go.
> 5) yes use java to build the graphic, but depends on VM on client
> which is less common then flash on client
Still sounds like the best option to me... Don't most people have a java
VM installed? Just need that java applet code:)
>
> Good luck,
> Edwin van den Oetelaar
>
Thanks again-
Tim
> Tim Tait wrote:
>
>>
>> Has anbody done anything with serving dynamic data charts from
>> ethernut? I want to to display simple line graph of sensor readings
>> over time. I am thinking that a java applet is the way to go. Most of
>> the applets out there seem to big, one "tChart" seems reasonable at
>> 17kb, put you have to pay to get source. Is there another way?
>>
>> Thanks-
>>
>> Tim
>>
More information about the En-Nut-Discussion
mailing list