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

    You can specify the position where you want to display the legend in the Legend property of the FlexPie.

    The image below shows how the FlexPie appears after these properties have been set.

    Showing legend in FlexPie

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

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