Is there a way to display value instead of percentage for pie charts?

114
0
11-19-2019 08:18 AM
JennaOshita
New Contributor

I want to remove the percentage and only show value in the label and also the tooltip. Also is it possible to concatenate text with field where I can add "$" in front of the value?

{
"type": "pie",
"datasets": [
{
"url": "URL",
"query": {
"where": "FOCUS_AREA='parksrec' AND UNIQUE_ID='1'",
"orderByFields": "Source",
"groupByFieldsForStatistics": "Source",
"outStatistics": [
{
"statisticType": "sum",
"onStatisticField": "Amount",
"outStatisticFieldName": "Amount"
}
]
}
}
],
"series": [
{

"category": {
"field": "Source",
"label": "Source"
},
"value": {
"field": "Amount",
"label": "Funding"
}
}
],
"style": {
"padding": {
"top": 5,
"bottom": 5
},
"pie": {
"expand": -50
}
},
"legend": {
"visible": true
}
}
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
Tags (2)
0 Kudos
0 Replies