How to change precession format to% pie chart using nvd3

 
 var barchart = nv.models.multiBarChart (); 

 barchart.yAxis.tickFormat (d3.format ('%'));

like this we can use for line and chart how to use this thing for pie chart

+4
source share
2 answers

we can use this thing for% pie

  chart.valueFormat (d3.format ('%')) 
+4
source

If you are still looking for an answer, Here is a simple question I answered.

0
source

Source: https://habr.com/ru/post/1482444/


All Articles