Removed unnecessary plugin-global variables.
The canvasWidth, canvasHeight, legendWidth and legendHeight variables existed only to share data between the setupPie and draw functions. Now that setupPie has been folded into draw, they're no longer necessary.
Showing
Please
register
or
sign in
to comment