Propose to expand getValueRepresentation method of MetricValueDto. I think it should define how to be presented. Either just number - 232.33 or colored number <p style="...">232.33</p>