XYChart class added