@devexperts/dxcharts-lite 1.0.1 → 1.0.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.
Files changed (365) hide show
  1. package/README.md +2 -2
  2. package/dist/chart/animation/canvas-animation.d.ts +1 -1
  3. package/dist/chart/animation/canvas-animation.js +1 -1
  4. package/dist/chart/animation/types/animation.d.ts +1 -1
  5. package/dist/chart/animation/types/animation.js +1 -1
  6. package/dist/chart/animation/types/color-alpha-animation.d.ts +1 -1
  7. package/dist/chart/animation/types/color-alpha-animation.js +1 -1
  8. package/dist/chart/animation/types/color-transition-animation.d.ts +1 -1
  9. package/dist/chart/animation/types/color-transition-animation.js +1 -1
  10. package/dist/chart/animation/types/viewport-movement-animation.d.ts +1 -1
  11. package/dist/chart/animation/types/viewport-movement-animation.js +1 -1
  12. package/dist/chart/animation/viewport-model-animation.d.ts +1 -1
  13. package/dist/chart/animation/viewport-model-animation.js +1 -1
  14. package/dist/chart/bootstrap.d.ts +1 -1
  15. package/dist/chart/bootstrap.js +1 -1
  16. package/dist/chart/canvas/canvas-bounds-container.d.ts +1 -1
  17. package/dist/chart/canvas/canvas-bounds-container.js +1 -1
  18. package/dist/chart/canvas/canvas-chart-html.d.ts +1 -1
  19. package/dist/chart/canvas/canvas-chart-html.js +1 -1
  20. package/dist/chart/canvas/chart-elements.d.ts +1 -1
  21. package/dist/chart/canvas/chart-elements.js +1 -1
  22. package/dist/chart/canvas/cursor.handler.d.ts +1 -1
  23. package/dist/chart/canvas/cursor.handler.js +1 -1
  24. package/dist/chart/canvas/layout-creator.d.ts +1 -1
  25. package/dist/chart/canvas/layout-creator.js +1 -1
  26. package/dist/chart/canvas/y-axis-bounds.container.d.ts +1 -1
  27. package/dist/chart/canvas/y-axis-bounds.container.js +1 -1
  28. package/dist/chart/chart-container.d.ts +1 -1
  29. package/dist/chart/chart-container.js +1 -1
  30. package/dist/chart/chart.config.d.ts +1 -1
  31. package/dist/chart/chart.config.js +1 -1
  32. package/dist/chart/components/chart/basic-scale.d.ts +1 -1
  33. package/dist/chart/components/chart/basic-scale.js +1 -1
  34. package/dist/chart/components/chart/candle-transformer.functions.d.ts +1 -1
  35. package/dist/chart/components/chart/candle-transformer.functions.js +1 -1
  36. package/dist/chart/components/chart/candle-width-calculator.functions.d.ts +1 -1
  37. package/dist/chart/components/chart/candle-width-calculator.functions.js +1 -1
  38. package/dist/chart/components/chart/candle.functions.d.ts +1 -1
  39. package/dist/chart/components/chart/candle.functions.js +1 -1
  40. package/dist/chart/components/chart/chart-area-pan.handler.d.ts +1 -1
  41. package/dist/chart/components/chart/chart-area-pan.handler.js +1 -1
  42. package/dist/chart/components/chart/chart-base.model.d.ts +1 -1
  43. package/dist/chart/components/chart/chart-base.model.js +1 -1
  44. package/dist/chart/components/chart/chart.component.d.ts +1 -1
  45. package/dist/chart/components/chart/chart.component.js +1 -1
  46. package/dist/chart/components/chart/chart.model.d.ts +1 -1
  47. package/dist/chart/components/chart/chart.model.js +1 -1
  48. package/dist/chart/components/chart/data-series.high-low-provider.d.ts +1 -1
  49. package/dist/chart/components/chart/data-series.high-low-provider.js +1 -1
  50. package/dist/chart/components/chart/fake-candles.d.ts +1 -1
  51. package/dist/chart/components/chart/fake-candles.js +1 -1
  52. package/dist/chart/components/chart/price.formatter.d.ts +1 -1
  53. package/dist/chart/components/chart/price.formatter.js +1 -1
  54. package/dist/chart/components/chart/secondary-chart-colors-pool.d.ts +1 -1
  55. package/dist/chart/components/chart/secondary-chart-colors-pool.js +1 -1
  56. package/dist/chart/components/cross_tool/cross-tool.component.d.ts +1 -1
  57. package/dist/chart/components/cross_tool/cross-tool.component.js +1 -1
  58. package/dist/chart/components/cross_tool/cross-tool.drawer.d.ts +1 -1
  59. package/dist/chart/components/cross_tool/cross-tool.drawer.js +1 -1
  60. package/dist/chart/components/cross_tool/cross-tool.model.d.ts +1 -1
  61. package/dist/chart/components/cross_tool/cross-tool.model.js +1 -1
  62. package/dist/chart/components/cross_tool/types/cross-and-labels.drawer.d.ts +1 -1
  63. package/dist/chart/components/cross_tool/types/cross-and-labels.drawer.js +1 -1
  64. package/dist/chart/components/cross_tool/types/none.drawer.d.ts +1 -1
  65. package/dist/chart/components/cross_tool/types/none.drawer.js +1 -1
  66. package/dist/chart/components/dran-n-drop_helper/drag-n-drop-x.component.d.ts +1 -1
  67. package/dist/chart/components/dran-n-drop_helper/drag-n-drop-x.component.js +1 -1
  68. package/dist/chart/components/dran-n-drop_helper/drag-n-drop-y.component.d.ts +1 -1
  69. package/dist/chart/components/dran-n-drop_helper/drag-n-drop-y.component.js +1 -1
  70. package/dist/chart/components/dran-n-drop_helper/drag-n-drop.component.d.ts +1 -1
  71. package/dist/chart/components/dran-n-drop_helper/drag-n-drop.component.js +1 -1
  72. package/dist/chart/components/events/events-hit-test.drawer.d.ts +1 -1
  73. package/dist/chart/components/events/events-hit-test.drawer.js +1 -1
  74. package/dist/chart/components/events/events.component.d.ts +1 -1
  75. package/dist/chart/components/events/events.component.js +1 -1
  76. package/dist/chart/components/events/events.drawer.d.ts +1 -1
  77. package/dist/chart/components/events/events.drawer.js +1 -1
  78. package/dist/chart/components/events/events.model.d.ts +1 -1
  79. package/dist/chart/components/events/events.model.js +1 -1
  80. package/dist/chart/components/grid/grid.component.d.ts +1 -1
  81. package/dist/chart/components/grid/grid.component.js +1 -1
  82. package/dist/chart/components/grid/grid.drawer.d.ts +1 -1
  83. package/dist/chart/components/grid/grid.drawer.js +1 -1
  84. package/dist/chart/components/high_low/high-low.component.d.ts +1 -1
  85. package/dist/chart/components/high_low/high-low.component.js +1 -1
  86. package/dist/chart/components/high_low/high-low.drawer.d.ts +1 -1
  87. package/dist/chart/components/high_low/high-low.drawer.js +1 -1
  88. package/dist/chart/components/highlights/highlights.component.d.ts +1 -1
  89. package/dist/chart/components/highlights/highlights.component.js +1 -1
  90. package/dist/chart/components/highlights/highlights.drawer.d.ts +1 -1
  91. package/dist/chart/components/highlights/highlights.drawer.js +1 -1
  92. package/dist/chart/components/highlights/highlights.model.d.ts +1 -1
  93. package/dist/chart/components/highlights/highlights.model.js +1 -1
  94. package/dist/chart/components/labels_generator/numeric-axis-labels.generator.d.ts +1 -1
  95. package/dist/chart/components/labels_generator/numeric-axis-labels.generator.js +1 -1
  96. package/dist/chart/components/navigation_map/navigation-map-move.handler.d.ts +1 -1
  97. package/dist/chart/components/navigation_map/navigation-map-move.handler.js +1 -1
  98. package/dist/chart/components/navigation_map/navigation-map.component.d.ts +1 -1
  99. package/dist/chart/components/navigation_map/navigation-map.component.js +1 -1
  100. package/dist/chart/components/navigation_map/navigation-map.drawer.d.ts +1 -1
  101. package/dist/chart/components/navigation_map/navigation-map.drawer.js +1 -1
  102. package/dist/chart/components/navigation_map/navigation-map.model.d.ts +1 -1
  103. package/dist/chart/components/navigation_map/navigation-map.model.js +1 -1
  104. package/dist/chart/components/pan/chart-pan.component.d.ts +1 -1
  105. package/dist/chart/components/pan/chart-pan.component.js +1 -1
  106. package/dist/chart/components/pane/extent/y-extent-component.d.ts +1 -1
  107. package/dist/chart/components/pane/extent/y-extent-component.js +1 -1
  108. package/dist/chart/components/pane/pane-hit-test.controller.d.ts +1 -1
  109. package/dist/chart/components/pane/pane-hit-test.controller.js +1 -1
  110. package/dist/chart/components/pane/pane-manager.component.d.ts +1 -1
  111. package/dist/chart/components/pane/pane-manager.component.js +1 -1
  112. package/dist/chart/components/pane/pane.component.d.ts +2 -2
  113. package/dist/chart/components/pane/pane.component.js +2 -2
  114. package/dist/chart/components/resizer/bar-resizer.component.d.ts +1 -1
  115. package/dist/chart/components/resizer/bar-resizer.component.js +1 -1
  116. package/dist/chart/components/resizer/bar-resizer.drawer.d.ts +1 -1
  117. package/dist/chart/components/resizer/bar-resizer.drawer.js +1 -1
  118. package/dist/chart/components/snapshot/snapshot.component.d.ts +1 -1
  119. package/dist/chart/components/snapshot/snapshot.component.js +1 -1
  120. package/dist/chart/components/volumes/separate-volumes.component.d.ts +1 -1
  121. package/dist/chart/components/volumes/separate-volumes.component.js +1 -1
  122. package/dist/chart/components/volumes/volume-color-resolvers.functions.d.ts +1 -1
  123. package/dist/chart/components/volumes/volume-color-resolvers.functions.js +1 -1
  124. package/dist/chart/components/volumes/volumes.component.d.ts +3 -2
  125. package/dist/chart/components/volumes/volumes.component.js +2 -2
  126. package/dist/chart/components/volumes/volumes.drawer.d.ts +1 -1
  127. package/dist/chart/components/volumes/volumes.drawer.js +1 -1
  128. package/dist/chart/components/volumes/volumes.formatter.d.ts +1 -1
  129. package/dist/chart/components/volumes/volumes.formatter.js +1 -1
  130. package/dist/chart/components/volumes/volumes.model.d.ts +1 -1
  131. package/dist/chart/components/volumes/volumes.model.js +1 -1
  132. package/dist/chart/components/watermark/water-mark.component.d.ts +1 -1
  133. package/dist/chart/components/watermark/water-mark.component.js +1 -1
  134. package/dist/chart/components/watermark/water-mark.drawer.d.ts +1 -1
  135. package/dist/chart/components/watermark/water-mark.drawer.js +1 -1
  136. package/dist/chart/components/x_axis/numeric-x-axis-labels.generator.d.ts +1 -1
  137. package/dist/chart/components/x_axis/numeric-x-axis-labels.generator.js +1 -1
  138. package/dist/chart/components/x_axis/time/parser/time-formats-matchers.functions.d.ts +1 -1
  139. package/dist/chart/components/x_axis/time/parser/time-formats-matchers.functions.js +1 -1
  140. package/dist/chart/components/x_axis/time/parser/time-formats-parser.functions.d.ts +1 -1
  141. package/dist/chart/components/x_axis/time/parser/time-formats-parser.functions.js +1 -1
  142. package/dist/chart/components/x_axis/time/parser/time-formats-validators.functions.d.ts +1 -1
  143. package/dist/chart/components/x_axis/time/parser/time-formats-validators.functions.js +1 -1
  144. package/dist/chart/components/x_axis/time/parser/time-formats.model.d.ts +1 -1
  145. package/dist/chart/components/x_axis/time/parser/time-formats.model.js +1 -1
  146. package/dist/chart/components/x_axis/time/x-axis-weights.functions.d.ts +1 -1
  147. package/dist/chart/components/x_axis/time/x-axis-weights.functions.js +1 -1
  148. package/dist/chart/components/x_axis/time/x-axis-weights.generator.d.ts +1 -1
  149. package/dist/chart/components/x_axis/time/x-axis-weights.generator.js +1 -1
  150. package/dist/chart/components/x_axis/x-axis-draw.functions.d.ts +1 -1
  151. package/dist/chart/components/x_axis/x-axis-draw.functions.js +1 -1
  152. package/dist/chart/components/x_axis/x-axis-labels.drawer.d.ts +1 -1
  153. package/dist/chart/components/x_axis/x-axis-labels.drawer.js +1 -1
  154. package/dist/chart/components/x_axis/x-axis-labels.generator.d.ts +1 -1
  155. package/dist/chart/components/x_axis/x-axis-labels.generator.js +1 -1
  156. package/dist/chart/components/x_axis/x-axis-labels.model.d.ts +1 -1
  157. package/dist/chart/components/x_axis/x-axis-labels.model.js +1 -1
  158. package/dist/chart/components/x_axis/x-axis-scale.handler.d.ts +1 -1
  159. package/dist/chart/components/x_axis/x-axis-scale.handler.js +1 -1
  160. package/dist/chart/components/x_axis/x-axis-time-labels.drawer.d.ts +1 -1
  161. package/dist/chart/components/x_axis/x-axis-time-labels.drawer.js +1 -1
  162. package/dist/chart/components/x_axis/x-axis.component.d.ts +1 -1
  163. package/dist/chart/components/x_axis/x-axis.component.js +1 -1
  164. package/dist/chart/components/y_axis/label-color.functions.d.ts +1 -1
  165. package/dist/chart/components/y_axis/label-color.functions.js +1 -1
  166. package/dist/chart/components/y_axis/numeric-y-axis-labels.generator.d.ts +1 -1
  167. package/dist/chart/components/y_axis/numeric-y-axis-labels.generator.js +1 -1
  168. package/dist/chart/components/y_axis/price_labels/data-series-y-axis-labels.provider.d.ts +1 -1
  169. package/dist/chart/components/y_axis/price_labels/data-series-y-axis-labels.provider.js +1 -1
  170. package/dist/chart/components/y_axis/price_labels/labels-positions-calculator.d.ts +1 -1
  171. package/dist/chart/components/y_axis/price_labels/labels-positions-calculator.js +1 -1
  172. package/dist/chart/components/y_axis/price_labels/last-candle-labels.provider.d.ts +1 -1
  173. package/dist/chart/components/y_axis/price_labels/last-candle-labels.provider.js +1 -1
  174. package/dist/chart/components/y_axis/price_labels/price-label.drawer.d.ts +1 -1
  175. package/dist/chart/components/y_axis/price_labels/price-label.drawer.js +1 -1
  176. package/dist/chart/components/y_axis/price_labels/y-axis-labels.model.d.ts +1 -1
  177. package/dist/chart/components/y_axis/price_labels/y-axis-labels.model.js +1 -1
  178. package/dist/chart/components/y_axis/price_labels/y-axis-price-labels.drawer.d.ts +1 -1
  179. package/dist/chart/components/y_axis/price_labels/y-axis-price-labels.drawer.js +1 -1
  180. package/dist/chart/components/y_axis/y-axis-base-labels.model.d.ts +1 -1
  181. package/dist/chart/components/y_axis/y-axis-base-labels.model.js +1 -1
  182. package/dist/chart/components/y_axis/y-axis-labels.drawer.d.ts +1 -1
  183. package/dist/chart/components/y_axis/y-axis-labels.drawer.js +1 -1
  184. package/dist/chart/components/y_axis/y-axis-scale.handler.d.ts +1 -1
  185. package/dist/chart/components/y_axis/y-axis-scale.handler.js +1 -1
  186. package/dist/chart/components/y_axis/y-axis.component.d.ts +1 -1
  187. package/dist/chart/components/y_axis/y-axis.component.js +1 -1
  188. package/dist/chart/components/y_axis/y-axis.drawer.d.ts +1 -1
  189. package/dist/chart/components/y_axis/y-axis.drawer.js +1 -1
  190. package/dist/chart/components/y_axis/y-axis.model.d.ts +1 -1
  191. package/dist/chart/components/y_axis/y-axis.model.js +1 -1
  192. package/dist/chart/drawers/chart-background.drawer.d.ts +1 -1
  193. package/dist/chart/drawers/chart-background.drawer.js +1 -1
  194. package/dist/chart/drawers/chart-type-drawers/area.drawer.d.ts +1 -1
  195. package/dist/chart/drawers/chart-type-drawers/area.drawer.js +1 -1
  196. package/dist/chart/drawers/chart-type-drawers/bar.drawer.d.ts +1 -1
  197. package/dist/chart/drawers/chart-type-drawers/bar.drawer.js +1 -1
  198. package/dist/chart/drawers/chart-type-drawers/baseline.drawer.d.ts +1 -1
  199. package/dist/chart/drawers/chart-type-drawers/baseline.drawer.js +1 -1
  200. package/dist/chart/drawers/chart-type-drawers/candle.drawer.d.ts +1 -1
  201. package/dist/chart/drawers/chart-type-drawers/candle.drawer.js +1 -1
  202. package/dist/chart/drawers/chart-type-drawers/histogram.drawer.d.ts +1 -1
  203. package/dist/chart/drawers/chart-type-drawers/histogram.drawer.js +1 -1
  204. package/dist/chart/drawers/chart-type-drawers/line.drawer.d.ts +1 -1
  205. package/dist/chart/drawers/chart-type-drawers/line.drawer.js +1 -1
  206. package/dist/chart/drawers/chart-type-drawers/scatter-plot.drawer.d.ts +1 -1
  207. package/dist/chart/drawers/chart-type-drawers/scatter-plot.drawer.js +1 -1
  208. package/dist/chart/drawers/clear-canvas.drawer.d.ts +1 -1
  209. package/dist/chart/drawers/clear-canvas.drawer.js +1 -1
  210. package/dist/chart/drawers/composite.drawer.d.ts +1 -1
  211. package/dist/chart/drawers/composite.drawer.js +1 -1
  212. package/dist/chart/drawers/data-series-drawers/candle-series-wrapper.d.ts +1 -1
  213. package/dist/chart/drawers/data-series-drawers/candle-series-wrapper.js +1 -1
  214. package/dist/chart/drawers/data-series-drawers/color-candle.drawer.d.ts +1 -1
  215. package/dist/chart/drawers/data-series-drawers/color-candle.drawer.js +1 -1
  216. package/dist/chart/drawers/data-series-drawers/data-series-drawers.utils.d.ts +1 -1
  217. package/dist/chart/drawers/data-series-drawers/data-series-drawers.utils.js +1 -1
  218. package/dist/chart/drawers/data-series-drawers/difference-cloud.drawer.d.ts +1 -1
  219. package/dist/chart/drawers/data-series-drawers/difference-cloud.drawer.js +1 -1
  220. package/dist/chart/drawers/data-series-drawers/histogram.drawer.d.ts +1 -1
  221. package/dist/chart/drawers/data-series-drawers/histogram.drawer.js +1 -1
  222. package/dist/chart/drawers/data-series-drawers/linear.drawer.d.ts +1 -1
  223. package/dist/chart/drawers/data-series-drawers/linear.drawer.js +1 -1
  224. package/dist/chart/drawers/data-series-drawers/points.drawer.d.ts +1 -1
  225. package/dist/chart/drawers/data-series-drawers/points.drawer.js +1 -1
  226. package/dist/chart/drawers/data-series-drawers/rectangular-tool.drawer.d.ts +1 -1
  227. package/dist/chart/drawers/data-series-drawers/rectangular-tool.drawer.js +1 -1
  228. package/dist/chart/drawers/data-series-drawers/text.drawer.d.ts +1 -1
  229. package/dist/chart/drawers/data-series-drawers/text.drawer.js +1 -1
  230. package/dist/chart/drawers/data-series-drawers/trend-histogram.drawer.d.ts +1 -1
  231. package/dist/chart/drawers/data-series-drawers/trend-histogram.drawer.js +1 -1
  232. package/dist/chart/drawers/data-series-drawers/triangle.drawer.d.ts +1 -1
  233. package/dist/chart/drawers/data-series-drawers/triangle.drawer.js +1 -1
  234. package/dist/chart/drawers/data-series.drawer.d.ts +1 -1
  235. package/dist/chart/drawers/data-series.drawer.js +1 -1
  236. package/dist/chart/drawers/drawing-manager.d.ts +1 -1
  237. package/dist/chart/drawers/drawing-manager.js +1 -1
  238. package/dist/chart/drawers/ht-data-series.drawer.d.ts +1 -1
  239. package/dist/chart/drawers/ht-data-series.drawer.js +1 -1
  240. package/dist/chart/events/event-bus.d.ts +1 -1
  241. package/dist/chart/events/event-bus.js +1 -1
  242. package/dist/chart/events/events.d.ts +1 -1
  243. package/dist/chart/events/events.js +1 -1
  244. package/dist/chart/inputhandlers/candle-tap.handler.d.ts +1 -1
  245. package/dist/chart/inputhandlers/candle-tap.handler.js +1 -1
  246. package/dist/chart/inputhandlers/chart-resize.handler.d.ts +1 -1
  247. package/dist/chart/inputhandlers/chart-resize.handler.js +1 -1
  248. package/dist/chart/inputhandlers/cross-event-producer.component.d.ts +1 -1
  249. package/dist/chart/inputhandlers/cross-event-producer.component.js +1 -1
  250. package/dist/chart/inputhandlers/hover-producer.component.d.ts +1 -1
  251. package/dist/chart/inputhandlers/hover-producer.component.js +1 -1
  252. package/dist/chart/inputhandlers/main-canvas-touch.handler.d.ts +1 -1
  253. package/dist/chart/inputhandlers/main-canvas-touch.handler.js +1 -1
  254. package/dist/chart/inputlisteners/canvas-input-listener.component.d.ts +1 -1
  255. package/dist/chart/inputlisteners/canvas-input-listener.component.js +1 -1
  256. package/dist/chart/model/baseline.model.d.ts +1 -1
  257. package/dist/chart/model/baseline.model.js +1 -1
  258. package/dist/chart/model/bounds.model.d.ts +1 -1
  259. package/dist/chart/model/bounds.model.js +1 -1
  260. package/dist/chart/model/candle-hover.d.ts +1 -1
  261. package/dist/chart/model/candle-hover.js +1 -1
  262. package/dist/chart/model/candle-series-high-low.provider.d.ts +1 -1
  263. package/dist/chart/model/candle-series-high-low.provider.js +1 -1
  264. package/dist/chart/model/candle-series.model.d.ts +1 -1
  265. package/dist/chart/model/candle-series.model.js +1 -1
  266. package/dist/chart/model/candle.model.d.ts +1 -1
  267. package/dist/chart/model/candle.model.js +1 -1
  268. package/dist/chart/model/canvas.model.d.ts +1 -1
  269. package/dist/chart/model/canvas.model.js +1 -1
  270. package/dist/chart/model/chart-base-element.d.ts +1 -1
  271. package/dist/chart/model/chart-base-element.js +1 -1
  272. package/dist/chart/model/compare-series-hover.d.ts +1 -1
  273. package/dist/chart/model/compare-series-hover.js +1 -1
  274. package/dist/chart/model/data-series-view.d.ts +1 -1
  275. package/dist/chart/model/data-series-view.js +1 -1
  276. package/dist/chart/model/data-series.config.d.ts +1 -1
  277. package/dist/chart/model/data-series.config.js +1 -1
  278. package/dist/chart/model/data-series.model.d.ts +1 -1
  279. package/dist/chart/model/data-series.model.js +1 -1
  280. package/dist/chart/model/date-time.formatter.d.ts +1 -1
  281. package/dist/chart/model/date-time.formatter.js +1 -1
  282. package/dist/chart/model/hit-test-canvas.model.d.ts +1 -1
  283. package/dist/chart/model/hit-test-canvas.model.js +2 -2
  284. package/dist/chart/model/main-candle-series.model.d.ts +1 -1
  285. package/dist/chart/model/main-candle-series.model.js +1 -1
  286. package/dist/chart/model/scale.model.d.ts +1 -1
  287. package/dist/chart/model/scale.model.js +1 -1
  288. package/dist/chart/model/scaling/auto-scale.model.d.ts +1 -1
  289. package/dist/chart/model/scaling/auto-scale.model.js +1 -1
  290. package/dist/chart/model/scaling/constrait.functions.d.ts +1 -1
  291. package/dist/chart/model/scaling/constrait.functions.js +1 -1
  292. package/dist/chart/model/scaling/lock-ratio.model.d.ts +1 -1
  293. package/dist/chart/model/scaling/lock-ratio.model.js +1 -1
  294. package/dist/chart/model/scaling/move-chart.functions.d.ts +1 -1
  295. package/dist/chart/model/scaling/move-chart.functions.js +1 -1
  296. package/dist/chart/model/scaling/viewport.model.d.ts +1 -1
  297. package/dist/chart/model/scaling/viewport.model.js +1 -1
  298. package/dist/chart/model/scaling/x-zooming.functions.d.ts +1 -1
  299. package/dist/chart/model/scaling/x-zooming.functions.js +1 -1
  300. package/dist/chart/model/time-zone.model.d.ts +1 -1
  301. package/dist/chart/model/time-zone.model.js +1 -1
  302. package/dist/chart/model/visual-candle.d.ts +1 -1
  303. package/dist/chart/model/visual-candle.js +1 -1
  304. package/dist/chart/utils/__tests__/array.utils.test.d.ts +1 -1
  305. package/dist/chart/utils/__tests__/array.utils.test.js +1 -1
  306. package/dist/chart/utils/__tests__/math.utils.test.d.ts +6 -0
  307. package/dist/chart/utils/__tests__/math.utils.test.js +6 -0
  308. package/dist/chart/utils/__tests__/object.utils.test.d.ts +1 -1
  309. package/dist/chart/utils/__tests__/object.utils.test.js +1 -1
  310. package/dist/chart/utils/__tests__/priceIncrementsUtils.test.d.ts +1 -1
  311. package/dist/chart/utils/__tests__/priceIncrementsUtils.test.js +1 -1
  312. package/dist/chart/utils/array.utils.d.ts +1 -1
  313. package/dist/chart/utils/array.utils.js +1 -1
  314. package/dist/chart/utils/auto-period-detector.utils.d.ts +1 -1
  315. package/dist/chart/utils/auto-period-detector.utils.js +1 -1
  316. package/dist/chart/utils/candles-generator-ts.utils.d.ts +1 -1
  317. package/dist/chart/utils/candles-generator-ts.utils.js +1 -1
  318. package/dist/chart/utils/candles-generator.utils.d.ts +1 -1
  319. package/dist/chart/utils/candles-generator.utils.js +1 -1
  320. package/dist/chart/utils/candles.utils.d.ts +1 -1
  321. package/dist/chart/utils/candles.utils.js +1 -1
  322. package/dist/chart/utils/canvas/canvas-drawing-functions.utils.d.ts +1 -1
  323. package/dist/chart/utils/canvas/canvas-drawing-functions.utils.js +1 -1
  324. package/dist/chart/utils/canvas/canvas-font-measure-tool.utils.d.ts +1 -1
  325. package/dist/chart/utils/canvas/canvas-font-measure-tool.utils.js +1 -1
  326. package/dist/chart/utils/canvas/canvas-text-functions.utils.d.ts +1 -1
  327. package/dist/chart/utils/canvas/canvas-text-functions.utils.js +1 -1
  328. package/dist/chart/utils/color.utils.d.ts +1 -1
  329. package/dist/chart/utils/color.utils.js +1 -1
  330. package/dist/chart/utils/device/browser.utils.d.ts +1 -1
  331. package/dist/chart/utils/device/browser.utils.js +1 -1
  332. package/dist/chart/utils/device/device-detector.utils.d.ts +1 -1
  333. package/dist/chart/utils/device/device-detector.utils.js +1 -1
  334. package/dist/chart/utils/device/device-pixel-ratio.utils.d.ts +1 -1
  335. package/dist/chart/utils/device/device-pixel-ratio.utils.js +1 -1
  336. package/dist/chart/utils/device/touchpad.utils.d.ts +1 -1
  337. package/dist/chart/utils/device/touchpad.utils.js +1 -1
  338. package/dist/chart/utils/dom.utils.d.ts +1 -1
  339. package/dist/chart/utils/dom.utils.js +1 -1
  340. package/dist/chart/utils/function.utils.d.ts +1 -1
  341. package/dist/chart/utils/function.utils.js +1 -1
  342. package/dist/chart/utils/math.utils.d.ts +1 -1
  343. package/dist/chart/utils/math.utils.js +1 -1
  344. package/dist/chart/utils/merge.utils.d.ts +1 -1
  345. package/dist/chart/utils/merge.utils.js +1 -1
  346. package/dist/chart/utils/object.utils.d.ts +1 -1
  347. package/dist/chart/utils/object.utils.js +1 -1
  348. package/dist/chart/utils/perfomance/animation-frame-cache.utils.d.ts +1 -1
  349. package/dist/chart/utils/perfomance/animation-frame-cache.utils.js +1 -1
  350. package/dist/chart/utils/perfomance/debounce.utils.d.ts +1 -1
  351. package/dist/chart/utils/perfomance/debounce.utils.js +1 -1
  352. package/dist/chart/utils/perfomance/memoize.utils.d.ts +1 -1
  353. package/dist/chart/utils/perfomance/memoize.utils.js +1 -1
  354. package/dist/chart/utils/perfomance/request-animation-frame-throttle.utils.d.ts +1 -1
  355. package/dist/chart/utils/perfomance/request-animation-frame-throttle.utils.js +1 -1
  356. package/dist/chart/utils/perfomance/throttle.utils.d.ts +1 -1
  357. package/dist/chart/utils/perfomance/throttle.utils.js +1 -1
  358. package/dist/chart/utils/price-increments.utils.d.ts +1 -1
  359. package/dist/chart/utils/price-increments.utils.js +1 -1
  360. package/dist/chart/utils/uuid.utils.d.ts +1 -1
  361. package/dist/chart/utils/uuid.utils.js +1 -1
  362. package/dist/dxchart.min.js +5 -5
  363. package/dist/index.d.ts +1 -1
  364. package/dist/index.js +1 -1
  365. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -34,7 +34,7 @@ export interface ExtentYAxis {
34
34
  unsub: Unsubscriber;
35
35
  }
36
36
  export declare class PaneComponent extends ChartBaseElement {
37
- private chartBaseModel;
37
+ chartBaseModel: ChartBaseModel<'candle'>;
38
38
  private hitTestController;
39
39
  private config;
40
40
  private mainScaleModel;
@@ -1,6 +1,6 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
6
- import{distinctUntilChanged as E}from"rxjs/operators";import{areBoundsChanged as B,CanvasElement as d}from"../../canvas/canvas-bounds-container";import{ChartBaseElement as A}from"../../model/chart-base-element";import{defaultValueFormatter as Y}from"../../model/data-series.model";import{SyncedByXScaleModel as w}from"../../model/scale.model";import{firstOf as D,lastOf as y}from"../../utils/array.utils";import{cloneUnsafe as P}from"../../utils/object.utils";import{createCandlesOffsetProvider as _}from"../chart/data-series.high-low-provider";import{GridComponent as S}from"../grid/grid.component";import{NumericYAxisLabelsGenerator as b}from"../y_axis/numeric-y-axis-labels.generator";import{YAxisScaleHandler as U}from"../y_axis/y-axis-scale.handler";import{YAxisDrawer as M}from"../y_axis/y-axis.drawer";import{createDefaultYExtentHighLowProvider as H,YExtentComponent as I}from"./extent/y-extent-component";import{YAxisBaseLabelsModel as N}from"../y_axis/y-axis-base-labels.model";export class PaneComponent extends A{get scaleModel(){return this.mainYExtentComponent.scaleModel}get dataSeries(){return this.yExtentComponents.flatMap(t=>Array.from(t.dataSeries))}constructor(t,e,n,u,m,a,r,i,l,o,h,c,v,s,p,C){super(),this.chartBaseModel=t,this.hitTestController=e,this.config=n,this.mainScaleModel=u,this.drawingManager=m,this.chartPanComponent=a,this.mainCanvasModel=r,this.canvasInputListener=i,this.userInputListenerComponents=l,this.canvasAnimation=o,this.cursorHandler=h,this.eventBus=c,this.canvasBoundsContainer=v,this.uuid=s,this.dataSeriesCanvasModel=p,this._paneOrder=0,this.yExtentComponents=[],this.getYAxisBounds=()=>this.canvasBoundsContainer.getBounds(d.PANE_UUID_Y_AXIS(this.uuid)),this.valueFormatter=(x,f)=>this.mainYExtentComponent.valueFormatter(x,f);const g=this.createExtentComponent(C);this.mainYExtentComponent=g,this.ht=this.canvasBoundsContainer.getBoundsHitTest(d.PANE_UUID(s),{extensionY:-this.config.components.paneResizer.dragZone})}doActivate(){super.doActivate(),this.addRxSubscription(this.canvasBoundsContainer.observeBoundsChanged(d.PANE_UUID(this.uuid)).pipe(E(B)).subscribe(()=>{this.yExtentComponents.forEach(t=>t.scaleModel.recalculateZoomY()),this.dataSeriesCanvasModel.fireDraw()}))}createYAxisComponent(t,e,n,u,m){const a=P(this.config.components.yAxis),r=new b(m,void 0,n,u,()=>"regular",()=>1,a.labelHeight),i=d.PANE_UUID_Y_AXIS(t,e),l=new M(this.config,a,this.mainCanvasModel,()=>r.generateNumericLabels(),()=>this.canvasBoundsContainer.getBounds(i),()=>this.config.components.yAxis.visible,n.toY.bind(n));this.drawingManager.addDrawerAfter(l,i,"Y_AXIS"),a.type="regular";const o=new U(this.eventBus,a,this.chartPanComponent,n,this.canvasInputListener,this.canvasBoundsContainer,this.canvasBoundsContainer.getBoundsHitTest(i),c=>n.autoScale(c)),h=new N(n,r,this.canvasBoundsContainer);return h.activate(),this.userInputListenerComponents.push(o),{labelsGenerator:r,drawer:l,yAxisScaleHandler:o,state:this.config.components.yAxis,unsub:()=>{this.drawingManager.removeDrawerByName(i),h.disable()}}}createGridComponent(t,e,n){return new S(this.mainCanvasModel,e,this.config,`PANE_${t}_grid_drawer`,this.drawingManager,()=>this.canvasBoundsContainer.getBounds(d.PANE_UUID(t)),()=>this.canvasBoundsContainer.getBounds(d.PANE_UUID(t)),()=>[],()=>n.generateNumericLabels())}createYPanHandler(t,e){const n=this.chartPanComponent.chartAreaPanHandler.registerChartYPanHandler(e,this.canvasBoundsContainer.getBoundsHitTest(d.PANE_UUID(t)));return[()=>{this.chartPanComponent.chartAreaPanHandler.removeChildEntity(n),n.disable()},n]}addCursors(t){const e=d.PANE_UUID_Y_AXIS(this.uuid,t);return this.cursorHandler.setCursorForCanvasEl(e,this.config.components.yAxis.cursor),()=>this.cursorHandler.removeCursorForCanvasEl(e)}createExtentComponent(t){var e,n,u,m,a,r;const i=this.yExtentComponents.length,l=()=>this.canvasBoundsContainer.getBounds(d.PANE_UUID(this.uuid)),o=(e=t==null?void 0:t.scaleModel)!==null&&e!==void 0?e:new w(this.mainScaleModel,this.config,l,this.canvasAnimation),h=!((n=t==null?void 0:t.useDefaultYAxis)!==null&&n!==void 0)||n?this.createYAxisComponent(this.uuid,i,o,(m=(u=t==null?void 0:t.paneFormatters)===null||u===void 0?void 0:u.regular)!==null&&m!==void 0?m:Y,(a=t==null?void 0:t.increment)!==null&&a!==void 0?a:null):void 0,[c,v]=this.createYPanHandler(this.uuid,o),s=new I(this.uuid,i,this,this.chartBaseModel,this.canvasBoundsContainer,this.hitTestController,this.dataSeriesCanvasModel,o,h,v);if(s.addSubscription(c),s.addSubscription(this.addCursors(i)),t!=null&&t.paneFormatters&&s.setValueFormatters(t.paneFormatters),((r=t==null?void 0:t.useDefaultHighLow)!==null&&r!==void 0?r:!0)&&o.autoScaleModel.setHighLowProvider("default",_(()=>({top:10,bottom:10,left:0,right:0,visible:!0}),H(s))),h){const C=this.createGridComponent(this.uuid,o,h.labelsGenerator);s.addChildEntity(C)}return s.activate(),this.yExtentComponents.push(s),this.canvasBoundsContainer.updateYAxisWidths(),s}removeExtentComponent(t){t.disable(),this.yExtentComponents.splice(t.idx,1),this.yExtentComponents.forEach((e,n)=>e.idx=n),this.canvasBoundsContainer.updateYAxisWidths()}updateView(){this.yExtentComponents.forEach(t=>{var e;t.scaleModel.doAutoScale(),(e=t.yAxisComponent)===null||e===void 0||e.labelsGenerator.generateNumericLabels()}),this.canvasBoundsContainer.updateYAxisWidths(),this.eventBus.fireDraw()}mergeYExtents(){for(let t=1;t<this.yExtentComponents.length;t++){const e=this.yExtentComponents[t];e.dataSeries.forEach(n=>n.moveToExtent(this.mainYExtentComponent)),e.disable()}this.canvasBoundsContainer.updateYAxisWidths(),this.yExtentComponents=[this.mainYExtentComponent]}getBounds(){return this.mainYExtentComponent.getBounds()}hide(){this._paneOrder=this.canvasBoundsContainer.panesOrder.indexOf(this.uuid),this.canvasBoundsContainer.removedPaneBounds(this.uuid),this.eventBus.fireDraw()}show(){this.canvasBoundsContainer.addPaneBounds(this.uuid,this._paneOrder),this.eventBus.fireDraw()}createDataSeries(){var t;return(t=this.mainYExtentComponent)===null||t===void 0?void 0:t.createDataSeries()}addDataSeries(t){this.mainYExtentComponent.addDataSeries(t),this.updateView()}removeDataSeries(t){this.mainYExtentComponent.removeDataSeries(t),this.updateView()}getAxisType(){return"regular"}moveUp(){this.canvasBoundsContainer.movePaneUp(this.uuid)}moveDown(){this.canvasBoundsContainer.movePaneDown(this.uuid)}canMoveUp(){const t=D(this.canvasBoundsContainer.panesOrder);return this.uuid!==t}canMoveDown(){const t=y(this.canvasBoundsContainer.panesOrder);return this.uuid!==t}get regularFormatter(){return this.mainYExtentComponent.formatters.regular}setPaneValueFormatters(t){this.mainYExtentComponent.setValueFormatters(t)}regularValueFromY(t){return this.mainYExtentComponent.regularValueFromY(t)}}
6
+ import{distinctUntilChanged as E}from"rxjs/operators";import{areBoundsChanged as B,CanvasElement as d}from"../../canvas/canvas-bounds-container";import{ChartBaseElement as A}from"../../model/chart-base-element";import{defaultValueFormatter as Y}from"../../model/data-series.model";import{SyncedByXScaleModel as w}from"../../model/scale.model";import{firstOf as D,flatMap as y,lastOf as P}from"../../utils/array.utils";import{cloneUnsafe as _}from"../../utils/object.utils";import{createCandlesOffsetProvider as S}from"../chart/data-series.high-low-provider";import{GridComponent as b}from"../grid/grid.component";import{NumericYAxisLabelsGenerator as U}from"../y_axis/numeric-y-axis-labels.generator";import{YAxisScaleHandler as M}from"../y_axis/y-axis-scale.handler";import{YAxisDrawer as H}from"../y_axis/y-axis.drawer";import{createDefaultYExtentHighLowProvider as I,YExtentComponent as N}from"./extent/y-extent-component";import{YAxisBaseLabelsModel as L}from"../y_axis/y-axis-base-labels.model";export class PaneComponent extends A{get scaleModel(){return this.mainYExtentComponent.scaleModel}get dataSeries(){return y(this.yExtentComponents,t=>Array.from(t.dataSeries))}constructor(t,e,n,u,m,a,r,i,l,o,h,c,v,s,p,C){super(),this.chartBaseModel=t,this.hitTestController=e,this.config=n,this.mainScaleModel=u,this.drawingManager=m,this.chartPanComponent=a,this.mainCanvasModel=r,this.canvasInputListener=i,this.userInputListenerComponents=l,this.canvasAnimation=o,this.cursorHandler=h,this.eventBus=c,this.canvasBoundsContainer=v,this.uuid=s,this.dataSeriesCanvasModel=p,this._paneOrder=0,this.yExtentComponents=[],this.getYAxisBounds=()=>this.canvasBoundsContainer.getBounds(d.PANE_UUID_Y_AXIS(this.uuid)),this.valueFormatter=(x,f)=>this.mainYExtentComponent.valueFormatter(x,f);const g=this.createExtentComponent(C);this.mainYExtentComponent=g,this.ht=this.canvasBoundsContainer.getBoundsHitTest(d.PANE_UUID(s),{extensionY:-this.config.components.paneResizer.dragZone})}doActivate(){super.doActivate(),this.addRxSubscription(this.canvasBoundsContainer.observeBoundsChanged(d.PANE_UUID(this.uuid)).pipe(E(B)).subscribe(()=>{this.yExtentComponents.forEach(t=>t.scaleModel.recalculateZoomY()),this.dataSeriesCanvasModel.fireDraw()}))}createYAxisComponent(t,e,n,u,m){const a=_(this.config.components.yAxis),r=new U(m,void 0,n,u,()=>"regular",()=>1,a.labelHeight),i=d.PANE_UUID_Y_AXIS(t,e),l=new H(this.config,a,this.mainCanvasModel,()=>r.generateNumericLabels(),()=>this.canvasBoundsContainer.getBounds(i),()=>this.config.components.yAxis.visible,n.toY.bind(n));this.drawingManager.addDrawerAfter(l,i,"Y_AXIS"),a.type="regular";const o=new M(this.eventBus,a,this.chartPanComponent,n,this.canvasInputListener,this.canvasBoundsContainer,this.canvasBoundsContainer.getBoundsHitTest(i),c=>n.autoScale(c)),h=new L(n,r,this.canvasBoundsContainer);return h.activate(),this.userInputListenerComponents.push(o),{labelsGenerator:r,drawer:l,yAxisScaleHandler:o,state:this.config.components.yAxis,unsub:()=>{this.drawingManager.removeDrawerByName(i),h.disable()}}}createGridComponent(t,e,n){return new b(this.mainCanvasModel,e,this.config,`PANE_${t}_grid_drawer`,this.drawingManager,()=>this.canvasBoundsContainer.getBounds(d.PANE_UUID(t)),()=>this.canvasBoundsContainer.getBounds(d.PANE_UUID(t)),()=>[],()=>n.generateNumericLabels())}createYPanHandler(t,e){const n=this.chartPanComponent.chartAreaPanHandler.registerChartYPanHandler(e,this.canvasBoundsContainer.getBoundsHitTest(d.PANE_UUID(t)));return[()=>{this.chartPanComponent.chartAreaPanHandler.removeChildEntity(n),n.disable()},n]}addCursors(t){const e=d.PANE_UUID_Y_AXIS(this.uuid,t);return this.cursorHandler.setCursorForCanvasEl(e,this.config.components.yAxis.cursor),()=>this.cursorHandler.removeCursorForCanvasEl(e)}createExtentComponent(t){var e,n,u,m,a,r;const i=this.yExtentComponents.length,l=()=>this.canvasBoundsContainer.getBounds(d.PANE_UUID(this.uuid)),o=(e=t==null?void 0:t.scaleModel)!==null&&e!==void 0?e:new w(this.mainScaleModel,this.config,l,this.canvasAnimation),h=!((n=t==null?void 0:t.useDefaultYAxis)!==null&&n!==void 0)||n?this.createYAxisComponent(this.uuid,i,o,(m=(u=t==null?void 0:t.paneFormatters)===null||u===void 0?void 0:u.regular)!==null&&m!==void 0?m:Y,(a=t==null?void 0:t.increment)!==null&&a!==void 0?a:null):void 0,[c,v]=this.createYPanHandler(this.uuid,o),s=new N(this.uuid,i,this,this.chartBaseModel,this.canvasBoundsContainer,this.hitTestController,this.dataSeriesCanvasModel,o,h,v);if(s.addSubscription(c),s.addSubscription(this.addCursors(i)),t!=null&&t.paneFormatters&&s.setValueFormatters(t.paneFormatters),((r=t==null?void 0:t.useDefaultHighLow)!==null&&r!==void 0?r:!0)&&o.autoScaleModel.setHighLowProvider("default",S(()=>({top:10,bottom:10,left:0,right:0,visible:!0}),I(s))),h){const C=this.createGridComponent(this.uuid,o,h.labelsGenerator);s.addChildEntity(C)}return s.activate(),this.yExtentComponents.push(s),this.canvasBoundsContainer.updateYAxisWidths(),s}removeExtentComponent(t){t.disable(),this.yExtentComponents.splice(t.idx,1),this.yExtentComponents.forEach((e,n)=>e.idx=n),this.canvasBoundsContainer.updateYAxisWidths()}updateView(){this.yExtentComponents.forEach(t=>{var e;t.scaleModel.doAutoScale(),(e=t.yAxisComponent)===null||e===void 0||e.labelsGenerator.generateNumericLabels()}),this.canvasBoundsContainer.updateYAxisWidths(),this.eventBus.fireDraw()}mergeYExtents(){for(let t=1;t<this.yExtentComponents.length;t++){const e=this.yExtentComponents[t];e.dataSeries.forEach(n=>n.moveToExtent(this.mainYExtentComponent)),e.disable()}this.canvasBoundsContainer.updateYAxisWidths(),this.yExtentComponents=[this.mainYExtentComponent]}getBounds(){return this.mainYExtentComponent.getBounds()}hide(){this._paneOrder=this.canvasBoundsContainer.panesOrder.indexOf(this.uuid),this.canvasBoundsContainer.removedPaneBounds(this.uuid),this.eventBus.fireDraw()}show(){this.canvasBoundsContainer.addPaneBounds(this.uuid,this._paneOrder),this.eventBus.fireDraw()}createDataSeries(){var t;return(t=this.mainYExtentComponent)===null||t===void 0?void 0:t.createDataSeries()}addDataSeries(t){this.mainYExtentComponent.addDataSeries(t),this.updateView()}removeDataSeries(t){this.mainYExtentComponent.removeDataSeries(t),this.updateView()}getAxisType(){return"regular"}moveUp(){this.canvasBoundsContainer.movePaneUp(this.uuid)}moveDown(){this.canvasBoundsContainer.movePaneDown(this.uuid)}canMoveUp(){const t=D(this.canvasBoundsContainer.panesOrder);return this.uuid!==t}canMoveDown(){const t=P(this.canvasBoundsContainer.panesOrder);return this.uuid!==t}get regularFormatter(){return this.mainYExtentComponent.formatters.regular}setPaneValueFormatters(t){this.mainYExtentComponent.setValueFormatters(t)}regularValueFromY(t){return this.mainYExtentComponent.regularValueFromY(t)}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -25,7 +25,8 @@ export declare class VolumesComponent extends ChartBaseElement {
25
25
  private volumesColorByChartTypeMap;
26
26
  volumesModel: VolumesModel;
27
27
  yAxisComponent: YAxisComponent;
28
- volumeSettingChangedSubject: BehaviorSubject<boolean>;
28
+ volumeVisibilityChangedSubject: BehaviorSubject<boolean>;
29
+ volumeIsSeparateModeChangedSubject: BehaviorSubject<boolean>;
29
30
  constructor(canvasModel: CanvasModel, chartComponent: ChartComponent, scaleModel: ScaleModel, canvasBoundsContainer: CanvasBoundsContainer, drawingManager: DrawingManager, config: FullChartConfig, paneManager: PaneManager, yAxisComponent: YAxisComponent);
30
31
  /**
31
32
  * Registers default volume color resolvers for candle, line and bar charts
@@ -1,6 +1,6 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
6
- import{ChartBaseElement as n}from"../../model/chart-base-element";import{SeparateVolumesComponent as p}from"./separate-volumes.component";import{resolveColorForBar as v,resolveColorForCandle as r,resolveColorForLine as C}from"./volume-color-resolvers.functions";import{VolumesDrawer as V}from"./volumes.drawer";import{VolumesModel as c}from"./volumes.model";import{BehaviorSubject as d}from"rxjs";export class VolumesComponent extends n{constructor(e,o,l,a,i,s,m,u){super(),this.canvasModel=e,this.canvasBoundsContainer=a,this.config=s,this.volumesColorByChartTypeMap={},this.volumeSettingChangedSubject=new d(!1);const t=new c(o,l);this.volumesModel=t,this.yAxisComponent=u,this.addChildEntity(t),this.separateVolumes=new p(e,o,i,s,t,this.volumesColorByChartTypeMap,m),this.addChildEntity(this.separateVolumes);const h=new V(e,s,t,o.chartModel,l,this.volumesColorByChartTypeMap,()=>!s.components.volumes.showSeparately);i.addDrawer(h,"VOLUMES"),this.registerDefaultVolumeColorResolvers(),this.volumeSettingChangedSubject.next(s.components.volumes.visible)}registerDefaultVolumeColorResolvers(){this.registerVolumeColorResolver("candle",r),this.registerVolumeColorResolver("trend",r),this.registerVolumeColorResolver("hollow",r),this.registerVolumeColorResolver("line",C),this.registerVolumeColorResolver("bar",v)}setShowVolumesSeparatly(e){this.config.components.volumes.showSeparately!==e&&(this.config.components.volumes.showSeparately=e,e?this.separateVolumes.activateSeparateVolumes():this.separateVolumes.deactiveSeparateVolumes())}doDeactivate(){super.doDeactivate(),this.setVisible(!1)}registerVolumeColorResolver(e,o){this.volumesColorByChartTypeMap[e]=o}setVisible(e=!0){this.config.components.volumes.visible=e,this.volumeSettingChangedSubject.next(e),this.config.components.volumes.showSeparately===!0&&(e?this.separateVolumes.activateSeparateVolumes():this.separateVolumes.deactiveSeparateVolumes()),this.canvasBoundsContainer.recalculatePanesHeightRatios(),this.canvasModel.fireDraw()}}
6
+ import{ChartBaseElement as p}from"../../model/chart-base-element";import{SeparateVolumesComponent as v}from"./separate-volumes.component";import{resolveColorForBar as d,resolveColorForCandle as l,resolveColorForLine as C}from"./volume-color-resolvers.functions";import{VolumesDrawer as c}from"./volumes.drawer";import{VolumesModel as S}from"./volumes.model";import{BehaviorSubject as i}from"rxjs";export class VolumesComponent extends p{constructor(e,t,r,u,a,o,m,h){super(),this.canvasModel=e,this.canvasBoundsContainer=u,this.config=o,this.volumesColorByChartTypeMap={},this.volumeVisibilityChangedSubject=new i(!1),this.volumeIsSeparateModeChangedSubject=new i(!1);const s=new S(t,r);this.volumesModel=s,this.yAxisComponent=h,this.addChildEntity(s),this.separateVolumes=new v(e,t,a,o,s,this.volumesColorByChartTypeMap,m),this.addChildEntity(this.separateVolumes);const n=new c(e,o,s,t.chartModel,r,this.volumesColorByChartTypeMap,()=>!o.components.volumes.showSeparately);a.addDrawer(n,"VOLUMES"),this.registerDefaultVolumeColorResolvers(),this.volumeVisibilityChangedSubject.next(o.components.volumes.visible),this.volumeIsSeparateModeChangedSubject.next(o.components.volumes.showSeparately)}registerDefaultVolumeColorResolvers(){this.registerVolumeColorResolver("candle",l),this.registerVolumeColorResolver("trend",l),this.registerVolumeColorResolver("hollow",l),this.registerVolumeColorResolver("line",C),this.registerVolumeColorResolver("bar",d)}setShowVolumesSeparatly(e){this.config.components.volumes.showSeparately!==e&&(this.config.components.volumes.showSeparately=e,e?(this.separateVolumes.activateSeparateVolumes(),this.volumeIsSeparateModeChangedSubject.next(!0)):(this.separateVolumes.deactiveSeparateVolumes(),this.volumeIsSeparateModeChangedSubject.next(!1)))}doDeactivate(){super.doDeactivate(),this.setVisible(!1)}registerVolumeColorResolver(e,t){this.volumesColorByChartTypeMap[e]=t}setVisible(e=!0){this.config.components.volumes.visible=e,this.volumeVisibilityChangedSubject.next(e),this.config.components.volumes.showSeparately===!0&&(e?(this.separateVolumes.activateSeparateVolumes(),this.volumeIsSeparateModeChangedSubject.next(!0)):(this.separateVolumes.deactiveSeparateVolumes(),this.volumeIsSeparateModeChangedSubject.next(!1))),this.canvasBoundsContainer.recalculatePanesHeightRatios(),this.canvasModel.fireDraw()}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (C) 2002 - 2023 Devexperts LLC
2
+ * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */