implement y axis property

this change allow the chart's yAxis property to work.