Inline customYAxisFormat and fix left axis display color

If there is no right axis, the left axis now inherits the default color
rather than the first series color.