mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-26 19:17:43 +01:00
Fix graphs displaying 'Chart title'
This commit is contained in:
parent
d9a35e587e
commit
f27313dad3
@ -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>'
|
||||
},
|
||||
|
@ -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]
|
||||
});
|
||||
}
|
@ -23,6 +23,7 @@ function playersChart(id, playersOnlineSeries, sel) {
|
||||
text: 'All'
|
||||
}]
|
||||
},
|
||||
title: {text: ''},
|
||||
plotOptions: {
|
||||
areaspline: {
|
||||
fillOpacity: 0.4
|
||||
|
@ -3,6 +3,7 @@ function punchCard(id, punchcardSeries) {
|
||||
chart: {
|
||||
defaultSeriesType: 'scatter'
|
||||
},
|
||||
title: {text: ''},
|
||||
xAxis: {
|
||||
type: 'datetime',
|
||||
dateTimeLabelFormats: {
|
||||
|
@ -49,6 +49,7 @@ function resourceChart(id, cpuSeries, ramSeries) {
|
||||
tooltip: {
|
||||
split: true
|
||||
},
|
||||
title: {text: ''},
|
||||
plotOptions: {
|
||||
areaspline: {
|
||||
fillOpacity: 0.4
|
||||
|
@ -48,6 +48,7 @@ function tpsChart(id, tpsSeries, playersOnlineSeries) {
|
||||
tooltip: {
|
||||
split: true
|
||||
},
|
||||
title: {text: ''},
|
||||
plotOptions: {
|
||||
areaspline: {
|
||||
fillOpacity: 0.4
|
||||
|
@ -49,6 +49,7 @@ function worldChart(id, entitySeries, chunkSeries) {
|
||||
tooltip: {
|
||||
split: true
|
||||
},
|
||||
title: {text: ''},
|
||||
plotOptions: {
|
||||
areaspline: {
|
||||
fillOpacity: 0.4
|
||||
|
@ -3,6 +3,7 @@ function worldMap(id, colorMin, colorMax, mapSeries) {
|
||||
chart: {
|
||||
animation: true
|
||||
},
|
||||
title: {text: ''},
|
||||
colorAxis: {
|
||||
min: 1,
|
||||
type: 'logarithmic',
|
||||
|
Loading…
Reference in New Issue
Block a user