BZ 1080470 - The unit in the new d3 charts is not refreshed correctly.
Fix the bug that improperly calculates the units of measure on the Y-Axis and on Min Value of chart legend.

(cherry picked from commit 72f91658c25fbff3d5c229372129c2178f435b33)