我已经包含了jQuery_1.8.2 js文件,然后包含了这段代码但是我得到了错误..
TypeError:$(...).highcharts不是函数[Break On This Error]
数据:[3.9,4.2,5.7,8.5,11.9,15.2,17.0,16.6,14.2,10.3,6.6,4.8]
我刚刚创建了一个带有id容器的div ..我出错了..将js文件放错的顺序..?如何解决这个问题..?
<script>
buildHighCharts();
function buildHighCharts(){
$('#container').highcharts({
chart: {
type: 'line',
marginRight: 130,
marginBottom: 25
},
title: {
text: 'Monthly Average Temperature',
x: -20 //center
},
subtitle: {
text: 'Source: WorldClimate.com',
x: -20
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
yAxis: {
title: {
text: 'Temperature (°C)'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
valueSuffix: '°C'
}, …Run Code Online (Sandbox Code Playgroud) 我想一次自定义检查和取消选中图例元素,我不知道,我们可以这样做吗?让我知道这样做的方法..
如何将groupby结果作为列名称
如果我们使用员工桌
按性别从工作人员组中选择计数(*); 给我一个

但我需要它们作为列男| 女| 没有