public class PanelsSettings extends AbstractChartObject implements HasMargins<PanelsSettings>, HasStartEffect<PanelsSettings>
Constructor and Description |
---|
PanelsSettings() |
Modifier and Type | Method and Description |
---|---|
PanelsSettings |
addPlotAreaFillColors(Color... plotAreaFillColors)
Adds colors.
|
java.lang.Integer |
getAngel() |
java.lang.Double |
getBackgroundAlpha() |
Color |
getBackgroundColor() |
java.lang.Integer |
getColumnSpacing() |
java.lang.Integer |
getColumnWidth() |
CreditsPosition |
getCreditsPosition() |
java.lang.String |
getDecimalSeparator() |
java.lang.Integer |
getDepth3D() |
java.lang.String |
getFontFamily() |
java.lang.Integer |
getFontSize() |
java.lang.Integer |
getMarginBottom() |
java.lang.Integer |
getMarginLeft() |
java.lang.Integer |
getMarginRight() |
java.lang.Integer |
getMarginTop() |
java.lang.Long |
getMaxSelectedTime() |
java.lang.Long |
getMinSelectedTime() |
java.lang.Integer |
getPanelSpacing() |
java.lang.Boolean |
getPanEventsEnabled() |
java.lang.Double |
getPercentPrecision() |
java.lang.Double |
getPlotAreaBorderAlpha() |
Color |
getPlotAreaBorderColor() |
java.lang.Double |
getPlotAreaFillAlphas() |
java.util.List<Color> |
getPlotAreaFillColors() |
java.lang.Double |
getPrecision() |
java.util.List<BigNumberPrefix> |
getPrefixesOfBigNumbers() |
java.util.List<SmallNumberPrefix> |
getPrefixesOfSmallNumbers() |
RecalculateToPercents |
getRecalculateToPercents() |
java.lang.Boolean |
getSequencedAnimation() |
java.lang.Double |
getStartAlpha() |
java.lang.Double |
getStartDuration() |
AnimationEffect |
getStartEffect() |
java.lang.String |
getThousandsSeparator() |
java.lang.Boolean |
getUsePrefixes() |
java.lang.Boolean |
getZoomOutAxes() |
PanelsSettings |
setAngel(java.lang.Integer angel)
Sets the angle of the 3D part of plot area.
|
PanelsSettings |
setBackgroundAlpha(java.lang.Double backgroundAlpha)
Sets opacity of panel background.
|
PanelsSettings |
setBackgroundColor(Color backgroundColor)
Sets background color of panels.
|
PanelsSettings |
setColumnSpacing(java.lang.Integer columnSpacing)
Sets the gap in pixels between two columns of the same category.
|
PanelsSettings |
setColumnWidth(java.lang.Integer columnWidth)
Sets relative width of columns.
|
PanelsSettings |
setCreditsPosition(CreditsPosition creditsPosition)
Sets position of amCharts link (free version only).
|
PanelsSettings |
setDecimalSeparator(java.lang.String decimalSeparator)
Sets separator of decimal values.
|
PanelsSettings |
setDepth3D(java.lang.Integer depth3D)
Sets the depth of the 3D part of plot area.
|
PanelsSettings |
setFontFamily(java.lang.String fontFamily)
Sets font family.
|
PanelsSettings |
setFontSize(java.lang.Integer fontSize)
Sets font size.
|
PanelsSettings |
setMarginBottom(java.lang.Integer marginBottom)
Sets bottom spacing between chart and container.
|
PanelsSettings |
setMarginLeft(java.lang.Integer marginLeft)
Sets left-hand spacing between chart and container.
|
PanelsSettings |
setMarginRight(java.lang.Integer marginRight)
Sets right-hand spacing between chart and container.
|
PanelsSettings |
setMarginTop(java.lang.Integer marginTop)
Sets top spacing between chart and container.
|
PanelsSettings |
setMaxSelectedTime(java.lang.Long maxSelectedTime)
Sets the longest time span allowed to select (in milliseconds).
|
PanelsSettings |
setMinSelectedTime(java.lang.Long minSelectedTime)
Sets the shortest time span allowed to select (in milliseconds).
|
PanelsSettings |
setPanelSpacing(java.lang.Integer panelSpacing)
Sets gap between panels.
|
PanelsSettings |
setPanEventsEnabled(java.lang.Boolean panEventsEnabled)
This setting affects touch-screen devices only.
|
PanelsSettings |
setPercentPrecision(java.lang.Double percentPrecision)
Sets precision of percent values.
|
PanelsSettings |
setPlotAreaBorderAlpha(java.lang.Double plotAreaBorderAlpha)
Sets the opacity of plot area's border.
|
PanelsSettings |
setPlotAreaBorderColor(Color plotAreaBorderColor)
Sets the color of the plot area's border.
|
PanelsSettings |
setPlotAreaFillAlphas(java.lang.Double plotAreaFillAlphas)
Sets opacity of plot area fill.
|
PanelsSettings |
setPlotAreaFillColors(java.util.List<Color> plotAreaFillColors)
Sets list of the colors used to tint the background gradient fill of the plot area.
|
PanelsSettings |
setPrecision(java.lang.Double precision)
Sets precision of values.
|
PanelsSettings |
setPrefixesOfBigNumbers(java.util.List<BigNumberPrefix> prefixesOfBigNumbers)
Sets list of big number prefixes.
|
PanelsSettings |
setPrefixesOfSmallNumbers(java.util.List<SmallNumberPrefix> prefixesOfSmallNumbers)
Sets prefixes which are used to make small numbers shorter: 2μ instead of 0.000002, etc.
|
PanelsSettings |
setRecalculateToPercents(RecalculateToPercents recalculateToPercents)
Specifies when values should be recalculated to percents.
|
PanelsSettings |
setSequencedAnimation(java.lang.Boolean sequencedAnimation)
Set sequencedAnimation to true if in the animation all objects should appear at once.
|
PanelsSettings |
setStartAlpha(java.lang.Double startAlpha)
Sets the initial opacity of the column/line.
|
PanelsSettings |
setStartDuration(java.lang.Double startDuration)
Sets duration of the animation, in seconds
|
PanelsSettings |
setStartEffect(AnimationEffect startEffect)
Sets animation effect.
|
PanelsSettings |
setThousandsSeparator(java.lang.String thousandsSeparator)
Sets separator of thousand values.
|
PanelsSettings |
setUsePrefixes(java.lang.Boolean usePrefixes)
Set usePrefixes to true if prefixes should be used for big and small numbers.
|
PanelsSettings |
setZoomOutAxes(java.lang.Boolean zoomOutAxes)
Set zoomOutAxes to false if zoomed-in value axes shouldn't be zoomed-out when user changes selected period with
PeriodSelector . |
public java.lang.Integer getAngel()
public PanelsSettings setAngel(java.lang.Integer angel)
angel
- anglepublic java.lang.Double getBackgroundAlpha()
public PanelsSettings setBackgroundAlpha(java.lang.Double backgroundAlpha)
backgroundAlpha
- opacitypublic Color getBackgroundColor()
public PanelsSettings setBackgroundColor(Color backgroundColor)
backgroundColor
- colorpublic java.lang.Integer getColumnSpacing()
public PanelsSettings setColumnSpacing(java.lang.Integer columnSpacing)
columnSpacing
- column spacingpublic java.lang.Integer getColumnWidth()
public PanelsSettings setColumnWidth(java.lang.Integer columnWidth)
columnWidth
- column relative widthpublic CreditsPosition getCreditsPosition()
public PanelsSettings setCreditsPosition(CreditsPosition creditsPosition)
creditsPosition
- credits positionpublic java.lang.String getDecimalSeparator()
public PanelsSettings setDecimalSeparator(java.lang.String decimalSeparator)
decimalSeparator
- decimal separatorpublic java.lang.Integer getDepth3D()
public PanelsSettings setDepth3D(java.lang.Integer depth3D)
depth3D
- depth 3Dpublic java.lang.String getFontFamily()
public PanelsSettings setFontFamily(java.lang.String fontFamily)
fontFamily
- font familypublic java.lang.Integer getFontSize()
public PanelsSettings setFontSize(java.lang.Integer fontSize)
fontSize
- font sizepublic java.lang.Integer getMarginBottom()
getMarginBottom
in interface HasMargins<PanelsSettings>
public PanelsSettings setMarginBottom(java.lang.Integer marginBottom)
HasMargins
setMarginBottom
in interface HasMargins<PanelsSettings>
marginBottom
- bottom spacingpublic java.lang.Integer getMarginLeft()
getMarginLeft
in interface HasMargins<PanelsSettings>
public PanelsSettings setMarginLeft(java.lang.Integer marginLeft)
HasMargins
SerialChart
or
XYCHart
and AbstractLegend.autoMargins
is true.setMarginLeft
in interface HasMargins<PanelsSettings>
marginLeft
- left-hand spacingpublic java.lang.Integer getMarginRight()
getMarginRight
in interface HasMargins<PanelsSettings>
public PanelsSettings setMarginRight(java.lang.Integer marginRight)
HasMargins
SerialChart
or
XYCHart
and autoMargins property of the legend is true.setMarginRight
in interface HasMargins<PanelsSettings>
marginRight
- right-hand spacingpublic java.lang.Integer getMarginTop()
getMarginTop
in interface HasMargins<PanelsSettings>
public PanelsSettings setMarginTop(java.lang.Integer marginTop)
HasMargins
setMarginTop
in interface HasMargins<PanelsSettings>
marginTop
- top spacingpublic java.lang.Long getMaxSelectedTime()
public PanelsSettings setMaxSelectedTime(java.lang.Long maxSelectedTime)
CategoryAxesSettings.equalSpacing
is set to false.maxSelectedTime
- maximum selected timepublic java.lang.Long getMinSelectedTime()
public PanelsSettings setMinSelectedTime(java.lang.Long minSelectedTime)
CategoryAxesSettings.equalSpacing
is set to false.minSelectedTime
- minimum selected timepublic java.lang.Integer getPanelSpacing()
public PanelsSettings setPanelSpacing(java.lang.Integer panelSpacing)
panelSpacing
- panel spacingpublic java.lang.Boolean getPanEventsEnabled()
public PanelsSettings setPanEventsEnabled(java.lang.Boolean panEventsEnabled)
panEventsEnabled
- panEventsEnabled optionpublic java.lang.Double getPercentPrecision()
public PanelsSettings setPercentPrecision(java.lang.Double percentPrecision)
percentPrecision
- percent precisionpublic java.lang.Double getPlotAreaBorderAlpha()
public PanelsSettings setPlotAreaBorderAlpha(java.lang.Double plotAreaBorderAlpha)
plotAreaBorderAlpha
- opacitypublic Color getPlotAreaBorderColor()
public PanelsSettings setPlotAreaBorderColor(Color plotAreaBorderColor)
plotAreaBorderColor
- colorpublic java.lang.Double getPlotAreaFillAlphas()
public PanelsSettings setPlotAreaFillAlphas(java.lang.Double plotAreaFillAlphas)
plotAreaFillAlphas
- opacitypublic java.util.List<Color> getPlotAreaFillColors()
public PanelsSettings setPlotAreaFillColors(java.util.List<Color> plotAreaFillColors)
plotAreaFillColors
- list of colorspublic PanelsSettings addPlotAreaFillColors(Color... plotAreaFillColors)
plotAreaFillColors
- colorspublic java.lang.Double getPrecision()
public PanelsSettings setPrecision(java.lang.Double precision)
precision
- precisionpublic java.util.List<BigNumberPrefix> getPrefixesOfBigNumbers()
public PanelsSettings setPrefixesOfBigNumbers(java.util.List<BigNumberPrefix> prefixesOfBigNumbers)
prefixesOfBigNumbers
- list of big number prefixespublic java.util.List<SmallNumberPrefix> getPrefixesOfSmallNumbers()
public PanelsSettings setPrefixesOfSmallNumbers(java.util.List<SmallNumberPrefix> prefixesOfSmallNumbers)
prefixesOfSmallNumbers
- list of small number prefixespublic RecalculateToPercents getRecalculateToPercents()
public PanelsSettings setRecalculateToPercents(RecalculateToPercents recalculateToPercents)
recalculateToPercents
- recalculate to percentspublic java.lang.Boolean getSequencedAnimation()
public PanelsSettings setSequencedAnimation(java.lang.Boolean sequencedAnimation)
sequencedAnimation
- sequencedAnimation optionpublic java.lang.Double getStartAlpha()
public PanelsSettings setStartAlpha(java.lang.Double startAlpha)
startAlpha
- initial opacitypublic java.lang.Double getStartDuration()
getStartDuration
in interface HasStartEffect<PanelsSettings>
public PanelsSettings setStartDuration(java.lang.Double startDuration)
HasStartEffect
setStartDuration
in interface HasStartEffect<PanelsSettings>
startDuration
- the start durationpublic AnimationEffect getStartEffect()
getStartEffect
in interface HasStartEffect<PanelsSettings>
public PanelsSettings setStartEffect(AnimationEffect startEffect)
HasStartEffect
AngularGaugeChart
animation effect will be
applied for the arrow.setStartEffect
in interface HasStartEffect<PanelsSettings>
startEffect
- the start effectpublic java.lang.String getThousandsSeparator()
public PanelsSettings setThousandsSeparator(java.lang.String thousandsSeparator)
thousandsSeparator
- thousands separatorpublic java.lang.Boolean getUsePrefixes()
public PanelsSettings setUsePrefixes(java.lang.Boolean usePrefixes)
usePrefixes
- usePrefixes optionpublic java.lang.Boolean getZoomOutAxes()
public PanelsSettings setZoomOutAxes(java.lang.Boolean zoomOutAxes)
PeriodSelector
.zoomOutAxes
- zoomOutAxes option