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
A list of X coordinates.

yValues

Type: List
A list of Y coordinates.

zValues

Type: List
A list of Z coordinates.

labels

Type: List
A list of labels.

 Example

The following code creates a new Series3D instance using four List-s with values:

JavaScript  Copy Code

// create a sample series
var labels = new Collections.List(["Tomatoes", "Cucumbers", "Peppers", "Lettuce"]);


var series = new Charting.Series3D(new Collections.List([10, 20, 30, 40]), new Collections.List([50, 40, 50, 5]), new Collections.List([19, 17, 6, 12]),  labels);
series.title = "Vegetables";

 See Also

Series3D Constructor Overload List
Series3D Class
MindFusion.Charting Namespace