add configurable base option

allow graph defs to specify their base unit. specifically this lets graph defs which work with bytes specify that they should be calculated using 1024 instead of 1000
could you pull this out of the first datapoint also?