Thursday, December 20, 2007

Grails Open Flash Chart Plugin -- Progress towards 0.1 release

Updates:
* Added taglib namespace
* Adding all possible default sensible -- and pretty - default values
* Added "pie" tag

ToDo:
1. Add "bar", "line", "area", etc tags
2. Change default color themes to something pretty to the eyes
3. Figure out how to combine multiple graph types into 1 chart
4. Release o Grails plugin repository


For now, to create a simple pie chart, it can be simple as the tag properties below -- definitely will be shorter if using default values.



<chart:pie title="AJAX Toolkit Usage Survey Dec '07,{font-size: 18px;color #d01f3c}"

x_axis_steps="1"
y_ticks="5,10,5"
line="3,#87421F"
y_min="0"
y_max="20"
alpha="60"
height="350"
width="350"
line_colour="#505050"
label_colour="#005600"
bg_colour="#ffffff"
pie_labels="Prototype,jQuery,Ext JS,Script.aculo.us,Mootools, I Use raw Ajax,JSON,Dojo,Backbase"
pie_values="34.10,29.30,22.50,14.30,13.00,12.90,11.90,8.30" pie_slice_colours="#006600,#0066cc,#993300,#9933cc,#cc3300,#cc66cc,#ffcc00,#99ccff"
links="http://ajaxian.com/archives/2007-ajax-tools-usage-survey-results"
tool_tip="#val#%"
/>




1 comment:

javieth said...

This blog is really interesting, actually i must to say i prefer flash because is a fast program and easy to use. I don´t like the complex program. I just looking for one that be eficient all the time and flash it is. that is why i prefer to buy viagra because i always have a great result in my sexual life.