ASP.NET MVC Controls | ComponentOne
Working with Controls / Sunburst Chart / Work with Sunburst / Header and Footer
In This Topic
    Header and Footer
    In This Topic

    You can provide a heading or title to the Sunburst chart with the help of Header property. Moreover, you may also set a footer for your Sunburst chart with the help of Footer property. These properties also allows you to style your header and footer text with the help of HeaderStyle and FooterStyle properties.

    The image below shows how the Sunburst chart appears, after you set the Header and Footer properties.

    The following code example demonstrates how to set Header and Footer properties. This example uses the sample created in the Quick Start topic.

    Razor
    Copy Code
    .Header("Sales Data")
    .HeaderStyle(style => style.FontSize("30"))
    .Footer("*Random data by ComponentOne")
    .FooterStyle(style => style.FontSize("15"))