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 SummaryModifier 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- 
getMarginTopInteger getMarginTop()- Returns:
- top spacing
 
- 
setMarginTopSets top spacing. If not set the default value is 10.If is used for Legendthe default value is 0.If is used for RadarChartModelImplthe 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 SlicedChartModelImplthe default value is 10.If is used for PanelsSettingsthe default value is 0.- Parameters:
- marginTop- top spacing
- Returns:
- object with set top spacing
 
- 
getMarginBottomInteger getMarginBottom()- Returns:
- bottom spacing
 
- 
setMarginBottomSets bottom spacing. If not set the default value is 10.If is used for Legenddefault value is 0.If is used for RadarChartModelImplthe 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 PanelsSettingsthe default value is 0.- Parameters:
- marginBottom- bottom spacing
- Returns:
- object with set bottom spacing
 
- 
getMarginLeftInteger getMarginLeft()- Returns:
- left-hand spacing
 
- 
setMarginLeftSets left-hand spacing.marginLeft will be ignored if chart is SerialChartorXYChartModelImplandAbstractLegend.autoMarginsis true.If is used for Legendthe default value is 20.If is used for RadarChartModelImplthe 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 SlicedChartModelImplthe default value is 0.If is used for PanelsSettingsthe default value is 0.- Parameters:
- marginLeft- left-hand spacing
- Returns:
- object with set left-hand spacing
 
- 
getMarginRightInteger getMarginRight()- Returns:
- right-hand spacing
 
- 
setMarginRightSets right-hand spacing.marginRight will be ignored if chart is SerialChartorXYChartModelImplandAbstractLegend.autoMarginsis true.If is used for Legendthe default value is 20.If is used for RadarChartModelImplthe 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 PanelsSettingsthe default value is 0.- Parameters:
- marginRight- right-hand spacing
- Returns:
- object with set right-hand spacing
 
 
-