Class GaugeInputValue
Represents an expression and optional formula used in a gauge.
Inherited Members
Namespace: BoldReports.RDL.DOM
Assembly: BoldReports.Wpf.dll
Syntax
public class GaugeInputValue
Constructors
GaugeInputValue()
Initializes a new instance of the GaugeInputValue class.
Declaration
public GaugeInputValue()
GaugeInputValue(ReportSerializer)
Initializes a new instance of the GaugeInputValue class using the specified serializer.
Declaration
public GaugeInputValue(ReportSerializer serializer)
Parameters
| Type | Name | Description |
|---|---|---|
| BoldReports.RDL.DOM.ReportSerializer | serializer | The BoldReports.RDL.DOM.ReportSerializer used to deserialize the gauge input value. |
Properties
AddConstant
Gets or sets the constant value to add to the gauge value.
Declaration
public float AddConstant { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The constant value. |
DataElementName
Gets or sets the name of the data element.
Declaration
public string DataElementName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The data element name string. |
DataElementOutput
Gets or sets the data element output option for the gauge.
Declaration
public DataElementOutputGauge DataElementOutput { get; set; }
Property Value
| Type | Description |
|---|---|
| BoldReports.RDL.DOM.DataElementOutputGauge | The BoldReports.RDL.DOM.DataElementOutputGauge value. |
Formula
Gets or sets the formula to apply to the gauge value.
Declaration
public Formula Formula { get; set; }
Property Value
| Type | Description |
|---|---|
| BoldReports.RDL.DOM.Formula | The Formula value. |
MaxPercent
Gets or sets the maximum percentage for the gauge.
Declaration
public float MaxPercent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The maximum percent value. |
MinPercent
Gets or sets the minimum percentage for the gauge.
Declaration
public float MinPercent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The minimum percent value. |
Multiplier
Gets or sets the multiplier expression for the gauge value.
Declaration
public string Multiplier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The multiplier expression string. |
Value
Gets or sets the value for the gauge.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The gauge value string. |
Methods
ResetDataElementOutput()
Resets the data element output to its default value.
Declaration
public void ResetDataElementOutput()
ResetFormula()
Resets the formula to its default value.
Declaration
public void ResetFormula()
ShouldSerializeDataElementOutput()
Determines whether the data element output should be serialized.
Declaration
public bool ShouldSerializeDataElementOutput()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the data element output is not the default; otherwise, false. |
ShouldSerializeFormula()
Determines whether the formula should be serialized.
Declaration
public bool ShouldSerializeFormula()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the formula is not the default; otherwise, false. |