Widgets > Chart Widgets > wijcompositechart > wijcompositechart How To > Define the Header |
The title of the chart can be defined using the header array where the following options can be set: visible, style, textStyle, compass, and orientation.
To define the header’s text color and size, use the following code:
$("#wijcompositechart").wijcompositechart({
header: {
text: "Hardware Distribution",
textStyle:{
fill:"#3300cc",
"font-size": "18pt"
}
},
This topic illustrates the following:
The following image shows the chart header with a light blue forecolor: