public class StockPanel extends AbstractSerialChart<StockPanel> implements SeriesBasedChartModel<StockPanel>
StockChartModel can have multiple Stock panels.
AbstractChart.DataProviderChangeListener| Constructor and Description |
|---|
StockPanel() |
| Modifier and Type | Method and Description |
|---|---|
StockPanel |
addStockGraphs(StockGraph... stockGraphs)
Adds stock graphs
|
java.lang.Boolean |
getAllowTurningOff() |
java.lang.Boolean |
getDrawingIconsEnabled() |
ValueAxis |
getDrawOnAxis() |
java.lang.Boolean |
getEraseAll() |
java.lang.Integer |
getIconSize() |
java.lang.String |
getId() |
java.lang.Integer |
getPercentHeight() |
java.util.Date |
getRecalculateFromDate() |
java.lang.String |
getRecalculateToPercents() |
java.lang.Boolean |
getShowCategoryAxis() |
java.lang.Boolean |
getShowComparedOnTop() |
java.util.List<StockGraph> |
getStockGraphs() |
StockLegend |
getStockLegend() |
java.lang.String |
getTitle() |
java.lang.Double |
getTrendLineAlpha() |
Color |
getTrendLineColor() |
java.lang.Integer |
getTrendLineDashLength() |
java.lang.Integer |
getTrendLineThickness() |
java.util.List<java.lang.String> |
getWiredFields() |
StockPanel |
setAllowTurningOff(java.lang.Boolean allowTurningOff)
Set allowTurningOff to true if x button should be displayed near the panel.
|
StockPanel |
setDrawingIconsEnabled(java.lang.Boolean drawingIconsEnabled)
Set drawingIconsEnabled to true if drawing icons should be displayed in top-right corner.
|
StockPanel |
setDrawOnAxis(ValueAxis drawOnAxis)
Sets value axis.
|
StockPanel |
setEraseAll(java.lang.Boolean eraseAll)
Set eraseAll to true if all trend lines should be erased when erase button is clicked.
|
StockPanel |
setIconSize(java.lang.Integer iconSize)
Sets size of trend line drawing icons.
|
StockPanel |
setId(java.lang.String id) |
StockPanel |
setPercentHeight(java.lang.Integer percentHeight)
Sets relative height of panel.
|
StockPanel |
setRecalculateFromDate(java.util.Date recalculateFromDate)
Sets from which date's value should be used as a base when recalculating values to percent.
|
StockPanel |
setRecalculateToPercents(java.lang.String recalculateToPercents)
Specifies when values should be recalculated to percents.
|
StockPanel |
setShowCategoryAxis(java.lang.Boolean showCategoryAxis)
Set showCategoryAxis to false if this panel should't show category axis.
|
StockPanel |
setShowComparedOnTop(java.lang.Boolean showComparedOnTop)
Set showComparedOnTop to false if compared graphs shouldn't be shown above or behind the main graph.
|
StockPanel |
setStockGraphs(java.util.List<StockGraph> stockGraphs)
Sets list of stock graphs.
|
StockPanel |
setStockLegend(StockLegend stockLegend)
Sets stock chart legend.
|
StockPanel |
setTitle(java.lang.String title)
Sets a title of a panel.
|
StockPanel |
setTrendLineAlpha(java.lang.Double trendLineAlpha)
Sets trend line opacity.
|
StockPanel |
setTrendLineColor(Color trendLineColor)
Sets trend line color.
|
StockPanel |
setTrendLineDashLength(java.lang.Integer trendLineDashLength)
Sets trend line dash length.
|
StockPanel |
setTrendLineThickness(java.lang.Integer trendLineThickness)
Sets trend line thickness.
|
getBalloonDateFormat, getCategoryAxis, getCategoryField, getColumnSpacing, getColumnSpacing3D, getColumnWidth, getDataDateFormat, getMaxSelectedSeries, getMaxSelectedTime, getMinSelectedTime, getMouseWheelScrollEnabled, getMouseWheelZoomEnabled, getRotate, getSynchronizeGrid, getValueScrollbar, getZoomOutOnDataUpdate, setBalloonDateFormat, setCategoryAxis, setCategoryField, setColumnSpacing, setColumnSpacing3D, setColumnWidth, setDataDateFormat, setMaxSelectedSeries, setMaxSelectedTime, setMinSelectedTime, setMouseWheelScrollEnabled, setMouseWheelZoomEnabled, setRotate, setSynchronizeGrid, setValueScrollbar, setZoomOutOnDataUpdateaddTrendLines, getAngle, getAutoMarginOffset, getAutoMargins, getChartCursor, getChartScrollbar, getDepth3D, getMarginBottom, getMarginLeft, getMarginRight, getMarginsUpdated, getMarginTop, getMaxZoomFactor, getMinMarginBottom, getMinMarginLeft, getMinMarginRight, getMinMarginTop, getPlotAreaBorderAlpha, getPlotAreaBorderColor, getPlotAreaFillAlphas, getPlotAreaFillColors, getPlotAreaGradientAngle, getTrendLines, getZoomOutButtonAlpha, getZoomOutButtonColor, getZoomOutButtonImage, getZoomOutButtonImageSize, getZoomOutButtonPadding, getZoomOutButtonRollOverAlpha, getZoomOutButtonTabIndex, getZoomOutText, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginBottom, setMarginLeft, setMarginRight, setMarginsUpdated, setMarginTop, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutTextaddColors, addGraphs, addGuides, addValueAxes, getColors, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getStartDuration, getStartEffect, getUrlTarget, getValueAxes, setColors, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setStartDuration, setStartEffect, setUrlTarget, setValueAxesaddAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, fireDataProviderChanged, 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, getType, getUsePrefixes, removeDataProviderSetListener, 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, setUsePrefixesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBalloonDateFormat, getCategoryAxis, getCategoryField, getColumnSpacing, getColumnSpacing3D, getColumnWidth, getDataDateFormat, getMaxSelectedSeries, getMaxSelectedTime, getMinSelectedTime, getMouseWheelScrollEnabled, getMouseWheelZoomEnabled, getRotate, getSynchronizeGrid, getValueScrollbar, getZoomOutOnDataUpdate, setBalloonDateFormat, setCategoryAxis, setCategoryField, setColumnSpacing, setColumnSpacing3D, setColumnWidth, setDataDateFormat, setMaxSelectedSeries, setMaxSelectedTime, setMinSelectedTime, setMouseWheelScrollEnabled, setMouseWheelZoomEnabled, setRotate, setSynchronizeGrid, setValueScrollbar, setZoomOutOnDataUpdateaddTrendLines, getAngle, getAutoMarginOffset, getAutoMargins, getChartCursor, getChartScrollbar, getDepth3D, getMarginsUpdated, getMaxZoomFactor, getMinMarginBottom, getMinMarginLeft, getMinMarginRight, getMinMarginTop, getPlotAreaBorderAlpha, getPlotAreaBorderColor, getPlotAreaFillAlphas, getPlotAreaFillColors, getPlotAreaGradientAngle, getTrendLines, getZoomOutButtonAlpha, getZoomOutButtonColor, getZoomOutButtonImage, getZoomOutButtonImageSize, getZoomOutButtonPadding, getZoomOutButtonRollOverAlpha, getZoomOutButtonTabIndex, getZoomOutText, setAngle, setAutoMarginOffset, setAutoMargins, setChartCursor, setChartScrollbar, setDepth3D, setMarginsUpdated, setMaxZoomFactor, setMinMarginBottom, setMinMarginLeft, setMinMarginRight, setMinMarginTop, setPlotAreaBorderAlpha, setPlotAreaBorderColor, setPlotAreaFillAlphas, setPlotAreaFillColors, setPlotAreaGradientAngle, setTrendLines, setZoomOutButtonAlpha, setZoomOutButtonColor, setZoomOutButtonImage, setZoomOutButtonImageSize, setZoomOutButtonPadding, setZoomOutButtonRollOverAlpha, setZoomOutButtonTabIndex, setZoomOutTextaddGraphs, addGuides, addValueAxes, getGraphs, getGridAboveGraphs, getGuides, getSequencedAnimation, getStartAlpha, getUrlTarget, getValueAxes, setGraphs, setGridAboveGraphs, setGuides, setSequencedAnimation, setStartAlpha, setUrlTarget, setValueAxesaddAdditionalFields, 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, setUsePrefixesgetStartDuration, getStartEffect, setStartDuration, setStartEffectgetMarginBottom, getMarginLeft, getMarginRight, getMarginTop, setMarginBottom, setMarginLeft, setMarginRight, setMarginToppublic java.lang.String getId()
public StockPanel setId(java.lang.String id)
public java.lang.Boolean getAllowTurningOff()
public StockPanel setAllowTurningOff(java.lang.Boolean allowTurningOff)
allowTurningOff - allowTurningOff optionpublic java.lang.Boolean getDrawingIconsEnabled()
public StockPanel setDrawingIconsEnabled(java.lang.Boolean drawingIconsEnabled)
drawingIconsEnabled - drawingIconsEnabled optionpublic ValueAxis getDrawOnAxis()
public StockPanel setDrawOnAxis(ValueAxis drawOnAxis)
drawOnAxis - value axispublic java.lang.Boolean getEraseAll()
public StockPanel setEraseAll(java.lang.Boolean eraseAll)
eraseAll - eraseAll optionpublic java.lang.Integer getIconSize()
public StockPanel setIconSize(java.lang.Integer iconSize)
iconSize - icon sizepublic java.lang.Integer getPercentHeight()
public StockPanel setPercentHeight(java.lang.Integer percentHeight)
percentHeight - percent heightpublic java.util.Date getRecalculateFromDate()
public StockPanel setRecalculateFromDate(java.util.Date recalculateFromDate)
recalculateFromDate - datepublic java.lang.String getRecalculateToPercents()
public StockPanel setRecalculateToPercents(java.lang.String recalculateToPercents)
recalculateToPercents - recalculate to percents valuepublic java.lang.Boolean getShowCategoryAxis()
public StockPanel setShowCategoryAxis(java.lang.Boolean showCategoryAxis)
showCategoryAxis - showCategoryAxis optionpublic java.lang.Boolean getShowComparedOnTop()
public StockPanel setShowComparedOnTop(java.lang.Boolean showComparedOnTop)
showComparedOnTop - showComparedOnTop optionpublic java.util.List<StockGraph> getStockGraphs()
public StockPanel setStockGraphs(java.util.List<StockGraph> stockGraphs)
stockGraphs - list of stock graphspublic StockPanel addStockGraphs(StockGraph... stockGraphs)
stockGraphs - stock graphspublic StockLegend getStockLegend()
public StockPanel setStockLegend(StockLegend stockLegend)
stockLegend - stock legendpublic java.lang.String getTitle()
public StockPanel setTitle(java.lang.String title)
StockLegend should be added in order title to be displayed.title - titlepublic java.lang.Double getTrendLineAlpha()
public StockPanel setTrendLineAlpha(java.lang.Double trendLineAlpha)
trendLineAlpha - opacitypublic Color getTrendLineColor()
public StockPanel setTrendLineColor(Color trendLineColor)
trendLineColor - colorpublic java.lang.Integer getTrendLineDashLength()
public StockPanel setTrendLineDashLength(java.lang.Integer trendLineDashLength)
trendLineDashLength - dash lengthpublic java.lang.Integer getTrendLineThickness()
public StockPanel setTrendLineThickness(java.lang.Integer trendLineThickness)
trendLineThickness - thicknesspublic java.util.List<java.lang.String> getWiredFields()
getWiredFields in class AbstractSerialChart<StockPanel>DataItem that are bound to the chart