Class DigitalGaugeItems
Class for digital gauge items.
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class DigitalGaugeItems : EJTagHelper
Constructors
DigitalGaugeItems()
Declaration
public DigitalGaugeItems()
Properties
CharacterCount
Gets or sets the characterCount.
Declaration
[JsonProperty("characterCount")]
public int CharacterCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Specifies the CharacterCount value for the DigitalGauge. |
CharacterSettings
Gets or sets the character settings.
Declaration
[JsonProperty("characterSettings")]
public CharacterSettings CharacterSettings { get; set; }
Property Value
Type | Description |
---|---|
CharacterSettings | The character settings. |
EnableCustomFont
Gets or sets the value for EnableCustomFont.
Declaration
[JsonProperty("enableCustomFont")]
public bool EnableCustomFont { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Enable/disable the custom font. |
Font
Gets or sets the Font.
Declaration
[JsonProperty("font")]
public DigitalGaugeFont Font { get; set; }
Property Value
Type | Description |
---|---|
DigitalGaugeFont | Specifies the font. |
Position
Gets or sets the Position.
Declaration
[JsonProperty("position")]
public DigitalGaugeLocation Position { get; set; }
Property Value
Type | Description |
---|---|
DigitalGaugeLocation | Set the location for the text, where it needs to be placed within the gauge. |
SegmentColor
Gets or sets the SegmentColor.
Declaration
[JsonProperty("segmentColor")]
public string SegmentColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The color of the segment. |
SegmentSettings
Gets or sets the SegmentSettings.
Declaration
[JsonProperty("segmentSettings")]
public SegmentSettings SegmentSettings { get; set; }
Property Value
Type | Description |
---|---|
SegmentSettings | The segment settings. |
ShadowBlur
Gets or sets ShadowBlur.
Declaration
[JsonProperty("shadowBlur")]
public double ShadowBlur { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Set the value for enabling/disabling the blurring effect for the shadows of the text. |
ShadowColor
Gets or sets the ShadowColor.
Declaration
[JsonProperty("shadowColor")]
public string ShadowColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the color of the text shadow. |
ShadowOffsetX
Gets or sets the ShadowOffsetX.
Declaration
[JsonProperty("shadowOffsetX")]
public double ShadowOffsetX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Set the x offset value for the shadow of the text, indicating the location where it needs to be displayed. |
ShadowOffsetY
Gets or sets the ShadowOffsetY.
Declaration
[JsonProperty("shadowOffsetY")]
public double ShadowOffsetY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Set the y offset value for the shadow of the text, indicating the location where it needs to be displayed. |
TextAlign
Gets or sets the TextAlign.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("textAlign")]
public TextAlign TextAlign { get; set; }
Property Value
Type | Description |
---|---|
TextAlign | Specifies the text align. |
TextColor
Gets or sets the TextColor.
Declaration
[JsonProperty("textColor")]
public string TextColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the color of the text. |
Value
Gets or sets the Value.
Declaration
[JsonProperty("value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | Specifies the value. |
Methods
ShouldSerializeDigitalGaugeFont()
Shoulds the serialize digital gauge font.
Declaration
public bool ShouldSerializeDigitalGaugeFont()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeDigitalGaugeLocation()
Shoulds the serialize digital gauge location.
Declaration
public bool ShouldSerializeDigitalGaugeLocation()
Returns
Type | Description |
---|---|
System.Boolean |