public abstract class CoordinateChart<T extends CoordinateChart> extends AbstractChart<T> implements CoordinateChartModel<T>
AbstractChart.DataProviderChangeListener
Constructor and Description |
---|
CoordinateChart(ChartType type) |
Modifier and Type | Method and Description |
---|---|
T |
addColors(Color... colors)
Adds colors.
|
T |
addGraphs(Graph... graphs)
Adds graphs to the chart.
|
T |
addGuides(Guide... guides)
Adds guides.
|
T |
addValueAxes(ValueAxis... valueAxes)
Adds ValueAxes.
|
java.util.List<Color> |
getColors() |
java.util.List<Graph> |
getGraphs() |
java.lang.Boolean |
getGridAboveGraphs() |
java.util.List<Guide> |
getGuides() |
java.lang.Boolean |
getSequencedAnimation() |
java.lang.Double |
getStartAlpha() |
java.lang.Double |
getStartDuration() |
AnimationEffect |
getStartEffect() |
java.lang.String |
getUrlTarget() |
java.util.List<ValueAxis> |
getValueAxes() |
java.util.List<java.lang.String> |
getWiredFields() |
T |
setColors(java.util.List<Color> colors)
Sets the list of colors.
|
T |
setGraphs(java.util.List<Graph> graphs)
Sets the list of graphs belonging to this chart.
|
T |
setGridAboveGraphs(java.lang.Boolean gridAboveGraphs)
Set grid above graphs to true if grid should be drawn above the graphs or below.
|
T |
setGuides(java.util.List<Guide> guides)
Sets list of guides.
|
T |
setSequencedAnimation(java.lang.Boolean sequencedAnimation)
Specifies whether the animation should be sequenced or all objects should appear at once.
|
T |
setStartAlpha(java.lang.Double startAlpha)
Sets the initial opacity of the column/line.
|
T |
setStartDuration(java.lang.Double startDuration)
Sets duration of the animation, in seconds
|
T |
setStartEffect(AnimationEffect startEffect)
Sets animation effect.
|
T |
setUrlTarget(java.lang.String urlTarget)
Sets target of URL.
|
T |
setValueAxes(java.util.List<ValueAxis> valueAxes)
Sets list of ValueAxis.
|
addAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, 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, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, 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, 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
public CoordinateChart(ChartType type)
public java.util.List<Color> getColors()
getColors
in interface HasColors<T extends CoordinateChart>
public T setColors(java.util.List<Color> colors)
HasColors
If you use charts based on SlicedChart
it specifies the colors of the slices, if the slice color is not set.
If there are more slices than colors in this array, the chart picks random color.
If you use charts based on CoordinateChart
it specifies the colors of the graphs if the lineColor of a graph is not set.
If there are more graphs then colors in this array, the chart picks a random color.
setColors
in interface HasColors<T extends CoordinateChart>
colors
- - list of colorspublic T addColors(Color... colors)
HasColors
addColors
in interface HasColors<T extends CoordinateChart>
colors
- - list of colorspublic java.util.List<Graph> getGraphs()
getGraphs
in interface CoordinateChartModel<T extends CoordinateChart>
public T setGraphs(java.util.List<Graph> graphs)
CoordinateChartModel
setGraphs
in interface CoordinateChartModel<T extends CoordinateChart>
graphs
- list of graphspublic T addGraphs(Graph... graphs)
CoordinateChartModel
addGraphs
in interface CoordinateChartModel<T extends CoordinateChart>
graphs
- graphspublic AnimationEffect getStartEffect()
getStartEffect
in interface HasStartEffect<T extends CoordinateChart>
public T setStartEffect(AnimationEffect startEffect)
HasStartEffect
AngularGaugeChart
animation effect will be
applied for the arrow.setStartEffect
in interface HasStartEffect<T extends CoordinateChart>
startEffect
- the start effectpublic java.lang.Double getStartDuration()
getStartDuration
in interface HasStartEffect<T extends CoordinateChart>
public T setStartDuration(java.lang.Double startDuration)
HasStartEffect
setStartDuration
in interface HasStartEffect<T extends CoordinateChart>
startDuration
- the start durationpublic java.util.List<ValueAxis> getValueAxes()
getValueAxes
in interface CoordinateChartModel<T extends CoordinateChart>
public T setValueAxes(java.util.List<ValueAxis> valueAxes)
CoordinateChartModel
setValueAxes
in interface CoordinateChartModel<T extends CoordinateChart>
valueAxes
- list of ValueAxispublic T addValueAxes(ValueAxis... valueAxes)
CoordinateChartModel
addValueAxes
in interface CoordinateChartModel<T extends CoordinateChart>
valueAxes
- the value axespublic java.util.List<Guide> getGuides()
getGuides
in interface CoordinateChartModel<T extends CoordinateChart>
public T setGuides(java.util.List<Guide> guides)
CoordinateChartModel
setGuides
in interface CoordinateChartModel<T extends CoordinateChart>
guides
- list of guidespublic T addGuides(Guide... guides)
CoordinateChartModel
addGuides
in interface CoordinateChartModel<T extends CoordinateChart>
guides
- the guidespublic java.lang.Boolean getGridAboveGraphs()
getGridAboveGraphs
in interface CoordinateChartModel<T extends CoordinateChart>
public T setGridAboveGraphs(java.lang.Boolean gridAboveGraphs)
CoordinateChartModel
setGridAboveGraphs
in interface CoordinateChartModel<T extends CoordinateChart>
gridAboveGraphs
- grid above graphs optionpublic java.lang.Boolean getSequencedAnimation()
getSequencedAnimation
in interface CoordinateChartModel<T extends CoordinateChart>
public T setSequencedAnimation(java.lang.Boolean sequencedAnimation)
CoordinateChartModel
setSequencedAnimation
in interface CoordinateChartModel<T extends CoordinateChart>
sequencedAnimation
- sequenced animation optionpublic java.lang.Double getStartAlpha()
getStartAlpha
in interface CoordinateChartModel<T extends CoordinateChart>
public T setStartAlpha(java.lang.Double startAlpha)
CoordinateChartModel
setStartAlpha
in interface CoordinateChartModel<T extends CoordinateChart>
startAlpha
- - the start alphapublic java.lang.String getUrlTarget()
getUrlTarget
in interface CoordinateChartModel<T extends CoordinateChart>
public T setUrlTarget(java.lang.String urlTarget)
CoordinateChartModel
setUrlTarget
in interface CoordinateChartModel<T extends CoordinateChart>
urlTarget
- the URL target stringpublic java.util.List<java.lang.String> getWiredFields()
getWiredFields
in class AbstractChart<T extends CoordinateChart>
DataItem
that are bound to the chart