code: protected int mapGanttBarHeight(int height)
     {
        switch (height)
        {
           case 0:
           {
              height = 6;
              break;
           }
  
           case 1:
           {
              height = 8;
              break;
           }
  
           case 2:
           {
              height = 10;
              break;
           }
  
           case 3:
           {
              height = 12;
              break;
           }
  
           case 4:
           {
              height = 14;
              break;
           }
  
           case 5:
           {
              height = 18;
              break;
           }
  
           case 6:
           {
              height = 24;
              break;
           }
        }
  
        return (height);
     }
docs: This method maps the encoded height of a Gantt bar to
  the height in pixels.
  
  @param height encoded height
  @return height in pixels