refactoring, allow timegauge drawing on canvas as well