implemented  public Chart getChart(); in ChartPart