Initializes a new instance of the StockPriceSeries class.
Namespace: MindFusion.Charting
File: StockPriceSeries.js
JavaScript Copy Code |
---|
function StockPriceSeries (values) |
Type: List | Array
A list of StockPrice objects.
The following code creates a new StockPriceSeries with an array of 5 StockPrice objects:
JavaScript Copy Code |
---|
var stockData = [ // create sample data var series = new StockPriceSeries(dataList); |