[]
        
(Showing Draft Content)

C1.Blazor.Gauge.C1LinearGauge

C1LinearGauge Class

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

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

Constructors

Name Description
C1LinearGauge()

Initializes a new instance of the C1LinearGauge class.

Fields

Name Description
DirectionProperty
DirectionPropertyName

Properties

Name Description
Direction

Gets or sets the direction in which the gauge is filled.

Methods

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

Draw the text of Min and Max.

DrawValueText(double)

Draw the text of Value.

GetRangeRect(GaugeRange)

Get the rectangle of gauge range.

GetRangeRect(GaugeRange, double)

Get the rectangle of gauge range.

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.