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. Image for the cookie policy date

Displaying a negative value


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,


3 Replies

AT Anandaraj T Syncfusion Team 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. 


BN B Nielander 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,

AT Anandaraj T Syncfusion Team 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. 


Live Chat Icon For mobile
Up arrow icon