2014/08/30

[jQuery][jqplot]線グラフのメモリ線を非表示

線グラフを表示する時に、メモリ線を表示しない方法は、xaxisキーのshowGridlineをfalseにすればおk

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="./jquery.jqplot.min.js"></script>
$.jqplot('linechart', [...] ,{
    axes:{
      xaxis:{
        tickOptions:{
          showGridline:false
        }
      }
    }
});

0 コメント:

コメントを投稿