add better title/description
This commit is contained in:
parent
97efe2b207
commit
0c4ddda0d5
@ -144,7 +144,8 @@ const sortedPercentageFPSData = sortedData.map(item => item.percentage);
|
|||||||
Highcharts.chart('avgChart', {
|
Highcharts.chart('avgChart', {
|
||||||
...commonChartOptions,
|
...commonChartOptions,
|
||||||
chart: {...commonChartOptions.chart, type: 'bar'},
|
chart: {...commonChartOptions.chart, type: 'bar'},
|
||||||
title: {...commonChartOptions.title, text: 'Average FPS in %'},
|
title: {...commonChartOptions.title, text: 'Avg FPS comparison in %'},
|
||||||
|
subtitle: {...commonChartOptions.subtitle, text: 'More is better'},
|
||||||
xAxis: {...commonChartOptions.xAxis, categories: sortedCategories},
|
xAxis: {...commonChartOptions.xAxis, categories: sortedCategories},
|
||||||
yAxis: {...commonChartOptions.yAxis, min: 95, title: {text: 'Percentage (%)', align: 'high', style: {color: '#FFFFFF'}}},
|
yAxis: {...commonChartOptions.yAxis, min: 95, title: {text: 'Percentage (%)', align: 'high', style: {color: '#FFFFFF'}}},
|
||||||
tooltip: {...commonChartOptions.tooltip, valueSuffix: ' %', formatter: function() {return `<b>${this.point.category}</b>: ${this.y.toFixed(2)} %`;}},
|
tooltip: {...commonChartOptions.tooltip, valueSuffix: ' %', formatter: function() {return `<b>${this.point.category}</b>: ${this.y.toFixed(2)} %`;}},
|
||||||
|
Loading…
Reference in New Issue
Block a user