public abstract class RectangularChart<T extends RectangularChart> extends CoordinateChart<T> implements RectangularChartModel<T>
AbstractChart.DataProviderChangeListener
Constructor and Description |
---|
RectangularChart(ChartType type) |
Modifier and Type | Method and Description |
---|---|
T |
addTrendLines(TrendLine... trendLines)
Adds trend lines.
|
java.lang.Integer |
getAngle() |
java.lang.Integer |
getAutoMarginOffset() |
java.lang.Boolean |
getAutoMargins() |
Cursor |
getChartCursor() |
Scrollbar |
getChartScrollbar() |
java.lang.Integer |
getDepth3D() |
java.lang.Integer |
getMarginBottom() |
java.lang.Integer |
getMarginLeft() |
java.lang.Integer |
getMarginRight() |
java.lang.Boolean |
getMarginsUpdated() |
java.lang.Integer |
getMarginTop() |
java.lang.Integer |
getMaxZoomFactor() |
java.lang.Integer |
getMinMarginBottom() |
java.lang.Integer |
getMinMarginLeft() |
java.lang.Integer |
getMinMarginRight() |
java.lang.Integer |
getMinMarginTop() |
java.lang.Double |
getPlotAreaBorderAlpha() |
Color |
getPlotAreaBorderColor() |
java.lang.Double |
getPlotAreaFillAlphas() |
java.util.List<Color> |
getPlotAreaFillColors() |
java.lang.Integer |
getPlotAreaGradientAngle() |
java.util.List<TrendLine> |
getTrendLines() |
java.lang.Double |
getZoomOutButtonAlpha() |
Color |
getZoomOutButtonColor() |
java.lang.String |
getZoomOutButtonImage() |
java.lang.Integer |
getZoomOutButtonImageSize() |
java.lang.Integer |
getZoomOutButtonPadding() |
java.lang.Double |
getZoomOutButtonRollOverAlpha() |
java.lang.Integer |
getZoomOutButtonTabIndex() |
java.lang.String |
getZoomOutText() |
T |
setAngle(java.lang.Integer angle)
Sets the angle of the 3D part of plot area.
|
T |
setAutoMarginOffset(java.lang.Integer autoMarginOffset)
Sets space left from axis labels/title to the chart's outside border, if autoMargins set to true.
|
T |
setAutoMargins(java.lang.Boolean autoMargins)
Specifies if margins of a chart should be calculated automatically so that labels of axes would fit.
|
T |
setChartCursor(Cursor chartCursor)
Sets cursor of a chart.
|
T |
setChartScrollbar(Scrollbar chartScrollbar)
Sets chart scrollbar.
|
T |
setDepth3D(java.lang.Integer depth3D)
Sets the depth of the 3D part of plot area.
|
T |
setMarginBottom(java.lang.Integer marginBottom)
Sets bottom spacing between chart and container.
|
T |
setMarginLeft(java.lang.Integer marginLeft)
Sets left-hand spacing between chart and container.
|
T |
setMarginRight(java.lang.Integer marginRight)
Sets right-hand spacing between chart and container.
|
T |
setMarginsUpdated(java.lang.Boolean marginsUpdated)
Set to false if you need margins to be recalculated on next
validateNow() call.
|
T |
setMarginTop(java.lang.Integer marginTop)
Sets top spacing between chart and container.
|
T |
setMaxZoomFactor(java.lang.Integer maxZoomFactor)
Sets the maximum zoom factor value axes.
|
T |
setMinMarginBottom(java.lang.Integer minMarginBottom)
Sets the minimum margin bottom.
|
T |
setMinMarginLeft(java.lang.Integer minMarginLeft)
Sets the minimum margin left.
|
T |
setMinMarginRight(java.lang.Integer minMarginRight)
Sets the minimum margin right.
|
T |
setMinMarginTop(java.lang.Integer minMarginTop)
Sets the minimum margin top.
|
T |
setPlotAreaBorderAlpha(java.lang.Double plotAreaBorderAlpha)
Sets the opacity of plot area's border.
|
T |
setPlotAreaBorderColor(Color plotAreaBorderColor)
Sets the color of the plot area's border.
|
T |
setPlotAreaFillAlphas(java.lang.Double plotAreaFillAlphas)
Sets opacity of plot area.
|
T |
setPlotAreaFillColors(java.util.List<Color> plotAreaFillColors)
Sets the list of plot area colors.
|
T |
setPlotAreaGradientAngle(java.lang.Integer plotAreaGradientAngle)
Sets the gradient angle, if you are using gradients to fill the plot area.
|
T |
setTrendLines(java.util.List<TrendLine> trendLines)
Sets the list of trend lines.
|
T |
setZoomOutButtonAlpha(java.lang.Double zoomOutButtonAlpha)
Sets opacity of zoom-out button background.
|
T |
setZoomOutButtonColor(Color zoomOutButtonColor)
Sets zoom-out button background color.
|
T |
setZoomOutButtonImage(java.lang.String zoomOutButtonImage)
Sets the name of zoom-out button image.
|
T |
setZoomOutButtonImageSize(java.lang.Integer zoomOutButtonImageSize)
Sets the size of zoom-out button image.
|
T |
setZoomOutButtonPadding(java.lang.Integer zoomOutButtonPadding)
Sets padding around the text and image.
|
T |
setZoomOutButtonRollOverAlpha(java.lang.Double zoomOutButtonRollOverAlpha)
Sets opacity of zoom-out button background when mouse is over it.
|
T |
setZoomOutButtonTabIndex(java.lang.Integer zoomOutButtonTabIndex)
In case you set it to some number, the chart will set focus on zoom-out button when user clicks tab key.
|
T |
setZoomOutText(java.lang.String zoomOutText)
Sets text in the zoom-out button.
|
addColors, addGraphs, addGuides, addValueAxes, getColors, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getStartDuration, getStartEffect, getUrlTarget, getValueAxes, getWiredFields, setColors, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setStartDuration, setStartEffect, setUrlTarget, setValueAxes
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
addGraphs, addGuides, addValueAxes, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getUrlTarget, getValueAxes, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setUrlTarget, setValueAxes
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
getStartDuration, getStartEffect, setStartDuration, setStartEffect
public RectangularChart(ChartType type)
public Cursor getChartCursor()
getChartCursor
in interface RectangularChartModel<T extends RectangularChart>
public T setChartCursor(Cursor chartCursor)
RectangularChartModel
setChartCursor
in interface RectangularChartModel<T extends RectangularChart>
chartCursor
- the chart cursorpublic Scrollbar getChartScrollbar()
getChartScrollbar
in interface RectangularChartModel<T extends RectangularChart>
public T setChartScrollbar(Scrollbar chartScrollbar)
RectangularChartModel
setChartScrollbar
in interface RectangularChartModel<T extends RectangularChart>
chartScrollbar
- the chart scrollbarpublic java.util.List<TrendLine> getTrendLines()
getTrendLines
in interface RectangularChartModel<T extends RectangularChart>
public T setTrendLines(java.util.List<TrendLine> trendLines)
RectangularChartModel
setTrendLines
in interface RectangularChartModel<T extends RectangularChart>
trendLines
- list of trend linespublic T addTrendLines(TrendLine... trendLines)
RectangularChartModel
addTrendLines
in interface RectangularChartModel<T extends RectangularChart>
trendLines
- the trend linespublic java.lang.Integer getAngle()
getAngle
in interface RectangularChartModel<T extends RectangularChart>
public T setAngle(java.lang.Integer angle)
RectangularChartModel
setAngle
in interface RectangularChartModel<T extends RectangularChart>
angle
- the anglepublic java.lang.Integer getAutoMarginOffset()
getAutoMarginOffset
in interface RectangularChartModel<T extends RectangularChart>
public T setAutoMarginOffset(java.lang.Integer autoMarginOffset)
RectangularChartModel
setAutoMarginOffset
in interface RectangularChartModel<T extends RectangularChart>
autoMarginOffset
- the auto margin offsetpublic java.lang.Boolean getAutoMargins()
getAutoMargins
in interface RectangularChartModel<T extends RectangularChart>
public T setAutoMargins(java.lang.Boolean autoMargins)
RectangularChartModel
setAutoMargins
in interface RectangularChartModel<T extends RectangularChart>
autoMargins
- auto margins optionpublic java.lang.Integer getDepth3D()
getDepth3D
in interface RectangularChartModel<T extends RectangularChart>
public T setDepth3D(java.lang.Integer depth3D)
RectangularChartModel
setDepth3D
in interface RectangularChartModel<T extends RectangularChart>
depth3D
- the depth 3Dpublic java.lang.Integer getMarginBottom()
getMarginBottom
in interface HasMargins<T extends RectangularChart>
public T setMarginBottom(java.lang.Integer marginBottom)
HasMargins
setMarginBottom
in interface HasMargins<T extends RectangularChart>
marginBottom
- bottom spacingpublic java.lang.Integer getMarginLeft()
getMarginLeft
in interface HasMargins<T extends RectangularChart>
public T setMarginLeft(java.lang.Integer marginLeft)
HasMargins
SerialChart
or
XYCHart
and AbstractLegend.autoMargins
is true.setMarginLeft
in interface HasMargins<T extends RectangularChart>
marginLeft
- left-hand spacingpublic java.lang.Integer getMarginRight()
getMarginRight
in interface HasMargins<T extends RectangularChart>
public T setMarginRight(java.lang.Integer marginRight)
HasMargins
SerialChart
or
XYCHart
and autoMargins property of the legend is true.setMarginRight
in interface HasMargins<T extends RectangularChart>
marginRight
- right-hand spacingpublic java.lang.Integer getMarginTop()
getMarginTop
in interface HasMargins<T extends RectangularChart>
public T setMarginTop(java.lang.Integer marginTop)
HasMargins
setMarginTop
in interface HasMargins<T extends RectangularChart>
marginTop
- top spacingpublic java.lang.Boolean getMarginsUpdated()
getMarginsUpdated
in interface RectangularChartModel<T extends RectangularChart>
public T setMarginsUpdated(java.lang.Boolean marginsUpdated)
RectangularChartModel
setMarginsUpdated
in interface RectangularChartModel<T extends RectangularChart>
marginsUpdated
- the margin update optionpublic java.lang.Double getPlotAreaBorderAlpha()
getPlotAreaBorderAlpha
in interface RectangularChartModel<T extends RectangularChart>
public T setPlotAreaBorderAlpha(java.lang.Double plotAreaBorderAlpha)
RectangularChartModel
setPlotAreaBorderAlpha
in interface RectangularChartModel<T extends RectangularChart>
plotAreaBorderAlpha
- opacity of plot area's borderpublic Color getPlotAreaBorderColor()
getPlotAreaBorderColor
in interface RectangularChartModel<T extends RectangularChart>
public T setPlotAreaBorderColor(Color plotAreaBorderColor)
RectangularChartModel
setPlotAreaBorderColor
in interface RectangularChartModel<T extends RectangularChart>
plotAreaBorderColor
- the plot area border colorpublic java.lang.Double getPlotAreaFillAlphas()
getPlotAreaFillAlphas
in interface RectangularChartModel<T extends RectangularChart>
public T setPlotAreaFillAlphas(java.lang.Double plotAreaFillAlphas)
RectangularChartModel
setPlotAreaFillAlphas
in interface RectangularChartModel<T extends RectangularChart>
plotAreaFillAlphas
- opacitypublic java.util.List<Color> getPlotAreaFillColors()
getPlotAreaFillColors
in interface RectangularChartModel<T extends RectangularChart>
public T setPlotAreaFillColors(java.util.List<Color> plotAreaFillColors)
RectangularChartModel
setPlotAreaFillColors
in interface RectangularChartModel<T extends RectangularChart>
plotAreaFillColors
- list of plot area colorspublic java.lang.Integer getPlotAreaGradientAngle()
getPlotAreaGradientAngle
in interface RectangularChartModel<T extends RectangularChart>
public T setPlotAreaGradientAngle(java.lang.Integer plotAreaGradientAngle)
RectangularChartModel
setPlotAreaGradientAngle
in interface RectangularChartModel<T extends RectangularChart>
plotAreaGradientAngle
- the plot area gradient anglepublic java.lang.Double getZoomOutButtonAlpha()
getZoomOutButtonAlpha
in interface RectangularChartModel<T extends RectangularChart>
public T setZoomOutButtonAlpha(java.lang.Double zoomOutButtonAlpha)
RectangularChartModel
setZoomOutButtonAlpha
in interface RectangularChartModel<T extends RectangularChart>
zoomOutButtonAlpha
- opacity of zoom-out button backgroundpublic Color getZoomOutButtonColor()
getZoomOutButtonColor
in interface RectangularChartModel<T extends RectangularChart>
public T setZoomOutButtonColor(Color zoomOutButtonColor)
RectangularChartModel
setZoomOutButtonColor
in interface RectangularChartModel<T extends RectangularChart>
zoomOutButtonColor
- zoom-out button background colorpublic java.lang.String getZoomOutButtonImage()
getZoomOutButtonImage
in interface RectangularChartModel<T extends RectangularChart>
public T setZoomOutButtonImage(java.lang.String zoomOutButtonImage)
RectangularChartModel
setZoomOutButtonImage
in interface RectangularChartModel<T extends RectangularChart>
zoomOutButtonImage
- zoom out button image name stringpublic java.lang.Integer getZoomOutButtonImageSize()
getZoomOutButtonImageSize
in interface RectangularChartModel<T extends RectangularChart>
public T setZoomOutButtonImageSize(java.lang.Integer zoomOutButtonImageSize)
RectangularChartModel
setZoomOutButtonImageSize
in interface RectangularChartModel<T extends RectangularChart>
zoomOutButtonImageSize
- the zoom out button image sizepublic java.lang.Integer getZoomOutButtonPadding()
getZoomOutButtonPadding
in interface RectangularChartModel<T extends RectangularChart>
public T setZoomOutButtonPadding(java.lang.Integer zoomOutButtonPadding)
RectangularChartModel
setZoomOutButtonPadding
in interface RectangularChartModel<T extends RectangularChart>
zoomOutButtonPadding
- the zoom out button paddingpublic java.lang.Double getZoomOutButtonRollOverAlpha()
getZoomOutButtonRollOverAlpha
in interface RectangularChartModel<T extends RectangularChart>
public T setZoomOutButtonRollOverAlpha(java.lang.Double zoomOutButtonRollOverAlpha)
RectangularChartModel
setZoomOutButtonRollOverAlpha
in interface RectangularChartModel<T extends RectangularChart>
zoomOutButtonRollOverAlpha
- opacity of zoom-out button backgroundpublic java.lang.String getZoomOutText()
getZoomOutText
in interface RectangularChartModel<T extends RectangularChart>
public T setZoomOutText(java.lang.String zoomOutText)
RectangularChartModel
setZoomOutText
in interface RectangularChartModel<T extends RectangularChart>
zoomOutText
- zoom out text stringpublic java.lang.Integer getMaxZoomFactor()
getMaxZoomFactor
in interface RectangularChartModel<T extends RectangularChart>
public T setMaxZoomFactor(java.lang.Integer maxZoomFactor)
RectangularChartModel
setMaxZoomFactor
in interface RectangularChartModel<T extends RectangularChart>
maxZoomFactor
- maximum zoom factorpublic java.lang.Integer getMinMarginBottom()
getMinMarginBottom
in interface RectangularChartModel<T extends RectangularChart>
public T setMinMarginBottom(java.lang.Integer minMarginBottom)
RectangularChartModel
setMinMarginBottom
in interface RectangularChartModel<T extends RectangularChart>
minMarginBottom
- the minimum margin bottompublic java.lang.Integer getMinMarginLeft()
getMinMarginLeft
in interface RectangularChartModel<T extends RectangularChart>
public T setMinMarginLeft(java.lang.Integer minMarginLeft)
RectangularChartModel
setMinMarginLeft
in interface RectangularChartModel<T extends RectangularChart>
minMarginLeft
- the minimum margin leftpublic java.lang.Integer getMinMarginRight()
getMinMarginRight
in interface RectangularChartModel<T extends RectangularChart>
public T setMinMarginRight(java.lang.Integer minMarginRight)
RectangularChartModel
setMinMarginRight
in interface RectangularChartModel<T extends RectangularChart>
minMarginRight
- the minimum margin rightpublic java.lang.Integer getMinMarginTop()
getMinMarginTop
in interface RectangularChartModel<T extends RectangularChart>
public T setMinMarginTop(java.lang.Integer minMarginTop)
RectangularChartModel
setMinMarginTop
in interface RectangularChartModel<T extends RectangularChart>
minMarginTop
- the minimum margin toppublic java.lang.Integer getZoomOutButtonTabIndex()
getZoomOutButtonTabIndex
in interface RectangularChartModel<T extends RectangularChart>
public T setZoomOutButtonTabIndex(java.lang.Integer zoomOutButtonTabIndex)
RectangularChartModel
setZoomOutButtonTabIndex
in interface RectangularChartModel<T extends RectangularChart>
zoomOutButtonTabIndex
- the zoom out button tab index