We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b4bd65 commit 39f507aCopy full SHA for 39f507a
src/munin-plot.js
@@ -162,9 +162,11 @@ $(document).ready(function () {
162
size: 10,
163
color: '#7f7f7f'
164
},
165
- titlefont: {
166
- size: 10,
167
- color: '#7f7f7f'
+ title: {
+ font: {
+ size: 10,
168
+ color: '#7f7f7f'
169
+ }
170
171
exponentformat: 'SI',
172
hoverformat: '.4s'
@@ -427,7 +429,7 @@ $(document).ready(function () {
427
429
// prepare the graph configuration
428
430
const layout = JSON.parse(JSON.stringify(baseLayout))
431
if (plot.graph.graph_vlabel) {
- layout.yaxis.title = plot.graph.graph_vlabel
432
+ layout.yaxis.title.text = plot.graph.graph_vlabel
433
}
434
if (plot.graph.graph_args && plot.graph.graph_args.match(/--logarithmic/)) {
435
layout.yaxis.type = 'log'
0 commit comments