Moved Domain Code from Axis.java to XYChart.java

Moved Domain Code from Axis.java to XYChart.java
Added Code for domain and tickInterval

Added Code for domain and tickInterval
Added tests for the tickinterval and domain

Added tests for the tickinterval and domain
Added code for domain and tickInterval

Added code for domain and tickInterval