<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="./jquery.jqplot.min.js"></script> <script src="./plugins/jqplot.barRenderer.min.js"></script>
<script> d = [ [[1,2],[2,3]], [[1,4],[2,6]] ]; $.jqplot('barchart', d ,{ stackSeries: true, seriesDefaults:{ renderer:$.jqplot.BarRenderer, highlightMouseDown: true, pointLabels: {show: true} } axes:{ xaxis:{ renderer: $.jqplot.CategoryAxisRenderer } yaxis:{ min:0 } }, series:['red','yellow'] }); </script>
0 コメント:
コメントを投稿