fix by jshint
feature: hide each rail if bar size is 0