1.在html中准备一个div作为图形容器,需具备大小 < div id= "second" style= " height: 400 px; width: 550 px; float: left " ></ div > 2.柱状图模型 <script type= "text/javascript"> var