Thanks Phil, it was a cache issue causing the pie-chart not to render.
My goal is to input 2 stats objects values as inputs for the value field of the values array list. I do not understand how to pass the parameter correctly..
<ma-point-statistics point="points[0]" from="from" to="to" statistics="statsObj1"></ma-point-statistics>
<ma-point-statistics point="points[1]" from="from" to="to" statistics="statsObj2"></ma-point-statistics>
<ma-pie-chart style="height: 300px; width: 600px" values="[ { value: statsObj1.sum.value, text: 'hot', color: '#ff9300' }, { value: statsObj2.sum.value, text: 'cold', color: '#942192' } ]"
options="{depth3D:15,angle:30}"></ma-pie-chart>
I believe this breaks because statsObj2.sum.value is returning a string that has the unit descriptor. ie. "251.00 LP5M" and value expects a number which I do not know how to convert to 251 inside the directive as in {{statsObj2.sum.value | limitTo:5}}
can I use <ma-calc here somehow?