Allow string values in Gauges

We are using string values in gauges (such as jenkins build tag). They were not displayed because number:0 does not work with non-numbers.

Second commit: small refactorings in GraphDataGenerator