easy-pie-chart icon indicating copy to clipboard operation
easy-pie-chart copied to clipboard

Display percentage with angular directive

Open cberez opened this issue 11 years ago • 4 comments

Hi,

That pie chart plugin is exactly what i'm looking for, thanks for the work.

However, I can't get to display the percentage at the center of the pie chart with the angular directive and you're not really explaining how we are supposed to. Do we add it and place it with css by ourself ? Or did you include a way to do it ?

Thx

cberez avatar Mar 24 '15 15:03 cberez

I am experiencing the same issue.

Sh1n avatar Mar 24 '15 15:03 Sh1n

Found an answer in a previously closed issue here : Value percentage into the circle

Still it might be interesting to specify it in the instructions, no ?

cberez avatar Mar 24 '15 16:03 cberez

Hi,

Mine those not work how did you do it?

calvinKG avatar Oct 14 '15 14:10 calvinKG

Just make your directive like this, <div class="percent chart" easypiechart options="options" percent="percent"><span style="line-height:110px;">{{ percent }}</span></div>

Dharmik8478 avatar Feb 28 '17 12:02 Dharmik8478