mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 03:27:37 +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,
|
plotShadow: false,
|
||||||
type: 'pie'
|
type: 'pie'
|
||||||
},
|
},
|
||||||
subtitle: {text: 'Total Players:' + activityTotal},
|
title: {text: ''},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
pointFormat: '{series.name}: <b>{point.y}</b>'
|
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'
|
text: 'All'
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
title: {text: ''},
|
||||||
plotOptions: {
|
plotOptions: {
|
||||||
areaspline: {
|
areaspline: {
|
||||||
fillOpacity: 0.4
|
fillOpacity: 0.4
|
||||||
|
@ -3,6 +3,7 @@ function punchCard(id, punchcardSeries) {
|
|||||||
chart: {
|
chart: {
|
||||||
defaultSeriesType: 'scatter'
|
defaultSeriesType: 'scatter'
|
||||||
},
|
},
|
||||||
|
title: {text: ''},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
dateTimeLabelFormats: {
|
dateTimeLabelFormats: {
|
||||||
|
@ -49,6 +49,7 @@ function resourceChart(id, cpuSeries, ramSeries) {
|
|||||||
tooltip: {
|
tooltip: {
|
||||||
split: true
|
split: true
|
||||||
},
|
},
|
||||||
|
title: {text: ''},
|
||||||
plotOptions: {
|
plotOptions: {
|
||||||
areaspline: {
|
areaspline: {
|
||||||
fillOpacity: 0.4
|
fillOpacity: 0.4
|
||||||
|
@ -48,6 +48,7 @@ function tpsChart(id, tpsSeries, playersOnlineSeries) {
|
|||||||
tooltip: {
|
tooltip: {
|
||||||
split: true
|
split: true
|
||||||
},
|
},
|
||||||
|
title: {text: ''},
|
||||||
plotOptions: {
|
plotOptions: {
|
||||||
areaspline: {
|
areaspline: {
|
||||||
fillOpacity: 0.4
|
fillOpacity: 0.4
|
||||||
|
@ -49,6 +49,7 @@ function worldChart(id, entitySeries, chunkSeries) {
|
|||||||
tooltip: {
|
tooltip: {
|
||||||
split: true
|
split: true
|
||||||
},
|
},
|
||||||
|
title: {text: ''},
|
||||||
plotOptions: {
|
plotOptions: {
|
||||||
areaspline: {
|
areaspline: {
|
||||||
fillOpacity: 0.4
|
fillOpacity: 0.4
|
||||||
|
@ -3,6 +3,7 @@ function worldMap(id, colorMin, colorMax, mapSeries) {
|
|||||||
chart: {
|
chart: {
|
||||||
animation: true
|
animation: true
|
||||||
},
|
},
|
||||||
|
title: {text: ''},
|
||||||
colorAxis: {
|
colorAxis: {
|
||||||
min: 1,
|
min: 1,
|
||||||
type: 'logarithmic',
|
type: 'logarithmic',
|
||||||
|
Loading…
Reference in New Issue
Block a user