Regarding - d3pie.js (plugin for d3.js) ,
Suppose I have a data
array of objects with both - label
and value
(number type) properties each one .
Currently the value
is displayed as it is , I want to display it in specify format such - $2,000
instead of 2000
and etc ..
I tried to add another property except label
and value
, say - formattedValue
, and then set it in -
"inner": {
"format": "formattedValue"
}
but the d3pie doesn't consider it and no value displayed .
How could I archive this ?