[jifty-devel] Chart plugin: Handling scripts in regions

Thomas Sibley trs at bestpractical.com
Sun Aug 5 21:42:28 EDT 2007


Andrew Sterling Hanenkamp wrote:
> The samples on the PlotKit site work. I should've tried that first. I'm 
> 0 for 2 today. I probably should have listened to my body when it said 
> "Nap time" around 1:00 pm, but I was having too much fun playing.

Heh, it's okay.  I woke up from a nap a short while ago, so I have the 
"feeling awake" advantage.  ;)

>     That's good to know.  I may try to pretty them up at some point, as
>     images are nice because they can also be embedded easily in emails.
> 
> 
> I hadn't thought of that. That would be nice. I was able to make 
> GD::Graph agree with our color scheme by at least setting the dclrs 
> parameter, but it would be nicer still if it had some of the finer touches.

Yeah.  Gruff (one of Ruby's nicer image-based charting libs) uses 
ImageMagick, which seems to support drawing nice anti-aliased lines 
unlike GD.  There's an Image::Magick::Chart, but it's a bit old and only 
supports horizontal bars.


More information about the jifty-devel mailing list