[]
        
(Showing Draft Content)

C1.Blazor.Gauge.C1RadialGauge

C1RadialGauge Class

The C1RadialGauge displays a circular scale with an indicator that represents a single value and optional ranges to represent reference values.

Inheritance
C1RadialGauge
Namespace: C1.Blazor.Gauge
Assembly: C1.Blazor.Gauge.dll
Syntax
public class C1RadialGauge : C1Gauge, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject

Constructors

Name Description
C1RadialGauge()

Initializes a new instance of the C1RadialGauge class.

Fields

Name Description
AutoScaleProperty

Identifies the AutoScale dependency property.

DefaultAutoScale
DefaultStartAngle
DefaultSweepAngle
IsReversedProperty

Identifies the IsReversed dependency property.

StartAngleProperty

Identifies the StartAngle dependency property.

SweepAngleProperty

Identifies the SweepAngle dependency property.

_autoScale

Gets or sets whether the gauge should automatically scale to fill the host element.

_isReversed

Gets or sets a flag which indicates whether the radial gauge is reversed.

_startAngle

Gets or sets the starting angle for the gauge, in degrees.

_sweepAngle

Gets or sets the sweeping angle for the gauge, in degrees.

Properties

Name Description
AutoScale

Gets or sets whether the gauge should automatically scale to fill the host element.

IsReversed

Gets or sets a flag which indicates whether the radial gauge is reversed.

StartAngle

Gets or sets the starting angle for the gauge, in degrees.

SweepAngle

Gets or sets the sweeping angle for the gauge, in degrees.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
Dispose(bool)
DrawGauge()

Draw the gauge.

DrawMinMaxText()

Draw the text of Min and Max.

DrawValueText(double)

Draw the text of Value.

GetCenterPoint()

Get radial center.

GetRadialInner()

Get radial inner.

GetRadialOuter()

Get radial outer.

GetValueFromPoint(C1Point)

Get gauge value from the point.

MeasureOverride(C1Size)

Provides the behavior for the Measure pass of the layout cycle.

OnAfterRender(bool)
UpdateRangeElement(GaugeRange, double)

Update element range.