Discussion about JFreeChart related to stockmarket charts.
-
bfry5282
- Posts: 10
- Joined: Thu Sep 02, 2004 2:45 am
- Location: Durham, NC USA
-
Contact:
Post
by bfry5282 » Fri Dec 23, 2005 9:44 pm
In a time/price chart, the y axis is usually price.
I have seen JFreeChart which highlights the last price value in the chart, on the y axis itself. I have a complex realtime JFreeChart futures trading application ZoneTrader, in which I would like to highlight or label the current value on multiple y axes.
I don't even know what this is called, but how do I do it?
Prices:
5
4
3 <-- highlight this price with, say, a YELLOW rectangular background?
2
1
t t t t t t t t t t time axis
Interactive Brokers' Trader Workstation uses JFreeChart to do its realtime charting. And it does highlight the current price on the price axis, but what is this feature called, and how to do it with the JFreeChart library? Guess I could ask them how they did it.
Thanks.
-
bfry5282
- Posts: 10
- Joined: Thu Sep 02, 2004 2:45 am
- Location: Durham, NC USA
-
Contact:
Post
by bfry5282 » Fri Dec 30, 2005 9:07 pm
Please give me the answer; I know it must be simple.
Just want that highlight thingy on the price axis, please.
Thanks!
Brent
-
bfry5282
- Posts: 10
- Joined: Thu Sep 02, 2004 2:45 am
- Location: Durham, NC USA
-
Contact:
Post
by bfry5282 » Sun Jan 15, 2006 4:19 pm
Anybody have guidelines on creating a subclass of an axis renderer which would be able to highlight a specific price level, which I would always set to the last price?
In trading applications this is a common technique.
-
angel
- Posts: 899
- Joined: Thu Jan 15, 2004 12:07 am
- Location: Germany - Palatinate
Post
by angel » Tue Jan 17, 2006 9:52 am
I've done once a highlighting with the XYBoxAnnotation.