Widgets > Chart Widgets > wijbarchart > 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, orientation.
To define the header’s text color and size, use the following code:
header: {
text: "Hardware Distribution",
textStyle:{
fill:"#6699cc",
stroke: "#6699cc",
"font-size": "24pt",
}
},
This topic illustrates the following:
The following image shows the chart header with a light blue forecolor and larger font size: