chartLabel

The chartLabel option defines the chart label’s settings.

Type: Object

Default:

chartLabel:{

position: "inside",

compass: "north",

visible: true,

style: {},

chartLabelFormatString:""

}

chartLabelFormatString

A value that indicates the format string of the chart labels, set it to format chart labels.

Type: String

Default:""

compass

A value that indicates the chart label's compass position.

Type: String

Default: "north"

Remarks: the value should be "north", "east", "west", or "south"

position

A value that indicates the chart label’s position.

Type: String

Default: "inside"

Remark: the value should be "inside" or "outside".

style

A value that indicates the style parameters that will be applied to the label. For a full list of style options, please see the Style Options topic.

Type: Object

Default: {}

visible

The visible option indicates whether or not the chart labels are shown.

Type: Object

Default: true

Code Example:

WinJS.UI.setOptions(document.getElementById("wijbubblechart").winControl, {

       chartLabel: {

              compass: "north",

              position: "inside",

              visible: true

}

});


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