ChartDirector 7.0 (Java Edition)

FinanceChart.setMargins


Usage

public void setMargins(int leftMargin, int topMargin, int rightMargin, int bottomMargin)

Description

Sets the margins around the plot area. The default is 40 pixels for the left and right margins, and 30 pixels for the top and bottom margins.

Arguments

ArgumentDefaultDescription
leftMargin(Mandatory)The distance from the left side of the plot area to the left side of the chart.
topMargin(Mandatory)The distance from the top of the plot area to the top of the chart.
rightMargin(Mandatory)The distance from the right side of the plot area to the right side of the chart.
bottomMargin(Mandatory)The distance from the bottom of the plot area to the bottom of the chart.

Return Value

None