public interface HasMargins<T>
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getMarginBottom() |
java.lang.Integer |
getMarginLeft() |
java.lang.Integer |
getMarginRight() |
java.lang.Integer |
getMarginTop() |
T |
setMarginBottom(java.lang.Integer marginBottom)
Sets bottom spacing.
|
T |
setMarginLeft(java.lang.Integer marginLeft)
Sets left-hand spacing.
|
T |
setMarginRight(java.lang.Integer marginRight)
Sets right-hand spacing.
|
T |
setMarginTop(java.lang.Integer marginTop)
Sets top spacing.
|
java.lang.Integer getMarginTop()
T setMarginTop(java.lang.Integer marginTop)
If is used for Legend
the default value is 0.
If is used for RadarChart
the default value is 0.
If is used for chart based on RectangularChart
(GanttChart, SerialChart, XYChart) the default value is 20.
If is used for chart based on SlicedChart
the default value is 10.
If is used for PanelsSettings
the default value is 0.
marginTop
- top spacingjava.lang.Integer getMarginBottom()
T setMarginBottom(java.lang.Integer marginBottom)
If is used for Legend
default value is 0.
If is used for RadarChart
the default value is 0.
If is used for chart based on RectangularChart
(GanttChart, SerialChart, XYChart) the default value is 20.
If is used for chart based on SlicedChart
(FunnelChart, PieChart) the default value is 10.
If is used for PanelsSettings
the default value is 0.
marginBottom
- bottom spacingjava.lang.Integer getMarginLeft()
T setMarginLeft(java.lang.Integer marginLeft)
marginLeft will be ignored if chart is SerialChart
or XYChart
and AbstractLegend.autoMargins
is true.
If is used for Legend
the default value is 20.
If is used for RadarChart
the default value is 0.
If is used for chart based on RectangularChart
(GanttChart, SerialChart, XYChart) the default value is
20.
If is used for chart based on SlicedChart
the default value is 0.
If is used for PanelsSettings
the default value is 0.
marginLeft
- left-hand spacingjava.lang.Integer getMarginRight()
T setMarginRight(java.lang.Integer marginRight)
marginRight will be ignored if chart is SerialChart
or XYChart
and AbstractLegend.autoMargins
is true.
If is used for Legend
the default value is 20.
If is used for RadarChart
the default value is 0.
If is used for chart based on RectangularChart
(GanttChart, SerialChart, XYChart) the default value is
20.
If is used for chart based on SlicedChart
(FunnelChart, PieChart) the default value is 0.
If is used for PanelsSettings
the default value is 0.
marginRight
- right-hand spacing