Class RadarChartModelImpl
- All Implemented Interfaces:
HasStartEffect<RadarChartModelImpl>
,ChartModel<RadarChartModelImpl>
,CoordinateChartModel<RadarChartModelImpl>
,RadarChartModel<RadarChartModelImpl>
,HasColors<RadarChartModelImpl>
,HasMargins<RadarChartModelImpl>
,Serializable
http://docs.amcharts.com/3/javascriptcharts/AmRadarChart
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.charts.model.chart.impl.AbstractChart
AbstractChart.DataProviderChangeListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetCategoryField
(String categoryField) Sets field from your data provider containing categories.setMarginBottom
(Integer marginBottom) Sets bottom spacing.setMarginLeft
(Integer marginLeft) Sets left-hand spacing.setMarginRight
(Integer marginRight) Sets right-hand spacing.setMarginTop
(Integer marginTop) Sets top spacing.Sets radius of radar.Methods inherited from class io.jmix.charts.model.chart.impl.CoordinateChartModelImpl
addColors, addGraphs, addGuides, addValueAxes, getColors, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getStartDuration, getStartEffect, getUrlTarget, getValueAxes, setColors, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setStartDuration, setStartEffect, setUrlTarget, setValueAxes
Methods inherited from class io.jmix.charts.model.chart.impl.AbstractChart
addAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, fireDataProviderChanged, 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, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getType, getUsePrefixes, removeDataProviderSetListener, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, getDataProvider, 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, setDataProvider, 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.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
-
Constructor Details
-
RadarChartModelImpl
public RadarChartModelImpl()
-
-
Method Details
-
getCategoryField
- Specified by:
getCategoryField
in interfaceRadarChartModel<RadarChartModelImpl>
- Returns:
- category field
-
setCategoryField
Description copied from interface:RadarChartModel
Sets field from your data provider containing categories.- Specified by:
setCategoryField
in interfaceRadarChartModel<RadarChartModelImpl>
- Parameters:
categoryField
- category field string- Returns:
- radar chart model
-
getMarginBottom
- Specified by:
getMarginBottom
in interfaceHasMargins<RadarChartModelImpl>
- Returns:
- bottom spacing
-
setMarginBottom
Description copied from interface:HasMargins
Sets bottom spacing. If not set the default value is 10.If is used for
Legend
default value is 0.If is used for
RadarChartModelImpl
the 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
PanelsSettings
the default value is 0.- Specified by:
setMarginBottom
in interfaceHasMargins<RadarChartModelImpl>
- Parameters:
marginBottom
- bottom spacing- Returns:
- object with set bottom spacing
-
getMarginLeft
- Specified by:
getMarginLeft
in interfaceHasMargins<RadarChartModelImpl>
- Returns:
- left-hand spacing
-
setMarginLeft
Description copied from interface:HasMargins
Sets left-hand spacing.marginLeft will be ignored if chart is
SerialChart
orXYChartModelImpl
andAbstractLegend.autoMargins
is true.If is used for
Legend
the default value is 20.If is used for
RadarChartModelImpl
the 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
the default value is 0.If is used for
PanelsSettings
the default value is 0.- Specified by:
setMarginLeft
in interfaceHasMargins<RadarChartModelImpl>
- Parameters:
marginLeft
- left-hand spacing- Returns:
- object with set left-hand spacing
-
getMarginRight
- Specified by:
getMarginRight
in interfaceHasMargins<RadarChartModelImpl>
- Returns:
- right-hand spacing
-
setMarginRight
Description copied from interface:HasMargins
Sets right-hand spacing.marginRight will be ignored if chart is
SerialChart
orXYChartModelImpl
andAbstractLegend.autoMargins
is true.If is used for
Legend
the default value is 20.If is used for
RadarChartModelImpl
the 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
PanelsSettings
the default value is 0.- Specified by:
setMarginRight
in interfaceHasMargins<RadarChartModelImpl>
- Parameters:
marginRight
- right-hand spacing- Returns:
- object with set right-hand spacing
-
getMarginTop
- Specified by:
getMarginTop
in interfaceHasMargins<RadarChartModelImpl>
- Returns:
- top spacing
-
setMarginTop
Description copied from interface:HasMargins
Sets top spacing. If not set the default value is 10.If is used for
Legend
the default value is 0.If is used for
RadarChartModelImpl
the 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
the default value is 10.If is used for
PanelsSettings
the default value is 0.- Specified by:
setMarginTop
in interfaceHasMargins<RadarChartModelImpl>
- Parameters:
marginTop
- top spacing- Returns:
- object with set top spacing
-
getRadius
- Specified by:
getRadius
in interfaceRadarChartModel<RadarChartModelImpl>
- Returns:
- radius
-
setRadius
Description copied from interface:RadarChartModel
Sets radius of radar. If not set the default value is 35%.- Specified by:
setRadius
in interfaceRadarChartModel<RadarChartModelImpl>
- Parameters:
radius
- the radius- Returns:
- radar chart model
-
getWiredFields
- Overrides:
getWiredFields
in classCoordinateChartModelImpl<RadarChartModelImpl>
- Returns:
- fields of the
DataItem
that are bound to the chart
-