Awesome project! I've contemplated the same, but have not gotten around to it. If you get it started, I'll do my best to devote time to support your efforts.
My thoughts follow...Keep in mind that I'm not part of the core Qooxdoo team, and I'm only an average (or slightly below average:)) javascript programmer: I think a good place to start would be to create a qooxdoo "vector" class. This generic class would probably be abstract, and would be the kernel for additional classes needed to draw shapes. A "vector" class would likely be based on the "atom" class, I think. The next step would likely be to build out various shape classes (line, circle, rectangle, triangle, oval, etc). These shapes would then be the building blocks of the charts you'd like to build. One of the key dilemmas I don't know how to deal with is the fact that svg is a different doc type than regular html. Thus, if you were going to build a qx chart, and include it in a qx application, I believe you'd need to do do so in an iFrame, with the iFrame being of the SVG doc type. An alternate approach would be to build out a few chart types without SVG. It would be possible to build bar charts pretty easily in qx, w/o SVG, using just qx & html. Bubble charts might not be too hard either, if you used a circle icon for the bubbles. Doing stuff like pie charts, however, w/o svg or runtime graphics generation would be pretty tricky. Best of luck. This would be a great addition to the framework. Keep us updated on your progress! -Mike asaris wrote: > > Hi all, > > I use qooxdoo for a few months now. Summer is over and I came to the point > where I decided to start building chart & other widgets based on svg. > > Is there any documentation of qooxdoo framework requirements and > recommendations, especially user interface? Or the only way to do it is > through analysing the source files? > > Any tips before I start? > > asaris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- View this message in context: http://www.nabble.com/chart-widgets-tf4678154.html#a13369350 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
