A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
meehaw
- Posts: 10
- Joined: Wed Aug 08, 2007 9:16 am
Post
by meehaw » Thu Aug 30, 2007 11:51 am
As in topic
Regards,
Michal
-
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 Aug 30, 2007 4:58 pm
It is not supported in JFreeChart (yet). Does this just display one of three states (red, amber, green)? Do all three 'lights' have to be displayed, or can a single light display the required color?
People have asked for this before (for dashboard type displays), so I'd just like to understand if there are any special requirements...or if it really is as simple as it sounds.
-
meehaw
- Posts: 10
- Joined: Wed Aug 08, 2007 9:16 am
Post
by meehaw » Thu Sep 06, 2007 9:22 am
Ye, it is so simple as it sounds, actually I'm using 3 different gif images, but it would nice to have it generated by JFreeChart.
Saying traffic light i mean something like this png:
http://www.wpclipart.com/travel/traffic ... _green.png
But it can be also flexible to use only single "traffic light" to display one color on it (red,yellow or green).
Regards,
Michał
-
Wikinger
- Posts: 1
- Joined: Thu Sep 19, 2013 12:09 pm
- antibot: No, of course not.
Post
by Wikinger » Thu Sep 19, 2013 12:12 pm
Hi,
I just want to ask if this is supported now in JFreeChart?
Best regards!
-
jahjeremy
- Posts: 31
- Joined: Tue Sep 25, 2012 2:49 am
- antibot: No, of course not.
Post
by jahjeremy » Tue Sep 24, 2013 9:16 pm
Displaying animated traffic lights is not charting or plotting per se, so I don't think there's anything in JFreeChart for doing this. On the other hand, you could probably come up with something decent by coding directly to the Java 2D API instead, and then you can make it exactly how you want it. It shouldn't be that hard (not a tough problem in terms of coding).