Getting the plugin started (NAWQAAN-361)

You seem to be calling options.canvasLegend a lot. May want to make a variable from that