Tuesday, December 18, 2007

Grails Open Flash Chart Plugin

Just a little early preview of a plugin I am working on now.

Using Open Flash Chart's and Grails's plug-in, you can create cool Flash-based graphs like these:


An example of code to create a pie chart:


<g:graph title="Pie Chart,{font-size: 18px;color #d01f3c}"

                     y_legend="Grails Open Flash Chart Plugin,12,#736AFF"

                     x_axis_steps="1"

                     y_ticks="5,10,5"

                     line="3,#87421F"

                     y_min="0"

                     y_max="20"

                     pie="60,#505050,#000000"

                     values="14,14,12,15,11"

                     pie_labels="IE,Firefox,Opera,Wii,Other"

                     colours="#d01f3c,#356aa0,#C79810"

                     tool_tip="#val#%" />


3 comments:

monk.e.boy said...

v. v. cool. Thanks for the tutorial, I will link 2 you from the tutorial site.

:-)

thanks again,

monk.e.boy

Seymour Cakes said...

Hi mon.e.boy, kudos to ya works, without your effort this won't be possible.

Cheers! :D

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.