BCGControlBar Pro for MFC
void CBCGPChartAxis::SetAxisOffsets ( double  dblBottomOffset,
double  dblTopOffset,
int  nGapInPixels = 10 
)

Sets axis offsets.

Call this function to reposition an axis. It's useful when you create a custom axis (or custom axis pair) and wish to reposition it within diagram area.

For vertical axes top offset specifies an offset from the top of diagram area; bottom offset specifies an offset from the bottom of diagram area. For horizontal axes top offset specifies an offset from the left of diagram area; bottom offset specifies an offset from the right of diagram area.

The left/bottom offsets for vertical/horizontal axes are calculated according to cross type and value.

nGapInPixels is used to separate axes with the same alignment.

Parameters
dblBottomOffsetSpecifies bottom/left offset in percents from diagram area height/width.
dblTopOffsetSpecifies top/right offset in percents from diagram area height/width.
nGapInPixelsSpecifies gap in pixels.