To help you to understand the potential of using the CustomPaint widgets, let's create another widget, this time to draw a radial chart, like this:
The radial representation is very similar to the pie chart; the only difference is that it has a label in its center showing the total of the values.