@devexperts/dxcharts-lite 2.6.1 → 2.7.0
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/chart/__tests__/chart.test.d.ts +1 -1
- package/dist/chart/__tests__/chart.test.js +1 -1
- package/dist/chart/__tests__/env.d.ts +1 -1
- package/dist/chart/__tests__/env.js +1 -1
- package/dist/chart/__tests__/model/date-time.formatter.test.d.ts +1 -1
- package/dist/chart/__tests__/model/date-time.formatter.test.js +1 -1
- package/dist/chart/animation/canvas-animation.d.ts +1 -1
- package/dist/chart/animation/canvas-animation.js +1 -1
- package/dist/chart/animation/types/animation.d.ts +1 -1
- package/dist/chart/animation/types/animation.js +1 -1
- package/dist/chart/animation/types/color-alpha-animation.d.ts +1 -1
- package/dist/chart/animation/types/color-alpha-animation.js +1 -1
- package/dist/chart/animation/types/color-transition-animation.d.ts +1 -1
- package/dist/chart/animation/types/color-transition-animation.js +1 -1
- package/dist/chart/animation/types/viewport-movement-animation.d.ts +1 -1
- package/dist/chart/animation/types/viewport-movement-animation.js +1 -1
- package/dist/chart/animation/viewport-model-animation.d.ts +1 -1
- package/dist/chart/animation/viewport-model-animation.js +1 -1
- package/dist/chart/bootstrap.d.ts +1 -1
- package/dist/chart/bootstrap.js +2 -2
- package/dist/chart/canvas/canvas-bounds-container.d.ts +6 -5
- package/dist/chart/canvas/canvas-bounds-container.js +10 -7
- package/dist/chart/canvas/canvas-chart-html.d.ts +1 -1
- package/dist/chart/canvas/canvas-chart-html.js +1 -1
- package/dist/chart/canvas/chart-elements.d.ts +1 -1
- package/dist/chart/canvas/chart-elements.js +1 -1
- package/dist/chart/canvas/cursor.handler.d.ts +1 -1
- package/dist/chart/canvas/cursor.handler.js +1 -1
- package/dist/chart/canvas/layout-creator.d.ts +1 -1
- package/dist/chart/canvas/layout-creator.js +1 -1
- package/dist/chart/canvas/y-axis-bounds.container.d.ts +1 -1
- package/dist/chart/canvas/y-axis-bounds.container.js +1 -1
- package/dist/chart/chart.config.d.ts +41 -13
- package/dist/chart/chart.config.js +26 -6
- package/dist/chart/chart.d.ts +1 -1
- package/dist/chart/chart.js +1 -1
- package/dist/chart/components/chart/basic-scale.d.ts +1 -1
- package/dist/chart/components/chart/basic-scale.js +1 -1
- package/dist/chart/components/chart/candle-transformer.functions.d.ts +1 -1
- package/dist/chart/components/chart/candle-transformer.functions.js +1 -1
- package/dist/chart/components/chart/candle-width-calculator.functions.d.ts +1 -1
- package/dist/chart/components/chart/candle-width-calculator.functions.js +1 -1
- package/dist/chart/components/chart/candle.functions.d.ts +2 -1
- package/dist/chart/components/chart/candle.functions.js +4 -1
- package/dist/chart/components/chart/chart-area-pan.handler.d.ts +4 -4
- package/dist/chart/components/chart/chart-area-pan.handler.js +10 -5
- package/dist/chart/components/chart/chart-base.model.d.ts +1 -1
- package/dist/chart/components/chart/chart-base.model.js +1 -1
- package/dist/chart/components/chart/chart.component.d.ts +1 -1
- package/dist/chart/components/chart/chart.component.js +1 -1
- package/dist/chart/components/chart/chart.model.d.ts +1 -1
- package/dist/chart/components/chart/chart.model.js +3 -3
- package/dist/chart/components/chart/data-series.high-low-provider.d.ts +1 -1
- package/dist/chart/components/chart/data-series.high-low-provider.js +1 -1
- package/dist/chart/components/chart/fake-candles.d.ts +1 -1
- package/dist/chart/components/chart/fake-candles.js +1 -1
- package/dist/chart/components/chart/fake-visual-candle.d.ts +1 -1
- package/dist/chart/components/chart/fake-visual-candle.js +1 -1
- package/dist/chart/components/chart/price.formatter.d.ts +1 -1
- package/dist/chart/components/chart/price.formatter.js +1 -1
- package/dist/chart/components/chart/secondary-chart-colors-pool.d.ts +1 -1
- package/dist/chart/components/chart/secondary-chart-colors-pool.js +1 -1
- package/dist/chart/components/cross_tool/cross-tool.component.d.ts +6 -2
- package/dist/chart/components/cross_tool/cross-tool.component.js +6 -3
- package/dist/chart/components/cross_tool/cross-tool.drawer.d.ts +1 -1
- package/dist/chart/components/cross_tool/cross-tool.drawer.js +1 -1
- package/dist/chart/components/cross_tool/cross-tool.model.d.ts +5 -2
- package/dist/chart/components/cross_tool/cross-tool.model.js +26 -2
- package/dist/chart/components/cross_tool/types/cross-and-labels.drawer.d.ts +1 -1
- package/dist/chart/components/cross_tool/types/cross-and-labels.drawer.js +1 -1
- package/dist/chart/components/cross_tool/types/none.drawer.d.ts +1 -1
- package/dist/chart/components/cross_tool/types/none.drawer.js +1 -1
- package/dist/chart/components/dran-n-drop_helper/drag-n-drop-x.component.d.ts +1 -1
- package/dist/chart/components/dran-n-drop_helper/drag-n-drop-x.component.js +1 -1
- package/dist/chart/components/dran-n-drop_helper/drag-n-drop-y.component.d.ts +1 -1
- package/dist/chart/components/dran-n-drop_helper/drag-n-drop-y.component.js +1 -1
- package/dist/chart/components/dran-n-drop_helper/drag-n-drop.component.d.ts +1 -1
- package/dist/chart/components/dran-n-drop_helper/drag-n-drop.component.js +1 -1
- package/dist/chart/components/dynamic-objects/dynamic-objects.component.d.ts +1 -1
- package/dist/chart/components/dynamic-objects/dynamic-objects.component.js +1 -1
- package/dist/chart/components/dynamic-objects/dynamic-objects.drawer.d.ts +1 -1
- package/dist/chart/components/dynamic-objects/dynamic-objects.drawer.js +1 -1
- package/dist/chart/components/dynamic-objects/dynamic-objects.model.d.ts +1 -1
- package/dist/chart/components/dynamic-objects/dynamic-objects.model.js +1 -1
- package/dist/chart/components/events/events-custom-icons.d.ts +33 -0
- package/dist/chart/components/events/events-custom-icons.js +52 -0
- package/dist/chart/components/events/events-hit-test.drawer.d.ts +1 -1
- package/dist/chart/components/events/events-hit-test.drawer.js +7 -2
- package/dist/chart/components/events/events.component.d.ts +1 -1
- package/dist/chart/components/events/events.component.js +1 -1
- package/dist/chart/components/events/events.drawer.d.ts +6 -31
- package/dist/chart/components/events/events.drawer.js +34 -70
- package/dist/chart/components/events/events.model.d.ts +1 -1
- package/dist/chart/components/events/events.model.js +1 -1
- package/dist/chart/components/grid/grid.component.d.ts +1 -1
- package/dist/chart/components/grid/grid.component.js +1 -1
- package/dist/chart/components/grid/grid.drawer.d.ts +1 -1
- package/dist/chart/components/grid/grid.drawer.js +1 -1
- package/dist/chart/components/high_low/high-low.component.d.ts +1 -1
- package/dist/chart/components/high_low/high-low.component.js +1 -1
- package/dist/chart/components/high_low/high-low.drawer.d.ts +1 -1
- package/dist/chart/components/high_low/high-low.drawer.js +1 -1
- package/dist/chart/components/highlights/highlights.component.d.ts +1 -1
- package/dist/chart/components/highlights/highlights.component.js +1 -1
- package/dist/chart/components/highlights/highlights.drawer.d.ts +1 -1
- package/dist/chart/components/highlights/highlights.drawer.js +1 -1
- package/dist/chart/components/highlights/highlights.model.d.ts +1 -1
- package/dist/chart/components/highlights/highlights.model.js +1 -1
- package/dist/chart/components/hit-test/hit-test.component.d.ts +1 -1
- package/dist/chart/components/hit-test/hit-test.component.js +1 -1
- package/dist/chart/components/labels_generator/numeric-axis-labels.generator.d.ts +1 -1
- package/dist/chart/components/labels_generator/numeric-axis-labels.generator.js +1 -1
- package/dist/chart/components/navigation_map/navigation-map-move.handler.d.ts +1 -1
- package/dist/chart/components/navigation_map/navigation-map-move.handler.js +1 -1
- package/dist/chart/components/navigation_map/navigation-map.component.d.ts +1 -1
- package/dist/chart/components/navigation_map/navigation-map.component.js +1 -1
- package/dist/chart/components/navigation_map/navigation-map.drawer.d.ts +1 -1
- package/dist/chart/components/navigation_map/navigation-map.drawer.js +1 -1
- package/dist/chart/components/navigation_map/navigation-map.model.d.ts +1 -1
- package/dist/chart/components/navigation_map/navigation-map.model.js +1 -1
- package/dist/chart/components/pan/chart-pan.component.d.ts +1 -1
- package/dist/chart/components/pan/chart-pan.component.js +1 -1
- package/dist/chart/components/pane/extent/y-extent-component.d.ts +1 -1
- package/dist/chart/components/pane/extent/y-extent-component.js +1 -1
- package/dist/chart/components/pane/pane-hit-test.controller.d.ts +1 -1
- package/dist/chart/components/pane/pane-hit-test.controller.js +1 -1
- package/dist/chart/components/pane/pane-manager.component.d.ts +11 -2
- package/dist/chart/components/pane/pane-manager.component.js +13 -11
- package/dist/chart/components/pane/pane.component.d.ts +9 -6
- package/dist/chart/components/pane/pane.component.js +17 -7
- package/dist/chart/components/resizer/bar-resizer.component.d.ts +2 -1
- package/dist/chart/components/resizer/bar-resizer.component.js +6 -0
- package/dist/chart/components/resizer/bar-resizer.drawer.d.ts +1 -1
- package/dist/chart/components/resizer/bar-resizer.drawer.js +1 -1
- package/dist/chart/components/snapshot/snapshot.component.d.ts +1 -1
- package/dist/chart/components/snapshot/snapshot.component.js +1 -1
- package/dist/chart/components/volumes/separate-volumes.component.d.ts +1 -1
- package/dist/chart/components/volumes/separate-volumes.component.js +1 -1
- package/dist/chart/components/volumes/volume-color-resolvers.functions.d.ts +1 -1
- package/dist/chart/components/volumes/volume-color-resolvers.functions.js +1 -1
- package/dist/chart/components/volumes/volumes.component.d.ts +1 -1
- package/dist/chart/components/volumes/volumes.component.js +1 -1
- package/dist/chart/components/volumes/volumes.drawer.d.ts +1 -1
- package/dist/chart/components/volumes/volumes.drawer.js +1 -1
- package/dist/chart/components/volumes/volumes.formatter.d.ts +1 -1
- package/dist/chart/components/volumes/volumes.formatter.js +1 -1
- package/dist/chart/components/volumes/volumes.model.d.ts +1 -1
- package/dist/chart/components/volumes/volumes.model.js +1 -1
- package/dist/chart/components/watermark/water-mark.component.d.ts +1 -1
- package/dist/chart/components/watermark/water-mark.component.js +1 -1
- package/dist/chart/components/watermark/water-mark.drawer.d.ts +1 -1
- package/dist/chart/components/watermark/water-mark.drawer.js +1 -1
- package/dist/chart/components/x_axis/numeric-x-axis-labels.generator.d.ts +1 -1
- package/dist/chart/components/x_axis/numeric-x-axis-labels.generator.js +1 -1
- package/dist/chart/components/x_axis/time/parser/time-formats-matchers.functions.d.ts +1 -1
- package/dist/chart/components/x_axis/time/parser/time-formats-matchers.functions.js +1 -1
- package/dist/chart/components/x_axis/time/parser/time-formats-parser.functions.d.ts +1 -1
- package/dist/chart/components/x_axis/time/parser/time-formats-parser.functions.js +1 -1
- package/dist/chart/components/x_axis/time/parser/time-formats-validators.functions.d.ts +1 -1
- package/dist/chart/components/x_axis/time/parser/time-formats-validators.functions.js +1 -1
- package/dist/chart/components/x_axis/time/parser/time-formats.model.d.ts +1 -1
- package/dist/chart/components/x_axis/time/parser/time-formats.model.js +1 -1
- package/dist/chart/components/x_axis/time/x-axis-weights.functions.d.ts +1 -1
- package/dist/chart/components/x_axis/time/x-axis-weights.functions.js +1 -1
- package/dist/chart/components/x_axis/time/x-axis-weights.generator.d.ts +1 -1
- package/dist/chart/components/x_axis/time/x-axis-weights.generator.js +1 -1
- package/dist/chart/components/x_axis/x-axis-draw.functions.d.ts +1 -1
- package/dist/chart/components/x_axis/x-axis-draw.functions.js +1 -1
- package/dist/chart/components/x_axis/x-axis-labels.drawer.d.ts +1 -1
- package/dist/chart/components/x_axis/x-axis-labels.drawer.js +1 -1
- package/dist/chart/components/x_axis/x-axis-labels.generator.d.ts +1 -1
- package/dist/chart/components/x_axis/x-axis-labels.generator.js +1 -1
- package/dist/chart/components/x_axis/x-axis-labels.model.d.ts +1 -1
- package/dist/chart/components/x_axis/x-axis-labels.model.js +1 -1
- package/dist/chart/components/x_axis/x-axis-scale.handler.d.ts +1 -1
- package/dist/chart/components/x_axis/x-axis-scale.handler.js +1 -1
- package/dist/chart/components/x_axis/x-axis-time-labels.drawer.d.ts +1 -1
- package/dist/chart/components/x_axis/x-axis-time-labels.drawer.js +1 -1
- package/dist/chart/components/x_axis/x-axis.component.d.ts +1 -1
- package/dist/chart/components/x_axis/x-axis.component.js +1 -1
- package/dist/chart/components/y_axis/label-color.functions.d.ts +1 -1
- package/dist/chart/components/y_axis/label-color.functions.js +1 -1
- package/dist/chart/components/y_axis/numeric-y-axis-labels.generator.d.ts +1 -1
- package/dist/chart/components/y_axis/numeric-y-axis-labels.generator.js +1 -1
- package/dist/chart/components/y_axis/price_labels/data-series-y-axis-labels.provider.d.ts +1 -1
- package/dist/chart/components/y_axis/price_labels/data-series-y-axis-labels.provider.js +1 -1
- package/dist/chart/components/y_axis/price_labels/labels-positions-calculator.d.ts +1 -1
- package/dist/chart/components/y_axis/price_labels/labels-positions-calculator.js +1 -1
- package/dist/chart/components/y_axis/price_labels/last-candle-labels.provider.d.ts +1 -1
- package/dist/chart/components/y_axis/price_labels/last-candle-labels.provider.js +1 -1
- package/dist/chart/components/y_axis/price_labels/price-label.drawer.d.ts +1 -1
- package/dist/chart/components/y_axis/price_labels/price-label.drawer.js +1 -1
- package/dist/chart/components/y_axis/price_labels/y-axis-labels.model.d.ts +4 -2
- package/dist/chart/components/y_axis/price_labels/y-axis-labels.model.js +9 -1
- package/dist/chart/components/y_axis/price_labels/y-axis-price-labels.drawer.d.ts +1 -1
- package/dist/chart/components/y_axis/price_labels/y-axis-price-labels.drawer.js +1 -1
- package/dist/chart/components/y_axis/y-axis-base-labels.model.d.ts +1 -1
- package/dist/chart/components/y_axis/y-axis-base-labels.model.js +1 -1
- package/dist/chart/components/y_axis/y-axis-labels.drawer.d.ts +1 -1
- package/dist/chart/components/y_axis/y-axis-labels.drawer.js +1 -1
- package/dist/chart/components/y_axis/y-axis-scale.handler.d.ts +3 -1
- package/dist/chart/components/y_axis/y-axis-scale.handler.js +12 -0
- package/dist/chart/components/y_axis/y-axis.component.d.ts +2 -1
- package/dist/chart/components/y_axis/y-axis.component.js +7 -0
- package/dist/chart/components/y_axis/y-axis.drawer.d.ts +1 -1
- package/dist/chart/components/y_axis/y-axis.drawer.js +1 -1
- package/dist/chart/components/y_axis/y-axis.model.d.ts +1 -1
- package/dist/chart/components/y_axis/y-axis.model.js +1 -1
- package/dist/chart/drawers/chart-background.drawer.d.ts +1 -1
- package/dist/chart/drawers/chart-background.drawer.js +1 -1
- package/dist/chart/drawers/chart-type-drawers/area.drawer.d.ts +1 -1
- package/dist/chart/drawers/chart-type-drawers/area.drawer.js +2 -2
- package/dist/chart/drawers/chart-type-drawers/bar.drawer.d.ts +1 -1
- package/dist/chart/drawers/chart-type-drawers/bar.drawer.js +5 -5
- package/dist/chart/drawers/chart-type-drawers/baseline.drawer.d.ts +1 -1
- package/dist/chart/drawers/chart-type-drawers/baseline.drawer.js +1 -1
- package/dist/chart/drawers/chart-type-drawers/candle.drawer.d.ts +1 -1
- package/dist/chart/drawers/chart-type-drawers/candle.drawer.js +6 -6
- package/dist/chart/drawers/chart-type-drawers/histogram.drawer.d.ts +1 -1
- package/dist/chart/drawers/chart-type-drawers/histogram.drawer.js +2 -2
- package/dist/chart/drawers/chart-type-drawers/line.drawer.d.ts +1 -1
- package/dist/chart/drawers/chart-type-drawers/line.drawer.js +1 -1
- package/dist/chart/drawers/chart-type-drawers/scatter-plot.drawer.d.ts +1 -1
- package/dist/chart/drawers/chart-type-drawers/scatter-plot.drawer.js +3 -4
- package/dist/chart/drawers/clear-canvas.drawer.d.ts +1 -1
- package/dist/chart/drawers/clear-canvas.drawer.js +1 -1
- package/dist/chart/drawers/composite.drawer.d.ts +1 -1
- package/dist/chart/drawers/composite.drawer.js +1 -1
- package/dist/chart/drawers/data-series-drawers/candle-series-wrapper.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/candle-series-wrapper.js +1 -1
- package/dist/chart/drawers/data-series-drawers/color-candle.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/color-candle.drawer.js +1 -1
- package/dist/chart/drawers/data-series-drawers/data-series-drawers.utils.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/data-series-drawers.utils.js +1 -1
- package/dist/chart/drawers/data-series-drawers/difference-cloud.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/difference-cloud.drawer.js +1 -1
- package/dist/chart/drawers/data-series-drawers/histogram.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/histogram.drawer.js +1 -1
- package/dist/chart/drawers/data-series-drawers/linear.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/linear.drawer.js +1 -1
- package/dist/chart/drawers/data-series-drawers/points.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/points.drawer.js +1 -1
- package/dist/chart/drawers/data-series-drawers/rectangular-tool.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/rectangular-tool.drawer.js +1 -1
- package/dist/chart/drawers/data-series-drawers/text.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/text.drawer.js +1 -1
- package/dist/chart/drawers/data-series-drawers/trend-histogram.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/trend-histogram.drawer.js +7 -8
- package/dist/chart/drawers/data-series-drawers/triangle.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series-drawers/triangle.drawer.js +1 -1
- package/dist/chart/drawers/data-series.drawer.d.ts +1 -1
- package/dist/chart/drawers/data-series.drawer.js +1 -1
- package/dist/chart/drawers/drawing-manager.d.ts +1 -1
- package/dist/chart/drawers/drawing-manager.js +1 -1
- package/dist/chart/drawers/ht-data-series.drawer.d.ts +1 -1
- package/dist/chart/drawers/ht-data-series.drawer.js +1 -1
- package/dist/chart/events/event-bus.d.ts +1 -1
- package/dist/chart/events/event-bus.js +1 -1
- package/dist/chart/events/events.d.ts +1 -1
- package/dist/chart/events/events.js +1 -1
- package/dist/chart/inputhandlers/candle-tap.handler.d.ts +1 -1
- package/dist/chart/inputhandlers/candle-tap.handler.js +1 -1
- package/dist/chart/inputhandlers/chart-resize.handler.d.ts +1 -1
- package/dist/chart/inputhandlers/chart-resize.handler.js +1 -1
- package/dist/chart/inputhandlers/cross-event-producer.component.d.ts +1 -1
- package/dist/chart/inputhandlers/cross-event-producer.component.js +1 -1
- package/dist/chart/inputhandlers/hover-producer.component.d.ts +2 -2
- package/dist/chart/inputhandlers/hover-producer.component.js +11 -4
- package/dist/chart/inputhandlers/main-canvas-touch.handler.d.ts +1 -1
- package/dist/chart/inputhandlers/main-canvas-touch.handler.js +1 -1
- package/dist/chart/inputlisteners/canvas-input-listener.component.d.ts +1 -1
- package/dist/chart/inputlisteners/canvas-input-listener.component.js +1 -1
- package/dist/chart/model/baseline.model.d.ts +3 -1
- package/dist/chart/model/baseline.model.js +11 -3
- package/dist/chart/model/bounds.model.d.ts +1 -1
- package/dist/chart/model/bounds.model.js +1 -1
- package/dist/chart/model/candle-hover.d.ts +1 -1
- package/dist/chart/model/candle-hover.js +1 -1
- package/dist/chart/model/candle-series-high-low.provider.d.ts +1 -1
- package/dist/chart/model/candle-series-high-low.provider.js +1 -1
- package/dist/chart/model/candle-series.model.d.ts +1 -1
- package/dist/chart/model/candle-series.model.js +1 -1
- package/dist/chart/model/candle.model.d.ts +1 -1
- package/dist/chart/model/candle.model.js +1 -1
- package/dist/chart/model/canvas.model.d.ts +1 -1
- package/dist/chart/model/canvas.model.js +1 -1
- package/dist/chart/model/chart-base-element.d.ts +1 -1
- package/dist/chart/model/chart-base-element.js +1 -1
- package/dist/chart/model/compare-series-hover.d.ts +1 -1
- package/dist/chart/model/compare-series-hover.js +1 -1
- package/dist/chart/model/data-series-view.d.ts +1 -1
- package/dist/chart/model/data-series-view.js +1 -1
- package/dist/chart/model/data-series.config.d.ts +1 -1
- package/dist/chart/model/data-series.config.js +1 -1
- package/dist/chart/model/data-series.model.d.ts +1 -1
- package/dist/chart/model/data-series.model.js +19 -1
- package/dist/chart/model/date-time.formatter.d.ts +1 -1
- package/dist/chart/model/date-time.formatter.js +1 -1
- package/dist/chart/model/hit-test-canvas.model.d.ts +1 -1
- package/dist/chart/model/hit-test-canvas.model.js +1 -1
- package/dist/chart/model/main-candle-series.model.d.ts +1 -1
- package/dist/chart/model/main-candle-series.model.js +1 -1
- package/dist/chart/model/scale.model.d.ts +1 -1
- package/dist/chart/model/scale.model.js +1 -1
- package/dist/chart/model/scaling/auto-scale.model.d.ts +1 -1
- package/dist/chart/model/scaling/auto-scale.model.js +1 -1
- package/dist/chart/model/scaling/constrait.functions.d.ts +1 -1
- package/dist/chart/model/scaling/constrait.functions.js +1 -1
- package/dist/chart/model/scaling/lock-ratio.model.d.ts +1 -1
- package/dist/chart/model/scaling/lock-ratio.model.js +1 -1
- package/dist/chart/model/scaling/move-chart.functions.d.ts +1 -1
- package/dist/chart/model/scaling/move-chart.functions.js +1 -1
- package/dist/chart/model/scaling/viewport.model.d.ts +2 -2
- package/dist/chart/model/scaling/viewport.model.js +5 -4
- package/dist/chart/model/scaling/x-zooming.functions.d.ts +1 -1
- package/dist/chart/model/scaling/x-zooming.functions.js +1 -1
- package/dist/chart/model/time-zone.model.d.ts +1 -1
- package/dist/chart/model/time-zone.model.js +1 -1
- package/dist/chart/model/visual-candle.d.ts +1 -1
- package/dist/chart/model/visual-candle.js +12 -13
- package/dist/chart/utils/__tests__/array.utils.test.d.ts +1 -1
- package/dist/chart/utils/__tests__/array.utils.test.js +1 -1
- package/dist/chart/utils/__tests__/math.utils.test.d.ts +1 -1
- package/dist/chart/utils/__tests__/math.utils.test.js +1 -1
- package/dist/chart/utils/__tests__/object.utils.test.d.ts +1 -1
- package/dist/chart/utils/__tests__/object.utils.test.js +1 -1
- package/dist/chart/utils/__tests__/priceIncrementsUtils.test.d.ts +1 -1
- package/dist/chart/utils/__tests__/priceIncrementsUtils.test.js +1 -1
- package/dist/chart/utils/array.utils.d.ts +1 -1
- package/dist/chart/utils/array.utils.js +1 -1
- package/dist/chart/utils/auto-period-detector.utils.d.ts +1 -1
- package/dist/chart/utils/auto-period-detector.utils.js +1 -1
- package/dist/chart/utils/candles-generator-ts.utils.d.ts +1 -1
- package/dist/chart/utils/candles-generator-ts.utils.js +1 -1
- package/dist/chart/utils/candles-generator.utils.d.ts +1 -1
- package/dist/chart/utils/candles-generator.utils.js +1 -1
- package/dist/chart/utils/candles.utils.d.ts +1 -1
- package/dist/chart/utils/candles.utils.js +1 -1
- package/dist/chart/utils/canvas/canvas-drawing-functions.utils.d.ts +1 -1
- package/dist/chart/utils/canvas/canvas-drawing-functions.utils.js +1 -1
- package/dist/chart/utils/canvas/canvas-font-measure-tool.utils.d.ts +1 -1
- package/dist/chart/utils/canvas/canvas-font-measure-tool.utils.js +1 -1
- package/dist/chart/utils/canvas/canvas-text-functions.utils.d.ts +1 -1
- package/dist/chart/utils/canvas/canvas-text-functions.utils.js +1 -1
- package/dist/chart/utils/color.utils.d.ts +1 -1
- package/dist/chart/utils/color.utils.js +1 -1
- package/dist/chart/utils/device/browser.utils.d.ts +1 -1
- package/dist/chart/utils/device/browser.utils.js +1 -1
- package/dist/chart/utils/device/device-detector.utils.d.ts +1 -1
- package/dist/chart/utils/device/device-detector.utils.js +1 -1
- package/dist/chart/utils/device/device-pixel-ratio.utils.d.ts +1 -1
- package/dist/chart/utils/device/device-pixel-ratio.utils.js +1 -1
- package/dist/chart/utils/device/touchpad.utils.d.ts +1 -1
- package/dist/chart/utils/device/touchpad.utils.js +1 -1
- package/dist/chart/utils/dom.utils.d.ts +1 -1
- package/dist/chart/utils/dom.utils.js +1 -1
- package/dist/chart/utils/function.utils.d.ts +1 -1
- package/dist/chart/utils/function.utils.js +1 -1
- package/dist/chart/utils/linkedList.utils.d.ts +1 -1
- package/dist/chart/utils/linkedList.utils.js +1 -1
- package/dist/chart/utils/math.utils.d.ts +1 -1
- package/dist/chart/utils/math.utils.js +1 -1
- package/dist/chart/utils/merge.utils.d.ts +1 -1
- package/dist/chart/utils/merge.utils.js +1 -1
- package/dist/chart/utils/object.utils.d.ts +2 -1
- package/dist/chart/utils/object.utils.js +2 -1
- package/dist/chart/utils/performance/animation-frame-cache.utils.d.ts +1 -1
- package/dist/chart/utils/performance/animation-frame-cache.utils.js +1 -1
- package/dist/chart/utils/performance/debounce.utils.d.ts +1 -1
- package/dist/chart/utils/performance/debounce.utils.js +1 -1
- package/dist/chart/utils/performance/memoize.utils.d.ts +1 -1
- package/dist/chart/utils/performance/memoize.utils.js +1 -1
- package/dist/chart/utils/performance/request-animation-frame-throttle.utils.d.ts +1 -1
- package/dist/chart/utils/performance/request-animation-frame-throttle.utils.js +1 -1
- package/dist/chart/utils/performance/throttle.utils.d.ts +1 -1
- package/dist/chart/utils/performance/throttle.utils.js +1 -1
- package/dist/chart/utils/price-increments.utils.d.ts +1 -1
- package/dist/chart/utils/price-increments.utils.js +1 -1
- package/dist/chart/utils/string.utils.d.ts +1 -1
- package/dist/chart/utils/string.utils.js +1 -1
- package/dist/chart/utils/timezone.utils.d.ts +1 -1
- package/dist/chart/utils/timezone.utils.js +1 -1
- package/dist/chart/utils/types.utils.d.ts +1 -1
- package/dist/chart/utils/types.utils.js +1 -1
- package/dist/chart/utils/uuid.utils.d.ts +1 -1
- package/dist/chart/utils/uuid.utils.js +1 -1
- package/dist/dxchart.min.js +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
/*
|
|
11
|
-
* Copyright (C) 2019 -
|
|
11
|
+
* Copyright (C) 2019 - 2025 Devexperts Solutions IE Limited
|
|
12
12
|
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
|
13
13
|
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
14
14
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
|
-
* Copyright (C) 2019 -
|
|
3
|
+
* Copyright (C) 2019 - 2025 Devexperts Solutions IE Limited
|
|
4
4
|
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
|
5
5
|
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
package/dist/chart/bootstrap.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -184,7 +184,7 @@ export default class ChartBootstrap {
|
|
|
184
184
|
this.chartComponents.push(verticalGridComponent);
|
|
185
185
|
this.hoverProducer = new HoverProducerComponent(this.crossEventProducer, scaleModel, config, chartModel, canvasInputListener, this.canvasBoundsContainer, this.paneManager, timeZoneModel, chartPanComponent.mainCanvasTouchHandler, formatterFactory);
|
|
186
186
|
this.chartComponents.push(this.hoverProducer);
|
|
187
|
-
this.crossToolComponent = new CrossToolComponent(config, crossToolCanvasModel, canvasBoundsContainer, drawingManager, paneManager, this.crossEventProducer, this.hoverProducer);
|
|
187
|
+
this.crossToolComponent = new CrossToolComponent(config, crossToolCanvasModel, canvasBoundsContainer, drawingManager, paneManager, this.crossEventProducer, this.hoverProducer, this.chartComponent.baselineModel);
|
|
188
188
|
this.chartComponents.push(this.crossToolComponent);
|
|
189
189
|
// Snapshot component
|
|
190
190
|
const snapshotCanvasModel = createCanvasModel(eventBus, elements.snapshotCanvas, config, drawingManager, this.canvasModels, elements.chartResizer);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -241,10 +241,10 @@ export declare class CanvasBoundsContainer {
|
|
|
241
241
|
/**
|
|
242
242
|
* Gets hit-test fn for canvas element.
|
|
243
243
|
* @param {string} el - CanvasElement.ELEMENT_NAME
|
|
244
|
-
* @param {
|
|
245
|
-
* @param {number} extensionX -
|
|
246
|
-
* @param {number} extensionY -
|
|
247
|
-
* @param wholePage
|
|
244
|
+
* @param {Object} options - An object containing options for the hit test.
|
|
245
|
+
* @param {number} [options.extensionX=0] - The amount of extension in the x-axis.
|
|
246
|
+
* @param {number} [options.extensionY=0] - The amount of extension in the y-axis.
|
|
247
|
+
* @param {boolean} [options.wholePage=false] - Whether to test against the whole page or just the bounds object.
|
|
248
248
|
* @return {HitBoundsTest} hit-test fn
|
|
249
249
|
*/
|
|
250
250
|
getBoundsHitTest(el: string, options?: AtLeastOne<HitBoundsTestOptions>): HitBoundsTest;
|
|
@@ -262,6 +262,7 @@ export declare class CanvasBoundsContainer {
|
|
|
262
262
|
* This method indicates whether it's possible to render the chart, in particular if its width and height > 0.
|
|
263
263
|
*/
|
|
264
264
|
isChartBoundsAvailable(): boolean;
|
|
265
|
+
isAllBoundsAvailable(): boolean;
|
|
265
266
|
/**
|
|
266
267
|
* Resizes a pane vertically.
|
|
267
268
|
* @param {string} uuid - The unique identifier of the pane.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -467,10 +467,10 @@ export class CanvasBoundsContainer {
|
|
|
467
467
|
[ratioForOldPec, ratioForNewPec] = getHeightRatios(visiblePecNumber);
|
|
468
468
|
}
|
|
469
469
|
//#region chart height ratio logic
|
|
470
|
-
if (this.graphsHeightRatio[CHART_UUID] === 0) {
|
|
470
|
+
if (!this.graphsHeightRatio[CHART_UUID] || this.graphsHeightRatio[CHART_UUID] === 0) {
|
|
471
471
|
chartRatio = 0;
|
|
472
472
|
}
|
|
473
|
-
if (this.graphsHeightRatio[CHART_UUID] !== 0) {
|
|
473
|
+
if (this.graphsHeightRatio[CHART_UUID] && this.graphsHeightRatio[CHART_UUID] !== 0) {
|
|
474
474
|
if (paneIsAdded) {
|
|
475
475
|
chartRatio = 1 * ratioForOldPec;
|
|
476
476
|
}
|
|
@@ -655,10 +655,10 @@ export class CanvasBoundsContainer {
|
|
|
655
655
|
/**
|
|
656
656
|
* Gets hit-test fn for canvas element.
|
|
657
657
|
* @param {string} el - CanvasElement.ELEMENT_NAME
|
|
658
|
-
* @param {
|
|
659
|
-
* @param {number} extensionX -
|
|
660
|
-
* @param {number} extensionY -
|
|
661
|
-
* @param wholePage
|
|
658
|
+
* @param {Object} options - An object containing options for the hit test.
|
|
659
|
+
* @param {number} [options.extensionX=0] - The amount of extension in the x-axis.
|
|
660
|
+
* @param {number} [options.extensionY=0] - The amount of extension in the y-axis.
|
|
661
|
+
* @param {boolean} [options.wholePage=false] - Whether to test against the whole page or just the bounds object.
|
|
662
662
|
* @return {HitBoundsTest} hit-test fn
|
|
663
663
|
*/
|
|
664
664
|
getBoundsHitTest(el, options = DEFAULT_HIT_TEST_OPTIONS) {
|
|
@@ -721,6 +721,9 @@ export class CanvasBoundsContainer {
|
|
|
721
721
|
const canvasBounds = this.getBounds(CanvasElement.CANVAS);
|
|
722
722
|
return canvasBounds.width > 0 && canvasBounds.height > 0;
|
|
723
723
|
}
|
|
724
|
+
isAllBoundsAvailable() {
|
|
725
|
+
return Object.values(this.bounds).every(el => el.width >= 0 && el.height >= 0);
|
|
726
|
+
}
|
|
724
727
|
/**
|
|
725
728
|
* Resizes a pane vertically.
|
|
726
729
|
* @param {string} uuid - The unique identifier of the pane.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -15,6 +15,7 @@ import { DateTimeFormatter, TimeFormatterConfig } from './model/date-time.format
|
|
|
15
15
|
import { MergeOptions } from './utils/merge.utils';
|
|
16
16
|
import { DeepPartial } from './utils/object.utils';
|
|
17
17
|
import { Candle } from './model/candle.model';
|
|
18
|
+
import { CustomIcon } from './components/events/events-custom-icons';
|
|
18
19
|
export declare const MAIN_FONT = "Open Sans Semibold, sans-serif";
|
|
19
20
|
export interface DateTimeFormatConfig {
|
|
20
21
|
format: string;
|
|
@@ -123,12 +124,7 @@ export interface FullChartColors {
|
|
|
123
124
|
labelBoxColor: string;
|
|
124
125
|
labelTextColor: string;
|
|
125
126
|
};
|
|
126
|
-
events:
|
|
127
|
-
earnings: EventColors;
|
|
128
|
-
dividends: EventColors;
|
|
129
|
-
splits: EventColors;
|
|
130
|
-
'conference-calls': EventColors;
|
|
131
|
-
};
|
|
127
|
+
events: ChartConfigComponentsEventsColors;
|
|
132
128
|
navigationMap: {
|
|
133
129
|
buttonColor: string;
|
|
134
130
|
knotColor: string;
|
|
@@ -356,6 +352,16 @@ export interface ChartConfigComponentsEvents {
|
|
|
356
352
|
* </svg>'
|
|
357
353
|
*/
|
|
358
354
|
icons?: ChartConfigComponentsEventsIcons;
|
|
355
|
+
/**
|
|
356
|
+
* Configure the event type vertical line appearance
|
|
357
|
+
*/
|
|
358
|
+
line?: ChartConfigComponentsEventsLine;
|
|
359
|
+
}
|
|
360
|
+
export interface ChartConfigComponentsEventsColors {
|
|
361
|
+
earnings: EventColors;
|
|
362
|
+
dividends: EventColors;
|
|
363
|
+
splits: EventColors;
|
|
364
|
+
'conference-calls': EventColors;
|
|
359
365
|
}
|
|
360
366
|
export interface DateTimeFormatConfig {
|
|
361
367
|
format: string;
|
|
@@ -668,9 +674,17 @@ export interface HighlightsColors {
|
|
|
668
674
|
background: string;
|
|
669
675
|
label: string;
|
|
670
676
|
}
|
|
671
|
-
|
|
677
|
+
/**
|
|
678
|
+
* @deprecated use {normal}, {hover} instead, will be removed in v6
|
|
679
|
+
*/
|
|
680
|
+
export interface EventColorsOld {
|
|
672
681
|
color: string;
|
|
673
682
|
}
|
|
683
|
+
export interface EventColors extends EventColorsOld {
|
|
684
|
+
line?: string;
|
|
685
|
+
normal?: string;
|
|
686
|
+
hover?: string;
|
|
687
|
+
}
|
|
674
688
|
export interface HistogramColors {
|
|
675
689
|
upCap: string;
|
|
676
690
|
upBottom: string;
|
|
@@ -779,15 +793,29 @@ export interface YAxisLabelsColors extends Record<YAxisLabelType, Record<string,
|
|
|
779
793
|
prePostMarket: YAxisPrePostMarketLabelColorConfig;
|
|
780
794
|
prevDayClose: YAxisLabelColorConfig;
|
|
781
795
|
}
|
|
782
|
-
export interface CustomIcon {
|
|
783
|
-
normal: string;
|
|
784
|
-
hover: string;
|
|
785
|
-
}
|
|
786
796
|
export interface ChartConfigComponentsEventsIcons {
|
|
787
797
|
earnings?: CustomIcon;
|
|
788
798
|
dividends?: CustomIcon;
|
|
789
799
|
splits?: CustomIcon;
|
|
790
|
-
|
|
800
|
+
'conference-calls'?: CustomIcon;
|
|
801
|
+
}
|
|
802
|
+
export interface ChartConfigComponentsEventsLine {
|
|
803
|
+
earnings?: {
|
|
804
|
+
width: number;
|
|
805
|
+
dash: Array<number>;
|
|
806
|
+
};
|
|
807
|
+
dividends?: {
|
|
808
|
+
width: number;
|
|
809
|
+
dash: Array<number>;
|
|
810
|
+
};
|
|
811
|
+
splits?: {
|
|
812
|
+
width: number;
|
|
813
|
+
dash: Array<number>;
|
|
814
|
+
};
|
|
815
|
+
'conference-calls'?: {
|
|
816
|
+
width: number;
|
|
817
|
+
dash: Array<number>;
|
|
818
|
+
};
|
|
791
819
|
}
|
|
792
820
|
export type CursorType = string;
|
|
793
821
|
export declare const getFontFromConfig: (config: YAxisConfig) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -387,15 +387,35 @@ export const getDefaultConfig = () => ({
|
|
|
387
387
|
highLowTheme: { highColor: 'rgba(223,222,223,1)', lowColor: 'rgba(223,222,223,1)' },
|
|
388
388
|
instrumentInfo: { textColor: '#aeb1b3' },
|
|
389
389
|
paneResizer: {
|
|
390
|
-
lineColor: 'rgba(
|
|
390
|
+
lineColor: 'rgba(61,61,61,1)',
|
|
391
391
|
bgColor: 'rgba(20,20,19,1)',
|
|
392
392
|
bgHoverColor: 'rgba(55,55,54,0.6)',
|
|
393
393
|
},
|
|
394
394
|
events: {
|
|
395
|
-
earnings: {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
395
|
+
earnings: {
|
|
396
|
+
color: 'rgba(217,44,64,1)',
|
|
397
|
+
normal: 'rgba(217,44,64,1)',
|
|
398
|
+
hover: 'rgba(217,44,64,1)',
|
|
399
|
+
line: 'rgba(217,44,64,1)',
|
|
400
|
+
},
|
|
401
|
+
dividends: {
|
|
402
|
+
color: 'rgba(169,38,251,1)',
|
|
403
|
+
normal: 'rgba(169,38,251,1)',
|
|
404
|
+
hover: 'rgba(169,38,251,1)',
|
|
405
|
+
line: 'rgba(169,38,251,1)',
|
|
406
|
+
},
|
|
407
|
+
splits: {
|
|
408
|
+
color: 'rgba(244,187,63,1)',
|
|
409
|
+
normal: 'rgba(244,187,63,1)',
|
|
410
|
+
hover: 'rgba(244,187,63,1)',
|
|
411
|
+
line: 'rgba(244,187,63,1)',
|
|
412
|
+
},
|
|
413
|
+
'conference-calls': {
|
|
414
|
+
color: 'rgba(48,194,97,1)',
|
|
415
|
+
normal: 'rgba(48,194,97,1)',
|
|
416
|
+
hover: 'rgba(48,194,97,1)',
|
|
417
|
+
line: 'rgba(48,194,97,1)',
|
|
418
|
+
},
|
|
399
419
|
},
|
|
400
420
|
secondaryChartTheme: [
|
|
401
421
|
{
|
package/dist/chart/chart.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
package/dist/chart/chart.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -14,6 +14,7 @@ export declare const prepareCandle: (candle: PartialCandle) => Candle | undefine
|
|
|
14
14
|
/**
|
|
15
15
|
* Adds index to candles according to their array index.
|
|
16
16
|
* @param candles
|
|
17
|
+
* @param startIdx {number}
|
|
17
18
|
*/
|
|
18
19
|
export declare const reindexCandles: (candles: Array<Candle>, startIdx?: number) => void;
|
|
19
20
|
export declare const deleteCandlesIndex: (candles: Array<Candle>) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -22,6 +22,7 @@ export const prepareCandle = (candle) => {
|
|
|
22
22
|
const preparedCandleLo = finite(candle.lo, Math.min(candle.open, candle.close), settlementPrice);
|
|
23
23
|
const preparedCandleOpen = finite(candle.open, candle.lo, settlementPrice);
|
|
24
24
|
const preparedCandleClose = finite(candle.close, candle.hi, settlementPrice);
|
|
25
|
+
const preparedVwap = Number.isNaN(candle.vwap) ? undefined : candle.vwap;
|
|
25
26
|
return {
|
|
26
27
|
id: candle.id,
|
|
27
28
|
hi: preparedCandleHi,
|
|
@@ -33,6 +34,7 @@ export const prepareCandle = (candle) => {
|
|
|
33
34
|
expansion: candle.expansion,
|
|
34
35
|
idx: candle.idx,
|
|
35
36
|
impVolatility: candle.impVolatility,
|
|
37
|
+
vwap: preparedVwap,
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
catch (e) {
|
|
@@ -43,6 +45,7 @@ export const prepareCandle = (candle) => {
|
|
|
43
45
|
/**
|
|
44
46
|
* Adds index to candles according to their array index.
|
|
45
47
|
* @param candles
|
|
48
|
+
* @param startIdx {number}
|
|
46
49
|
*/
|
|
47
50
|
export const reindexCandles = (candles, startIdx = 0) => {
|
|
48
51
|
for (let i = startIdx; i < candles.length; ++i) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2019 -
|
|
2
|
+
* Copyright (C) 2019 - 2025 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
|
*/
|
|
@@ -37,8 +37,7 @@ interface ChartPanningOptions {
|
|
|
37
37
|
* @param {CanvasBoundsContainer} canvasBoundsContainer - An instance of the CanvasBoundsContainer class.
|
|
38
38
|
* @param {CanvasAnimation} canvasAnimation - An instance of the CanvasAnimation class.
|
|
39
39
|
* @param {ChartPanComponent} chartPanComponent - An instance of the ChartPanComponent class.
|
|
40
|
-
|
|
41
|
-
*/
|
|
40
|
+
*/
|
|
42
41
|
export declare class ChartAreaPanHandler extends ChartBaseElement {
|
|
43
42
|
private bus;
|
|
44
43
|
private config;
|
|
@@ -62,6 +61,7 @@ export declare class ChartAreaPanHandler extends ChartBaseElement {
|
|
|
62
61
|
* If the zoomToCursor configuration is set to false, it calls the zoomXToEnd method of the scaleModel to zoom in or out based on the zoomIn parameter.
|
|
63
62
|
* Finally, it fires the draw event of the bus to redraw the canvas.
|
|
64
63
|
* @param {WheelEvent} e - Wheel event
|
|
64
|
+
* @param {number} zoomSensitivity - zoom sensitivity
|
|
65
65
|
* @returns {void}
|
|
66
66
|
*/
|
|
67
67
|
private zoomXHandler;
|
|
@@ -74,7 +74,7 @@ export declare class ChartAreaPanHandler extends ChartBaseElement {
|
|
|
74
74
|
private calculateDynamicSesitivity;
|
|
75
75
|
/**
|
|
76
76
|
* Registers a handler for panning the chart along the Y-axis.
|
|
77
|
-
* @param {ScaleModel}
|
|
77
|
+
* @param {ScaleModel} scale - The scale model of the extent.
|
|
78
78
|
* @param {HitBoundsTest} hitTest - The hit test of the pane.
|
|
79
79
|
* @returns {DragNDropYComponent} - The drag and drop component for panning the chart along the Y-axis.
|
|
80
80
|
*/
|