如何在 JQPlot 中自定义图表周围的黑色边框?
我广泛搜索了 CSS 文件,但没有找到任何内容。
[UPDATE]
如果您不明白我的意思,请看这张图片:http://img339.imageshack.us/img339/5796/jqplot.png http://img339.imageshack.us/img339/5796/jqplot.png
Thanks
查看网格的 jqplot 选项绘制边框 http://www.jqplot.com/docs/files/jqplot-core-js.html#Grid.drawBorder, 边框颜色 http://www.jqplot.com/docs/files/jqplot-core-js.html#Grid.borderColor and shadow http://www.jqplot.com/docs/files/jqplot-core-js.html#Grid.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>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)