@oliasoft-open-source/charts-library 3.4.1 → 3.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
@@ -24553,11 +24553,11 @@ const getDefaultProps$2 = (props) => {
24553
24553
  },
24554
24554
  depthType: props.chart.options.depthType,
24555
24555
  dragData: {
24556
- enableDragData: props.chart.options.dragData.enableDragData || false,
24557
- showTooltip: props.chart.options.dragData.showTooltip || true,
24558
- roundPoints: props.chart.options.dragData.roundPoints || true,
24559
- dragX: props.chart.options.dragData.dragX || true,
24560
- dragY: props.chart.options.dragData.dragY || true,
24556
+ enableDragData: props.chart.options.dragData.enableDragData ?? false,
24557
+ showTooltip: props.chart.options.dragData.showTooltip ?? true,
24558
+ roundPoints: props.chart.options.dragData.roundPoints ?? true,
24559
+ dragX: props.chart.options.dragData.dragX ?? true,
24560
+ dragY: props.chart.options.dragData.dragY ?? true,
24561
24561
  onDragStart: props.chart.options.dragData.onDragStart,
24562
24562
  onDrag: props.chart.options.dragData.onDrag,
24563
24563
  onDragEnd: props.chart.options.dragData.onDragEnd
@@ -25118,11 +25118,11 @@ const getLineChartToolTips = (options) => {
25118
25118
  const getDraggableData = (options) => {
25119
25119
  const { dragData = {} } = options;
25120
25120
  const {
25121
- enableDragData = false,
25122
- showTooltip = true,
25123
- roundPoints = true,
25124
- dragX = true,
25125
- dragY = true,
25121
+ enableDragData,
25122
+ showTooltip,
25123
+ roundPoints,
25124
+ dragX,
25125
+ dragY,
25126
25126
  onDragStart = () => {
25127
25127
  },
25128
25128
  onDrag = () => {