Hi all,
I am trying to create custom charts within the ArcGIS Hub Site I created, but I am running into the issue of the pie chart not letting me edit the balloon text within the overrides section of my JSON script.
{
"type": "pie",
"datasets": [
{
"name": "dataset1",
"query": {
"where": "query",
"orderByFields": "taxable_amount_sum DESC",
"groupByFieldsForStatistics": "Schooldist",
"outStatistics": [
{
"statisticType": "sum",
"onStatisticField": "Amount * 0.20",
"outStatisticFieldName": "taxable_amount_sum"
}
]
},
"url": "myurl"
}
],
"series": [
{
"source": "dataset1",
"category": {
"field": "Schooldist",
"label": "School Districts"
},
"value": {
"field": "taxable_amount_sum",
"label": "Total Appraised Value"
}
}
],
"style": {
"colors": [
"#283250",
"#2c5e79",
"#448c96",
"#7abaa9",
"#a1cebe",
"#b6dbbf",
"#2c5e79",
"#448c96"
],
"padding": {
"top": 30,
"bottom": 10
},
"pie": {
"expand": 0
}
},
"overrides": {
"startRadius": 300,
"innerRadius": 40,
"pullOutRadius": 25,
"labelRadius": 20,
"labelText": "[[title]]",
"balloonText": "[[title]]",
"outlineAlpha": 0.7,
"depth3D": 10,
"angle": 5,
"balloon": {
"adjustBorderColor": true,
"cornerRadius": 5
},
"color": "#e6e6e6",
"groupPercent": 1.3
},
"legend": {
"visible": false
}
}
The "labelText" works as expected, but the "balloonText" does not change. If anyone knows if I am putting the "balloonText" in the wrong location or I have the syntax wrong please let me know.
Thanks