Wijmo UI for the Web
seriesList Field

Creates an array of series objects that contain data values and labels to display in the chart. Each series object consists of a label and a data attribute. See the Remarks section below for details.

Syntax
Javascript (Usage) 
var value; // Type: array
value = jQuery.wijmo.wijpiechart.options.seriesList;
Javascript (Specification) 
var seriesList : array;
Example
In this example, the Q4 pie wedge is pulled out from the rest of the pie by 10 pixels.
$("#piechart").wijpiechart({
seriesList: [{
    label: "Q1",
    legendEntry: true,
    data: 12,
    offset: 0
 }, {
    label: "Q2",
    legendEntry: true,
    data: 21,
    offset: 0
 }, {
    label: "Q3",
    legendEntry: true,
    data: 9,
    offset: 0
 }, {
    label: "Q4",
    legendEntry: true,
    data: 29,
    offset: 10
    }]
  });
Remarks

Each series object in the seriesList array represents a wedge of the pie, and is defined with the following options.

label

A string to use as a label for the pie wedge. By default, this value appears in the legend entry for the series and in the hint when you mouse over a data point in the series. To prevent a series label from appearing in the legend, see legendEntry, below. If you do not provide a label for a series, the label for the series appears as "undefined" in the hint and in the legend.

Type: String

Default: ""

data

A numeric value that determines the relative size of the pie wedge.

Type: Number

Default: 0

offset

If the chart type is pie, the number of pixels away from the center of the pie to pull out the wedge.

Type: Number

Default: 0

legendEntry

A value that indicates whether to display the label and color of the series in the legend of the chart. Set this value to false to leave a series out of the legend.

Type: Boolean

Default: true

Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.