【发布时间】:2014-04-11 20:45:07
【问题描述】:
我尝试在我的网站上添加仪表,我将 js 和 css 添加到我的信息文件中
比在页面中我有这个代码
<script>$(document).ready(function(){
s1 = [1];
plot0 = $.jqplot('chart0',[s1],{
title: 'Network Speed',
seriesDefaults: {
renderer: $.jqplot.MeterGaugeRenderer,
rendererOptions: {
label: 'MB/s'
}
}
});
});
</script>
<div class="plot0" style="width:250px;height:170px;"></div>
它给了我一个错误“未捕获未指定情节目标”,有什么想法吗?
【问题讨论】:
标签: javascript html drupal jqplot