protected void decodeLineStyle(final Object lineStyleFlag){
  if (lineStyleFlag == null || NO_STYLE_STRING.equals(lineStyleFlag)) {
    lineStyle=NO_LINE_STYLE;
    return;
  }
  if (LEG_LINE_STYLE_STRING.equals(lineStyleFlag)) {
    lineStyle=LEG_LINE_STYLE;
  }
 else   if (HORIZ_STYLE_STRING.equals(lineStyleFlag)) {
    lineStyle=HORIZ_LINE_STYLE;
  }
}

protected void decodeLineStyle ( final Object lineStyleFlag ) { if ( lineStyleFlag == null || NO_STYLE_STRING . equals ( lineStyleFlag ) ) { lineStyle = NO_LINE_STYLE ; return ; } if ( LEG_LINE_STYLE_STRING . equals ( lineStyleFlag ) ) { lineStyle = LEG_LINE_STYLE ; } else if ( HORIZ_STYLE_STRING . equals ( lineStyleFlag ) ) { lineStyle = HORIZ_LINE_STYLE ; } }
this function converts between the string passed into the client property and the internal representation ( currently an int )
