header

An object value that indicates the header of the chart element.

Type: Object

Default:

header:{

visible:true,

style:{

fill:"none",

stroke:"none"

},

textStyle:{

"font-size": 18,

fill:"#666",

stroke:"none"

},

compass:"north",

orientation:"horizontal"

}

compass

A value that indicates the compass position of the header.

Type: String

Default: "north"

Notes: The available options are 'north', 'south', 'east', and 'west'.

orientation

A value that indicates the header orientation.

Type: String

Default: "horizontal"

Note: The available options are 'horizontal' and 'vertical'.

style

A value that indicates the styles applied to the header. For a full list of style options, please see the Stype Options topic.

Type: Object

Default: {fill:"#none", stroke:"none"}

text

A value that indicates the header text.

Type: String

Default: ""

textStyle

A value that indicates the style of the header text. For a full list of style options, please see the Stype Options topic.

Type: Object

Default: {fill: "#000", stroke: "none"}

visible

A value that indicates the visibility of the header.

Type: Boolean

Default: false

Code Example:

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

       header: {

              text:"header",

              style:{

              fill:"#f1f1f1",

              stroke:"#010101"

       }}

});


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