I have a pie chart that I'm fetching json data from my controller to populate. The json is pretty basic:
This is good and I fetch it with my controller method but the labels on the pie chart/legend/etc. are (of course) the same as the "type" field. I want to present it in a more friendly manner so for example show "PlannedOutageRequest" as "Planned Outages" on the chart.
Here's my chart markup if that helps: