     // Check if it fits, is within configured limits and that we are not simply toggling back and forth
                        if (textWidth < chart.innerRadius * 2 && fontSize < maxFontSize)
                            fontSize += 1;
                        else {
                            // Reverse last step
                            fontSize -= 1;
                            break;
                        }
                    } while (true);
                    ctx.restore();

                   