MindFusion.Charting for JavaScript Programmer's Guide
Series3D Constructor
See Also
 






Initializes a new instance of the Series3D class.

Namespace: MindFusion.Charting
File: Series3D.js

 Syntax

JavaScript  Copy Code

function Series3D (xValues, yValues, zValues, labels)

 Parameters

xValues

Type: List | Array
A list of X coordinates.

yValues

Type: List | Array
A list of Y coordinates.

zValues

Type: List | Array
A list of Z coordinates.

labels

Type: List | Array
A list of labels.

 Example

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";

 See Also

Series3D Constructor Overload List
Series3D Class
MindFusion.Charting Namespace