@Override public String toString(){
  StringBuilder sb=new StringBuilder("ChartEntity: ");
  sb.append("tooltip = ");
  sb.append(this.toolTipText);
  return sb.toString();
}

@ Override public String toString ( ) { StringBuilder sb = new StringBuilder ( "ChartEntity: " ) ; sb . append ( "tooltip = " ) ; sb . append ( this . toolTipText ) ; return sb . toString ( ) ; }
returns a string representation of the chart entity , useful for debugging .
