Overlay animation centered on chart?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Ted Hill
Posts: 54
Joined: Mon Jun 12, 2006 7:39 pm

Overlay animation centered on chart?

Post by Ted Hill » Wed Sep 16, 2009 3:49 pm

I want to be able to overlay an animation centered on my chart while data is loading.

Any suggestions how to do this with FreeChart?

Thanks,

Ted Hill
Ted Hill

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

Re: Overlay animation centered on chart?

Post by david.gilbert » Thu Sep 17, 2009 6:30 am

One suggestion would be to use JXLayer to draw an animation over the chart panel. Check out demo 2 on the JXLayer page:

https://jxlayer.dev.java.net/

Select the "BusyPainter" option, then lock and unlock.

I've actually been meaning to integrate this type of feature into the ChartPanel class, but haven't gotten around to it so far.
David Gilbert
JFreeChart Project Leader

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

Locked