How do I get no gaps between candlesticks?
Posted: Tue Sep 28, 2010 5:27 am
I have a candlestick chart and I want the candlesticks to always be touching so that there's no gaps between adjacent sticks. This question is not about accounting for missing time. It is simply about how do I get the candlesticks to be as large as possible without overlapping each other? I am using these settings:
setAutoWidthGap(0);
setAutoWidthFactor(1);
Which I thought would produce the candlesticks so that they are as large as possible, touching, but not overlapping at any zoom (so that the width grows and shrinks as one zooms in / out). However, what I get is overlapping candlesticks on the full zoom-out and candlesticks where the gap space is bigger than the candle width on full zoom-in. How do I get always touching, but not overlapping sticks?
setAutoWidthGap(0);
setAutoWidthFactor(1);
Which I thought would produce the candlesticks so that they are as large as possible, touching, but not overlapping at any zoom (so that the width grows and shrinks as one zooms in / out). However, what I get is overlapping candlesticks on the full zoom-out and candlesticks where the gap space is bigger than the candle width on full zoom-in. How do I get always touching, but not overlapping sticks?