BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
[ASPX]
<ej:CircularGauge ClientIDMode="Static" Load="addImage" runat="server" ID="CircularGauge1">
</ej:CircularGauge>
[JS]
function addImage(gauge) { //Load event triggered
gauge.model.scales[0].indicators[0].position.x = 100;
gauge.model.scales[0].indicators[0].position.y = 120;
gauge.model.scales[0].indicators[0].type = "image";
gauge.model.scales[0].indicators[0].imageUrl = "download.jpg";
gauge.model.scales[0].showIndicators = true;
} |
[ASPX]
<asp:Timer ID="Timer1" runat="server" Interval="2000" OnTick="Timer1_Tick"></asp:Timer>
[CS]
protected void Timer1_Tick(object sender, EventArgs e)
{
Random random = new Random();
var value = random.Next(10,100);
CircularGauge1.Scales[0].Pointers[0].Value = value;
} |