The draw method of both the HorizontalColorBarAxis
and VerticalColorBarAxis classes should have a check
to detect if they are supposed to be visable or not (as is
done in HorizontalValueAxis for example).
There may be draw methods in other ...Axis classes
that also need this but I did not check.