Fix some PR comments, to squash

Will be squashed into axes labelling commit before being merged.

Fix variable naming of formatLabel vs formatValue, move value axes
computations into axes helper, and fix value axes looking at largest
number instead of number of greatest magnitude and looking at pre-scaled
domain instead of axis domain.

Author: Dylan Nugent
Revert "Revert "Reverts change from templateName to layoutName""

This reverts commit 4d0d7105fd41f7f15e836627ba8fd761724cd205.