2014/08/24

[jQuery][jqplot]グラフの枠線の色を変更

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="./jquery.jqplot.min.js"></script>
<script>
jQuery(function($){
  $.jqplot('chartdiv',[...],{
      grid: {
        borderColor:'#fbfbfb'
      }
  }
});
</script>
<div id="chartdiv" style="height:500px;width:1000px; "></div>
borderColorキーの値を変更すればおk

0 コメント:

コメントを投稿