public String toString() {StringBuilder sb = new StringBuilder();sb.append("[CHART]\n");sb.append("    .x     = ").append(getX()).append('\n');sb.append("    .y     = ").append(getY()).append('\n');sb.append("    .width = ").append(getWidth()).append('\n');sb.append("    .height= ").append(getHeight()).append('\n');sb.append("[/CHART]\n");return sb.toString();}

public String toString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "[CHART]\n" ) ; sb . append ( "    .x     = " ) . append ( getX ( ) ) . append ( '\n' ) ; sb . append ( "    .y     = " ) . append ( getY ( ) ) . append ( '\n' ) ; sb . append ( "    .width = " ) . append ( getWidth ( ) ) . append ( '\n' ) ; sb . append ( "    .height= " ) . append ( getHeight ( ) ) . append ( '\n' ) ; sb . append ( "[/CHART]\n" ) ; return sb . toString ( ) ; }
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[CHART]\n");buffer.Append("    .x                    = ").Append("0x").Append(HexDump.ToHex(X)).Append(" (").Append(X).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("    .y                    = ").Append("0x").Append(HexDump.ToHex(Y)).Append(" (").Append(Y).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("    .width                = ").Append("0x").Append(HexDump.ToHex(Width)).Append(" (").Append(Width).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("    .height               = ").Append("0x").Append(HexDump.ToHex(Height)).Append(" (").Append(Height).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/CHART]\n");return buffer.ToString();}
