jqplotを使ってy軸の向きを逆にするにはどうすればいいのだろうか?
(incrementではなく、decrement)
<script>
jQuery(function($){
$.jqplot('chartdiv',[...],{
yaxis:{
max:1
min:10
}
}
});
</script>
<div id="chartdiv" style="height:500px;width:1000px; "></div>ずばりminに大きい値を設定しておいて、maxにminよりも小さい値を設定したら、軸の向きが逆転したー。参考
jqplot reversing y axis points and other problems
0 コメント:
コメントを投稿