Open Flash Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
cowwoc
Posts: 6
Joined: Wed May 07, 2008 7:33 pm

Open Flash Chart

Post by cowwoc » Wed May 07, 2008 8:30 pm

Hi,

Would it be possible to import some of the functionality from "Open Flash Chart" into JFreeChart? Their charts are a lot more polished out-of-the-box. It would be nice if JFreeChart did the same.

Thanks,
Gili

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu May 08, 2008 8:22 am

Can you be more specific about what you are looking for? I agree that JFreeChart needs some polishing in certain areas (including improvement of the defaults to provide a better look "out-of-the-box"), but I'm interested to hear what other people consider to be the deficiencies. I need specifics, though.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

cowwoc
Posts: 6
Joined: Wed May 07, 2008 7:33 pm

Post by cowwoc » Thu May 08, 2008 2:33 pm

david.gilbert wrote:Can you be more specific about what you are looking for? I agree that JFreeChart needs some polishing in certain areas (including improvement of the defaults to provide a better look "out-of-the-box"), but I'm interested to hear what other people consider to be the deficiencies. I need specifics, though.
Hi David,

When comparing their online demo to JFreeChart's I like their choice of colors better and of course their animation on mouse-over is very nice. So I guess one comment would be to improve the demo in that respect. The other comment would be to make sure it is easy to produce such polish with a minimal amount of code. I can't comment on how easy/hard this is to do currently because I haven't used JFreeChart in a while.

Thank you,
Gili

MarkChance
Posts: 1
Joined: Wed May 14, 2008 12:04 am

Tooltips/rollovers

Post by MarkChance » Wed May 14, 2008 12:13 am

I am also coming from an OFC-type environment (Flex/Flash). It seems the rollovers would be do-able with a mouse listener. I think another option would be to cheat slightly and only look at the X value and highlight all Y values.
(A good place to see this in action is: http teethgrinder DOT co DOT uk SLASH open-flash-chart SLASH gallery-js-2.php). [Sorry - it won't let "new" users put URLs in the message]

What would be the best implementation strategy? MouseListener, Tooltip tweaking? Any hints would be appreciated.

Mark

RichardWest
Posts: 844
Joined: Fri Oct 13, 2006 9:29 pm
Location: Sunnyvale, CA

Post by RichardWest » Wed May 14, 2008 2:01 am

The main issue with all these flashy (excuse the pun) features is that JFreeChart redraws the complete chart on changes. Trying to create a rollover highlight for bars, lines, points, etc. would require deconstructing the plots into component pieces and selectively update and redraw individual components. This would require a major change to the way JFreeChart draws and manages plots.
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA

Locked