LinearGauge.updateLegend Method

Responsible for updating a legend control, if it exists, with information from this control. The parent method in the Gauge class clears all existing legend items belonging to this control. This method should call super then add items to the legend.