We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Displaying a negative value

Thread ID:





127784 Dec 8,2016 04:10 PM UTC Dec 13,2016 01:07 PM UTC JavaScript 3
Tags: ejDigitalGauge
B Nielander
Asked On December 8, 2016 04:10 PM UTC


Is it possible to show a negative value with the ejDigitalGauge widget?
In the example below, not "-123" is shown, but "123"

        <div class="col-md-12">
            <div id="gauge"> </div>
        <script type="text/javascript">
                var olapClient = $("#gauge");

                olapClient.ejDigitalGauge({ value: "-123" });

With kind regards,


Anandaraj T [Syncfusion]
Replied On December 9, 2016 04:51 AM UTC

Hi B Nielander, 

Thanks for using Syncfusion products. 

We have prepared a simple sample for using  negative values in ejDigitalGauge widget. The sample is available in the following link 

Please refer the following code snippet to achieve this 

                value: "-123", 
                //Default value of minimum is 0 
                minimum: -200, 
                //Default value of maximum is 100 
                maximum: -100 

Please let us know if you have any concern. 


B Nielander
Replied On December 12, 2016 08:13 AM UTC


The example prepared is using ejCircularGauge instead of ejDigitalGauge. Changing the example in jsplayground shows that the minus is still not shown.

With kind regards,

Anandaraj T [Syncfusion]
Replied On December 13, 2016 01:07 PM UTC

Hi B Nielander, 

Sorry for the inconvenience caused. 

Currently, support for displaying  negative sign (-) in digital gauge is not available. We have logged an improvement task for this requirement. It will be implemented in any of our upcoming releases. 

Please let us know if you have any concern. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon