This topic contains 1 reply, has 2 voices, and was last updated by  Ehsan Dalvand 3 years, 6 months ago.

Remove the "%" symbol in easy-pie-chart

  • Hi dear:
    Your website is fantastic!!
    And it’s a little question wanna ask for help~

    After checking the document, just realize the jQuery plug-in called easy-pie-chart. (as the attach image)

    I wanna remove the “%” symbol from the center of circle. Just display the number only.

    Is that feasible? How can I get it done~

    Deeply appreciative of your help!

    Warm regard,
    Ethan W.

    Attachments:
    You must be logged in to view attached files.

    Hello Ethan,

    Thanks for your purchase and comment about the template. I’m glad you like it.

    Open the js/custom.js file and search for:

    $(this.el).find('span').text(Math.round(percent) + '%');
    

    All you need to is deleting the ‘%’, so it should be changed to:

    $(this.el).find('span').text(Math.round(percent));
    

    Save the file and make use the CTRL+ F5 or CMD + R for first time refreshing.

The topic ‘Remove the "%" symbol in easy-pie-chart’ is closed to new replies.