@progress/kendo-charts 1.27.1 → 1.28.0-dev.202303070933

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.
@@ -60,13 +60,13 @@ import {
60
60
  import {
61
61
  removeChildren,
62
62
  setDefaultEvents,
63
- toHyphens,
64
63
  proxy,
65
64
  now,
66
65
  on,
67
66
  off,
68
67
  getSupportedFeatures,
69
- convertToHtml
68
+ convertToHtml,
69
+ renderPos
70
70
  } from './utils';
71
71
 
72
72
  import {
@@ -100,20 +100,6 @@ const layersMap = {
100
100
  [MARKER]: MarkerLayer
101
101
  };
102
102
 
103
- function renderPos(pos) {
104
- let result = [];
105
-
106
- if (pos) {
107
- let parts = toHyphens(pos).split("-");
108
-
109
- for (let i = 0; i < parts.length; i++) {
110
- result.push("k-pos-" + parts[i]);
111
- }
112
- }
113
-
114
- return result.join(" ");
115
- }
116
-
117
103
  class Map extends Observable {
118
104
  constructor(element, options = {}, themeOptions = {}, context = {}) {
119
105
  super();
@@ -445,4 +445,18 @@ export const now = () => {
445
445
 
446
446
  export const noop = () => {};
447
447
 
448
+ export const renderPos = (pos) => {
449
+ let result = [];
450
+
451
+ if (pos) {
452
+ let parts = toHyphens(pos).split("-");
453
+
454
+ for (let i = 0; i < parts.length; i++) {
455
+ result.push("k-pos-" + parts[i]);
456
+ }
457
+ }
458
+
459
+ return result.join(" ");
460
+ };
461
+
448
462
  /* eslint-enable arrow-body-style */
@@ -9,8 +9,8 @@ class TemplateService {
9
9
  current = userImplementation;
10
10
  }
11
11
 
12
- static compile(template) {
13
- return current.compile(template);
12
+ static compile(template, options) {
13
+ return current.compile(template, options);
14
14
  }
15
15
  }
16
16
 
@@ -180,7 +180,10 @@ setDefaultOptions(StockChart, {
180
180
  visible: false
181
181
  },
182
182
  tooltip: {
183
- visible: true
183
+ visible: false
184
+ },
185
+ highlight: {
186
+ visible: false
184
187
  },
185
188
  line: {
186
189
  width: 2
@@ -197,4 +200,4 @@ setDefaultOptions(StockChart, {
197
200
  }
198
201
  });
199
202
 
200
- export default StockChart;
203
+ export default StockChart;