Initializes a new instance of the Series3D class.
Namespace: MindFusion.Charting
File: Series3D.js
JavaScript Copy Code |
---|
function Series3D (xValues, yValues, zValues, labels) |
Type: List | Array
A list of X coordinates.
Type: List | Array
A list of Y coordinates.
Type: List | Array
A list of Z coordinates.
Type: List | Array
A list of labels.
The following code creates a new Series3D instance using four arrays with values:
JavaScript Copy Code |
---|
var series = new Charting.Series3D(10, 20, 30, 40], [50, 40, 50, 5], [19, 17, 6, 12], ["Tomatoes", "Cucumbers", "Peppers", "Lettuce"]); series.title = "Vegetables"; |