简体   繁体   中英

Choosing between YUI Charts or Google Visualization API

I'm a bit stuck with which charting library I will use in my project. Im stuck with this two (but also open for other suggestions)

For YUI Charts : Pro : - Very robust and configurable Cons : - Uses flash 9 >, which might potentially be inaccessible for users without up to date flash version - Does not support export to image (for flash versions < 10 only)

For Google Visualization API pros: - small file size for the libraries, - can be exported to static image charts (via separate API call) Cons - limited configuration options

So there, please help me decide. YUI charts has the edge over configuration options but Google Visualization API has the edge in terms of accessibility as it uses SVG to render the grapsh instead of Flash. For users that are hand-cuffed by corporate IT prohibitions , they cant just upgrade their Flash version and the page will not work.

Thanks!

I would choose Google's API as it requires only a javascript interpreter or internet access (to Google).

The fewer dependencies, the better. Not to mention there is quite an array of tools for manipulating SVG images.

If you really cannot make do without certain features in YUI or cannot find simpler ways to express your charts, then choose YUI.

您可能还想看看http://www.simile-widgets.org/它可能有点过分/不适合您的需求,但它非常性感。

If you don't want flash for drawing charts in your application it is better to choose Google Visualization API ...

The Google Visualization JavaScript API lets you access structured data and visualize that data using JavaScript in your web pages. The Google Visualization API also enables creation of gadgets.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM