Volume bars are plotted right half when weekends are exclude

Discussion about JFreeChart related to stockmarket charts.
Locked
amarnath578
Posts: 22
Joined: Tue Aug 25, 2009 8:02 pm
antibot: No, of course not.

Volume bars are plotted right half when weekends are exclude

Post by amarnath578 » Wed Oct 16, 2013 8:52 pm

When weekends are excluded using monday through friday segmented time line for a combined domain xy plot, the width of the volume bars are reduced to half and only right half of the bars are plotted. This is because mid night time is the reference time used. Since weekends are excluded, bar plot which is used for plotting volume only plots from mid night. The width of the volume bars are calculated automatically by the framework.

To plot volume bars, StandardXYBarPainter is being used.

Please suggest how to fix this issue.
Thanks,
Amar

amarnath578
Posts: 22
Joined: Tue Aug 25, 2009 8:02 pm
antibot: No, of course not.

Re: Volume bars are plotted right half when weekends are exc

Post by amarnath578 » Wed Oct 16, 2013 8:53 pm

In addition, it must be worth noting down is that candlesticks are being plotted as expected (2 halves) even though weekends are excluded. CandlestickRenderer provided by the framework is being utilized for candlestick charts.

amarnath578
Posts: 22
Joined: Tue Aug 25, 2009 8:02 pm
antibot: No, of course not.

Re: Volume bars are plotted right half when weekends are exc

Post by amarnath578 » Thu Oct 31, 2013 10:22 pm

Can any of you please specify if there is a way to make sure that bar renderer plots the full bar when weekends are excluded?

Locked