4

How do I customize the black border around the graphs in JQPlot? I searched the CSS file extensively and couldn't find anything.

[UPDATE]

Please see this image if you are not understanding what i mean: http://img339.imageshack.us/img339/5796/jqplot.png

Thanks

ajaybc
  • 4,049
  • 7
  • 44
  • 57

1 Answers1

7

Look at the jqplot options for grid drawBorder, borderColor and shadow:

var plot1 = $.jqplot ('container', [[3,7,9,1,4,6,8,2,5]], {grid:{borderColor:'transparent',shadow:false,drawBorder:false,shadowColor:'transparent'}});

$(document).ready(function(){
    var plot1 = $.jqplot ('container', [[3,7,9,1,4,6,8,2,5]], {grid:{borderColor:'transparent',shadow:false,drawBorder:false}});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqPlot/1.0.9/jquery.jqplot.js"></script>
      
<div id="container"></div>
Mark
  • 106,305
  • 20
  • 172
  • 230