# Legend

Display legends in ComponentOne ASP.NET MVC FlexPie control. Learn more about setting legend in MVC documentation.

## Content

You can specify the position where you want to display the legend in the [Legend](/componentone/api/mvc/online-mvc/dotnet-framework-api/C1.Web.Mvc/C1.Web.Mvc.FlexChartBase-1.Legend.html) property of the FlexPie.

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

![Showing legend in FlexPie](https://cdn.mescius.io/document-site-files/images/2b3ac322-100e-4637-958d-fb40dcda3f44/images/pielegend.png)

The following code example demonstrates how to set this property. This example uses the sample created in the [Quick Start](/componentone/docs/mvc/online-mvc/workwithcontrols/FlexChart/QuickStart) section.

```razor
.Legend(C1.Web.Mvc.Chart.Position.Bottom)
```