Integrated AxisVisibility into axis rendering functions.