This commit is contained in:
hmm 2014-09-04 17:43:42 +08:00
commit 86a52df435
1 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@ Chart.prototype.createChart = function(container) {
chart : { chart : {
type : 'spline' type : 'spline'
}, },
tooltip : { tooltip : {
formatter : function() { formatter : function() {
return Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) 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, data : data,
marker : { marker : {
enabled : true, enabled : true,
radius : 3 radius : 8
}, },
lineWidth: 5,
showInLegend : true showInLegend : true
}, true); }, true);
}; };