@xen-orchestra/web-core 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48,7 +48,10 @@ const option = computed<EChartsOption>(() => ({
|
|
|
48
48
|
data: data.map(series => series.label),
|
|
49
49
|
},
|
|
50
50
|
tooltip: {
|
|
51
|
-
valueFormatter:
|
|
51
|
+
valueFormatter: value => valueFormatter.value(value as number),
|
|
52
|
+
// This is to calculate the position so that the tooltip is always inside the container.
|
|
53
|
+
// see : https://echarts.apache.org/en/option.html#tooltip.confine
|
|
54
|
+
confine: true,
|
|
52
55
|
},
|
|
53
56
|
xAxis: {
|
|
54
57
|
type: 'time',
|