g.append("g") .call(y_axis) .append("text") .text("price($)")
.attr("transform", "rotate(-90)") //文字逆时针旋转90度
.attr("text-anchor", "end") //设置文字的对齐方式
.attr("dy", "1em") //设置偏移量