Package io.jmix.charts.model.chart
Interface CoordinateChartModel<T extends CoordinateChartModel>
- All Superinterfaces:
- ChartModel<T>,- HasColors<T>,- HasStartEffect<T>
- All Known Subinterfaces:
- CoordinateChart<T>,- GanttChart,- GanttChartModel<T>,- RadarChart,- RadarChartModel<T>,- RectangularChart<T>,- RectangularChartModel<T>,- SerialChart,- SeriesBasedChart<T>,- SeriesBasedChartModel<T>,- XYChart,- XYChartModel<T>
- All Known Implementing Classes:
- AbstractSerialChart,- CoordinateChartImpl,- CoordinateChartModelImpl,- GanttChartImpl,- GanttChartModelImpl,- RadarChartImpl,- RadarChartModelImpl,- RectangularChartImpl,- RectangularChartModelImpl,- SerialChartImpl,- SerialChartModelImpl,- SeriesBasedChartImpl,- StockPanel,- XYChartImpl,- XYChartModelImpl
public interface CoordinateChartModel<T extends CoordinateChartModel>
extends ChartModel<T>, HasStartEffect<T>, HasColors<T>
- 
Method SummaryModifier and TypeMethodDescriptionAdds graphs to the chart.Adds guides.addValueAxes(ValueAxis... valueAxes) Adds ValueAxes.Sets the list of graphs belonging to this chart.setGridAboveGraphs(Boolean gridAboveGraphs) Set grid above graphs to true if grid should be drawn above the graphs or below.Sets list of guides.setSequencedAnimation(Boolean sequencedAnimation) Specifies whether the animation should be sequenced or all objects should appear at once.setStartAlpha(Double startAlpha) Sets the initial opacity of the column/line.setUrlTarget(String urlTarget) Sets target of URL.setValueAxes(List<ValueAxis> valueAxes) Sets list of ValueAxis.Methods inherited from interface io.jmix.charts.model.chart.ChartModeladdAdditionalFields, 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, setUsePrefixesMethods inherited from interface io.jmix.charts.model.animation.HasStartEffectgetStartDuration, getStartEffect, setStartDuration, setStartEffect
- 
Method Details- 
getGraphs- Returns:
- list of graphs
 
- 
setGraphsSets the list of graphs belonging to this chart.- Parameters:
- graphs- list of graphs
- Returns:
- coordinate chart model
 
- 
addGraphsAdds graphs to the chart.- Parameters:
- graphs- graphs
- Returns:
- coordinate chart model
 
- 
getValueAxes- Returns:
- list of ValueAxis
 
- 
setValueAxes@StudioElementsGroup(caption="Value Axes", xmlElement="valueAxes", elementXmlName="axis") T setValueAxes(List<ValueAxis> valueAxes) Sets list of ValueAxis. Chart creates one value axis automatically.- Parameters:
- valueAxes- list of ValueAxis
- Returns:
- coordinate chart model
 
- 
addValueAxesAdds ValueAxes.- Parameters:
- valueAxes- the value axes
- Returns:
- coordinate chart model
 
- 
getGuides- Returns:
- list of guides
 
- 
setGuidesSets list of guides. Instead of adding guides to the axes, you can push all of them to this list. In case guide has category or date defined, it will automatically will be assigned to the category axis. Otherwise to first value axis, unless you specify a different valueAxis for the guide.- Parameters:
- guides- list of guides
- Returns:
- coordinate chart model
 
- 
addGuidesAdds guides.- Parameters:
- guides- the guides
- Returns:
- coordinate chart model
 
- 
getGridAboveGraphsBoolean getGridAboveGraphs()- Returns:
- true if grid should be drawn above the graphs or below
 
- 
setGridAboveGraphsSet grid above graphs to true if grid should be drawn above the graphs or below. Will not work properly with 3D charts. If not set the default value is false.- Parameters:
- gridAboveGraphs- grid above graphs option
- Returns:
- coordinate chart model
 
- 
getSequencedAnimationBoolean getSequencedAnimation()- Returns:
- true if the animation should be sequenced, false if all objects should appear at once
 
- 
setSequencedAnimationSpecifies whether the animation should be sequenced or all objects should appear at once. If not set the default value is true.- Parameters:
- sequencedAnimation- sequenced animation option
- Returns:
- coordinate chart model
 
- 
getStartAlphaDouble getStartAlpha()- Returns:
- initial opacity of the column/line
 
- 
setStartAlphaSets the initial opacity of the column/line. If you set startDuration to a value higher than 0, the columns/lines will fade in from startAlpha. Value range is 0 - 1. If not set the default value is 1.- Parameters:
- startAlpha- - the start alpha
- Returns:
- coordinate chart model
 
- 
getUrlTargetString getUrlTarget()- Returns:
- target of URL
 
- 
setUrlTarget@StudioProperty(type=OPTIONS, options={"_blank","_parent","_self","_top"}, defaultValue="_self") T setUrlTarget(String urlTarget) Sets target of URL. If not set the default value is "_self".- Parameters:
- urlTarget- the URL target string
- Returns:
- coordinate chart model
 
 
-