Initializes a new instance of the PointSeries class.
Namespace: MindFusion.Charting
File: PointSeries.js
JavaScript Copy Code |
---|
function PointSeries (points, labels) |
Type: List
A list of points.
Type: List
A list of labels.
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"; |