Add set name label to graph on history page

This commit is contained in:
mg
2021-10-03 18:03:06 +01:00
parent 4c2f1613ff
commit 31ebbc2d65
2 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ export default function LineChart (props) {
tooltip: {
theme: "dark",
x: {
show: false,
show: typeof props.sets !== "undefined",
formatter: (value, opt) => typeof props.sets !== "undefined" ? props.sets[opt.dataPointIndex] : null,
},
},
stroke: {