edit chart.js

This commit is contained in:
daisyonly 2014-09-04 17:37:34 +08:00
parent ef8a7a9a2e
commit ac3d0ee6d2
1 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@ Chart.prototype.createChart = function(container) {
chart : {
type : 'spline'
},
tooltip : {
formatter : function() {
return Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x)
@ -49,8 +50,9 @@ Chart.prototype.addSeries = function(axis, seriesId, data,name) {
data : data,
marker : {
enabled : true,
radius : 3
radius : 8
},
lineWidth: 5,
showInLegend : true
}, true);
};