# Displaying Values

Develop powerful and lightweight web applications using ASP.NET MVC controls. Learn more about the ComponentOne MVC controls in ASP.NET MVC documentation.

## 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/dotnet-framework-api/C1.Web.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/dotnet-framework-api/C1.Web.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/dotnet-framework-api/C1.Web.Mvc/C1.Web.Mvc.RadialGauge.html) appears after the `ShowText` property has been set to All.

![](https://cdn.mescius.io/document-site-files/images/2b3ac322-100e-4637-958d-fb40dcda3f44/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/workwithcontrols/Gauge/gaugesquickstart/gaugeQuickStartRadialGauge) section.

```razor
@(Html.C1().RadialGauge()
    .Min(0).Max(10).Value(5)
    .Width(300).Height(180)
.ShowText(ShowText.All)
)
```