I need to implement a animated chart in ruby, im using gtk.
Anyone have a idea?
The animation, needs to be smooth.
Cairo? RMagick(too slow to draw a chart 30 times a second)? any other
plot gem? anyone know one?
Thanks alot!
I need to implement a animated chart in ruby, im using gtk.
Anyone have a idea?
The animation, needs to be smooth.
Cairo? RMagick(too slow to draw a chart 30 times a second)? any other
plot gem? anyone know one?
Thanks alot!
Diego B. wrote:
I need to implement a animated chart in ruby, im using gtk.
Anyone have a idea?
The animation, needs to be smooth.Cairo? RMagick(too slow to draw a chart 30 times a second)? any other
plot gem? anyone know one?
If you’re up for JRuby, there may be Swing components you could use.
Look at the Monkeybars lib for building GUI apps in JRuby.
–
James B.
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.neurogami.com - Smart application development
Diego B. wrote:
I need to implement a animated chart in ruby, im using gtk.
Anyone have a idea?
The animation, needs to be smooth.Cairo? RMagick(too slow to draw a chart 30 times a second)? any other
plot gem? anyone know one?Thanks alot!
How about generating SVG (which is just xml) and displaying it using a
browser. You could use just webrick to generate the pages.
On Mon, Aug 3, 2009 at 9:26 PM, Diego
Bernardes[email protected] wrote:
I need to implement a animated chart in ruby, im using gtk.
Anyone have a idea?
The animation, needs to be smooth.Cairo? RMagick(too slow to draw a chart 30 times a second)? any other
plot gem? anyone know one?
Have you looked at ruby-gnome2? You may be able to use the same
underlying components that Gnome System Monitor does?
On Aug 4, 2009, at 7:15 AM, Diego B. wrote:
This is why i need the animated charts.
Diego,
I’ve done a real-time updating chart that shows bandwidth usage and
other information from a satellite modem using bar graphs. In the app
there are 4 panels, and 8 bars per graphs. Each graph shows a
‘peak’ (a line showing the highest the bar has ever been). Some bars
have different colors, and all of them have a slight beveled border
around them. On top of that the bars gradually step to their desired
values so they don’t just jump erratically.
I suppose I’m trying to paint a picture that shows a lot going on at
once - The JRuby + Monkeybars route was worked pretty well for us and
our client.
Logan B.
[email protected]
http://www.logustus.com
About web i can’t, it need to be a desktop application, because the
integration with os.
The perfect example for what i need is gnome system monitor charts.
Jruby, maybe one alternative, need look a bit.
The application is to monitor some applications the company i work has
in the intranet.
This is why i need the animated charts.
On Aug 3, 2009, at 18:26 , Diego B. wrote:
I need to implement a animated chart in ruby, im using gtk.
Anyone have a idea?
The animation, needs to be smooth.Cairo? RMagick(too slow to draw a chart 30 times a second)? any other
plot gem? anyone know one?
One of the ex-seattle.rb members did some REALLY pretty realtime full
screen graphics stuff using cairo and ruby back in the day. It used
continuations and all sorts of stuff that went over my head. What
didn’t go over my head was the pretty and the slick.
That was back in 2002 or so… so I can’t find it… but rcairo should
be able to meet your needs just fine.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs