Digital Characters in UWP Digital Gauge (SfDigitalGauge)

10 May 20213 minutes to read

The digital characters in the digital gauge can be viewed in different types of segments. These digital characters are set to the digital gauge through the Value property of type string.

<syncfusion:SfDigitalGauge Value="GAUGE" />
SfDigitalGauge digital = new SfDigitalGauge();
    digital.Value = "GAUGE";
    this.Grid.Children.Add(digital);

Digital-Characters_img1

7-Segments

The digital characters which are set as the value property of the digital gauge are displayed by default 7-segments. Rather than using the alphabets, these are mainly used to display numbers. The type of segments can be set by the CharacterType property.

<syncfusion:SfDigitalGauge Value="12345"  CharacterType="SegmentSeven" />
SfDigitalGauge digital = new SfDigitalGauge();
    digital.Value = "12345";
    digital.CharacterType = CharacterType.SegmentSeven;
    this.Grid.Children.Add(digital);

Digital-Characters_img2

14-Segments

The digital characters which are set as the value property of the digital gauge are displayed by 14 segments. These type of characters are used to display both alphabets and numbers.

<syncfusion:SfDigitalGauge Value="SYNCFUSION" CharacterType="SegmentFourteen" />
SfDigitalGauge digital = new SfDigitalGauge();
    digital.Value = "SYNCFUSION";
    digital.CharacterType = CharacterType.SegmentFourteen;
    this.Grid.Children.Add(digital);

Digital-Characters_img3

16-Segments

The digital characters which are set as the value property of the digital gauge are displayed by 16 segments. These type of characters are also used to display both alphabets and numbers.

<syncfusion:SfDigitalGauge Value="SYNCFUSION" CharacterType="SegmentSixteen" />
SfDigitalGauge digital = new SfDigitalGauge();
    digital.Value = "SYNCFUSION";
    digital.CharacterType = CharacterType.SegmentSixteen;
    this.Grid.Children.Add(digital);

Digital-Characters_img4

8*8 Dot Matrix Segments

The digital characters which are set as the value property of the digital gauge are displayed by eight cross eight dot matrix segments. These type of characters are used to display special characters along with the alphabets and numbers.

<syncfusion:SfDigitalGauge Value="SYNCFUSION" CharacterType="EightCrossEightDotMatrix" />
SfDigitalGauge digital = new SfDigitalGauge();
    digital.Value = "SYNCFUSION";
    digital.CharacterType = CharacterType.EightCrossEightDotMatrix;
    this.Grid.Children.Add(digital);

Digital-Characters_img5