The GaugeDirection property of LinearGauge and BulletGraph allows you to change the direction in which the pointer moves.
There are four available options for the GaugeDirection property:
The following image shows how the LinearGauge appears after the GaugeDirection property has been set to Down, and height and width has been adjusted accordingly.
The following code examples demonstrate how to set this property in ASP.NET MVC Edition. These examples use the sample created in the LinearGauge Quick Start section.
Razor |
Copy Code
|
---|---|
.Direction(C1.Web.Mvc.GaugeDirection.Down) .Height(400) .Width(120) |