public abstract class SeriesBasedChartImpl<T extends SeriesBasedChart,M extends AbstractSerialChart> extends RectangularChartImpl<T,M> implements SeriesBasedChart<T>
SeriesBasedChart.CategoryItemClickEventChart.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 CategoryItemClickListener |
categoryItemClickHandler |
protected ZoomListener |
zoomHandler |
cursorZoomHandler, periodSelectHandleraxisZoomHandler, 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 |
|---|
SeriesBasedChartImpl() |
| Modifier and Type | Method and Description |
|---|---|
io.jmix.core.common.event.Subscription |
addCategoryItemClickListener(java.util.function.Consumer<SeriesBasedChart.CategoryItemClickEvent> listener)
Adds a listener for category item click.
|
io.jmix.core.common.event.Subscription |
addZoomListener(java.util.function.Consumer<Chart.ZoomEvent> listener)
Adds a listener for zoom.
|
protected void |
detectDateBasedCategoryAxis() |
java.lang.String |
getBalloonDateFormat() |
CategoryAxis |
getCategoryAxis() |
java.lang.String |
getCategoryField() |
java.lang.Integer |
getColumnSpacing() |
java.lang.Integer |
getColumnSpacing3D() |
java.lang.Double |
getColumnWidth() |
java.lang.String |
getDataDateFormat() |
java.lang.Integer |
getMaxSelectedSeries() |
java.lang.Long |
getMaxSelectedTime() |
java.lang.Long |
getMinSelectedTime() |
java.lang.Boolean |
getMouseWheelScrollEnabled() |
java.lang.Boolean |
getMouseWheelZoomEnabled() |
java.lang.Boolean |
getRotate() |
java.lang.Boolean |
getSynchronizeGrid() |
Scrollbar |
getValueScrollbar() |
java.lang.Boolean |
getZoomOutOnDataUpdate() |
protected void |
onCategoryItemClick(CategoryItemClickEvent e) |
protected void |
onZoomEvent(ZoomEvent e) |
T |
setBalloonDateFormat(java.lang.String balloonDateFormat)
Sets date format of the graph balloon (if chart parses dates and you don't use
Cursor). |
T |
setCategoryAxis(CategoryAxis categoryAxis)
Sets the category axis.
|
T |
setCategoryField(java.lang.String categoryField)
Sets the category field name.
|
T |
setColumnSpacing(java.lang.Integer columnSpacing)
Sets the gap in pixels between two columns of the same category.
|
T |
setColumnSpacing3D(java.lang.Integer columnSpacing3D)
Sets space between 3D stacked columns.
|
T |
setColumnWidth(java.lang.Double columnWidth)
Sets relative width of columns.
|
T |
setDataDateFormat(java.lang.String dataDateFormat)
Sets data date format.
|
T |
setMaxSelectedSeries(java.lang.Integer maxSelectedSeries)
Sets maximum number of series allowed to select.
|
T |
setMaxSelectedTime(java.lang.Long maxSelectedTime)
Sets the longest time span allowed to select in milliseconds for example, 259200000 will limit selection to 3
days.
|
T |
setMinSelectedTime(java.lang.Long minSelectedTime)
Sets the shortest time span allowed to select in milliseconds for example, 1000 will limit selection to 1
second.
|
T |
setMouseWheelScrollEnabled(java.lang.Boolean mouseWheelScrollEnabled)
Set true if you want scroll chart with the mouse wheel.
|
T |
setMouseWheelZoomEnabled(java.lang.Boolean mouseWheelZoomEnabled)
Set mouseWheelZoomEnabled to true if zooming of a chart with mouse wheel should be enabled.
|
T |
setRotate(java.lang.Boolean rotate)
Set rotate to true, if the chart should be rotated by 90 degrees (the columns will become bars).
|
T |
setSynchronizeGrid(java.lang.Boolean synchronizeGrid)
Set synchronizeGrid property to true and the chart will adjust minimum and maximum of axes so that the grid
would be show at equal intervals.
|
protected void |
setupDefaults(M chart) |
protected void |
setupSerialChartDefaults(AbstractSerialChart chart) |
T |
setValueScrollbar(Scrollbar valueScrollbar)
Sets value scrollbar, enables scrolling value axes.
|
T |
setZoomOutOnDataUpdate(java.lang.Boolean zoomOutOnDataUpdate)
Set zoomOutOnDataUpdate to true if chart should be zoom-out when data is updated.
|
void |
zoomOut()
Zooms out, charts shows all available data.
|
void |
zoomToDates(java.util.Date start,
java.util.Date end)
Zooms the chart from one date to another.
|
void |
zoomToIndexes(int start,
int end)
Zooms the chart by the index of the category.
|
addCursorPeriodSelectListener, addCursorZoomListener, addTrendLines, getAngle, getAutoMarginOffset, getAutoMargins, getChartCursor, getChartScrollbar, getDepth3D, getMarginBottom, getMarginLeft, getMarginRight, getMarginsUpdated, getMarginTop, getMaxZoomFactor, getMinMarginBottom, getMinMarginLeft, getMinMarginRight, getMinMarginTop, getPlotAreaBorderAlpha, getPlotAreaBorderColor, getPlotAreaFillAlphas, getPlotAreaFillColors, getPlotAreaGradientAngle, getTrendLines, getZoomOutButtonAlpha, getZoomOutButtonColor, getZoomOutButtonImage, getZoomOutButtonImageSize, getZoomOutButtonPadding, getZoomOutButtonRollOverAlpha, getZoomOutButtonTabIndex, getZoomOutText, onCursorPeriodSelect, onCursorZoom, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginBottom, setMarginLeft, setMarginRight, setMarginsUpdated, setMarginTop, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setupRectangularChartDefaults, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutTextaddAxisZoomListener, 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, waitaddCursorPeriodSelectListener, addCursorZoomListeneraddAxisZoomListener, 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, setDescriptionaddTrendLines, getAngle, getAutoMarginOffset, getAutoMargins, getChartCursor, getChartScrollbar, getDepth3D, getMarginsUpdated, getMaxZoomFactor, getMinMarginBottom, getMinMarginLeft, getMinMarginRight, getMinMarginTop, getPlotAreaBorderAlpha, getPlotAreaBorderColor, getPlotAreaFillAlphas, getPlotAreaFillColors, getPlotAreaGradientAngle, getTrendLines, getZoomOutButtonAlpha, getZoomOutButtonColor, getZoomOutButtonImage, getZoomOutButtonImageSize, getZoomOutButtonPadding, getZoomOutButtonRollOverAlpha, getZoomOutButtonTabIndex, getZoomOutText, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginsUpdated, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutTextaddGraphs, 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, setStartEffectgetMarginBottom, getMarginLeft, getMarginRight, getMarginTop, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopprotected ZoomListener zoomHandler
protected CategoryItemClickListener categoryItemClickHandler
protected void setupDefaults(M chart)
setupDefaults in class RectangularChartImpl<T extends SeriesBasedChart,M extends AbstractSerialChart>protected void setupSerialChartDefaults(AbstractSerialChart chart)
protected void detectDateBasedCategoryAxis()
public CategoryAxis getCategoryAxis()
getCategoryAxis in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setCategoryAxis(CategoryAxis categoryAxis)
SeriesBasedChartModelsetCategoryAxis in interface SeriesBasedChartModel<T extends SeriesBasedChart>categoryAxis - the category axispublic java.lang.String getCategoryField()
getCategoryField in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setCategoryField(java.lang.String categoryField)
SeriesBasedChartModelsetCategoryField in interface SeriesBasedChartModel<T extends SeriesBasedChart>categoryField - category field name stringpublic java.lang.String getBalloonDateFormat()
getBalloonDateFormat in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setBalloonDateFormat(java.lang.String balloonDateFormat)
SeriesBasedChartModelCursor). If not set the default value is "MMM DD, YYYY".setBalloonDateFormat in interface SeriesBasedChartModel<T extends SeriesBasedChart>balloonDateFormat - the balloon date formatpublic java.lang.Integer getColumnSpacing3D()
getColumnSpacing3D in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setColumnSpacing3D(java.lang.Integer columnSpacing3D)
SeriesBasedChartModelsetColumnSpacing3D in interface SeriesBasedChartModel<T extends SeriesBasedChart>columnSpacing3D - space between 3D stacked columnspublic java.lang.Integer getColumnSpacing()
getColumnSpacing in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setColumnSpacing(java.lang.Integer columnSpacing)
SeriesBasedChartModelsetColumnSpacing in interface SeriesBasedChartModel<T extends SeriesBasedChart>columnSpacing - column spacing in pixelspublic java.lang.Double getColumnWidth()
getColumnWidth in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setColumnWidth(java.lang.Double columnWidth)
SeriesBasedChartModelsetColumnWidth in interface SeriesBasedChartModel<T extends SeriesBasedChart>columnWidth - relative width of columnspublic java.lang.String getDataDateFormat()
getDataDateFormat in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setDataDateFormat(java.lang.String dataDateFormat)
SeriesBasedChartModelsetDataDateFormat in interface SeriesBasedChartModel<T extends SeriesBasedChart>dataDateFormat - data date format stringpublic java.lang.Integer getMaxSelectedSeries()
getMaxSelectedSeries in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setMaxSelectedSeries(java.lang.Integer maxSelectedSeries)
SeriesBasedChartModelsetMaxSelectedSeries in interface SeriesBasedChartModel<T extends SeriesBasedChart>maxSelectedSeries - the maximum number of selected seriespublic java.lang.Long getMaxSelectedTime()
getMaxSelectedTime in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setMaxSelectedTime(java.lang.Long maxSelectedTime)
SeriesBasedChartModelCategoryAxis.equalSpacing is set to false.setMaxSelectedTime in interface SeriesBasedChartModel<T extends SeriesBasedChart>maxSelectedTime - the maximum selected time in millisecondspublic java.lang.Long getMinSelectedTime()
getMinSelectedTime in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setMinSelectedTime(java.lang.Long minSelectedTime)
SeriesBasedChartModelCategoryAxis.equalSpacing is set to false. If not set the default value is 0.setMinSelectedTime in interface SeriesBasedChartModel<T extends SeriesBasedChart>minSelectedTime - the minimum selected time in millisecondspublic java.lang.Boolean getMouseWheelScrollEnabled()
getMouseWheelScrollEnabled in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setMouseWheelScrollEnabled(java.lang.Boolean mouseWheelScrollEnabled)
SeriesBasedChartModelsetMouseWheelScrollEnabled in interface SeriesBasedChartModel<T extends SeriesBasedChart>mouseWheelScrollEnabled - mouse wheel scroll optionpublic java.lang.Boolean getRotate()
getRotate in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setRotate(java.lang.Boolean rotate)
SeriesBasedChartModelsetRotate in interface SeriesBasedChartModel<T extends SeriesBasedChart>rotate - rotate optionpublic java.lang.Boolean getZoomOutOnDataUpdate()
getZoomOutOnDataUpdate in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setZoomOutOnDataUpdate(java.lang.Boolean zoomOutOnDataUpdate)
SeriesBasedChartModelsetZoomOutOnDataUpdate in interface SeriesBasedChartModel<T extends SeriesBasedChart>zoomOutOnDataUpdate - zoomOutOnDataUpdate optionpublic java.lang.Boolean getMouseWheelZoomEnabled()
getMouseWheelZoomEnabled in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setMouseWheelZoomEnabled(java.lang.Boolean mouseWheelZoomEnabled)
SeriesBasedChartModelsetMouseWheelZoomEnabled in interface SeriesBasedChartModel<T extends SeriesBasedChart>mouseWheelZoomEnabled - mouseWheelZoomEnabled optionpublic Scrollbar getValueScrollbar()
getValueScrollbar in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setValueScrollbar(Scrollbar valueScrollbar)
SeriesBasedChartModelsetValueScrollbar in interface SeriesBasedChartModel<T extends SeriesBasedChart>valueScrollbar - the value scrollbarpublic java.lang.Boolean getSynchronizeGrid()
getSynchronizeGrid in interface SeriesBasedChartModel<T extends SeriesBasedChart>public T setSynchronizeGrid(java.lang.Boolean synchronizeGrid)
SeriesBasedChartModelsetSynchronizeGrid in interface SeriesBasedChartModel<T extends SeriesBasedChart>synchronizeGrid - synchronized grid optionpublic void zoomOut()
SeriesBasedChartzoomOut in interface SeriesBasedChart<T extends SeriesBasedChart>public void zoomToIndexes(int start,
int end)
SeriesBasedChartzoomToIndexes in interface SeriesBasedChart<T extends SeriesBasedChart>start - start indexend - end indexpublic void zoomToDates(java.util.Date start,
java.util.Date end)
SeriesBasedChartzoomToDates in interface SeriesBasedChart<T extends SeriesBasedChart>start - start dateend - end datepublic io.jmix.core.common.event.Subscription addZoomListener(java.util.function.Consumer<Chart.ZoomEvent> listener)
SeriesBasedChartaddZoomListener in interface SeriesBasedChart<T extends SeriesBasedChart>listener - a listener to addprotected void onZoomEvent(ZoomEvent e)
public io.jmix.core.common.event.Subscription addCategoryItemClickListener(java.util.function.Consumer<SeriesBasedChart.CategoryItemClickEvent> listener)
SeriesBasedChartaddCategoryItemClickListener in interface SeriesBasedChart<T extends SeriesBasedChart>listener - a listener to addprotected void onCategoryItemClick(CategoryItemClickEvent e)