rendro / easy-pie-chart

easy pie chart is a lightweight plugin to draw simple, animated pie charts for single values
http://rendro.github.io/easy-pie-chart
MIT License
2.07k stars 501 forks source link

How to delete % mark ? #174

Closed BumbuKhan closed 8 years ago

BumbuKhan commented 8 years ago

How to delete % mark from the end of number inside chart? Or how to show another unit, for example Mb

janeski-zz commented 8 years ago

Hi, I am looking for the same thing. Do you have any progress?

rendro commented 8 years ago

You can delete it in the css. just remove the pseudo element or change its content property.

BumbuKhan commented 8 years ago

@rendro thanks

janeski-zz commented 8 years ago

Thanks @rendro. To support multiple units I added new class for each unit: .celsius { display: inline-block; line-height: 84px; z-index: 2; font-size: 16px; } .celsius:after { content: "\00b0"; margin-left: 0.1em; font-size: .8em; }