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 the available Style options, please see the Style 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 the available Style options, please see the Style 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:

var linechart = document.getElementById("wijlinechartDefault").winControl;

       WinJS.UI.setOptions(linechart, {

              header: {

                     text:"header",

                     style:{

                     fill:"#f1f1f1",

                     stroke:"#010101"

                     }}

});


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