4
如何定制JQPlot中图形的黑色边框? 我广泛搜索了CSS文件,找不到任何东西。如何定制JQPlot周围的黑色边框
[更新]
请参阅此图像,如果你不理解我的意思: http://img339.imageshack.us/img339/5796/jqplot.png
感谢
如何定制JQPlot中图形的黑色边框? 我广泛搜索了CSS文件,找不到任何东西。如何定制JQPlot周围的黑色边框
[更新]
请参阅此图像,如果你不理解我的意思: http://img339.imageshack.us/img339/5796/jqplot.png
感谢
看电网drawBorder,borderColor和shadow的jqplot选项:
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>
你先生,是个天才:) – ajaybc 2012-07-18 03:42:50
有个例子吗? – jeschafe 2012-07-17 05:24:49
http://www.jqplot.com/tests/line-charts.php我看不到黑色边框。你是在自己添加这些吗? – ahren 2012-07-17 05:36:01
我已添加图片。 http://img339.imageshack.us/img339/5796/jqplot.png – ajaybc 2012-07-17 05:48:08