- The attribute value refers the text displayed in the Digital Gauge. This text is applicable only for that item instead of all items. Text color is changed by using the property textColor.
It is possible to align the text inside the Digital Gauge control by using the property textAlign. Two possible values for text align are as follows
<ej:DigitalGauge runat="server" ID="DigitalGauge1"> <Items> <%-- Adding Text properties --%> <ej:DigitalGaugeItems TextAlign="Right" Value="STOP"> </ej:DigitalGaugeItems> </Items> </ej:DigitalGauge>
Execute the above code examples to render the DigitalGauge as follows.
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page