Package com.strategyquant.tradinglib
Class TimeSeriesScatterChart
java.lang.Object
com.strategyquant.tradinglib.AbstractChart
com.strategyquant.tradinglib.TimeSeriesScatterChart
The Class TimeSeriesScatterChart.
-
Field Summary
Fields inherited from class com.strategyquant.tradinglib.AbstractChart
categoryAxis, showLegend, title, type, xAxisTicksDurationInMS, yAxisTicksMemory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSeries(TimeSeries series)
Adds the series.getSeries(int index)
Gets the series.Gets the series collection.org.json.JSONObject
toJSON()
To JSON.Methods inherited from class com.strategyquant.tradinglib.AbstractChart
getOptions
-
Constructor Details
-
TimeSeriesScatterChart
public TimeSeriesScatterChart()Instantiates a new scatter 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:
toJSON
in classAbstractChart
- Returns:
- the JSON object
-