change min and max y-axis values in a raphael linechart
问题 Consider the following code (sorry I was not able to put it on jsfiddle): <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="raphael.js"></script> <script src="g.raphael.js"></script> <script src="g.bar.js"></script> <script src="g.line-min.js"></script> <body> <div style="width:500px;height:150px" id="div"></div> <script> var r = Raphael("div",400,150), fin = function () { this.flag = r.popup(this.x, this.y, this.value