87,901
社区成员
发帖
与我相关
我的任务
分享
$(function () {
$(document).ready(function () {
colors = Highcharts.getOptions().colors,
categories = [];
name = 'Browser brands',
data = [];
chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
type: 'column'
},
title: {
text: 'Browser market share, April, 2011'
},
subtitle: {
text: 'Click the columns to view versions. Click again to view brands.'
},
xAxis: {
categories: categories,
labels: {
style: {
fontSize: '13px',
fontFamily: 'Verdana, sans-serif'
}
}
},
yAxis: {
title: {
text: 'Total percent market share'
}
},
plotOptions: {
column: {
cursor: 'pointer'
}
},
tooptip: {
formatter: function () {
return '' + this.x + "%%" + this.y + "";
}
},
series: []
});
});
});
var chart;
var colors;
var options;
$(function () {
$(document).ready(function () {
categories = [];
options = {
chart: {
renderTo: 'container',
type: 'column'
},
title: {
text: 'Browser market share, April, 2011'
},
subtitle: {
text: 'Click the columns to view versions. Click again to view brands.'
},
xAxis: {
categories: categories,
labels: {
style: {
fontSize: '13px',
fontFamily: 'Verdana, sans-serif'
}
}
},
yAxis: {
title: {
text: 'Total percent market share'
}
},
plotOptions: {
column: {
cursor: 'pointer'
}
},
tooptip: {
formatter: function () {
return '' + this.x + "%%" + this.y + "";
}
},
series: []
}
});
});
options.chart.renderTo = "statEff";
options.title.text = "多人绩效分数统计";
options.yAxis.title.text = "工作量(小时/人)";
chart = new Highcharts.Chart(options);