Thanks to visit codestin.com
Credit goes to www.shieldui.com

JavaScript Chart Styling the Text Headers

The text headers (title and subtitle) of the chart can be easily styled by simply applying several CSS settings. This is demonstrated in the code snippet below:

primaryHeader: {
    text: "Shield UI Chart",
    align: "left",
    style: {
        textDecoration: "underline",
        fontWeight:'bold'
    }
},
secondaryHeader: {
    text: "Data Frequencies",
    align: "center",
    style: {
        color: "red"
    }
}