Use the AutoSideMargins property, to force an axis to automatically extend its scrolling range so that indents are preserved on both ends of the axis.
The following images demonstrate how the AutoSideMargins property works.
AutoSideMargins = true |
AutoSideMargins = false |
 |
 |
For more information, refer to Visual Ranges and Whole Ranges .

Example
This example demonstrates how to use the AxisBase.VisualRange property to define the visible range of an axis, and the AxisBase.WholeRange property to define its whole range.
For more information on axis range, refer to Visual Ranges and Whole Ranges .
Form1.cs |
using DevExpress.XtraCharts;
using System;
using System.Windows.Forms;
namespace WindowsFormsApplication1 {
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e) {
ChartControl chartControl1 = new ChartControl();
chartControl1.Dock = DockStyle.Fill;
this.Controls.Add(chartControl1);
Series series1 = new Series("Series 1", ViewType.Bar);
series1.Points.Add(new SeriesPoint("A", new double[] { 26.25 }));
series1.Points.Add(new SeriesPoint("B", new double[] { 1.52 }));
series1.Points.Add(new SeriesPoint("C", new double[] { 22.21 }));
series1.Points.Add(new SeriesPoint("D", new double[] { 15.35 }));
series1.Points.Add(new SeriesPoint("E", new double[] { 4.15 }));
chartControl1.Series.Add(series1);
XYDiagram diagram = (XYDiagram)chartControl1.Diagram;
diagram.EnableAxisXScrolling = true;
diagram.EnableAxisYScrolling = true;
diagram.AxisX.WholeRange.Auto = false;
diagram.AxisX.WholeRange.SetMinMaxValues("A", "D");
diagram.AxisX.VisualRange.AutoSideMargins = |