Added metric-based text renderer. fixes datacleaner/DataCleaner#108