SAN-208 Better handle scaling on x axis

-metadata now returns a map with keys 'unit', 'value' and 'label' regarding unit scaling information