Package io.jmix.charts.component
Interface CoordinateChart<T extends CoordinateChart>
- All Superinterfaces:
Chart<T>
,ChartModel<T>
,Component
,Component.BelongToFrame
,Component.HasCaption
,Component.HasDescription
,Component.HasIcon
,CoordinateChartModel<T>
,HasColors<T>
,HasStartEffect<T>
- All Known Subinterfaces:
GanttChart
,RadarChart
,RectangularChart<T>
,SerialChart
,SeriesBasedChart<T>
,XYChart
- All Known Implementing Classes:
CoordinateChartImpl
,GanttChartImpl
,RadarChartImpl
,RectangularChartImpl
,SerialChartImpl
,SeriesBasedChartImpl
,XYChartImpl
public interface CoordinateChart<T extends CoordinateChart>
extends Chart<T>, CoordinateChartModel<T>
Base interface for
See documentation for properties of AmCoordinateChart JS object.
http://docs.amcharts.com/3/javascriptcharts/AmCoordinateChart
GanttChart
, SerialChart
, RadarChart
and XYChart
.
See documentation for properties of AmCoordinateChart JS object.
http://docs.amcharts.com/3/javascriptcharts/AmCoordinateChart
-
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.ZoomEvent
Nested 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.Wrapper
-
Field Summary
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionaddAxisZoomListener
(Consumer<Chart.AxisZoomEvent> listener) Adds a listener to axis.addGraphClickListener
(Consumer<Chart.GraphClickEvent> listener) Adds a listener for graph.Adds a listener for graph item.addGraphItemRightClickListener
(Consumer<Chart.GraphItemRightClickEvent> clickListener) Adds a listener for graph item.Adds a listener for graph item.Adds a listener for graph.Adds a listener for graph item.Adds a listener for graph.void
Zooms out value axes, value axes shows all available data.void
zoomOutValueAxis
(int index) Zooms out value axis, value axis shows all available data.void
Zooms out value axis, value axis shows all available data.void
zoomValueAxisToValues
(int index, Object startValue, Object endValue) Zooms-in an axis to the provided values.void
zoomValueAxisToValues
(String id, Object startValue, Object endValue) Zooms-in an axis to the provided values.Methods inherited from interface io.jmix.charts.component.Chart
addClickListener, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addRightClickListener, getDataProvider, getNativeJson, repaint, setDataProvider, setNativeJson
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, 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, setUsePrefixes
Methods 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, withUnwrappedComposition
Methods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrame
Methods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaption
Methods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescription
Methods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSet
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
-
Method Details
-
addGraphClickListener
Adds a listener for graph. Called when user clicks on the graph item.- Parameters:
listener
- a listener to add- Returns:
- subscription
-
addGraphItemClickListener
Adds a listener for graph item. Called when user clicks on the graph item.- Parameters:
listener
- a listener to add- Returns:
- subscription
-
addGraphItemRightClickListener
Adds a listener for graph item. Called when user clicks on the graph item.- Parameters:
clickListener
- a listener to add- Returns:
- subscription
-
addAxisZoomListener
Adds a listener to axis. Called when value of the axis zoom changed.- Parameters:
listener
- a listener to add- Returns:
- subscription
-
addRollOutGraphListener
Adds a listener for graph. Called when user rolls-out of a graph.- Parameters:
listener
- a listener to add- Returns:
- subscription
-
addRollOutGraphItemListener
Adds a listener for graph item. Called when user rolls-out of the data item.- Parameters:
listener
- a listener to add- Returns:
- subscription
-
addRollOverGraphListener
Adds a listener for graph. Called when user rolls-over a graph.- Parameters:
listener
- a listener to add- Returns:
- subscription
-
addRollOverGraphItemListener
Adds a listener for graph item. Called when user rolls-over data item.- Parameters:
listener
- a listener to add- Returns:
- subscription
-
zoomOutValueAxes
void zoomOutValueAxes()Zooms out value axes, value axes shows all available data. -
zoomOutValueAxis
Zooms out value axis, value axis shows all available data.- Parameters:
id
- id of value axis
-
zoomOutValueAxis
void zoomOutValueAxis(int index) Zooms out value axis, value axis shows all available data.- Parameters:
index
- index of value axis
-
zoomValueAxisToValues
Zooms-in an axis to the provided values.- Parameters:
id
- id of value axisstartValue
- start valueendValue
- end value
-
zoomValueAxisToValues
Zooms-in an axis to the provided values.- Parameters:
index
- index of value axisstartValue
- start valueendValue
- end value
-