code: private GridLines getGridLines(byte[] data, int offset)
     {
        Color normalLineColor = ColorType.getInstance(data[offset]).getColor();
        LineStyle normalLineStyle = LineStyle.getInstance(data[offset + 3]);
        int intervalNumber = data[offset + 4];
        LineStyle intervalLineStyle = LineStyle.getInstance(data[offset + 5]);
        Color intervalLineColor = ColorType.getInstance(data[offset + 6]).getColor();
        return new GridLines(normalLineColor, normalLineStyle, intervalNumber, intervalLineStyle, intervalLineColor);
     }
docs: Creates a new GridLines instance.
  
  @param data data block
  @param offset offset into data block
  @return new GridLines instance