No Y axis labels
This commit is contained in:
parent
00df7b0161
commit
9771fd7448
@ -4,7 +4,7 @@ const commonChartOptions = {
|
|||||||
title: {style: {color: '#FFFFFF', fontSize: '16px'}},
|
title: {style: {color: '#FFFFFF', fontSize: '16px'}},
|
||||||
subtitle: {style: {color: '#FFFFFF', fontSize: '12px'}},
|
subtitle: {style: {color: '#FFFFFF', fontSize: '12px'}},
|
||||||
xAxis: {labels: {style: {color: '#FFFFFF'}}, lineColor: '#FFFFFF', tickColor: '#FFFFFF'},
|
xAxis: {labels: {style: {color: '#FFFFFF'}}, lineColor: '#FFFFFF', tickColor: '#FFFFFF'},
|
||||||
yAxis: {labels: {style: {color: '#FFFFFF'}}, gridLineColor: 'rgba(255, 255, 255, 0.1)'},
|
yAxis: {labels: {style: {color: '#FFFFFF'}}, gridLineColor: 'rgba(255, 255, 255, 0.1)', title: {text: false}},
|
||||||
tooltip: {backgroundColor: '#1E1E1E', borderColor: '#FFFFFF', style: {color: '#FFFFFF'}},
|
tooltip: {backgroundColor: '#1E1E1E', borderColor: '#FFFFFF', style: {color: '#FFFFFF'}},
|
||||||
legend: {itemStyle: {color: '#FFFFFF'}},
|
legend: {itemStyle: {color: '#FFFFFF'}},
|
||||||
credits: {enabled: false},
|
credits: {enabled: false},
|
||||||
@ -199,7 +199,6 @@ Highcharts.chart('densityChart', {
|
|||||||
chart: {...commonChartOptions.chart, type: 'areaspline'},
|
chart: {...commonChartOptions.chart, type: 'areaspline'},
|
||||||
title: {...commonChartOptions.title, text: 'FPS Density'},
|
title: {...commonChartOptions.title, text: 'FPS Density'},
|
||||||
xAxis: {...commonChartOptions.xAxis, title: {text: 'FPS', style: {color: '#FFFFFF'}}, labels: {style: {color: '#FFFFFF'}}}, // Show X-axis labels in white
|
xAxis: {...commonChartOptions.xAxis, title: {text: 'FPS', style: {color: '#FFFFFF'}}, labels: {style: {color: '#FFFFFF'}}}, // Show X-axis labels in white
|
||||||
yAxis: {...commonChartOptions.yAxis, title: {text: 'Count', style: {color: '#FFFFFF'}}},
|
|
||||||
tooltip: {...commonChartOptions.tooltip, shared: true, formatter: function() {return `<b>${this.points[0].series.name}</b>: ${this.points[0].y} points at ~${Math.round(this.points[0].x)} FPS`;}},
|
tooltip: {...commonChartOptions.tooltip, shared: true, formatter: function() {return `<b>${this.points[0].series.name}</b>: ${this.points[0].y} points at ~${Math.round(this.points[0].x)} FPS`;}},
|
||||||
plotOptions: {areaspline: {fillOpacity: 0.5, marker: {enabled: false}}},
|
plotOptions: {areaspline: {fillOpacity: 0.5, marker: {enabled: false}}},
|
||||||
legend: {...commonChartOptions.legend, enabled: true},
|
legend: {...commonChartOptions.legend, enabled: true},
|
||||||
|
Loading…
Reference in New Issue
Block a user