Fix relative value shown incorrectly for bar and line charts

This commit is contained in:
Atanas Yonkov
2023-02-16 12:11:06 +02:00
parent 03de809206
commit b71864e8bf
+1 -1
View File
@@ -28,7 +28,7 @@ export default class Chart extends BaseChart {
fill: !!m.fill,
tooltip: {
fixed: m.fixTooltips,
relative: !!m.relativeValue,
relative: m.relativeValue && !['bar', 'line'].includes(m.type as string),
},
}
}