Class PiecewiseVisualMap
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.visualMap.AbstractVisualMap<PiecewiseVisualMap>
io.jmix.chartsflowui.kit.component.model.visualMap.PiecewiseVisualMap
- All Implemented Interfaces:
HasPosition<PiecewiseVisualMap>
,HasPadding<PiecewiseVisualMap>
,Serializable
Visual map component for displaying data in discrete form.
Piecewise visualMap component works in one of the three modes:
Piecewise visualMap component works in one of the three modes:
-
CONTINUOUS-AVERAGE: the series data is continuous and is divided into pieces
averagely according to
splitNumber
. -
CONTINUOUS-CUSTOMIZED: the series data is continuous and is divided into pieces
according to the given rule defined in
pieces
. -
CATEGORY: the series data is discrete and is categorized
according to
categories
.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A component that used to customize how to slice continuous data, and some specific view style for some pieces.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.visualMap.AbstractVisualMap
AbstractVisualMap.MapAlign, AbstractVisualMap.VisualMapController
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected String[]
protected Integer
protected HasSymbols.SymbolType
protected Boolean
protected Boolean
protected List<PiecewiseVisualMap.Piece>
protected SelectedMode
protected Boolean
protected Integer
Fields inherited from class io.jmix.chartsflowui.kit.component.model.visualMap.AbstractVisualMap
align, backgroundColor, borderColor, borderWidth, bottom, controller, dimension, formatter, formatterFunction, hoverLink, id, inRange, inverse, itemHeight, itemWidth, left, max, min, orientation, outOfRange, padding, precision, right, seriesIndex, show, text, textGap, textStyle, top, type, z, zLevel
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPiece
(PiecewiseVisualMap.Piece piece) String[]
void
void
setCategories
(String... categories) void
setItemGap
(Integer itemGap) void
setItemSymbol
(HasSymbols.SymbolType itemSymbol) void
setMaxOpen
(Boolean maxOpen) void
setMinOpen
(Boolean minOpen) void
setPieces
(PiecewiseVisualMap.Piece... pieces) void
setPieces
(List<PiecewiseVisualMap.Piece> pieces) void
setSelectedMode
(SelectedMode selectedMode) void
setShowLabel
(Boolean showLabel) void
setSplitNumber
(Integer splitNumber) withCategories
(String... categories) withItemGap
(Integer itemGap) withItemSymbol
(HasSymbols.SymbolType itemSymbol) withMaxOpen
(Boolean maxOpen) withMinOpen
(Boolean minOpen) withPieces
(PiecewiseVisualMap.Piece... pieces) withSelectedMode
(SelectedMode selectedMode) withShowLabel
(Boolean showLabel) withSplitNumber
(Integer splitNumber) Methods inherited from class io.jmix.chartsflowui.kit.component.model.visualMap.AbstractVisualMap
getAlign, getBackgroundColor, getBorderColor, getBorderWidth, getBottom, getController, getDimension, getFormatter, getFormatterFunction, getHoverLink, getId, getInRange, getInverse, getItemHeight, getItemWidth, getLeft, getMax, getMin, getOrientation, getOutOfRange, getPadding, getPrecision, getRight, getSeriesIndex, getShow, getText, getTextGap, getTextStyle, getTop, getType, getZ, getZLevel, setAlign, setBackgroundColor, setBorderColor, setBorderWidth, setBottom, setController, setDimension, setFormatter, setFormatterFunction, setFormatterFunction, setHoverLink, setId, setInRange, setInverse, setItemHeight, setItemWidth, setLeft, setMax, setMin, setOrientation, setOutOfRange, setPadding, setPadding, setPadding, setPrecision, setRight, setSeriesIndex, setShow, setText, setTextGap, setTextStyle, setTop, setZ, setZLevel, withAlign, withBackgroundColor, withBorderColor, withBorderWidth, withController, withDimension, withFormatter, withFormatterFunction, withFormatterFunction, withHoverLink, withId, withInRange, withInverse, withItemHeight, withItemWidth, withMax, withMin, withOrientation, withOutOfRange, withPrecision, withSeriesIndex, withShow, withText, withTextGap, withTextStyle, withZ, withZLevel
Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasPadding
withPadding, withPadding, withPadding
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.HasPosition
withBottom, withLeft, withRight, withTop
-
Field Details
-
splitNumber
-
pieces
-
categories
-
minOpen
-
maxOpen
-
selectedMode
-
showLabel
-
itemGap
-
itemSymbol
-
-
Constructor Details
-
PiecewiseVisualMap
public PiecewiseVisualMap()
-
-
Method Details
-
getSplitNumber
-
setSplitNumber
-
getPieces
-
setPieces
-
setPieces
-
removePiece
-
addPiece
-
getCategories
-
setCategories
-
getMinOpen
-
setMinOpen
-
getMaxOpen
-
setMaxOpen
-
getSelectedMode
-
getShowLabel
-
setShowLabel
-
getItemGap
-
setItemGap
-
getItemSymbol
-
withSplitNumber
-
withPieces
-
withPiece
-
withCategories
-
withMinOpen
-
withMaxOpen
-
withShowLabel
-
withItemGap
-