ChartDirector 7.0 (Java Edition)

XYChart.setXAxisOnTop


Usage

public void setXAxisOnTop([ boolean b ])

Description

Interchange the position of the primary x-axis and the secondary x-axis.

By default, the primary x-axis is the x-axis on the bottom side of the plot area (left side if XYChart.swapXY is in effect), and the secondary x-axis is on the top side of the plot area (right side if XYChart.swapXY is in effect). This method can be used to interchange their positions.

Arguments

ArgumentDefaultDescription
btrueA true value means to interchange the positions of the primary and secondary x-axes. A false value means using the default positions for the primary and secondary x-axes.

Return Value

None