日期:2014-05-16 浏览次数:20495 次
$(document).ready(function() {
chart_answer = new Highcharts.Chart({
chart: {
backgroundColor: '#ffffff',
borderColor: '#a2a2a1',
borderWidth: 0,
borderRadius: 0,
renderTo: 'answer_time_chart',
type: 'area',
plotBackgroundColor: '#fffdf6'
},
colors: ['#3399FF'],
legend: {
enabled: false
},
title: {
text: ''
},
tooltip: {
borderRadius: 0,
borderWidth: 0,
shadow: false,
style: {
fontSize: '7pt',
color: '#000000'
},
formatter: function() {
return 'Time: ' + this.x + '
Time: ' + (this.y/60
------解决方案--------------------
0) + ':' + (this.y % 60 < 10 ? '0':'')+(this.y % 60); }
},
xAxis: {
labels: {
rotation: -45,
x: 0,
y: 40,
style: {
&n