ChartDirector 6.0 (Ruby Edition)

PlotArea


The PlotArea class represents plot areas in XY charts. PlotArea objects are obtained by calling XYChart.setPlotArea or XYChart.getPlotArea.

MethodInheritedDescription
setBackground(Self)Sets the background colors and the border color of the plot area.
setBackground2(Self)Sets the specified image file as the background image of the plot area.
setAltBgColor(Self)Sets alternating plot area background color.
set4QBgColor(Self)Sets using 4 background plot area colors for 4 quadrants.
setGridColor(Self)Sets the horizontal and vertical grid colors of the plot area.
setGridWidth(Self)Sets the horizontal and vertical grid line width.
setGridAxis(Self)Sets the axis used for drawing grid lines.
moveGridBefore(Self)Moves the grid lines in front of a Layer.
getLeftX(Self)Gets the left x pixel coordinate of the plot area.
getRightX(Self)Gets the right x pixel coordinate of the plot area.
getTopY(Self)Gets the top y pixel coordinate of the plot area.
getBottomY(Self)Gets the bottom y pixel coordinate of the plot area.
getWidth(Self)Gets the width of the plot area.
getHeight(Self)Gets the height of the plot area.