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();}