Skip to content

Latest commit

 

History

History
351 lines (296 loc) · 8.88 KB

datachart-axis-orientation.adoc

File metadata and controls

351 lines (296 loc) · 8.88 KB

Configuring Axis Orientation

By default, the {DataChartName}™ control will always draw the XAxis from the left to the right side of the chart and YAxis from the bottom to the top of the chart. However, you have the option of changing this by inverting the drawing of the individual axes using the Axis object’s IsInverted property. If you invert an axis, then the series that uses the axis will be also be inverted.

The following sample code shows all possible combination of orienting the XAxis and YAxis in the Data Chart control.

The following image shows the same data series in four separate {DataChartName} controls with different inverted axes combinations including no inverted axes to both XAxis and YAxis inverted.

xamDataChart Axis Orientation 01