# Displaying Values

## Content



You can display values on a gauge to know the minimum/maximum value or current value of the gauge. The [ShowText](/componentone/api/mvc/online-mvc-core/dotnet-api/C1.AspNetCore.Mvc/C1.Web.Mvc.ShowText.html) property allows you to select the values that you want to display as text by the gauge.

There are four valid values for the [`ShowText`](/componentone/api/mvc/online-mvc-core/dotnet-api/C1.AspNetCore.Mvc/C1.Web.Mvc.ShowText.html) property:

*   **Value**: Displays only the current value of gauge.
*   **MinMax**: Displays only the min and max values of gauge.
*   **All**: Displays the min, max, and current values of the gauge.
*   **None**: Displays no text in the gauge control. This is the **default** value.

The following image shows how the [RadialGauge](/componentone/api/mvc/online-mvc-core/dotnet-api/C1.AspNetCore.Mvc/C1.Web.Mvc.RadialGauge.html) appears after the `ShowText` property has been set to All.

![](https://cdn.mescius.io/document-site-files/images/9b6a6cfe-b8e8-42e9-8a04-da6cb7762977/images/gaugeshowtext.png)

The following code example demonstrates how to set this property in ASP.NET MVC Edition using Razor. The example uses the sample created in the [RadialGauge Quick Start](/componentone/docs/mvc/online-mvc-core/WorkingwithControls/Gauge/gaugesQuickStart/gaugeQuickStartRadialGauge) section.

```html
<c1-radial-gauge min=0 max=10 value=5 
 show-text=C1.Web.Mvc.ShowText.All width="300px" height="180px">
</c1-radial-gauge>
```