Search found 23 matches
- Wed Aug 21, 2013 6:39 pm
- Forum: JFreeChart
- Topic: java.lang.IllegalArgumentException: Requires xLow < xHigh.
- Replies: 4
- Views: 7365
java.lang.IllegalArgumentException: Requires xLow < xHigh.
I got the following exception while clicking around on my chart. Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Requires xLow < xHigh. at org.jfree.chart.renderer.RendererUtilities.findLiveItemsLowerBound(RendererUtilities.java:77) at org.jfree.chart.renderer.RendererUtil...
- Wed Aug 21, 2013 1:40 am
- Forum: JFreeChart
- Topic: HighLowChartDemo2 bug?
- Replies: 0
- Views: 2435
HighLowChartDemo2 bug?
The appearance of the first point in the HighLowChartDemo2 dataset floats around from about 11:59:30 to 12:00.00 depending on the zoom level:
zoom a little closer and it changes to this:
zoom a little closer and it changes to this:
- Fri Aug 16, 2013 7:42 am
- Forum: JFreeChart - Stockmarket
- Topic: Candlesticks smashed and overlapping. need horiz scrollbar
- Replies: 3
- Views: 37662
Candlesticks smashed and overlapping. need horiz scrollbar
I am generating a candlestick chart and when my dataset is large the candles smash together and overlap. I would like for the candles to always remain at the designated spacing/sizing and for a scorllbar to be present if the dataset is wider than the window. Are there any good examples of that aroun...
- Fri Aug 16, 2013 5:21 am
- Forum: JFreeChart - Stockmarket
- Topic: Formatting Yaxis prices for futures, ie "123-16" not "123.5"
- Replies: 4
- Views: 39280
Re: Formatting Yaxis prices for futures, ie "123-16" not "12
Here it is... /* * * ----------------------- * TreasuryPriceFormat.java * ----------------------- * */ // package org.jfree.chart.util; import java.text.FieldPosition; import java.text.NumberFormat; import java.text.ParsePosition; import java.util.HashMap; /** * A custom number formatter that format...
- Wed Aug 14, 2013 8:42 pm
- Forum: JFreeChart - Stockmarket
- Topic: Formatting Yaxis prices for futures, ie "123-16" not "123.5"
- Replies: 4
- Views: 39280
Re: Formatting Yaxis prices for futures, ie "123-16" not "12
I'd be happy to contribute a futures price formatter. I expect it would throw "InvalidFuturesPrice" if someone tried to format a number which was not a valid futures price But how do I make sure ticks lines on the vertical axis are only displayed at values representing valid futures price values? fr...
- Wed Aug 14, 2013 12:25 am
- Forum: JFreeChart - Stockmarket
- Topic: Formatting Yaxis prices for futures, ie "123-16" not "123.5"
- Replies: 4
- Views: 39280
Formatting Yaxis prices for futures, ie "123-16" not "123.5"
I need to format the prices on a vertical axis as treasury futures are quoted in 32nd of a point. So instead of showing 123.5 I will show 123-16. And instead of showing 97.5703125, I will show 97-182 http://www.cmegroup.com/education/files/understanding-treasury-futures.pdf What's the best way to do...
- Wed Aug 07, 2013 7:19 am
- Forum: JFreeChart - Stockmarket
- Topic: Candlestick Timeline problem
- Replies: 10
- Views: 77294
Re: Candlestick Timeline problem
What does "GE" and "LE" represent here? // These are commented out but you WILL need to implement them as soon as you // need to call setRange() and need to convert timevalues to data indexes // // public int findFirstXValueGE(long timeval); // public int findLastXValueLE(long timeval); Thanks
- Wed Aug 07, 2013 4:25 am
- Forum: JFreeChart - Stockmarket
- Topic: How to implement constant volume candlestick bars?
- Replies: 5
- Views: 45830
Re: How to implement constant volume candlestick bars?
This thread is over 3 years old. Is there a newer/better way to implement constant volume candlestick bars now?
Thanks!
Thanks!