File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ Module.register("MMM-Linky", {
313
313
display : displayLegend ( ) ,
314
314
labels : { color : "white" }
315
315
} ,
316
- datalabels : this . config . valuebar === 1
316
+ datalabels : this . config . valuebar === 1 && chartType !== "line"
317
317
? {
318
318
color : this . config . valuebartextcolor === 1 ? "white" : "black" ,
319
319
anchor : "center" ,
@@ -347,12 +347,6 @@ Module.register("MMM-Linky", {
347
347
x : {
348
348
ticks : { color : "#fff" }
349
349
}
350
- } ,
351
- elements : {
352
- point : {
353
- radius : 1 ,
354
- pointStyle : false
355
- }
356
350
}
357
351
}
358
352
} ) ;
Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ class CHART {
41
41
backgroundColor : colors [ index ] ,
42
42
borderColor : colors [ index ] . replace ( "0.8" , "1" ) ,
43
43
borderWidth : type . includes ( "Curve" ) ? 3 : 1 ,
44
- tension : 0.4
44
+ tension : 0.4 ,
45
+ pointRadius : 0 ,
46
+ pointStyle : false
45
47
} ) ;
46
48
index ++ ;
47
49
}
You can’t perform that action at this time.
0 commit comments