I have a pie chart that needs to have a missing 10% missing slice. I have the following code but the pie is always 100%.
var myChart = new dimple.chart(svg, data);
myChart.setBounds(50, 50, 180, 180);
myChart.defaultColors = chartOptions.colors;
myChart.data.startAngle = 0;
myChart.data.endAngle = (2 * Math.PI * 0.9);
myAxis = myChart.addMeasureAxis('p', 'amount');
var mySeries = myChart.addSeries('legend', dimple.plot.pie);
How do I make the pie less than 100%? The above example needs to have the pe be 90 percent.
The only way I can see to hack this into dimple.js is with a fake datapoint, you hide after the draw: