Multiple Items in EJ 1 Angular DigitalGauge
7 Jun 2017 / 1 minute to read
The text in the Digital Gauge is positioned with position object. This object contains two attributes such as x and y. The x variable positions the text in the horizontal axis and y variable positions the text in the vertical axis.
<ej-digitalgauge id="DigitalGauge1" with="1350" height="400" frame.backgroundImageUrl="board3.jpg"
[items]="[{value: 'BLUE',segmentSettings: {color: 'blue'}, position: {x: 90,y: 0}},
{value: 'RED',segmentSettings: {color: 'red'},position: {x: 90,y: 15}},
{value: 'PINK',segmentSettings: {color: 'pink'},position: {x: 90,y: 30}}]">
</ej-digitalgauge>
Execute the above code example 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