Problem: ArcObjects: Bar chart symbols have gap between the axes and the bars


The IMarkerSymbol XOffset and YOffset properties do not work correctly with the BarChartSymbol or StackedChartSymbol. If either property is set to a value greater than zero, the axes will be offset twice as far as the bars.


This problem occurs because of defective logic in the StackedChartSymbol and BarChartSymbol implementations of IMarkerSymbol.

Solution or Workaround

Avoid setting IMarkerSymbol.XOffset and IMarkerSymbol.YOffset for StackedChartSymbols and BarChartSymbols.