Hi,
I am using JFreeCharts0.9.8 to display CandleStick chart for Stock Data representation. I am not able to supress the non trading days and it displays as a gap on the chart. For e.g It displays candle sticks for Monday to Friday but displays two days blank gaps for saturday and sunday and then creates the next trading day candle stick.
Kindly help.
Your's
Ravi Shanker
Supress Date Gaps on CandleStick Chart
Hi,
I used the following piece of code I found in another post on the forum (don't remerber which one) to at least hide saturdays and sundays :
Hope it helps,
I used the following piece of code I found in another post on the forum (don't remerber which one) to at least hide saturdays and sundays :
Code: Select all
SegmentedTimeline segmentedTimeline = SegmentedTimeline.newMondayThroughFridayTimeline();
DateAxis dateAxis = new DateAxis("dateAxisLabel", segmentedTimeline);