X-Axis

The X-axis is the axis of arguments.

Chart_XAxis

This topic consists of the following sections.

General X-Axis Settings

To access X-axis settings, use the X-Axis Settings button in the Diagram section of the Design Ribbon tab.

Chart_XAxisOptions_Button

This will invoke the X-Axis Settings dialog.

Chart_XAxisOptions_Form

This dialog contains the following settings.

Reverse

Allows you to reverse the X-axis. If the X-axis is reversed, its values are ordered from right to left.

Show X-axis

Allows you to hide and show the X-axis.

Show title

Allows you to hide and show the X-axis title. You can choose whether to use the default text or specify a custom string.

Enable zooming

Allows you to enable zooming for the X-axis. The X-axis' scroll bar provides the capability to perform navigation in the zoomed diagram.

Limit visible points

Allows you to limit the number of points displayed on the chart's diagram along the X-axis. The X-axis' scroll bar provides the capability to perform navigation if the number of all points exceeds the number of visible points.

To access X-axis settings in code, use the ChartDashboardItem.AxisX property. The returned ChartAxisX object exposes the following properties.

ChartAxis.Visible

Gets or sets whether or not the chart's axis is visible.

ChartAxis.Title

Gets or sets the title of the chart's axis.

ChartAxis.TitleVisible

Gets or sets whether or not the title of the chart's axis is visible.

ChartAxis.Reverse

Gets or sets whether or not the axis is reversed.

ChartAxisX.EnableZooming

Gets or sets whether zooming is enabled for the current X-axis.

ChartAxisX.LimitVisiblePoints

ChartAxisX.VisiblePointsCount

Gets or sets whether the number of visible points is limited for the current X-axis.

Gets or sets the number of visible points displayed for the current X-axis.

Continuous and Discrete X-Axes

If the dimension in the Arguments section contains numeric data, the Chart can create either a continuous X-axis or a discrete X-axis.

Continuous X-axis

Discrete X-axis

If a continuous axis is used, the distance between argument values is proportional to their values.

Chart_NumericAxis_Continuous

On a discrete axis, all argument values are an equal distance from each other.

Chart_NumericAxis_Discrete

To specify the X-axis type in the Designer, invoke the data item menu for the argument dimension and select the axis type.

Chart_Layout_XAxis_ContinuousDiscrete

To do this in code, use the Dimension.IsDiscreteNumericScale property.

Note

Note that the continuous X-axis is not supported in OLAP mode.