Pie Chart not working
-
I pasted this right from the examples and the API docs. Its not rendering.
Have I misssed something?
<ma-pie-chart style="height: 300px; width: 600px" values="[ { "value": 30, "text": "hot", "color": "#ff9300" }, { "value": 70, "text": "cold", "color": "#942192" } ]" options="{depth3D:15,angle:30}"></ma-pie-chart>
-
There is an error in the document. The quote marks around the list of value objects and the various quotes inside need to be different, as,
<ma-pie-chart style="height: 300px; width: 600px" values='[ { "value": 30, "text": "hot", "color": "#ff9300" }, { "value": 70, "text": "cold", "color": "#942192" } ]' options="{depth3D:15,angle:30}"></ma-pie-chart>
Thanks for bringing it to our attention!