Problems aligning two charts in TeeChart 5 / BCB
Posted: Wed Nov 17, 2004 2:59 pm
I have two charts, one above the other, holding data with the same X coordinates. The top is a OHLC chart and the bottom is displaying a volume chart. When I populate the charts I am setting both BottomAxis->Minimum to the same value, but the displays are slightly offset. I have the same margins etc.
The top chart starts the first bar some way in from the left hand axis so that the time fits neatly on the bottom axis. The bottom chart, has the time with the colon underneath the left axis, so the data points are not aligned.
What settings do I need to change to fix this, I don't think it is a coding problem. Is it because one chart is OHLC and the other is a volume chart ? I've check the axis settings and can't see what I need to change.
Thanks
Stewart
The top chart starts the first bar some way in from the left hand axis so that the time fits neatly on the bottom axis. The bottom chart, has the time with the colon underneath the left axis, so the data points are not aligned.
What settings do I need to change to fix this, I don't think it is a coding problem. Is it because one chart is OHLC and the other is a volume chart ? I've check the axis settings and can't see what I need to change.
Thanks
Stewart