Class DigitalGaugeItemsBuilder
Class for digital gauge items builder.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization
Assembly: Syncfusion.EJ.dll
Syntax
public class DigitalGaugeItemsBuilder
Constructors
DigitalGaugeItemsBuilder()
Initializes a new instance of the DigitalGaugeItemsBuilder class.
Declaration
public DigitalGaugeItemsBuilder()
DigitalGaugeItemsBuilder(DigitalGauge)
Initializes a new instance of the DigitalGaugeItemsBuilder class to indicate the items.
Declaration
public DigitalGaugeItemsBuilder(DigitalGauge items)
Parameters
Type | Name | Description |
---|---|---|
DigitalGauge | items | The items. |
Methods
Add()
Adds this instance.
Declaration
public void Add()
CharacterCount(Int32)
Character count.
Declaration
public DigitalGaugeItemsBuilder CharacterCount(int characterCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | characterCount | The character count. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
CharacterSettings(Action<CharacterSettingsBuilder>)
Characters the settings.
Declaration
public DigitalGaugeItemsBuilder CharacterSettings(Action<CharacterSettingsBuilder> characterSettings)
Parameters
Type | Name | Description |
---|---|---|
System.Action<CharacterSettingsBuilder> | characterSettings | The character settings. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
EnableCustomFont()
Enables the custom font.
Declaration
public DigitalGaugeItemsBuilder EnableCustomFont()
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
EnableCustomFont(Boolean)
Enables the custom font.
Declaration
public DigitalGaugeItemsBuilder EnableCustomFont(bool enableCustomFont)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableCustomFont | if set to |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
Font(Action<DigitalGaugeFontBuilder>)
Fonts the specified font.
Declaration
public DigitalGaugeItemsBuilder Font(Action<DigitalGaugeFontBuilder> font)
Parameters
Type | Name | Description |
---|---|---|
System.Action<DigitalGaugeFontBuilder> | font | The font. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
Position(Action<DigitalGaugeLocationBuilder>)
Positions the specified position.
Declaration
public DigitalGaugeItemsBuilder Position(Action<DigitalGaugeLocationBuilder> position)
Parameters
Type | Name | Description |
---|---|---|
System.Action<DigitalGaugeLocationBuilder> | position | The position. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
SegmentColor(String)
color of the segment.
Declaration
public DigitalGaugeItemsBuilder SegmentColor(string segmentColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | segmentColor | Color of the segment. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
SegmentSettings(Action<SegmentSettingsBuilder>)
Segments the settings.
Declaration
public DigitalGaugeItemsBuilder SegmentSettings(Action<SegmentSettingsBuilder> segmentSettings)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SegmentSettingsBuilder> | segmentSettings | The segment settings. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
ShadowBlur(Double)
Shadows the blur.
Declaration
public DigitalGaugeItemsBuilder ShadowBlur(double shadowBlur)
Parameters
Type | Name | Description |
---|---|---|
System.Double | shadowBlur | The shadow blur. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
ShadowColor(String)
Shadows the color.
Declaration
public DigitalGaugeItemsBuilder ShadowColor(string shadowColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | shadowColor | Color of the shadow. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
ShadowOffsetX(Double)
Shadows the offset x.
Declaration
public DigitalGaugeItemsBuilder ShadowOffsetX(double shadowOffsetX)
Parameters
Type | Name | Description |
---|---|---|
System.Double | shadowOffsetX | The shadow offset x. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
ShadowOffsetY(Double)
Shadows the offset y.
Declaration
public DigitalGaugeItemsBuilder ShadowOffsetY(double shadowOffsety)
Parameters
Type | Name | Description |
---|---|---|
System.Double | shadowOffsety | The shadow offset y. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
TextAlign(TextAlign)
Texts the align.
Declaration
public DigitalGaugeItemsBuilder TextAlign(TextAlign textAlign)
Parameters
Type | Name | Description |
---|---|---|
TextAlign | textAlign | The text align. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
TextColor(String)
Texts the color.
Declaration
public DigitalGaugeItemsBuilder TextColor(string textColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | textColor | Color of the text. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |
Value(String)
Values the specified value.
Declaration
public DigitalGaugeItemsBuilder Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
DigitalGaugeItemsBuilder |