adds xAxis and yAxis methods structure