Fix graphs displaying 'Chart title'

This commit is contained in:
Rsl1122 2017-08-30 13:34:42 +03:00
parent d9a35e587e
commit f27313dad3
8 changed files with 7 additions and 25 deletions

View File

@ -6,7 +6,7 @@ function activityPie(id, activitySeries, activityTotal, activityColors) {
plotShadow: false,
type: 'pie'
},
subtitle: {text: 'Total Players:' + activityTotal},
title: {text: ''},
tooltip: {
pointFormat: '{series.name}: <b>{point.y}</b>'
},

View File

@ -1,24 +0,0 @@
function gmPie(id, gmSeries, gmtotal, gmColors) {
Highcharts.chart(id, {
chart: {
plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false,
type: 'pie'
},
subtitle: {text: gmtotal},
tooltip: {
pointFormat: '{series.name}: <b>{point.percentage:.2f}%</b>'
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: 'pointer',
dataLabels: {
enabled: false
},
colors: gmColors,
showInLegend: true
}
},
series: [gmSeries]
});
}

View File

@ -23,6 +23,7 @@ function playersChart(id, playersOnlineSeries, sel) {
text: 'All'
}]
},
title: {text: ''},
plotOptions: {
areaspline: {
fillOpacity: 0.4

View File

@ -3,6 +3,7 @@ function punchCard(id, punchcardSeries) {
chart: {
defaultSeriesType: 'scatter'
},
title: {text: ''},
xAxis: {
type: 'datetime',
dateTimeLabelFormats: {

View File

@ -49,6 +49,7 @@ function resourceChart(id, cpuSeries, ramSeries) {
tooltip: {
split: true
},
title: {text: ''},
plotOptions: {
areaspline: {
fillOpacity: 0.4

View File

@ -48,6 +48,7 @@ function tpsChart(id, tpsSeries, playersOnlineSeries) {
tooltip: {
split: true
},
title: {text: ''},
plotOptions: {
areaspline: {
fillOpacity: 0.4

View File

@ -49,6 +49,7 @@ function worldChart(id, entitySeries, chunkSeries) {
tooltip: {
split: true
},
title: {text: ''},
plotOptions: {
areaspline: {
fillOpacity: 0.4

View File

@ -3,6 +3,7 @@ function worldMap(id, colorMin, colorMax, mapSeries) {
chart: {
animation: true
},
title: {text: ''},
colorAxis: {
min: 1,
type: 'logarithmic',