Class GaugeObject
Represents a gauge object.
Inheritance
Implements
Inherited Members
Namespace: FastReport.Gauge
Assembly: FastReport.Base.dll
Syntax
public class GaugeObject : ReportComponentBase, IFRSerializable
Constructors
GaugeObject()
Initializes a new instance of the GaugeObject class.
Declaration
public GaugeObject()
GaugeObject(Double, Double, Double)
Initializes a new instance of the GaugeObject class.
Declaration
public GaugeObject(double minimum, double maximum, double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minimum | Minimum value of gauge. |
System.Double | maximum | Maximum value of gauge. |
System.Double | value | Current value of gauge. |
GaugeObject(Double, Double, Double, GaugeScale, GaugePointer)
Initializes a new instance of the GaugeObject class.
Declaration
public GaugeObject(double minimum, double maximum, double value, GaugeScale scale, GaugePointer pointer)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minimum | Minimum value of gauge. |
System.Double | maximum | Maximum value of gauge. |
System.Double | value | Current value of gauge. |
GaugeScale | scale | Scale of gauge. |
GaugePointer | pointer | Pointer of gauge. |
Properties
Expression
Gets or sets an expression that determines the value of gauge object.
Declaration
public string Expression { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Label
Gets or sets gauge label.
Declaration
public virtual GaugeLabel Label { get; set; }
Property Value
Type | Description |
---|---|
GaugeLabel |
Maximum
Gets or sets the maximal value of gauge.
Declaration
public double Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Minimum
Gets or sets the minimal value of gauge.
Declaration
public double Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Pointer
Gets or sets pointer of gauge.
Declaration
public GaugePointer Pointer { get; set; }
Property Value
Type | Description |
---|---|
GaugePointer |
Scale
Gets or sets scale of gauge.
Declaration
public GaugeScale Scale { get; set; }
Property Value
Type | Description |
---|---|
GaugeScale |
Value
Gets or sets the current value of gauge.
Declaration
public double Value { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Vertical
Gets a value that specifies is gauge vertical or not.
Declaration
public bool Vertical { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Assign(Base)
Declaration
public override void Assign(Base source)
Parameters
Type | Name | Description |
---|---|---|
Base | source |
Overrides
Clone()
Clone Gauge Object
Declaration
public GaugeObject Clone()
Returns
Type | Description |
---|---|
GaugeObject | clone of this object |
Draw(FRPaintEventArgs)
Draws the gauge.
Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
FRPaintEventArgs | e | Draw event arguments. |
Overrides
GetData()
Declaration
public override void GetData()
Overrides
GetExpressions()
Declaration
public override string[] GetExpressions()
Returns
Type | Description |
---|---|
System.String[] |
Overrides
Serialize(FRWriter)
Declaration
public override void Serialize(FRWriter writer)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer |