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.

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.

Type: Object

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

visible

A value that indicates the visibility of the header.

Type: Boolean

Default: false

Code Example:

var scatterchart = document.getElementById("wijscatterchartDefault").winControl;

          WinJS.UI.setOptions(scatterchart, {

                     header: {

                           text:"header",

                           style:{

                           fill:"#f1f1f1",

                           stroke:"#010101"

                     }}

});


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