Highlight a y price axis?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
bfry5282
Posts: 10
Joined: Thu Sep 02, 2004 2:45 am
Location: Durham, NC USA
Contact:

Highlight a y price axis?

Post by bfry5282 » Fri Dec 30, 2005 9:14 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.

Guest

Post by Guest » Fri Dec 30, 2005 9:19 pm

Sounds like someone customised the axis, I don't think JFreeChart will do that out of the box.

Locked