Forum: ExCanvas vs Flash

 

« Back To Thread List

joncombe
3721 days ago
I'd like your opinions here, please.

Currently (v0.6), JAWStats uses Flash to display it's graphs and pie-charts. I'm thinking that using Google's ExCanvas to draw these images would be easier, faster and be easier to maintain. Flash is all very good, but it means JAWStats is not exactly "open source" when you need Adobe's IDE to change things.

I tried ExCanvas for the first time last week and managed to code together a pie chart within an hour so there is no technical reason I can think of for not going ahead with this. As far as I am aware it works natively in all decent browsers.

Personally I think I'd like to make the switch. What say you? What haven't I taken into consideration?
zmg
3719 days ago
Sounds great. The two open source javascript plotting/charting projects I was aware of are Flotr and Plotkit and I believe they both incorporate ExCanvas.
joncombe
3719 days ago
I think I'll create some examples and put them on a page somewhere and we can see what browsers perform OK.
zmg
3719 days ago
Sure, I don't know what browsers you have access to but as it happens (although I'm on the tech side; not the development) we have a small setup for testing browser compatibility.
joncombe
3718 days ago
joncombe
3717 days ago
1) I made a test and verified the results across the board at Browsershots.org. The results were good; of the significant browsers which can handle jQuery, only IE8 (it had to be, didn't it?) failed to render the image. Google'ing tells me that it does work in IE8 in quirksmode, therefore I'm not panicking yet; graphs can be loaded in an iframe if IE8 hasn't learnt what to do by the time it is released.

2) I made an example and posted it on my personal web site: can we all see this? ExCanvas Pie Chart experiment.
zmg
3712 days ago
Looks very nice!
riptide
3699 days ago
I use the Google Chart API for another project, maybe it could be interesting for you too...
http://code.google.com/apis/chart/

« Back To Thread List

Participate in this discussion

 

You must be logged in to post in this thread.

 

Version 0.7 beta available now

Released 25th Janury 2009

Try the online demo or download now.

 
Latest JAWStats News:

Version 0.7 Beta Released

Sprechen Sie Deutsch? Multi-lingual JAWStats v0.7 is finally here.

posted 25th Jan '09. read more »
 

Help JAWStats

Please donate a dollar (or more!) towards the hosting costs for this site. This money doesn't go anywhere near my pocket, it is purely used against my hosting bill.

 

Get $50 off your webhosting

You could do far worse than choose Dreamhost. I've used them for 6 years and they're great. Simply enter the promo code: JAWSTATS on signup!