Package com.strategyquant.tradinglib
Class TimeSeriesAreaChart
java.lang.Object
com.strategyquant.tradinglib.AbstractChart
com.strategyquant.tradinglib.charts.AbstractXYChart
com.strategyquant.tradinglib.TimeSeriesAreaChart
public class TimeSeriesAreaChart
extends com.strategyquant.tradinglib.charts.AbstractXYChart
The Class TimeSeriesAreaChart.
-
Field Summary
Fields inherited from class com.strategyquant.tradinglib.charts.AbstractXYChart
disableEvents, displayXAxesLabels, displayYAxesLabels, fontSize, invertIfNegative, maxXTicksLimit, maxYTicksLimit, pointRadius, tooltips, xAxisRangeMax, xAxisRangeMin, xAxisTickformat, xAxisTitle, xAxisType, yAxisRangeMax, yAxisRangeMin, yAxisTitleFields inherited from class com.strategyquant.tradinglib.AbstractChart
categoryAxis, showLegend, title, type, xAxisTicksDurationInMS, yAxisTicksMemory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSeries(TimeSeries series)Adds the series.getSeries(int index)Gets the series.Gets the series collection.org.json.JSONObjecttoJSON()To JSON.Methods inherited from class com.strategyquant.tradinglib.charts.AbstractXYChart
getOptions, invertIfNegative
-
Constructor Details
-
TimeSeriesAreaChart
public TimeSeriesAreaChart()Instantiates a new time series area chart.
-
-
Method Details
-
addSeries
Adds the series.- Parameters:
series- the series
-
getSeries
Gets the series.- Parameters:
index- the index- Returns:
- the series
-
getSeriesCollection
Gets the series collection.- Returns:
- the series collection
-
toJSON
public org.json.JSONObject toJSON()To JSON.- Specified by:
toJSONin classAbstractChart- Returns:
- the JSON object
-