public abstract class RectangularChartImpl<T extends RectangularChart,M extends RectangularChartModelImpl> extends CoordinateChartImpl<T,M> implements RectangularChart<T>
Chart.AbstractChartClickEvent, Chart.AbstractChartEvent, Chart.AbstractClickEvent, Chart.AbstractCursorEvent, Chart.AbstractGraphItemClickEvent, Chart.AbstractItemEvent, Chart.AbstractSliceClickEvent, Chart.AxisZoomEvent, Chart.ChartClickEvent, Chart.ChartRightClickEvent, Chart.CursorPeriodSelectEvent, Chart.CursorZoomEvent, Chart.GraphClickEvent, Chart.GraphItemClickEvent, Chart.GraphItemRightClickEvent, Chart.LegendItemClickEvent, Chart.LegendItemEvent, Chart.LegendItemHideEvent, Chart.LegendItemShowEvent, Chart.LegendMarkerClickEvent, Chart.RollOutGraphEvent, Chart.RollOutGraphItemEvent, Chart.RollOverGraphEvent, Chart.RollOverGraphItemEvent, Chart.SliceClickEvent, Chart.SlicePullInEvent, Chart.SlicePullOutEvent, Chart.SliceRightClickEvent, Chart.ZoomEventComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperHasContextHelp.ContextHelpIconClickEvent| Modifier and Type | Field and Description |
|---|---|
protected CursorZoomListener |
cursorZoomHandler |
protected CursorPeriodSelectListener |
periodSelectHandler |
axisZoomHandler, graphClickHandler, graphItemClickHandler, graphItemRightClickHandler, rollOutGraphItemListener, rollOutGraphListener, rollOverGraphItemListener, rollOverGraphListenerchartLocaleHelper, clickHandler, currentAuthentication, formatStringsRegistry, legendItemHideHandler, legendItemShowHandler, legendLabelClickHandler, legendMarkerClickHandler, messages, messageTools, rightClickHandleralignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE| Constructor and Description |
|---|
RectangularChartImpl() |
| Modifier and Type | Method and Description |
|---|---|
io.jmix.core.common.event.Subscription |
addCursorPeriodSelectListener(java.util.function.Consumer<Chart.CursorPeriodSelectEvent> listener)
Adds a listener for period selection by cursor.
|
io.jmix.core.common.event.Subscription |
addCursorZoomListener(java.util.function.Consumer<Chart.CursorZoomEvent> listener)
Adds a listener for cursor zoom.
|
T |
addTrendLines(TrendLine... trendLines)
Adds trend lines.
|
java.lang.Integer |
getAngle() |
java.lang.Integer |
getAutoMarginOffset() |
java.lang.Boolean |
getAutoMargins() |
Cursor |
getChartCursor() |
Scrollbar |
getChartScrollbar() |
java.lang.Integer |
getDepth3D() |
java.lang.Integer |
getMarginBottom() |
java.lang.Integer |
getMarginLeft() |
java.lang.Integer |
getMarginRight() |
java.lang.Boolean |
getMarginsUpdated() |
java.lang.Integer |
getMarginTop() |
java.lang.Integer |
getMaxZoomFactor() |
java.lang.Integer |
getMinMarginBottom() |
java.lang.Integer |
getMinMarginLeft() |
java.lang.Integer |
getMinMarginRight() |
java.lang.Integer |
getMinMarginTop() |
java.lang.Double |
getPlotAreaBorderAlpha() |
Color |
getPlotAreaBorderColor() |
java.lang.Double |
getPlotAreaFillAlphas() |
java.util.List<Color> |
getPlotAreaFillColors() |
java.lang.Integer |
getPlotAreaGradientAngle() |
java.util.List<TrendLine> |
getTrendLines() |
java.lang.Double |
getZoomOutButtonAlpha() |
Color |
getZoomOutButtonColor() |
java.lang.String |
getZoomOutButtonImage() |
java.lang.Integer |
getZoomOutButtonImageSize() |
java.lang.Integer |
getZoomOutButtonPadding() |
java.lang.Double |
getZoomOutButtonRollOverAlpha() |
java.lang.Integer |
getZoomOutButtonTabIndex() |
java.lang.String |
getZoomOutText() |
protected void |
onCursorPeriodSelect(CursorPeriodSelectEvent e) |
protected void |
onCursorZoom(CursorZoomEvent e) |
T |
setAngle(java.lang.Integer angle)
Sets the angle of the 3D part of plot area.
|
T |
setAutoMarginOffset(java.lang.Integer autoMarginOffset)
Sets space left from axis labels/title to the chart's outside border, if autoMargins set to true.
|
T |
setAutoMargins(java.lang.Boolean autoMargins)
Specifies if margins of a chart should be calculated automatically so that labels of axes would fit.
|
T |
setChartCursor(Cursor chartCursor)
Sets cursor of a chart.
|
T |
setChartScrollbar(Scrollbar chartScrollbar)
Sets chart scrollbar.
|
T |
setDepth3D(java.lang.Integer depth3D)
Sets the depth of the 3D part of plot area.
|
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 |
setMarginsUpdated(java.lang.Boolean marginsUpdated)
Set to false if you need margins to be recalculated on next
validateNow() call.
|
T |
setMarginTop(java.lang.Integer marginTop)
Sets top spacing.
|
T |
setMaxZoomFactor(java.lang.Integer maxZoomFactor)
Sets the maximum zoom factor value axes.
|
T |
setMinMarginBottom(java.lang.Integer minMarginBottom)
Sets the minimum margin bottom.
|
T |
setMinMarginLeft(java.lang.Integer minMarginLeft)
Sets the minimum margin left.
|
T |
setMinMarginRight(java.lang.Integer minMarginRight)
Sets the minimum margin right.
|
T |
setMinMarginTop(java.lang.Integer minMarginTop)
Sets the minimum margin top.
|
T |
setPlotAreaBorderAlpha(java.lang.Double plotAreaBorderAlpha)
Sets the opacity of plot area's border.
|
T |
setPlotAreaBorderColor(Color plotAreaBorderColor)
Sets the color of the plot area's border.
|
T |
setPlotAreaFillAlphas(java.lang.Double plotAreaFillAlphas)
Sets opacity of plot area.
|
T |
setPlotAreaFillColors(java.util.List<Color> plotAreaFillColors)
Sets the list of plot area colors.
|
T |
setPlotAreaGradientAngle(java.lang.Integer plotAreaGradientAngle)
Sets the gradient angle, if you are using gradients to fill the plot area.
|
T |
setTrendLines(java.util.List list)
Sets the list of trend lines.
|
protected void |
setupDefaults(M chart) |
protected void |
setupRectangularChartDefaults(RectangularChartModelImpl chart) |
T |
setZoomOutButtonAlpha(java.lang.Double zoomOutButtonAlpha)
Sets opacity of zoom-out button background.
|
T |
setZoomOutButtonColor(Color zoomOutButtonColor)
Sets zoom-out button background color.
|
T |
setZoomOutButtonImage(java.lang.String zoomOutButtonImage)
Sets the name of zoom-out button image.
|
T |
setZoomOutButtonImageSize(java.lang.Integer zoomOutButtonImageSize)
Sets the size of zoom-out button image.
|
T |
setZoomOutButtonPadding(java.lang.Integer zoomOutButtonPadding)
Sets padding around the text and image.
|
T |
setZoomOutButtonRollOverAlpha(java.lang.Double zoomOutButtonRollOverAlpha)
Sets opacity of zoom-out button background when mouse is over it.
|
T |
setZoomOutButtonTabIndex(java.lang.Integer zoomOutButtonTabIndex)
In case you set it to some number, the chart will set focus on zoom-out button when user clicks tab key.
|
T |
setZoomOutText(java.lang.String zoomOutText)
Sets text in the zoom-out button.
|
addAxisZoomListener, addColors, addGraphClickListener, addGraphItemClickListener, addGraphItemRightClickListener, addGraphs, addGuides, addRollOutGraphItemListener, addRollOutGraphListener, addRollOverGraphItemListener, addRollOverGraphListener, addValueAxes, getColors, getGraphById, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getStartDuration, getStartEffect, getUrlTarget, getValueAxes, onAxisZoomListener, onGraphClick, onGraphItemClick, onGraphItemRightClick, onRollOutGraphClick, onRollOutGraphItemClick, onRollOverGraphClick, onRollOverGraphItemClick, setColors, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setStartDuration, setStartEffect, setUrlTarget, setValueAxes, zoomOutValueAxes, zoomOutValueAxis, zoomOutValueAxis, zoomValueAxisToValues, zoomValueAxisToValuesaddAdditionalFields, addClickListener, addData, addLabels, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addRightClickListener, addTitles, afterPropertiesSet, createChartConfiguration, createChartSerializer, createComponent, 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, getModel, getNativeJson, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, initLocale, onChartClick, onChartRightClick, onLegendItemHide, onLegendItemShow, onLegendLabelClick, onLegendMarkerClick, repaint, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setChartLocaleHelper, setClassNamePrefix, setColor, setCreditsPosition, setCurrentAuthentication, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setFormatStringsRegistry, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setMessages, setMessageTools, setNativeJson, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setupChartLocale, setUsePrefixesaddAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAxisZoomListener, addGraphClickListener, addGraphItemClickListener, addGraphItemRightClickListener, addRollOutGraphItemListener, addRollOutGraphListener, addRollOverGraphItemListener, addRollOverGraphListener, zoomOutValueAxes, zoomOutValueAxis, zoomOutValueAxis, zoomValueAxisToValues, zoomValueAxisToValuesaddClickListener, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addRightClickListener, getDataProvider, getNativeJson, repaint, setDataProvider, setNativeJsongetFrame, setFrameaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositiongetIcon, setIcon, setIconFromSetgetCaption, setCaptiongetDescription, setDescriptionaddGraphs, addGuides, addValueAxes, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getUrlTarget, getValueAxes, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setUrlTarget, setValueAxesaddAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, 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, 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, setUsePrefixesgetStartDuration, getStartEffect, setStartDuration, setStartEffectprotected CursorPeriodSelectListener periodSelectHandler
protected CursorZoomListener cursorZoomHandler
protected void setupDefaults(M chart)
setupDefaults in class ChartImpl<T extends RectangularChart,M extends RectangularChartModelImpl>protected void setupRectangularChartDefaults(RectangularChartModelImpl chart)
public Cursor getChartCursor()
getChartCursor in interface RectangularChartModel<T extends RectangularChart>public T setChartCursor(Cursor chartCursor)
RectangularChartModelsetChartCursor in interface RectangularChartModel<T extends RectangularChart>chartCursor - the chart cursorpublic Scrollbar getChartScrollbar()
getChartScrollbar in interface RectangularChartModel<T extends RectangularChart>public T setChartScrollbar(Scrollbar chartScrollbar)
RectangularChartModelsetChartScrollbar in interface RectangularChartModel<T extends RectangularChart>chartScrollbar - the chart scrollbarpublic java.util.List<TrendLine> getTrendLines()
getTrendLines in interface RectangularChartModel<T extends RectangularChart>public T setTrendLines(java.util.List list)
RectangularChartModelsetTrendLines in interface RectangularChartModel<T extends RectangularChart>list - list of trend linespublic T addTrendLines(TrendLine... trendLines)
RectangularChartModeladdTrendLines in interface RectangularChartModel<T extends RectangularChart>trendLines - the trend linespublic java.lang.Integer getAngle()
getAngle in interface RectangularChartModel<T extends RectangularChart>public T setAngle(java.lang.Integer angle)
RectangularChartModelsetAngle in interface RectangularChartModel<T extends RectangularChart>angle - the anglepublic java.lang.Integer getAutoMarginOffset()
getAutoMarginOffset in interface RectangularChartModel<T extends RectangularChart>public T setAutoMarginOffset(java.lang.Integer autoMarginOffset)
RectangularChartModelsetAutoMarginOffset in interface RectangularChartModel<T extends RectangularChart>autoMarginOffset - the auto margin offsetpublic java.lang.Boolean getAutoMargins()
getAutoMargins in interface RectangularChartModel<T extends RectangularChart>public T setAutoMargins(java.lang.Boolean autoMargins)
RectangularChartModelsetAutoMargins in interface RectangularChartModel<T extends RectangularChart>autoMargins - auto margins optionpublic java.lang.Integer getDepth3D()
getDepth3D in interface RectangularChartModel<T extends RectangularChart>public T setDepth3D(java.lang.Integer depth3D)
RectangularChartModelsetDepth3D in interface RectangularChartModel<T extends RectangularChart>depth3D - the depth 3Dpublic java.lang.Integer getMarginBottom()
getMarginBottom in interface HasMargins<T extends RectangularChart>public T setMarginBottom(java.lang.Integer marginBottom)
HasMargins
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.
setMarginBottom in interface HasMargins<T extends RectangularChart>marginBottom - bottom spacingpublic java.lang.Integer getMarginLeft()
getMarginLeft in interface HasMargins<T extends RectangularChart>public T setMarginLeft(java.lang.Integer marginLeft)
HasMargins
marginLeft will be ignored if chart is SerialChart or XYChartModelImpl and AbstractLegend.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.
setMarginLeft in interface HasMargins<T extends RectangularChart>marginLeft - left-hand spacingpublic java.lang.Integer getMarginRight()
getMarginRight in interface HasMargins<T extends RectangularChart>public T setMarginRight(java.lang.Integer marginRight)
HasMargins
marginRight will be ignored if chart is SerialChart or XYChartModelImpl and AbstractLegend.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.
setMarginRight in interface HasMargins<T extends RectangularChart>marginRight - right-hand spacingpublic java.lang.Integer getMarginTop()
getMarginTop in interface HasMargins<T extends RectangularChart>public T setMarginTop(java.lang.Integer marginTop)
HasMargins
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.
setMarginTop in interface HasMargins<T extends RectangularChart>marginTop - top spacingpublic java.lang.Boolean getMarginsUpdated()
getMarginsUpdated in interface RectangularChartModel<T extends RectangularChart>public T setMarginsUpdated(java.lang.Boolean marginsUpdated)
RectangularChartModelsetMarginsUpdated in interface RectangularChartModel<T extends RectangularChart>marginsUpdated - the margin update optionpublic java.lang.Double getPlotAreaBorderAlpha()
getPlotAreaBorderAlpha in interface RectangularChartModel<T extends RectangularChart>public T setPlotAreaBorderAlpha(java.lang.Double plotAreaBorderAlpha)
RectangularChartModelsetPlotAreaBorderAlpha in interface RectangularChartModel<T extends RectangularChart>plotAreaBorderAlpha - opacity of plot area's borderpublic Color getPlotAreaBorderColor()
getPlotAreaBorderColor in interface RectangularChartModel<T extends RectangularChart>public T setPlotAreaBorderColor(Color plotAreaBorderColor)
RectangularChartModelsetPlotAreaBorderColor in interface RectangularChartModel<T extends RectangularChart>plotAreaBorderColor - the plot area border colorpublic java.lang.Double getPlotAreaFillAlphas()
getPlotAreaFillAlphas in interface RectangularChartModel<T extends RectangularChart>public T setPlotAreaFillAlphas(java.lang.Double plotAreaFillAlphas)
RectangularChartModelsetPlotAreaFillAlphas in interface RectangularChartModel<T extends RectangularChart>plotAreaFillAlphas - opacitypublic java.util.List<Color> getPlotAreaFillColors()
getPlotAreaFillColors in interface RectangularChartModel<T extends RectangularChart>public T setPlotAreaFillColors(java.util.List<Color> plotAreaFillColors)
RectangularChartModelsetPlotAreaFillColors in interface RectangularChartModel<T extends RectangularChart>plotAreaFillColors - list of plot area colorspublic java.lang.Integer getPlotAreaGradientAngle()
getPlotAreaGradientAngle in interface RectangularChartModel<T extends RectangularChart>public T setPlotAreaGradientAngle(java.lang.Integer plotAreaGradientAngle)
RectangularChartModelsetPlotAreaGradientAngle in interface RectangularChartModel<T extends RectangularChart>plotAreaGradientAngle - the plot area gradient anglepublic java.lang.Double getZoomOutButtonAlpha()
getZoomOutButtonAlpha in interface RectangularChartModel<T extends RectangularChart>public T setZoomOutButtonAlpha(java.lang.Double zoomOutButtonAlpha)
RectangularChartModelsetZoomOutButtonAlpha in interface RectangularChartModel<T extends RectangularChart>zoomOutButtonAlpha - opacity of zoom-out button backgroundpublic Color getZoomOutButtonColor()
getZoomOutButtonColor in interface RectangularChartModel<T extends RectangularChart>public T setZoomOutButtonColor(Color zoomOutButtonColor)
RectangularChartModelsetZoomOutButtonColor in interface RectangularChartModel<T extends RectangularChart>zoomOutButtonColor - zoom-out button background colorpublic java.lang.String getZoomOutButtonImage()
getZoomOutButtonImage in interface RectangularChartModel<T extends RectangularChart>public T setZoomOutButtonImage(java.lang.String zoomOutButtonImage)
RectangularChartModelsetZoomOutButtonImage in interface RectangularChartModel<T extends RectangularChart>zoomOutButtonImage - zoom out button image name stringpublic java.lang.Integer getZoomOutButtonImageSize()
getZoomOutButtonImageSize in interface RectangularChartModel<T extends RectangularChart>public T setZoomOutButtonImageSize(java.lang.Integer zoomOutButtonImageSize)
RectangularChartModelsetZoomOutButtonImageSize in interface RectangularChartModel<T extends RectangularChart>zoomOutButtonImageSize - the zoom out button image sizepublic java.lang.Integer getZoomOutButtonPadding()
getZoomOutButtonPadding in interface RectangularChartModel<T extends RectangularChart>public T setZoomOutButtonPadding(java.lang.Integer zoomOutButtonPadding)
RectangularChartModelsetZoomOutButtonPadding in interface RectangularChartModel<T extends RectangularChart>zoomOutButtonPadding - the zoom out button paddingpublic java.lang.Double getZoomOutButtonRollOverAlpha()
getZoomOutButtonRollOverAlpha in interface RectangularChartModel<T extends RectangularChart>public T setZoomOutButtonRollOverAlpha(java.lang.Double zoomOutButtonRollOverAlpha)
RectangularChartModelsetZoomOutButtonRollOverAlpha in interface RectangularChartModel<T extends RectangularChart>zoomOutButtonRollOverAlpha - opacity of zoom-out button backgroundpublic java.lang.String getZoomOutText()
getZoomOutText in interface RectangularChartModel<T extends RectangularChart>public T setZoomOutText(java.lang.String zoomOutText)
RectangularChartModelsetZoomOutText in interface RectangularChartModel<T extends RectangularChart>zoomOutText - zoom out text stringpublic java.lang.Integer getMaxZoomFactor()
getMaxZoomFactor in interface RectangularChartModel<T extends RectangularChart>public T setMaxZoomFactor(java.lang.Integer maxZoomFactor)
RectangularChartModelsetMaxZoomFactor in interface RectangularChartModel<T extends RectangularChart>maxZoomFactor - maximum zoom factorpublic java.lang.Integer getMinMarginBottom()
getMinMarginBottom in interface RectangularChartModel<T extends RectangularChart>public T setMinMarginBottom(java.lang.Integer minMarginBottom)
RectangularChartModelsetMinMarginBottom in interface RectangularChartModel<T extends RectangularChart>minMarginBottom - the minimum margin bottompublic java.lang.Integer getMinMarginLeft()
getMinMarginLeft in interface RectangularChartModel<T extends RectangularChart>public T setMinMarginLeft(java.lang.Integer minMarginLeft)
RectangularChartModelsetMinMarginLeft in interface RectangularChartModel<T extends RectangularChart>minMarginLeft - the minimum margin leftpublic java.lang.Integer getMinMarginRight()
getMinMarginRight in interface RectangularChartModel<T extends RectangularChart>public T setMinMarginRight(java.lang.Integer minMarginRight)
RectangularChartModelsetMinMarginRight in interface RectangularChartModel<T extends RectangularChart>minMarginRight - the minimum margin rightpublic java.lang.Integer getMinMarginTop()
getMinMarginTop in interface RectangularChartModel<T extends RectangularChart>public T setMinMarginTop(java.lang.Integer minMarginTop)
RectangularChartModelsetMinMarginTop in interface RectangularChartModel<T extends RectangularChart>minMarginTop - the minimum margin toppublic java.lang.Integer getZoomOutButtonTabIndex()
getZoomOutButtonTabIndex in interface RectangularChartModel<T extends RectangularChart>public T setZoomOutButtonTabIndex(java.lang.Integer zoomOutButtonTabIndex)
RectangularChartModelsetZoomOutButtonTabIndex in interface RectangularChartModel<T extends RectangularChart>zoomOutButtonTabIndex - the zoom out button tab indexpublic io.jmix.core.common.event.Subscription addCursorPeriodSelectListener(java.util.function.Consumer<Chart.CursorPeriodSelectEvent> listener)
RectangularChartaddCursorPeriodSelectListener in interface RectangularChart<T extends RectangularChart>listener - a listener to addprotected void onCursorPeriodSelect(CursorPeriodSelectEvent e)
public io.jmix.core.common.event.Subscription addCursorZoomListener(java.util.function.Consumer<Chart.CursorZoomEvent> listener)
RectangularChartaddCursorZoomListener in interface RectangularChart<T extends RectangularChart>listener - a listener to addprotected void onCursorZoom(CursorZoomEvent e)