Setting the header text

Setting the header text
One can set a header and sub header for the chart easily through the PrimaryHeader and SecondaryHeader properties. The first one is demonstrated in the code snippet below:

@(Html.ShieldChart()
    .Name("chart1")
    .PrimaryHeader(header => header.Text("GDP Changes per region"))

In addition, each property allows additional customization for the header and sub header, such as color, font and styling.