Gauge charts and decimals

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10034749
    fl-330
    Participant

    Hello

    I want my gauge chart to display decimals.
    Seems like value displayed with <label id=”gaugeAlternativeTextfield”></label> is rounded to upper value
    I tried to get into the javascript but can’t find how to change this behaviour.

    Thanks for any help.



    Template Version: 2.1.1
    #10034756
    Support
    Keymaster

    Hello,

    You can change it at js/examples/exmaples.chats.js:

    gauge.setTextField(document.getElementById("gaugeBasicTextfield"), 2);

    * Note the the 2.

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


    #10034764
    fl-330
    Participant

    Hi Rodrigo

    Thanks, that did the trick.

    Best regards

    Adel


    #10034768
    Support
    Keymaster

    Hello Adel,

    Great! 🙂

    If you need further assistance feel free to contact us.

    Kind Regards,

    Rodrigo.


    If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


Viewing 4 posts - 1 through 4 (of 4 total)

This topic is marked as "RESOLVED" and can not rceive new replies.