@oliasoft-open-source/charts-library 4.7.7-beta-18 → 4.7.7
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 +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26207,7 +26207,6 @@ const useChartState = ({
|
|
|
26207
26207
|
return () => {
|
|
26208
26208
|
if (chartRef == null ? void 0 : chartRef.current) {
|
|
26209
26209
|
const chart2 = chartRef == null ? void 0 : chartRef.current;
|
|
26210
|
-
console.log("DESTROY");
|
|
26211
26210
|
chart2 == null ? void 0 : chart2.destroy();
|
|
26212
26211
|
}
|
|
26213
26212
|
};
|
|
@@ -26631,7 +26630,6 @@ const handleAnnotationMouseUp = (isDragging2, activeAnnotation, chart2, canvas2,
|
|
|
26631
26630
|
setAnnotationBorderWidth(chart2, annotationId, BORDER_WIDTH.ZERO);
|
|
26632
26631
|
const { centerX = -1, centerY = -1 } = calculateAnnotationMetricsInValues(activeAnnotation) ?? {};
|
|
26633
26632
|
if (!isNil(activeAnnotation == null ? void 0 : activeAnnotation.onDragEnd)) {
|
|
26634
|
-
console.log("onDragEnd");
|
|
26635
26633
|
activeAnnotation == null ? void 0 : activeAnnotation.onDragEnd(
|
|
26636
26634
|
{ x: centerX, y: centerY },
|
|
26637
26635
|
activeAnnotation
|