seriesList

An array collection that contains the data to be charted.

Type: Array

Default: []

data

A value that specifies the data for the chart series.

            x

            A value that provides the data for the x axis.

            y

            A value that provides the data for the y axis.

dataSource

label

A value that indicates the chart series label.

legendEntry

A value that determines whether or not the chart legend will contain an entry for the chart series data.

markers

Code Example:

var piechart = document.getElementById("wijpiechart").winControl;

piechart.seriesList = [{

                label: "MacBook Pro",

                legendEntry: true,

                data: 46.78,

                offset: 15

            }, {

                label: "iMac",

                legendEntry: true,

                data: 23.18,

                offset: 0

            }, {

                label: "MacBook",

                legendEntry: true,

                data: 20.25,

                offset: 0

            }, {

                label: "Mac Pro",

                legendEntry: true,

                data: 5.41,

                offset: 0

            }, {

                label: "Mac mini",

                legendEntry: true,

                data: 3.44,

                offset: 0

            }];


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.