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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classA 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.AbstractVisualMapAbstractVisualMap.MapAlign, AbstractVisualMap.VisualMapControllerNested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectChartObservableObject.ObjectChangeEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected String[]protected Integerprotected HasSymbols.SymbolTypeprotected Booleanprotected Booleanprotected List<PiecewiseVisualMap.Piece>protected SelectedModeprotected Booleanprotected IntegerFields inherited from class io.jmix.chartsflowui.kit.component.model.visualMap.AbstractVisualMapalign, 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, zLevelFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectchildren, dirty, listener
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPiece(PiecewiseVisualMap.Piece piece) String[]voidvoidsetCategories(String... categories) voidsetItemGap(Integer itemGap) voidsetItemSymbol(HasSymbols.SymbolType itemSymbol) voidsetMaxOpen(Boolean maxOpen) voidsetMinOpen(Boolean minOpen) voidsetPieces(PiecewiseVisualMap.Piece... pieces) voidsetPieces(List<PiecewiseVisualMap.Piece> pieces) voidsetSelectedMode(SelectedMode selectedMode) voidsetShowLabel(Boolean showLabel) voidsetSplitNumber(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.AbstractVisualMapgetAlign, 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, withZLevelMethods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectaddChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepthMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasPaddingwithPadding, withPadding, withPaddingMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasPositionwithBottom, withLeft, withRight, withTop
- 
Field Details- 
splitNumber
- 
pieces
- 
categories
- 
minOpen
- 
maxOpen
- 
selectedMode
- 
showLabel
- 
itemGap
- 
itemSymbol
 
- 
- 
Constructor Details- 
PiecewiseVisualMappublic 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
 
-