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

    You can specify the position where you want to display the legend using the Legend property of the Sunburst chart. Legend helps in displaying the series of a chart with a predefined symbol and name of the series.

    The image below shows how the Sunburst chart appears after you set the Chart.Position property to Bottom.

    The following code example demonstrates how to set the Position property. This example uses the sample created in the Quick Start topic.

    In Code
    Razor
    Copy Code
    .Legend(C1.Web.Mvc.Chart.Position.Bottom)