Search found 3 matches
- Thu Aug 09, 2007 4:40 pm
- Forum: JFreeChart - Stockmarket
- Topic: Mark large spreads in Price/Time chart
- Replies: 2
- Views: 13374
FIXED
Or use a Market, as shown in MarkerDemo2 or CategoryMarkerDemo2. Yeah, I went for the marker. I added these methods to my custom ChartComposite and registered it as a SeriesChangeListener for the bid and ask TimeSeries data sets. /** * Compares bid and ask prices and adds (or updates) a marker if t...
- Wed Aug 08, 2007 10:08 pm
- Forum: JFreeChart
- Topic: How do I get the Y value of a timeseries from a a given X?
- Replies: 1
- Views: 2822
How do I get the Y value of a timeseries from a a given X?
I've got a standard TimeSeries chart with two series. When I move my mouse around the chart I'd like to display the time under the mouse and the Y value of the two series at that time in a separate component. I can get the X value (time) and the exact Y value under the mouse, but how do I get the ac...
- Wed Aug 08, 2007 4:52 pm
- Forum: JFreeChart - Stockmarket
- Topic: Mark large spreads in Price/Time chart
- Replies: 2
- Views: 13374
Mark large spreads in Price/Time chart
Hi,
I've got a standard Price(Y), Time(X) chart. I use it to plot the buy and sell prices of a currency over a time period. Sometimes the spread between buy and sell is larger than a specific value. I would like to mark that time range with a specific background color (say red). Is this possible?
I've got a standard Price(Y), Time(X) chart. I use it to plot the buy and sell prices of a currency over a time period. Sometimes the spread between buy and sell is larger than a specific value. I would like to mark that time range with a specific background color (say red). Is this possible?