fix error in tooltip of moving average chart

This commit is contained in:
Giò Diani committed 2025-01-17 17:37:01 +01:00
1 parent 7497271ac8
commit 4e233da745
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ const sharedOptions = {
tooltip: {
show: true,
trigger: 'axis',
valueFormatter: (value) => value.toFixed(2)+' %'
valueFormatter: (value) => value == null ? 'N/A' : value.toFixed(2)+' %'
},
name: (opt) => {
return {