Class RectangularChartImpl<T extends RectangularChart,M extends RectangularChartModelImpl>
- All Implemented Interfaces:
Chart<T>,CoordinateChart<T>,RectangularChart<T>,HasStartEffect<T>,ChartModel<T>,CoordinateChartModel<T>,RectangularChartModel<T>,HasColors<T>,HasMargins<T>,AttachNotifier,Component,Component.BelongToFrame,Component.HasCaption,Component.HasDescription,Component.HasIcon,Component.HasXmlDescriptor,Component.Wrapper,HasContextHelp,HasDebugId,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
SeriesBasedChartImpl,XYChartImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.charts.component.Chart
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.ZoomEventNested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CursorZoomListenerprotected CursorPeriodSelectListenerFields inherited from class io.jmix.charts.component.impl.CoordinateChartImpl
axisZoomHandler, graphClickHandler, graphItemClickHandler, graphItemRightClickHandler, rollOutGraphItemListener, rollOutGraphListener, rollOverGraphItemListener, rollOverGraphListenerFields inherited from class io.jmix.charts.component.impl.ChartImpl
chartLocaleHelper, clickHandler, currentAuthentication, formatStringsRegistry, legendItemHideHandler, legendItemShowHandler, legendLabelClickHandler, legendMarkerClickHandler, messages, rightClickHandlerFields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a listener for period selection by cursor.addCursorZoomListener(Consumer<Chart.CursorZoomEvent> listener) Adds a listener for cursor zoom.addTrendLines(TrendLine... trendLines) Adds trend lines.getAngle()protected voidprotected voidSets 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 list) Sets the list of trend lines.protected voidsetupDefaults(M chart) protected voidsetZoomOutButtonAlpha(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.component.impl.CoordinateChartImpl
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, zoomValueAxisToValuesMethods inherited from class io.jmix.charts.component.impl.ChartImpl
addAdditionalFields, 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, setNativeJson, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setupChartLocale, setUsePrefixesMethods inherited from class io.jmix.ui.component.impl.AbstractComponent
addAttachListener, 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, withUnwrappedCompositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.charts.component.Chart
addClickListener, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addRightClickListener, getDataProvider, getNativeJson, repaint, setDataProvider, setNativeJsonMethods 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, 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, setUsePrefixesMethods inherited from interface io.jmix.ui.component.Component
addStyleName, 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, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.charts.component.CoordinateChart
addAxisZoomListener, addGraphClickListener, addGraphItemClickListener, addGraphItemRightClickListener, addRollOutGraphItemListener, addRollOutGraphListener, addRollOverGraphItemListener, addRollOverGraphListener, zoomOutValueAxes, zoomOutValueAxis, zoomOutValueAxis, zoomValueAxisToValues, zoomValueAxisToValuesMethods 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, setValueAxesMethods inherited from interface io.jmix.charts.model.animation.HasStartEffect
getStartDuration, getStartEffect, setStartDuration, setStartEffect
-
Field Details
-
periodSelectHandler
-
cursorZoomHandler
-
-
Constructor Details
-
RectangularChartImpl
public RectangularChartImpl()
-
-
Method Details
-
setupDefaults
- Overrides:
setupDefaultsin classChartImpl<T extends RectangularChart,M extends RectangularChartModelImpl>
-
setupRectangularChartDefaults
-
getChartCursor
- Specified by:
getChartCursorin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- chart cursor
-
setChartCursor
Description copied from interface:RectangularChartModelSets cursor of a chart.- Specified by:
setChartCursorin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
chartCursor- the chart cursor- Returns:
- rectangular chart model
-
getChartScrollbar
- Specified by:
getChartScrollbarin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- chart scrollbar
-
setChartScrollbar
Description copied from interface:RectangularChartModelSets chart scrollbar.- Specified by:
setChartScrollbarin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
chartScrollbar- the chart scrollbar- Returns:
- rectangular chart model
-
getTrendLines
- Specified by:
getTrendLinesin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- list of trend lines
-
setTrendLines
Description copied from interface:RectangularChartModelSets the list of trend lines.- Specified by:
setTrendLinesin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
list- list of trend lines- Returns:
- rectangular chart model
-
addTrendLines
Description copied from interface:RectangularChartModelAdds trend lines.- Specified by:
addTrendLinesin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
trendLines- the trend lines- Returns:
- rectangular chart model
-
getAngle
- Specified by:
getAnglein interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- angle of the 3D part of plot area
-
setAngle
Description copied from interface:RectangularChartModelSets 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:
setAnglein interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
angle- the angle- Returns:
- rectangular chart model
-
getAutoMarginOffset
- Specified by:
getAutoMarginOffsetin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- auto margin offset
-
setAutoMarginOffset
Description copied from interface:RectangularChartModelSets 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:
setAutoMarginOffsetin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
autoMarginOffset- the auto margin offset- Returns:
- rectangular chart model
-
getAutoMargins
- Specified by:
getAutoMarginsin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- true if auto margins is enabled
-
setAutoMargins
Description copied from interface:RectangularChartModelSpecifies 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:
setAutoMarginsin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
autoMargins- auto margins option- Returns:
- rectangular chart model
-
getDepth3D
- Specified by:
getDepth3Din interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- depth of the 3D part of plot area
-
setDepth3D
Description copied from interface:RectangularChartModelSets 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:
setDepth3Din interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
depth3D- the depth 3D- Returns:
- rectangular chart model
-
getMarginBottom
- Specified by:
getMarginBottomin interfaceHasMargins<T extends RectangularChart>- Returns:
- bottom spacing
-
setMarginBottom
Description copied from interface:HasMarginsSets 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.- Specified by:
setMarginBottomin interfaceHasMargins<T extends RectangularChart>- Parameters:
marginBottom- bottom spacing- Returns:
- object with set bottom spacing
-
getMarginLeft
- Specified by:
getMarginLeftin interfaceHasMargins<T extends RectangularChart>- Returns:
- left-hand spacing
-
setMarginLeft
Description copied from interface:HasMarginsSets 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.- Specified by:
setMarginLeftin interfaceHasMargins<T extends RectangularChart>- Parameters:
marginLeft- left-hand spacing- Returns:
- object with set left-hand spacing
-
getMarginRight
- Specified by:
getMarginRightin interfaceHasMargins<T extends RectangularChart>- Returns:
- right-hand spacing
-
setMarginRight
Description copied from interface:HasMarginsSets 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.- Specified by:
setMarginRightin interfaceHasMargins<T extends RectangularChart>- Parameters:
marginRight- right-hand spacing- Returns:
- object with set right-hand spacing
-
getMarginTop
- Specified by:
getMarginTopin interfaceHasMargins<T extends RectangularChart>- Returns:
- top spacing
-
setMarginTop
Description copied from interface:HasMarginsSets 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.- Specified by:
setMarginTopin interfaceHasMargins<T extends RectangularChart>- Parameters:
marginTop- top spacing- Returns:
- object with set top spacing
-
getMarginsUpdated
- Specified by:
getMarginsUpdatedin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- true if margins update is enabled
-
setMarginsUpdated
Description copied from interface:RectangularChartModelSet to false if you need margins to be recalculated on next validateNow() call. If not set the default value is false.- Specified by:
setMarginsUpdatedin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
marginsUpdated- the margin update option- Returns:
- rectangular chart model
-
getPlotAreaBorderAlpha
- Specified by:
getPlotAreaBorderAlphain interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- opacity of plot area's border
-
setPlotAreaBorderAlpha
Description copied from interface:RectangularChartModelSets the opacity of plot area's border. Value range is 0 - 1. If not set the default value is 0.- Specified by:
setPlotAreaBorderAlphain interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
plotAreaBorderAlpha- opacity of plot area's border- Returns:
- rectangular chart model
-
getPlotAreaBorderColor
- Specified by:
getPlotAreaBorderColorin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- plot area border color
-
setPlotAreaBorderColor
Description copied from interface:RectangularChartModelSets 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:
setPlotAreaBorderColorin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
plotAreaBorderColor- the plot area border color- Returns:
- rectangular chart model
-
getPlotAreaFillAlphas
- Specified by:
getPlotAreaFillAlphasin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- opacity of plot area
-
setPlotAreaFillAlphas
Description copied from interface:RectangularChartModelSets opacity of plot area. If not set the default value is 0.- Specified by:
setPlotAreaFillAlphasin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
plotAreaFillAlphas- opacity- Returns:
- rectangular chart model
-
getPlotAreaFillColors
- Specified by:
getPlotAreaFillColorsin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- list of plot area colors
-
setPlotAreaFillColors
Description copied from interface:RectangularChartModelSets 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:
setPlotAreaFillColorsin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
plotAreaFillColors- list of plot area colors- Returns:
- rectangular chart model
-
getPlotAreaGradientAngle
- Specified by:
getPlotAreaGradientAnglein interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- plot area gradient angle
-
setPlotAreaGradientAngle
Description copied from interface:RectangularChartModelSets 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:
setPlotAreaGradientAnglein interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
plotAreaGradientAngle- the plot area gradient angle- Returns:
- rectangular chart model
-
getZoomOutButtonAlpha
- Specified by:
getZoomOutButtonAlphain interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- opacity of zoom-out button background
-
setZoomOutButtonAlpha
Description copied from interface:RectangularChartModelSets opacity of zoom-out button background. If not set the default value is 0.- Specified by:
setZoomOutButtonAlphain interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
zoomOutButtonAlpha- opacity of zoom-out button background- Returns:
- rectangular chart model
-
getZoomOutButtonColor
- Specified by:
getZoomOutButtonColorin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- zoom-out button background color
-
setZoomOutButtonColor
Description copied from interface:RectangularChartModelSets zoom-out button background color. If not set the default value is #e5e5e5.- Specified by:
setZoomOutButtonColorin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
zoomOutButtonColor- zoom-out button background color- Returns:
- rectangular chart model
-
getZoomOutButtonImage
- Specified by:
getZoomOutButtonImagein interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- zoom out button image name
-
setZoomOutButtonImage
Description copied from interface:RectangularChartModelSets 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:
setZoomOutButtonImagein interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
zoomOutButtonImage- zoom out button image name string- Returns:
- rectangular chart model
-
getZoomOutButtonImageSize
- Specified by:
getZoomOutButtonImageSizein interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- zoom out button image size
-
setZoomOutButtonImageSize
Description copied from interface:RectangularChartModelSets the size of zoom-out button image. If not set the default value is 17.- Specified by:
setZoomOutButtonImageSizein interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
zoomOutButtonImageSize- the zoom out button image size- Returns:
- rectangular chart model
-
getZoomOutButtonPadding
- Specified by:
getZoomOutButtonPaddingin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- zoom out button padding
-
setZoomOutButtonPadding
Description copied from interface:RectangularChartModelSets padding around the text and image. If not set the default value is 8.- Specified by:
setZoomOutButtonPaddingin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
zoomOutButtonPadding- the zoom out button padding- Returns:
- rectangular chart model
-
getZoomOutButtonRollOverAlpha
- Specified by:
getZoomOutButtonRollOverAlphain interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- opacity of zoom-out button background
-
setZoomOutButtonRollOverAlpha
Description copied from interface:RectangularChartModelSets opacity of zoom-out button background when mouse is over it. If not set the default value is 1.- Specified by:
setZoomOutButtonRollOverAlphain interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
zoomOutButtonRollOverAlpha- opacity of zoom-out button background- Returns:
- rectangular chart model
-
getZoomOutText
- Specified by:
getZoomOutTextin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- zoom out text
-
setZoomOutText
Description copied from interface:RectangularChartModelSets text in the zoom-out button. If not set the default value is "Show all".- Specified by:
setZoomOutTextin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
zoomOutText- zoom out text string- Returns:
- rectangular chart model
-
getMaxZoomFactor
- Specified by:
getMaxZoomFactorin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- maximum zoom factor
-
setMaxZoomFactor
Description copied from interface:RectangularChartModelSets the maximum zoom factor value axes. If not set the default value is 20.- Specified by:
setMaxZoomFactorin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
maxZoomFactor- maximum zoom factor- Returns:
- rectangular chart model
-
getMinMarginBottom
- Specified by:
getMinMarginBottomin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- minimum margin bottom
-
setMinMarginBottom
Description copied from interface:RectangularChartModelSets 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:
setMinMarginBottomin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
minMarginBottom- the minimum margin bottom- Returns:
- rectangular chart model
-
getMinMarginLeft
- Specified by:
getMinMarginLeftin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- minimum margin left
-
setMinMarginLeft
Description copied from interface:RectangularChartModelSets 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:
setMinMarginLeftin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
minMarginLeft- the minimum margin left- Returns:
- rectangular chart model
-
getMinMarginRight
- Specified by:
getMinMarginRightin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- minimum margin right
-
setMinMarginRight
Description copied from interface:RectangularChartModelSets 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:
setMinMarginRightin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
minMarginRight- the minimum margin right- Returns:
- rectangular chart model
-
getMinMarginTop
- Specified by:
getMinMarginTopin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- minimum margin top
-
setMinMarginTop
Description copied from interface:RectangularChartModelSets 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:
setMinMarginTopin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
minMarginTop- the minimum margin top- Returns:
- rectangular chart model
-
getZoomOutButtonTabIndex
- Specified by:
getZoomOutButtonTabIndexin interfaceRectangularChartModel<T extends RectangularChart>- Returns:
- zoom out button tab index
-
setZoomOutButtonTabIndex
Description copied from interface:RectangularChartModelIn 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:
setZoomOutButtonTabIndexin interfaceRectangularChartModel<T extends RectangularChart>- Parameters:
zoomOutButtonTabIndex- the zoom out button tab index- Returns:
- rectangular chart model
-
addCursorPeriodSelectListener
Description copied from interface:RectangularChartAdds a listener for period selection by cursor. Called when value of the cursor period changed.- Specified by:
addCursorPeriodSelectListenerin interfaceRectangularChart<T extends RectangularChart>- Parameters:
listener- a listener to add- Returns:
- subscription
-
onCursorPeriodSelect
-
addCursorZoomListener
Description copied from interface:RectangularChartAdds a listener for cursor zoom. Called when value of the cursor zoom changed.- Specified by:
addCursorZoomListenerin interfaceRectangularChart<T extends RectangularChart>- Parameters:
listener- a listener to add- Returns:
- subscription
-
onCursorZoom
-