@oliasoft-open-source/charts-library 4.4.1 → 4.4.2
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/dist/index.js
CHANGED
|
@@ -40195,7 +40195,8 @@ const titleCallback = (tooltipItems, options) => {
|
|
|
40195
40195
|
};
|
|
40196
40196
|
const labelCallback = (tooltipItem) => {
|
|
40197
40197
|
const { raw, dataset } = tooltipItem ?? {};
|
|
40198
|
-
|
|
40198
|
+
const datapointLabel = raw == null ? void 0 : raw.label;
|
|
40199
|
+
return `${datapointLabel ?? (dataset == null ? void 0 : dataset.label)} ( x: ${customFormatNumber(
|
|
40199
40200
|
raw == null ? void 0 : raw.x
|
|
40200
40201
|
)} , y: ${customFormatNumber(raw == null ? void 0 : raw.y)} )`;
|
|
40201
40202
|
};
|