Interface HasMargins<T>
- All Known Subinterfaces:
AngularGaugeChart
,AngularGaugeChartModel<T>
,FunnelChart
,FunnelChartModel<T>
,GanttChart
,GanttChartModel<T>
,PieChart
,PieChartModel<T>
,RadarChart
,RadarChartModel<T>
,RectangularChart<T>
,RectangularChartModel<T>
,SerialChart
,SeriesBasedChart<T>
,SeriesBasedChartModel<T>
,SlicedChart<T>
,SlicedChartModel<T>
,XYChart
,XYChartModel<T>
- All Known Implementing Classes:
AbstractLegend
,AbstractSerialChart
,AngularGaugeChartImpl
,AngularGaugeChartModelImpl
,FunnelChartImpl
,FunnelChartModelImpl
,GanttChartImpl
,GanttChartModelImpl
,Legend
,PanelsSettings
,PieChartImpl
,PieChartModelImpl
,RadarChartImpl
,RadarChartModelImpl
,RectangularChartImpl
,RectangularChartModelImpl
,SerialChartImpl
,SerialChartModelImpl
,SeriesBasedChartImpl
,SlicedChartImpl
,SlicedChartModelImpl
,StockLegend
,StockPanel
,XYChartImpl
,XYChartModelImpl
-
Method Summary
Modifier and TypeMethodDescriptionsetMarginBottom
(Integer marginBottom) Sets bottom spacing.setMarginLeft
(Integer marginLeft) Sets left-hand spacing.setMarginRight
(Integer marginRight) Sets right-hand spacing.setMarginTop
(Integer marginTop) Sets top spacing.
-
Method Details
-
getMarginTop
Integer getMarginTop()- Returns:
- top spacing
-
setMarginTop
Sets top spacing. If not set the default value is 10.If is used for
Legend
the default value is 0.If is used for
RadarChartModelImpl
the default value is 0.If is used for chart based on
RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is 20.If is used for chart based on
SlicedChartModelImpl
the default value is 10.If is used for
PanelsSettings
the default value is 0.- Parameters:
marginTop
- top spacing- Returns:
- object with set top spacing
-
getMarginBottom
Integer getMarginBottom()- Returns:
- bottom spacing
-
setMarginBottom
Sets bottom spacing. If not set the default value is 10.If is used for
Legend
default value is 0.If is used for
RadarChartModelImpl
the default value is 0.If is used for chart based on
RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is 20.If is used for chart based on
SlicedChartModelImpl
(FunnelChart, PieChart) the default value is 10.If is used for
PanelsSettings
the default value is 0.- Parameters:
marginBottom
- bottom spacing- Returns:
- object with set bottom spacing
-
getMarginLeft
Integer getMarginLeft()- Returns:
- left-hand spacing
-
setMarginLeft
Sets left-hand spacing.marginLeft will be ignored if chart is
SerialChart
orXYChartModelImpl
andAbstractLegend.autoMargins
is true.If is used for
Legend
the default value is 20.If is used for
RadarChartModelImpl
the default value is 0.If is used for chart based on
RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is 20.If is used for chart based on
SlicedChartModelImpl
the default value is 0.If is used for
PanelsSettings
the default value is 0.- Parameters:
marginLeft
- left-hand spacing- Returns:
- object with set left-hand spacing
-
getMarginRight
Integer getMarginRight()- Returns:
- right-hand spacing
-
setMarginRight
Sets right-hand spacing.marginRight will be ignored if chart is
SerialChart
orXYChartModelImpl
andAbstractLegend.autoMargins
is true.If is used for
Legend
the default value is 20.If is used for
RadarChartModelImpl
the default value is 0.If is used for chart based on
RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is 20.If is used for chart based on
SlicedChartModelImpl
(FunnelChart, PieChart) the default value is 0.If is used for
PanelsSettings
the default value is 0.- Parameters:
marginRight
- right-hand spacing- Returns:
- object with set right-hand spacing
-