ChartDirector 6.0 (Ruby Edition)

XYChart.swapXY


Usage

swapXY([ b ])

Description

Swap the position of the x and y axes, so the x-axes will become vertical, and the y-axes will become horizontal.

After swapping the x and y axes, the charts will appear rotated. For example, the bars in a bar chart will become horizontal instead of vertical, and the area in a stacked area chart will grow from left to right (instead of bottom to top).

Arguments

ArgumentDefaultDescription
btrueA true value means the x and y axes will be swapped. A false value means the x and y axes not be swapped.

Return Value

None