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 compositechart = document.getElementById("wijcompositechart").winControl;

compositechart.seriesList = [{

   type: "column",

   label: "West",

   legendEntry: true,

   data:

{

  x: ['Desktops', 'Notebooks', 'AIO', 'Tablets', 'Phones'], y: [5, 3, 4, 7, 2] }

   }, {

   type: "column",

   label: "Central",

   legendEntry: true,

   data: {

    x: ['Desktops', 'Notebooks', 'AIO', 'Tablets', 'Phones'],

    y: [2, 2, 3, 2, 1] }

   }, {

   type: "column",

   label: "East",

   legendEntry: true,

   data: {

           x: ['Desktops', 'Notebooks', 'AIO', 'Tablets', 'Phones'],

    y: [3, 4, 4, 2, 5] }

   }, {

   type: "pie",

   label: "asdfdsfdsf",

   legendEntry: true,

   center: { x: 150, y: 150 },

   radius: 60,

   data: [{

          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

   }]

   }, {

   type: "line",

   label: "Steam1",

   legendEntry: true,

   data: {

          x: ['Desktops', 'Notebooks', 'AIO', 'Tablets', 'Phones'],

          y: [3, 6, 2, 9, 5]

   },

   markers: {

              visible: true,

              type: "circle"

            }

      ]

  });


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