@trackunit/react-chart-components 1.3.105 → 1.3.106
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.
- package/index.cjs.js +8 -3
- package/index.esm.js +8 -3
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -345,9 +345,14 @@ const DonutChart = ({ data, size = "full", loading, onClick, className, dataTest
|
|
|
345
345
|
legend: {
|
|
346
346
|
show: false,
|
|
347
347
|
},
|
|
348
|
-
tooltip:
|
|
349
|
-
|
|
350
|
-
|
|
348
|
+
tooltip: size === "full"
|
|
349
|
+
? {
|
|
350
|
+
show: true,
|
|
351
|
+
confine: true,
|
|
352
|
+
}
|
|
353
|
+
: {
|
|
354
|
+
show: false,
|
|
355
|
+
},
|
|
351
356
|
series: [
|
|
352
357
|
{
|
|
353
358
|
type: "pie",
|
package/index.esm.js
CHANGED
|
@@ -324,9 +324,14 @@ const DonutChart = ({ data, size = "full", loading, onClick, className, dataTest
|
|
|
324
324
|
legend: {
|
|
325
325
|
show: false,
|
|
326
326
|
},
|
|
327
|
-
tooltip:
|
|
328
|
-
|
|
329
|
-
|
|
327
|
+
tooltip: size === "full"
|
|
328
|
+
? {
|
|
329
|
+
show: true,
|
|
330
|
+
confine: true,
|
|
331
|
+
}
|
|
332
|
+
: {
|
|
333
|
+
show: false,
|
|
334
|
+
},
|
|
330
335
|
series: [
|
|
331
336
|
{
|
|
332
337
|
type: "pie",
|