Candlestick Chart Elements > Axes > Axis Text Elements > Formatting the Axis Labels |
The Axis labels in the BarChart can be formatted using the following properties: Labels.Width, Labels.TextAlign, and Labels.Style.Rotation.
This will align the X-Axis labels to the center and create a fixed width of 150 for each label. |
To format the chart label’s width and alignment in source view, click the source tab and add the following code in your source file:
Add the following within the <X></X> tags:
Markup Copy Code <Labels Width="150" TextAlign="Center"> <Style Rotation="0"></Style>
This topic illustrates the following:
This will align the X-Axis labels to the center and create a fixed width of 150 for each label.