Class RectangularChartModelImpl<T extends RectangularChartModelImpl>
- All Implemented Interfaces:
HasStartEffect<T>
,ChartModel<T>
,CoordinateChartModel<T>
,RectangularChartModel<T>
,HasColors<T>
,HasMargins<T>
,Serializable
- Direct Known Subclasses:
AbstractSerialChart
,XYChartModelImpl
http://docs.amcharts.com/3/javascriptcharts/AmRectangularChart
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.charts.model.chart.impl.AbstractChart
AbstractChart.DataProviderChangeListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddTrendLines
(TrendLine... trendLines) Adds trend lines.getAngle()
Sets the angle of the 3D part of plot area.setAutoMarginOffset
(Integer autoMarginOffset) Sets space left from axis labels/title to the chart's outside border, if autoMargins set to true.setAutoMargins
(Boolean autoMargins) Specifies if margins of a chart should be calculated automatically so that labels of axes would fit.setChartCursor
(Cursor chartCursor) Sets cursor of a chart.setChartScrollbar
(Scrollbar chartScrollbar) Sets chart scrollbar.setDepth3D
(Integer depth3D) Sets the depth of the 3D part of plot area.setMarginBottom
(Integer marginBottom) Sets bottom spacing.setMarginLeft
(Integer marginLeft) Sets left-hand spacing.setMarginRight
(Integer marginRight) Sets right-hand spacing.setMarginsUpdated
(Boolean marginsUpdated) Set to false if you need margins to be recalculated on next validateNow() call.setMarginTop
(Integer marginTop) Sets top spacing.setMaxZoomFactor
(Integer maxZoomFactor) Sets the maximum zoom factor value axes.setMinMarginBottom
(Integer minMarginBottom) Sets the minimum margin bottom.setMinMarginLeft
(Integer minMarginLeft) Sets the minimum margin left.setMinMarginRight
(Integer minMarginRight) Sets the minimum margin right.setMinMarginTop
(Integer minMarginTop) Sets the minimum margin top.setPlotAreaBorderAlpha
(Double plotAreaBorderAlpha) Sets the opacity of plot area's border.setPlotAreaBorderColor
(Color plotAreaBorderColor) Sets the color of the plot area's border.setPlotAreaFillAlphas
(Double plotAreaFillAlphas) Sets opacity of plot area.setPlotAreaFillColors
(List<Color> plotAreaFillColors) Sets the list of plot area colors.setPlotAreaGradientAngle
(Integer plotAreaGradientAngle) Sets the gradient angle, if you are using gradients to fill the plot area.setTrendLines
(List<TrendLine> trendLines) Sets the list of trend lines.setZoomOutButtonAlpha
(Double zoomOutButtonAlpha) Sets opacity of zoom-out button background.setZoomOutButtonColor
(Color zoomOutButtonColor) Sets zoom-out button background color.setZoomOutButtonImage
(String zoomOutButtonImage) Sets the name of zoom-out button image.setZoomOutButtonImageSize
(Integer zoomOutButtonImageSize) Sets the size of zoom-out button image.setZoomOutButtonPadding
(Integer zoomOutButtonPadding) Sets padding around the text and image.setZoomOutButtonRollOverAlpha
(Double zoomOutButtonRollOverAlpha) Sets opacity of zoom-out button background when mouse is over it.setZoomOutButtonTabIndex
(Integer zoomOutButtonTabIndex) In case you set it to some number, the chart will set focus on zoom-out button when user clicks tab key.setZoomOutText
(String zoomOutText) Sets text in the zoom-out button.Methods inherited from class io.jmix.charts.model.chart.impl.CoordinateChartModelImpl
addColors, addGraphs, addGuides, addValueAxes, getColors, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getStartDuration, getStartEffect, getUrlTarget, getValueAxes, getWiredFields, setColors, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setStartDuration, setStartEffect, setUrlTarget, setValueAxes
Methods inherited from class io.jmix.charts.model.chart.impl.AbstractChart
addAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, fireDataProviderChanged, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDataProvider, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getType, getUsePrefixes, removeDataProviderSetListener, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setUsePrefixes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.charts.model.chart.ChartModel
addAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDataProvider, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setUsePrefixes
Methods inherited from interface io.jmix.charts.model.chart.CoordinateChartModel
addGraphs, addGuides, addValueAxes, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getUrlTarget, getValueAxes, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setUrlTarget, setValueAxes
Methods inherited from interface io.jmix.charts.model.animation.HasStartEffect
getStartDuration, getStartEffect, setStartDuration, setStartEffect
-
Constructor Details
-
RectangularChartModelImpl
-
-
Method Details
-
getChartCursor
- Specified by:
getChartCursor
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- chart cursor
-
setChartCursor
Description copied from interface:RectangularChartModel
Sets cursor of a chart.- Specified by:
setChartCursor
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
chartCursor
- the chart cursor- Returns:
- rectangular chart model
-
getChartScrollbar
- Specified by:
getChartScrollbar
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- chart scrollbar
-
setChartScrollbar
Description copied from interface:RectangularChartModel
Sets chart scrollbar.- Specified by:
setChartScrollbar
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
chartScrollbar
- the chart scrollbar- Returns:
- rectangular chart model
-
getTrendLines
- Specified by:
getTrendLines
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- list of trend lines
-
setTrendLines
Description copied from interface:RectangularChartModel
Sets the list of trend lines.- Specified by:
setTrendLines
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
trendLines
- list of trend lines- Returns:
- rectangular chart model
-
addTrendLines
Description copied from interface:RectangularChartModel
Adds trend lines.- Specified by:
addTrendLines
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
trendLines
- the trend lines- Returns:
- rectangular chart model
-
getAngle
- Specified by:
getAngle
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- angle of the 3D part of plot area
-
setAngle
Description copied from interface:RectangularChartModel
Sets the angle of the 3D part of plot area. This creates a 3D effect (if the depth3D is greater than 0). If not set the default value is 0.- Specified by:
setAngle
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
angle
- the angle- Returns:
- rectangular chart model
-
getAutoMarginOffset
- Specified by:
getAutoMarginOffset
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- auto margin offset
-
setAutoMarginOffset
Description copied from interface:RectangularChartModel
Sets space left from axis labels/title to the chart's outside border, if autoMargins set to true. If not set the default value is 10.- Specified by:
setAutoMarginOffset
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
autoMarginOffset
- the auto margin offset- Returns:
- rectangular chart model
-
getAutoMargins
- Specified by:
getAutoMargins
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- true if auto margins is enabled
-
setAutoMargins
Description copied from interface:RectangularChartModel
Specifies if margins of a chart should be calculated automatically so that labels of axes would fit. The chart will adjust only margins with axes. Other margins will use values set with marginRight, marginTop, marginLeft and marginBottom properties. If not set the default value is true.- Specified by:
setAutoMargins
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
autoMargins
- auto margins option- Returns:
- rectangular chart model
-
getDepth3D
- Specified by:
getDepth3D
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- depth of the 3D part of plot area
-
setDepth3D
Description copied from interface:RectangularChartModel
Sets the depth of the 3D part of plot area. This creates a 3D effect (if the angle is greater than 0). If not set the default value is 0.- Specified by:
setDepth3D
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
depth3D
- the depth 3D- Returns:
- rectangular chart model
-
getMarginBottom
- Specified by:
getMarginBottom
in interfaceHasMargins<T extends RectangularChartModelImpl>
- Returns:
- bottom spacing
-
setMarginBottom
Description copied from interface:HasMargins
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.- Specified by:
setMarginBottom
in interfaceHasMargins<T extends RectangularChartModelImpl>
- Parameters:
marginBottom
- bottom spacing- Returns:
- object with set bottom spacing
-
getMarginLeft
- Specified by:
getMarginLeft
in interfaceHasMargins<T extends RectangularChartModelImpl>
- Returns:
- left-hand spacing
-
setMarginLeft
Description copied from interface:HasMargins
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.- Specified by:
setMarginLeft
in interfaceHasMargins<T extends RectangularChartModelImpl>
- Parameters:
marginLeft
- left-hand spacing- Returns:
- object with set left-hand spacing
-
getMarginRight
- Specified by:
getMarginRight
in interfaceHasMargins<T extends RectangularChartModelImpl>
- Returns:
- right-hand spacing
-
setMarginRight
Description copied from interface:HasMargins
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.- Specified by:
setMarginRight
in interfaceHasMargins<T extends RectangularChartModelImpl>
- Parameters:
marginRight
- right-hand spacing- Returns:
- object with set right-hand spacing
-
getMarginTop
- Specified by:
getMarginTop
in interfaceHasMargins<T extends RectangularChartModelImpl>
- Returns:
- top spacing
-
setMarginTop
Description copied from interface:HasMargins
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.- Specified by:
setMarginTop
in interfaceHasMargins<T extends RectangularChartModelImpl>
- Parameters:
marginTop
- top spacing- Returns:
- object with set top spacing
-
getMarginsUpdated
- Specified by:
getMarginsUpdated
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- true if margins update is enabled
-
setMarginsUpdated
Description copied from interface:RectangularChartModel
Set to false if you need margins to be recalculated on next validateNow() call. If not set the default value is false.- Specified by:
setMarginsUpdated
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
marginsUpdated
- the margin update option- Returns:
- rectangular chart model
-
getPlotAreaBorderAlpha
- Specified by:
getPlotAreaBorderAlpha
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- opacity of plot area's border
-
setPlotAreaBorderAlpha
Description copied from interface:RectangularChartModel
Sets the opacity of plot area's border. Value range is 0 - 1. If not set the default value is 0.- Specified by:
setPlotAreaBorderAlpha
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
plotAreaBorderAlpha
- opacity of plot area's border- Returns:
- rectangular chart model
-
getPlotAreaBorderColor
- Specified by:
getPlotAreaBorderColor
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- plot area border color
-
setPlotAreaBorderColor
Description copied from interface:RectangularChartModel
Sets the color of the plot area's border. Set it to a value higher than 0 to make it visible. If not set the default value is #000000.- Specified by:
setPlotAreaBorderColor
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
plotAreaBorderColor
- the plot area border color- Returns:
- rectangular chart model
-
getPlotAreaFillAlphas
- Specified by:
getPlotAreaFillAlphas
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- opacity of plot area
-
setPlotAreaFillAlphas
Description copied from interface:RectangularChartModel
Sets opacity of plot area. If not set the default value is 0.- Specified by:
setPlotAreaFillAlphas
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
plotAreaFillAlphas
- opacity- Returns:
- rectangular chart model
-
getPlotAreaFillColors
- Specified by:
getPlotAreaFillColors
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- list of plot area colors
-
setPlotAreaFillColors
Description copied from interface:RectangularChartModel
Sets the list of plot area colors. Create several colors if you need to generate gradients or create one if you need to get a solid color. If not set the default value is #FFFFFF.- Specified by:
setPlotAreaFillColors
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
plotAreaFillColors
- list of plot area colors- Returns:
- rectangular chart model
-
getPlotAreaGradientAngle
- Specified by:
getPlotAreaGradientAngle
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- plot area gradient angle
-
setPlotAreaGradientAngle
Description copied from interface:RectangularChartModel
Sets the gradient angle, if you are using gradients to fill the plot area. The only allowed values are horizontal and vertical: 0, 90, 180, 270. If not set the default value is 0.- Specified by:
setPlotAreaGradientAngle
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
plotAreaGradientAngle
- the plot area gradient angle- Returns:
- rectangular chart model
-
getZoomOutButtonAlpha
- Specified by:
getZoomOutButtonAlpha
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- opacity of zoom-out button background
-
setZoomOutButtonAlpha
Description copied from interface:RectangularChartModel
Sets opacity of zoom-out button background. If not set the default value is 0.- Specified by:
setZoomOutButtonAlpha
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
zoomOutButtonAlpha
- opacity of zoom-out button background- Returns:
- rectangular chart model
-
getZoomOutButtonColor
- Specified by:
getZoomOutButtonColor
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- zoom-out button background color
-
setZoomOutButtonColor
Description copied from interface:RectangularChartModel
Sets zoom-out button background color. If not set the default value is #e5e5e5.- Specified by:
setZoomOutButtonColor
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
zoomOutButtonColor
- zoom-out button background color- Returns:
- rectangular chart model
-
getZoomOutButtonImage
- Specified by:
getZoomOutButtonImage
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- zoom out button image name
-
setZoomOutButtonImage
Description copied from interface:RectangularChartModel
Sets the name of zoom-out button image. Note, you don't have to set image extension. If svgIcons is set to true, ".svg" will be added to the file name if SVG is supported by the browser, otherwise – ".png". If not set the default value is "lens".- Specified by:
setZoomOutButtonImage
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
zoomOutButtonImage
- zoom out button image name string- Returns:
- rectangular chart model
-
getZoomOutButtonImageSize
- Specified by:
getZoomOutButtonImageSize
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- zoom out button image size
-
setZoomOutButtonImageSize
Description copied from interface:RectangularChartModel
Sets the size of zoom-out button image. If not set the default value is 17.- Specified by:
setZoomOutButtonImageSize
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
zoomOutButtonImageSize
- the zoom out button image size- Returns:
- rectangular chart model
-
getZoomOutButtonPadding
- Specified by:
getZoomOutButtonPadding
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- zoom out button padding
-
setZoomOutButtonPadding
Description copied from interface:RectangularChartModel
Sets padding around the text and image. If not set the default value is 8.- Specified by:
setZoomOutButtonPadding
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
zoomOutButtonPadding
- the zoom out button padding- Returns:
- rectangular chart model
-
getZoomOutButtonRollOverAlpha
- Specified by:
getZoomOutButtonRollOverAlpha
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- opacity of zoom-out button background
-
setZoomOutButtonRollOverAlpha
Description copied from interface:RectangularChartModel
Sets opacity of zoom-out button background when mouse is over it. If not set the default value is 1.- Specified by:
setZoomOutButtonRollOverAlpha
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
zoomOutButtonRollOverAlpha
- opacity of zoom-out button background- Returns:
- rectangular chart model
-
getZoomOutText
- Specified by:
getZoomOutText
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- zoom out text
-
setZoomOutText
Description copied from interface:RectangularChartModel
Sets text in the zoom-out button. If not set the default value is "Show all".- Specified by:
setZoomOutText
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
zoomOutText
- zoom out text string- Returns:
- rectangular chart model
-
getMaxZoomFactor
- Specified by:
getMaxZoomFactor
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- maximum zoom factor
-
setMaxZoomFactor
Description copied from interface:RectangularChartModel
Sets the maximum zoom factor value axes. If not set the default value is 20.- Specified by:
setMaxZoomFactor
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
maxZoomFactor
- maximum zoom factor- Returns:
- rectangular chart model
-
getMinMarginBottom
- Specified by:
getMinMarginBottom
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- minimum margin bottom
-
setMinMarginBottom
Description copied from interface:RectangularChartModel
Sets the minimum margin bottom. If bottom side has a value axis and autoMargins is set to true, the margin of this side will be not less than set on minMarginBottom property.- Specified by:
setMinMarginBottom
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
minMarginBottom
- the minimum margin bottom- Returns:
- rectangular chart model
-
getMinMarginLeft
- Specified by:
getMinMarginLeft
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- minimum margin left
-
setMinMarginLeft
Description copied from interface:RectangularChartModel
Sets the minimum margin left. If left side has a value axis and autoMargins is set to true, the margin of this side will be not less than set on minMarginLeft property.- Specified by:
setMinMarginLeft
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
minMarginLeft
- the minimum margin left- Returns:
- rectangular chart model
-
getMinMarginRight
- Specified by:
getMinMarginRight
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- minimum margin right
-
setMinMarginRight
Description copied from interface:RectangularChartModel
Sets the minimum margin right. If right side has a value axis and autoMargins is set to true, the margin of this side will be not less than set on minMarginRight property.- Specified by:
setMinMarginRight
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
minMarginRight
- the minimum margin right- Returns:
- rectangular chart model
-
getMinMarginTop
- Specified by:
getMinMarginTop
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- minimum margin top
-
setMinMarginTop
Description copied from interface:RectangularChartModel
Sets the minimum margin top. If top side has a value axis and autoMargins is set to true, the margin of this side will be not less than set on minMarginTop property.- Specified by:
setMinMarginTop
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
minMarginTop
- the minimum margin top- Returns:
- rectangular chart model
-
getZoomOutButtonTabIndex
- Specified by:
getZoomOutButtonTabIndex
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Returns:
- zoom out button tab index
-
setZoomOutButtonTabIndex
Description copied from interface:RectangularChartModel
In case you set it to some number, the chart will set focus on zoom-out button when user clicks tab key. When a focus is set, screen readers like NVDA Screen reader will read zoomOutText. If user clicks Enter when a focus is set, the chart will zoom-out. Note, not all browsers and readers support this.- Specified by:
setZoomOutButtonTabIndex
in interfaceRectangularChartModel<T extends RectangularChartModelImpl>
- Parameters:
zoomOutButtonTabIndex
- the zoom out button tab index- Returns:
- rectangular chart model
-