public class StockGraph extends AbstractGraph<StockGraph>
StockPanel
.
Constructor and Description |
---|
StockGraph() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getComparable() |
java.lang.String |
getCompareField() |
java.lang.Boolean |
getCompareFromStart() |
Graph |
getCompareGraph() |
Color |
getCompareGraphBalloonColor() |
JsFunction |
getCompareGraphBalloonFunction() |
java.lang.String |
getCompareGraphBalloonText() |
java.lang.String |
getCompareGraphBullet() |
java.lang.Double |
getCompareGraphBulletBorderAlpha() |
Color |
getCompareGraphBulletBorderColor() |
java.lang.Integer |
getCompareGraphBulletBorderThickness() |
Color |
getCompareGraphBulletColor() |
java.lang.Integer |
getCompareGraphBulletSize() |
java.lang.Integer |
getCompareGraphCornerRadiusTop() |
java.lang.Integer |
getCompareGraphDashLength() |
java.lang.Double |
getCompareGraphFillAlphas() |
java.util.List<Color> |
getCompareGraphFillColors() |
java.lang.Double |
getCompareGraphLineAlpha() |
Color |
getCompareGraphLineColor() |
java.lang.Integer |
getCompareGraphLineThickness() |
GraphType |
getCompareGraphType() |
java.lang.Boolean |
getCompareGraphVisibleInLegend() |
StockGraphValue |
getPeriodValue() |
StockGraphValue |
getRecalculateValue() |
java.lang.Boolean |
getShowEventsOnComparedGraphs() |
java.lang.Boolean |
getUseDataSetColors() |
java.util.List<java.lang.String> |
getWiredFields() |
StockGraph |
setComparable(java.lang.Boolean comparable)
Sets comparable to true if this graph should be compared if some data set is selected for comparing.
|
StockGraph |
setCompareField(java.lang.String compareField)
Sets the field to be used to generate comparing the graph.
|
StockGraph |
setCompareFromStart(java.lang.Boolean compareFromStart)
Set compareFromStart to true if the graphs should use first value as a base value instead of using the first
value of selected period when data sets are compared.
|
StockGraph |
setCompareGraph(Graph compareGraph)
Sets config of compared graphs.
|
StockGraph |
setCompareGraphBalloonColor(Color compareGraphBalloonColor)
Sets balloon color of comparing graph.
|
StockGraph |
setCompareGraphBalloonFunction(JsFunction compareGraphBalloonFunction)
Sets JS function.
|
StockGraph |
setCompareGraphBalloonText(java.lang.String compareGraphBalloonText)
Sets balloon text of comparing graph.
|
StockGraph |
setCompareGraphBullet(java.lang.String compareGraphBullet)
Sets bullet of comparing graph.
|
StockGraph |
setCompareGraphBulletBorderAlpha(java.lang.Double compareGraphBulletBorderAlpha)
Sets opacity of bullet border of comparing graph.
|
StockGraph |
setCompareGraphBulletBorderColor(Color compareGraphBulletBorderColor)
Sets color of bullet border of comparing graph.
|
StockGraph |
setCompareGraphBulletBorderThickness(java.lang.Integer compareGraphBulletBorderThickness)
Sets thickness of bullet border of comparing graph.
|
StockGraph |
setCompareGraphBulletColor(Color compareGraphBulletColor)
Sets color of compared graphs bullets.
|
StockGraph |
setCompareGraphBulletSize(java.lang.Integer compareGraphBulletSize)
Sets bullet size of comparing graph.
|
StockGraph |
setCompareGraphCornerRadiusTop(java.lang.Integer compareGraphCornerRadiusTop)
Sets corner radius of comparing graph (if type is "column").
|
StockGraph |
setCompareGraphDashLength(java.lang.Integer compareGraphDashLength)
Sets dash length of compare graph.
|
StockGraph |
setCompareGraphFillAlphas(java.lang.Double compareGraphFillAlphas)
Sets fill alpha of comparing graph.
|
StockGraph |
setCompareGraphFillColors(java.util.List<Color> compareGraphFillColors)
Sets list of fill colors of comparing graph.
|
StockGraph |
setCompareGraphLineAlpha(java.lang.Double compareGraphLineAlpha)
Sets opacity of comparing graph line.
|
StockGraph |
setCompareGraphLineColor(Color compareGraphLineColor)
Sets color of compare graph (by default data set color is used).
|
StockGraph |
setCompareGraphLineThickness(java.lang.Integer compareGraphLineThickness)
Sets thickness of compare graph.
|
StockGraph |
setCompareGraphType(GraphType compareGraphType)
Sets type of comparing graph.
|
StockGraph |
setCompareGraphVisibleInLegend(java.lang.Boolean compareGraphVisibleInLegend)
Set compareGraphVisibleInLegend to false if compare graph shouldn't be visible in legend.
|
StockGraph |
setPeriodValue(StockGraphValue periodValue)
Sets period value.
|
StockGraph |
setRecalculateValue(StockGraphValue recalculateValue)
Sets recalculate value.
|
StockGraph |
setShowEventsOnComparedGraphs(java.lang.Boolean showEventsOnComparedGraphs)
Set showEventsOnComparedGraphs to true if events of compared graphs should be shown.
|
StockGraph |
setUseDataSetColors(java.lang.Boolean useDataSetColors)
Specifies whether data set color should be used as this graph's lineColor.
|
getAccessibleLabel, getAlphaField, getAnimationPlayed, getBalloon, getBalloonColor, getBalloonFunction, getBalloonText, getBehindColumns, getBullet, getBulletAlpha, getBulletAxis, getBulletBorderAlpha, getBulletBorderColor, getBulletBorderThickness, getBulletColor, getBulletField, getBulletHitAreaSize, getBulletOffset, getBulletSize, getBulletSizeField, getClassNameField, getCloseField, getClustered, getColor, getColorField, getColumnIndexField, getColumnWidth, getConnect, getCornerRadiusTop, getCursorBulletAlpha, getCustomBullet, getCustomBulletField, getCustomMarker, getDashLength, getDashLengthField, getDateFormat, getDescriptionField, getErrorField, getFillAlphas, getFillColors, getFillColorsField, getFillToAxis, getFillToGraph, getFixedColumnWidth, getFontSize, getForceGap, getGapField, getGapPeriod, getGradientOrientation, getHidden, getHideBulletsCount, getHighField, getId, getIncludeInMinMax, getLabelAnchor, getLabelColorField, getLabelFunction, getLabelOffset, getLabelPosition, getLabelRotation, getLabelText, getLegendAlpha, getLegendColor, getLegendColorFunction, getLegendPeriodValueText, getLegendValueText, getLineAlpha, getLineColor, getLineColorField, getLineThickness, getLowField, getMarkerType, getMaxBulletSize, getMinBulletSize, getMinDistance, getNegativeBase, getNegativeFillAlphas, getNegativeFillColors, getNegativeLineAlpha, getNegativeLineColor, getNewStack, getNoStepRisers, getOpenField, getPattern, getPatternField, getPeriodSpan, getPointPosition, getPrecision, getProCandlesticks, getShowAllValueLabels, getShowBalloon, getShowBalloonAt, getShowBulletsAt, getShowHandOnHover, getShowOnAxis, getStackable, getStepDirection, getSwitchable, getTabIndex, getTitle, getTopRadius, getType, getUrlField, getUrlTarget, getUseLineColorForBulletBorder, getUseNegativeColorIfDown, getValueAxis, getValueField, getVisibleInLegend, getXAxis, getXField, getYAxis, getYField, setAccessibleLabel, setAlphaField, setAnimationPlayed, setBalloon, setBalloonColor, setBalloonFunction, setBalloonText, setBehindColumns, setBullet, setBulletAlpha, setBulletAxis, setBulletBorderAlpha, setBulletBorderColor, setBulletBorderThickness, setBulletColor, setBulletField, setBulletHitAreaSize, setBulletOffset, setBulletSize, setBulletSizeField, setClassNameField, setCloseField, setClustered, setColor, setColorField, setColumnIndexField, setColumnWidth, setConnect, setCornerRadiusTop, setCursorBulletAlpha, setCustomBullet, setCustomBulletField, setCustomMarker, setDashLength, setDashLengthField, setDateFormat, setDescriptionField, setErrorField, setFillAlphas, setFillColors, setFillColorsField, setFillToAxis, setFillToGraph, setFixedColumnWidth, setFontSize, setForceGap, setGapField, setGapPeriod, setGradientOrientation, setHidden, setHideBulletsCount, setHighField, setId, setIncludeInMinMax, setLabelAnchor, setLabelColorField, setLabelFunction, setLabelOffset, setLabelPosition, setLabelRotation, setLabelText, setLegendAlpha, setLegendColor, setLegendColorFunction, setLegendPeriodValueText, setLegendValueText, setLineAlpha, setLineColor, setLineColorField, setLineThickness, setLowField, setMarkerType, setMaxBulletSize, setMinBulletSize, setMinDistance, setNegativeBase, setNegativeFillAlphas, setNegativeFillColors, setNegativeLineAlpha, setNegativeLineColor, setNewStack, setNoStepRisers, setOpenField, setPattern, setPatternField, setPeriodSpan, setPointPosition, setPrecision, setProCandlesticks, setShowAllValueLabels, setShowBalloon, setShowBalloonAt, setShowBulletsAt, setShowHandOnHover, setShowOnAxis, setStackable, setStepDirection, setSwitchable, setTabIndex, setTitle, setTopRadius, setType, setUrlField, setUrlTarget, setUseLineColorForBulletBorder, setUseNegativeColorIfDown, setValueAxis, setValueField, setVisibleInLegend, setXAxis, setXField, setYAxis, setYField
public java.lang.Boolean getComparable()
public StockGraph setComparable(java.lang.Boolean comparable)
comparable
- comparable optionpublic java.lang.String getCompareField()
public StockGraph setCompareField(java.lang.String compareField)
compareField
- compare fieldpublic java.lang.Boolean getCompareFromStart()
public StockGraph setCompareFromStart(java.lang.Boolean compareFromStart)
compareFromStart
- compareFromStart optionpublic Graph getCompareGraph()
public StockGraph setCompareGraph(Graph compareGraph)
Graph
properties on compared graphs
instead of using old-style properties like compareGraphBulletBorderThickness.compareGraph
- graphpublic Color getCompareGraphBalloonColor()
public StockGraph setCompareGraphBalloonColor(Color compareGraphBalloonColor)
compareGraphBalloonColor
- colorpublic JsFunction getCompareGraphBalloonFunction()
public StockGraph setCompareGraphBalloonFunction(JsFunction compareGraphBalloonFunction)
compareGraphBalloonFunction
- JS functionpublic java.lang.String getCompareGraphBalloonText()
public StockGraph setCompareGraphBalloonText(java.lang.String compareGraphBalloonText)
compareGraphBalloonText
- textpublic java.lang.String getCompareGraphBullet()
public StockGraph setCompareGraphBullet(java.lang.String compareGraphBullet)
compareGraphBullet
- compare graph bullet stringpublic java.lang.Double getCompareGraphBulletBorderAlpha()
public StockGraph setCompareGraphBulletBorderAlpha(java.lang.Double compareGraphBulletBorderAlpha)
compareGraphBulletBorderAlpha
- opacitypublic Color getCompareGraphBulletBorderColor()
public StockGraph setCompareGraphBulletBorderColor(Color compareGraphBulletBorderColor)
compareGraphBulletBorderColor
- colorpublic java.lang.Integer getCompareGraphBulletBorderThickness()
public StockGraph setCompareGraphBulletBorderThickness(java.lang.Integer compareGraphBulletBorderThickness)
compareGraphBulletBorderThickness
- thicknesspublic Color getCompareGraphBulletColor()
public StockGraph setCompareGraphBulletColor(Color compareGraphBulletColor)
compareGraphBulletColor
- colorpublic java.lang.Integer getCompareGraphBulletSize()
public StockGraph setCompareGraphBulletSize(java.lang.Integer compareGraphBulletSize)
compareGraphBulletSize
- bullet sizepublic java.lang.Integer getCompareGraphCornerRadiusTop()
public StockGraph setCompareGraphCornerRadiusTop(java.lang.Integer compareGraphCornerRadiusTop)
compareGraphCornerRadiusTop
- corner radiuspublic java.lang.Integer getCompareGraphDashLength()
public StockGraph setCompareGraphDashLength(java.lang.Integer compareGraphDashLength)
compareGraphDashLength
- dash lengthpublic java.lang.Double getCompareGraphFillAlphas()
public StockGraph setCompareGraphFillAlphas(java.lang.Double compareGraphFillAlphas)
compareGraphFillAlphas
- fill alphapublic java.util.List<Color> getCompareGraphFillColors()
public StockGraph setCompareGraphFillColors(java.util.List<Color> compareGraphFillColors)
compareGraphFillColors
- list of fill colorspublic java.lang.Double getCompareGraphLineAlpha()
public StockGraph setCompareGraphLineAlpha(java.lang.Double compareGraphLineAlpha)
compareGraphLineAlpha
- opacitypublic Color getCompareGraphLineColor()
public StockGraph setCompareGraphLineColor(Color compareGraphLineColor)
compareGraphLineColor
- colorpublic java.lang.Integer getCompareGraphLineThickness()
public StockGraph setCompareGraphLineThickness(java.lang.Integer compareGraphLineThickness)
compareGraphLineThickness
- thicknesspublic GraphType getCompareGraphType()
public StockGraph setCompareGraphType(GraphType compareGraphType)
compareGraphType
- typepublic java.lang.Boolean getCompareGraphVisibleInLegend()
public StockGraph setCompareGraphVisibleInLegend(java.lang.Boolean compareGraphVisibleInLegend)
compareGraphVisibleInLegend
- compareGraphVisibleInLegend optionpublic StockGraphValue getPeriodValue()
public StockGraph setPeriodValue(StockGraphValue periodValue)
periodValue
- period valuepublic StockGraphValue getRecalculateValue()
public StockGraph setRecalculateValue(StockGraphValue recalculateValue)
recalculateValue
- recalculate valuepublic java.lang.Boolean getShowEventsOnComparedGraphs()
public StockGraph setShowEventsOnComparedGraphs(java.lang.Boolean showEventsOnComparedGraphs)
showEventsOnComparedGraphs
- showEventsOnComparedGraphs optionpublic java.lang.Boolean getUseDataSetColors()
public StockGraph setUseDataSetColors(java.lang.Boolean useDataSetColors)
useDataSetColors
- useDataSetColors optionpublic java.util.List<java.lang.String> getWiredFields()
getWiredFields
in class AbstractGraph<StockGraph>
DataItem
that are bound to the graph