Forum: Rails-ES how to set the fix radius of pie charts using open flash cha

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D5df29c19c70eadbe96e184581f1fb2b?d=identicon&s=25 Radha Langde (radha)
on 2009-03-03 06:38
Hello friends,

I am using open flash chart plugin to generate pie charts in my rails
application.
bt all the pie charts are of different sizes. i defined one method in
plugin itself to set the radius and called it from the controller. bu of
no use...


does aanyone know how to set the fix radius for all the pie charts so
that all will be of equal sizes.

def pie_radius(radius)
    @radius = radius
end

Controller-
g.pie_radius(200)

any help will be greatly appreaciated...


Thanks.....
5c15703984caa012845b3cea129da936?d=identicon&s=25 Manuel González Noriega (Guest)
on 2009-03-03 10:31
(Received via mailing list)
2009/3/3 Radha Langde <ruby-forum-incoming@andreas-s.net>

> Hello friends,
>
> I am using open flash chart plugin to generate pie charts in my rails
> application.
> bt all the pie charts are of different sizes. i defined one method in
> plugin itself to set the radius and called it from the controller. bu of
> no use...
>


Hi Radha, ror-es is a spanish language list.

Good luck!
This topic is locked and can not be replied to.