@progress/kendo-charts 2.3.0-dev.202404191639 → 2.3.0-dev.202404241357

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.
@@ -50,7 +50,6 @@ export var Label = (function (SankeyElement) {
50
50
  var options = deepExtend({}, this.options, this.options.node.label);
51
51
  return {
52
52
  color: options.color,
53
- opacity: options.opacity,
54
53
  font: options.font,
55
54
  border: options.border,
56
55
  margin: options.margin,
@@ -79,7 +78,6 @@ export var resolveLabelOptions = function (node, options, totalWidth) { return d
79
78
  padding: node.label.padding,
80
79
  border: node.label.border,
81
80
  align: node.label.align,
82
- opacity: node.label.opacity,
83
81
  offset: node.label.offset
84
82
  }
85
83
  ); };
@@ -231,11 +231,13 @@ export var Sankey = (function (Observable) {
231
231
  this.tooltipTimeOut = null;
232
232
  }
233
233
 
234
+ var nextDelay = followPointer && this.tooltipShown ? 0 : delay;
235
+
234
236
  this.tooltipTimeOut = setTimeout(function () {
235
237
  this$1.trigger('tooltipShow', ev);
236
238
  this$1.tooltipShown = true;
237
239
  this$1.tooltipTimeOut = null;
238
- }, delay);
240
+ }, nextDelay);
239
241
  };
240
242
 
241
243
  Sankey.prototype._click = function _click (ev) {
@@ -619,10 +621,10 @@ setDefaultOptions(Sankey, {
619
621
  },
620
622
  paintOrder: 'stroke',
621
623
  stroke: {
622
- lineJoin: "round"
624
+ lineJoin: "round",
625
+ width: 1
623
626
  },
624
627
  align: LEFT,
625
- opacity: 1,
626
628
  offset: { left: 0, top: 0 }
627
629
  },
628
630
  nodes: {
@@ -38,7 +38,6 @@ export var Title = (function (SankeyElement) {
38
38
 
39
39
  setDefaultOptions(Title, {
40
40
  align: CENTER, // 'left', 'right', 'center'
41
- opacity: 1,
42
41
  border: {
43
42
  width: 0
44
43
  },
@@ -38,7 +38,6 @@ export class Label extends SankeyElement {
38
38
  const options = deepExtend({}, this.options, this.options.node.label);
39
39
  return {
40
40
  color: options.color,
41
- opacity: options.opacity,
42
41
  font: options.font,
43
42
  border: options.border,
44
43
  margin: options.margin,
@@ -65,7 +64,6 @@ export const resolveLabelOptions = (node, options, totalWidth) => deepExtend({},
65
64
  padding: node.label.padding,
66
65
  border: node.label.border,
67
66
  align: node.label.align,
68
- opacity: node.label.opacity,
69
67
  offset: node.label.offset
70
68
  }
71
69
  );
@@ -209,11 +209,13 @@ export class Sankey extends Observable {
209
209
  this.tooltipTimeOut = null;
210
210
  }
211
211
 
212
+ const nextDelay = followPointer && this.tooltipShown ? 0 : delay;
213
+
212
214
  this.tooltipTimeOut = setTimeout(() => {
213
215
  this.trigger('tooltipShow', ev);
214
216
  this.tooltipShown = true;
215
217
  this.tooltipTimeOut = null;
216
- }, delay);
218
+ }, nextDelay);
217
219
  }
218
220
 
219
221
  _click(ev) {
@@ -570,10 +572,10 @@ setDefaultOptions(Sankey, {
570
572
  },
571
573
  paintOrder: 'stroke',
572
574
  stroke: {
573
- lineJoin: "round"
575
+ lineJoin: "round",
576
+ width: 1
574
577
  },
575
578
  align: LEFT,
576
- opacity: 1,
577
579
  offset: { left: 0, top: 0 }
578
580
  },
579
581
  nodes: {
@@ -27,7 +27,6 @@ export class Title extends SankeyElement {
27
27
 
28
28
  setDefaultOptions(Title, {
29
29
  align: CENTER, // 'left', 'right', 'center'
30
- opacity: 1,
31
30
  border: {
32
31
  width: 0
33
32
  },