Search
PointSeries Constructor (List<Point>, List<String>)
See Also
 






Initializes a new instance of the PointSeries class.

Namespace: MindFusion.Charting
File: PointSeries.js

 Syntax

JavaScript  Copy Code

function PointSeries (points, labels)

 Parameters

points

Type: List
A list of points.

labels

Type: List
A list of labels.

 Example

The following code creates a new PointSeries using two List-s with values:

JavaScript  Copy Code
var series = new Charting.PointSeries(
 new Collections.List
  ([
   new Drawing.Point(0.32, 81),
   new Drawing.Point(0.39, 66),
   new Drawing.Point(0.75, 65),
   new Drawing.Point(0.49, 60)
  ]),
 new Collections.List(["Germany", "France", "UK", "Italy"]));
series.title = "Sales > $100K";

 See Also