@progress/kendo-charts 2.3.0-dev.202403250947 → 2.3.0-dev.202403271344

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.
@@ -38,11 +38,15 @@ var Text = (function (ChartElement) {
38
38
  var color = ref.color;
39
39
  var opacity = ref.opacity;
40
40
  var cursor = ref.cursor;
41
+ var stroke = ref.stroke;
42
+ var paintOrder = ref.paintOrder;
41
43
 
42
44
  this.visual = new DrawingText(this.content, this.box.toRect().topLeft(), {
43
45
  font: font,
44
46
  fill: { color: color, opacity: opacity },
45
- cursor: cursor
47
+ cursor: cursor,
48
+ stroke: stroke,
49
+ paintOrder: paintOrder
46
50
  });
47
51
  };
48
52
 
@@ -56,6 +56,8 @@ export var Label = (function (SankeyElement) {
56
56
  margin: options.margin,
57
57
  padding: options.padding,
58
58
  align: options.align,
59
+ paintOrder: options.paintOrder,
60
+ stroke: options.stroke,
59
61
  };
60
62
  };
61
63
 
@@ -593,6 +593,10 @@ setDefaultOptions(Sankey, {
593
593
  border: {
594
594
  width: 0
595
595
  },
596
+ paintOrder: 'stroke',
597
+ stroke: {
598
+ lineJoin: "round"
599
+ },
596
600
  align: LEFT,
597
601
  opacity: 1,
598
602
  offset: { left: 0, top: 0 }
@@ -30,12 +30,14 @@ class Text extends ChartElement {
30
30
  }
31
31
 
32
32
  createVisual() {
33
- const { font, color, opacity, cursor } = this.options;
33
+ const { font, color, opacity, cursor, stroke, paintOrder } = this.options;
34
34
 
35
35
  this.visual = new DrawingText(this.content, this.box.toRect().topLeft(), {
36
36
  font: font,
37
37
  fill: { color: color, opacity: opacity },
38
- cursor: cursor
38
+ cursor: cursor,
39
+ stroke: stroke,
40
+ paintOrder: paintOrder
39
41
  });
40
42
  }
41
43
  }
@@ -44,6 +44,8 @@ export class Label extends SankeyElement {
44
44
  margin: options.margin,
45
45
  padding: options.padding,
46
46
  align: options.align,
47
+ paintOrder: options.paintOrder,
48
+ stroke: options.stroke,
47
49
  };
48
50
  }
49
51
  }
@@ -549,6 +549,10 @@ setDefaultOptions(Sankey, {
549
549
  border: {
550
550
  width: 0
551
551
  },
552
+ paintOrder: 'stroke',
553
+ stroke: {
554
+ lineJoin: "round"
555
+ },
552
556
  align: LEFT,
553
557
  opacity: 1,
554
558
  offset: { left: 0, top: 0 }