Donut charts were formerly separate charts, however it's now simply a variant of the Pie chart.
<script>
window.onload = function ()
{
// The data to be shown on the Donut chart
var data = [45,57,48,32];
// Create the Donut chart (which is really a Pie chart).
var donut = new OfficeExcel.Pie('myDonut', data);
// Configure the Donut chart to look as wanted.
donut.Set('chart.labels', ['Jan', 'Ben', 'Mark', 'Lucy']);
donut.Set('chart.linewidth', 5);
donut.Set('chart.strokestyle', 'white');
donut.Set('chart.tooltips', ['Jan', 'Ben', 'Mark', 'Lucy']);
// Specify the variant, which turns the Pie chart into a Donut chart.
donut.Set('chart.variant', 'donut');
// Call the .Draw() method to draw the Donut chart
donut.Draw();
}
</script>