Skip to content
Snippets Groups Projects
Commit 09f9b44f authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

web-ui: add axes labels to graphs

parent d98c8e48
No related branches found
No related tags found
No related merge requests found
......@@ -73,5 +73,12 @@
mode: "point",
},
scales: {
x: {
beginAtZero: true,
title: {
text: "Mercurial version",
display: true,
},
},
y: {
beginAtZero: true,
......@@ -76,5 +83,9 @@
y: {
beginAtZero: true,
title: {
text: "Wall time (seconds)",
display: true,
},
},
},
plugins: {
......@@ -88,7 +99,7 @@
title: {
text: title,
display: true,
}
},
},
onClick: (e, elements) => {
if (elements.length == 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment