@progress/kendo-charts 2.7.2-dev.202502101310 → 2.7.2-develop.1
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/cdn/js/kendo-charts.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/barcode/barcode-validator.js +10 -12
- package/dist/es/barcode/barcode.js +84 -96
- package/dist/es/barcode/encodings/code11.js +41 -57
- package/dist/es/barcode/encodings/code128.js +222 -354
- package/dist/es/barcode/encodings/code39-extended.js +20 -34
- package/dist/es/barcode/encodings/code39.js +49 -75
- package/dist/es/barcode/encodings/code93-extended.js +12 -24
- package/dist/es/barcode/encodings/code93.js +52 -70
- package/dist/es/barcode/encodings/ean13.js +28 -42
- package/dist/es/barcode/encodings/ean8.js +8 -18
- package/dist/es/barcode/encodings/encoding.js +18 -24
- package/dist/es/barcode/encodings/main.js +13 -10
- package/dist/es/barcode/encodings/msi.js +56 -112
- package/dist/es/barcode/encodings/postnet.js +31 -45
- package/dist/es/barcode/surface-size.js +2 -2
- package/dist/es/chart/aggregates/aggregates.js +23 -23
- package/dist/es/chart/aggregates/default-aggregates.js +10 -18
- package/dist/es/chart/aggregates/series-aggregator.js +42 -54
- package/dist/es/chart/animations/bar-chart-animation.js +15 -26
- package/dist/es/chart/animations/bubble-animation.js +7 -17
- package/dist/es/chart/animations/clip-animation.js +13 -23
- package/dist/es/chart/animations/fade-in-animation.js +6 -16
- package/dist/es/chart/animations/pie-animation.js +6 -16
- package/dist/es/chart/api-elements/chart-axis.js +14 -22
- package/dist/es/chart/api-elements/chart-pane.js +10 -8
- package/dist/es/chart/api-elements/chart-plotarea.js +4 -10
- package/dist/es/chart/api-elements/find-axis-by-name.js +1 -1
- package/dist/es/chart/area-chart/area-chart.js +46 -60
- package/dist/es/chart/area-chart/area-segment.js +46 -52
- package/dist/es/chart/area-chart/spline-area-segment.js +12 -21
- package/dist/es/chart/area-chart/step-area-segment.js +6 -15
- package/dist/es/chart/axis-group-range-tracker.js +14 -20
- package/dist/es/chart/bar-chart/bar-chart.js +65 -80
- package/dist/es/chart/bar-chart/bar-label.js +25 -32
- package/dist/es/chart/bar-chart/bar.js +76 -91
- package/dist/es/chart/box-plot-chart/box-plot-chart.js +33 -48
- package/dist/es/chart/box-plot-chart/box-plot.js +55 -68
- package/dist/es/chart/box-plot-chart/vertical-box-plot.js +13 -23
- package/dist/es/chart/bubble-chart/bubble-chart.js +51 -64
- package/dist/es/chart/bubble-chart/bubble.js +21 -27
- package/dist/es/chart/bullet-chart/bullet-chart.js +45 -57
- package/dist/es/chart/bullet-chart/bullet.js +48 -57
- package/dist/es/chart/bullet-chart/target.js +1 -11
- package/dist/es/chart/candlestick-chart/candlestick-chart.js +41 -55
- package/dist/es/chart/candlestick-chart/candlestick.js +60 -69
- package/dist/es/chart/categorical-chart.js +178 -206
- package/dist/es/chart/chart-container.js +30 -39
- package/dist/es/chart/chart.js +641 -701
- package/dist/es/chart/constants.js +103 -103
- package/dist/es/chart/crosshair/crosshair-tooltip.js +22 -34
- package/dist/es/chart/crosshair/crosshair.js +39 -47
- package/dist/es/chart/donut-chart/donut-chart.js +36 -48
- package/dist/es/chart/donut-chart/donut-segment.js +12 -24
- package/dist/es/chart/error-bars/categorical-error-bar.js +5 -15
- package/dist/es/chart/error-bars/error-bar-base.js +37 -49
- package/dist/es/chart/error-bars/error-range-calculator.js +46 -56
- package/dist/es/chart/error-bars/scatter-error-bar.js +6 -16
- package/dist/es/chart/funnel-chart/funnel-chart.js +86 -103
- package/dist/es/chart/funnel-chart/funnel-segment.js +46 -54
- package/dist/es/chart/funnel-chart/pyramid-chart.js +5 -11
- package/dist/es/chart/heatmap-chart/color-scale.js +7 -9
- package/dist/es/chart/heatmap-chart/heatmap-chart.js +87 -110
- package/dist/es/chart/heatmap-chart/heatmap-point.js +72 -78
- package/dist/es/chart/highlight.js +26 -36
- package/dist/es/chart/layout/cluster-layout.js +16 -25
- package/dist/es/chart/layout/radar-cluster-layout.js +15 -24
- package/dist/es/chart/layout/radar-stack-layout.js +10 -22
- package/dist/es/chart/layout/stack-wrap.js +12 -24
- package/dist/es/chart/layout/utils.js +2 -2
- package/dist/es/chart/legend/legend-item-line-area.js +8 -19
- package/dist/es/chart/legend/legend-item-line.js +21 -31
- package/dist/es/chart/legend/legend-item-marker.js +18 -28
- package/dist/es/chart/legend/legend-item-square.js +8 -18
- package/dist/es/chart/legend/legend-item.js +91 -105
- package/dist/es/chart/legend/legend-layout.js +18 -25
- package/dist/es/chart/legend/legend.js +68 -92
- package/dist/es/chart/line-chart/line-chart.js +35 -48
- package/dist/es/chart/line-chart/line-point.js +90 -103
- package/dist/es/chart/line-chart/line-segment.js +23 -34
- package/dist/es/chart/line-chart/spline-segment.js +10 -20
- package/dist/es/chart/line-chart/step-line-mixin.js +14 -17
- package/dist/es/chart/line-chart/step-line-segment.js +4 -14
- package/dist/es/chart/mixins/accessibility-attributes-mixin.js +7 -7
- package/dist/es/chart/mixins/clip-animation-mixin.js +7 -7
- package/dist/es/chart/mixins/line-chart-mixin.js +27 -31
- package/dist/es/chart/mixins/note-mixin.js +3 -3
- package/dist/es/chart/mixins/pie-chart-mixin.js +9 -9
- package/dist/es/chart/mixins/plotarea-events-mixin.js +1 -1
- package/dist/es/chart/mixins/point-events-mixin.js +1 -1
- package/dist/es/chart/ohlc-chart/ohlc-chart.js +4 -14
- package/dist/es/chart/ohlc-chart/ohlc-point.js +15 -28
- package/dist/es/chart/pan-and-zoom/accept-key.js +3 -3
- package/dist/es/chart/pan-and-zoom/mousewheel-zoom.js +25 -33
- package/dist/es/chart/pan-and-zoom/pannable.js +29 -37
- package/dist/es/chart/pan-and-zoom/to-chart-axis-ranges.js +3 -3
- package/dist/es/chart/pan-and-zoom/zoom-selection.js +61 -70
- package/dist/es/chart/pane.js +71 -79
- package/dist/es/chart/pie-chart/pie-chart.js +153 -183
- package/dist/es/chart/pie-chart/pie-segment.js +82 -98
- package/dist/es/chart/plotarea/categorical-plotarea.js +285 -318
- package/dist/es/chart/plotarea/donut-plotarea.js +12 -22
- package/dist/es/chart/plotarea/funnel-plotarea.js +17 -27
- package/dist/es/chart/plotarea/heatmap-plotarea.js +139 -167
- package/dist/es/chart/plotarea/pie-plotarea.js +15 -25
- package/dist/es/chart/plotarea/plotarea-base.js +423 -462
- package/dist/es/chart/plotarea/plotarea-factory.js +15 -20
- package/dist/es/chart/plotarea/polar-plotarea-base.js +37 -51
- package/dist/es/chart/plotarea/polar-plotarea.js +39 -49
- package/dist/es/chart/plotarea/radar-plotarea.js +55 -65
- package/dist/es/chart/plotarea/xy-plotarea.js +111 -128
- package/dist/es/chart/polar-area-chart/polar-area-chart.js +22 -36
- package/dist/es/chart/polar-area-chart/polar-area-segment.js +7 -17
- package/dist/es/chart/polar-area-chart/spline-polar-area-segment.js +15 -25
- package/dist/es/chart/polar-line-chart/polar-line-chart.js +2 -11
- package/dist/es/chart/polar-scatter-chart/polar-scatter-chart.js +6 -16
- package/dist/es/chart/radar-area-chart/radar-area-chart.js +11 -21
- package/dist/es/chart/radar-area-chart/radar-area-segment.js +3 -13
- package/dist/es/chart/radar-area-chart/spline-radar-area-segment.js +3 -13
- package/dist/es/chart/radar-bar-chart/radar-bar-chart.js +19 -29
- package/dist/es/chart/radar-bar-chart/radar-segment.js +6 -12
- package/dist/es/chart/radar-line-chart/radar-line-chart.js +26 -35
- package/dist/es/chart/range-area-chart/range-area-chart.js +46 -58
- package/dist/es/chart/range-area-chart/range-area-point.js +55 -66
- package/dist/es/chart/range-area-chart/range-area-segment.js +19 -28
- package/dist/es/chart/range-area-chart/range-line-point.js +4 -14
- package/dist/es/chart/range-area-chart/spline-range-area-segment.js +11 -18
- package/dist/es/chart/range-area-chart/step-range-area-segment.js +7 -16
- package/dist/es/chart/range-bar-chart/range-bar-chart.js +18 -29
- package/dist/es/chart/range-bar-chart/range-bar.js +10 -23
- package/dist/es/chart/register-charts.js +20 -16
- package/dist/es/chart/scatter-charts/scatter-chart.js +100 -122
- package/dist/es/chart/scatter-charts/scatter-line-chart.js +15 -25
- package/dist/es/chart/selection.js +176 -201
- package/dist/es/chart/series-binder.js +55 -66
- package/dist/es/chart/theme/base-theme.js +75 -79
- package/dist/es/chart/theme/load-theme.js +52 -52
- package/dist/es/chart/tooltip/base-tooltip.js +17 -24
- package/dist/es/chart/tooltip/shared-tooltip.js +25 -31
- package/dist/es/chart/tooltip/tooltip.js +10 -20
- package/dist/es/chart/trendlines/calculate-moving-average.js +11 -13
- package/dist/es/chart/trendlines/calculate-polynomial.js +24 -26
- package/dist/es/chart/trendlines/calculate-slope.js +12 -14
- package/dist/es/chart/trendlines/check-all-positive.js +2 -5
- package/dist/es/chart/trendlines/exponential-trendline.js +15 -24
- package/dist/es/chart/trendlines/get-scatter-trendline-data.js +6 -7
- package/dist/es/chart/trendlines/get-trendline-data.js +6 -6
- package/dist/es/chart/trendlines/linear-trendline.js +12 -21
- package/dist/es/chart/trendlines/logarithmic-trendline.js +14 -23
- package/dist/es/chart/trendlines/moving-average.js +15 -26
- package/dist/es/chart/trendlines/polynomial-trendline.js +13 -21
- package/dist/es/chart/trendlines/power-trendline.js +15 -24
- package/dist/es/chart/trendlines/scatter-exponential-trendline.js +15 -24
- package/dist/es/chart/trendlines/scatter-linear-trendline.js +10 -16
- package/dist/es/chart/trendlines/scatter-logarithmic-trendline.js +17 -27
- package/dist/es/chart/trendlines/scatter-moving-average.js +7 -10
- package/dist/es/chart/trendlines/scatter-polynomial-trendline.js +11 -16
- package/dist/es/chart/trendlines/scatter-power-trendline.js +15 -22
- package/dist/es/chart/trendlines/scatter-trendline-registry.js +1 -1
- package/dist/es/chart/trendlines/scatter-value-getter.js +2 -5
- package/dist/es/chart/trendlines/trendline-factory.js +1 -1
- package/dist/es/chart/trendlines/trendline-registry.js +1 -1
- package/dist/es/chart/trendlines/x-value-limits.js +6 -8
- package/dist/es/chart/utils/any-has-z-index.js +1 -1
- package/dist/es/chart/utils/bind-segments.js +8 -8
- package/dist/es/chart/utils/categories-count.js +3 -3
- package/dist/es/chart/utils/count-numbers.js +4 -4
- package/dist/es/chart/utils/create-out-of-range-points.js +13 -22
- package/dist/es/chart/utils/eval-options.js +7 -10
- package/dist/es/chart/utils/filter-series-by-type.js +4 -4
- package/dist/es/chart/utils/get-field.js +1 -1
- package/dist/es/chart/utils/has-gradient-overlay.js +1 -1
- package/dist/es/chart/utils/is-date-axis.js +2 -2
- package/dist/es/chart/utils/parse-date-category.js +2 -2
- package/dist/es/chart/utils/segment-visible.js +2 -2
- package/dist/es/chart/waterfall-chart/waterfall-chart.js +41 -55
- package/dist/es/chart/waterfall-chart/waterfall-segment.js +16 -24
- package/dist/es/chart-wizard/get-wizard-data-from-data-rows.js +5 -6
- package/dist/es/chart-wizard/messages.js +1 -1
- package/dist/es/chart-wizard/state.js +145 -137
- package/dist/es/chart-wizard.js +12 -12
- package/dist/es/common/add-class.js +3 -3
- package/dist/es/common/align-path-to-pixel.js +2 -2
- package/dist/es/common/auto-text-color.js +1 -1
- package/dist/es/common/constants.js +53 -53
- package/dist/es/common/create-hash-set.js +59 -65
- package/dist/es/common/cycleDown.js +1 -1
- package/dist/es/common/deep-extend.js +10 -12
- package/dist/es/common/element-scale.js +9 -9
- package/dist/es/common/element-styles.js +8 -8
- package/dist/es/common/event-map.js +4 -4
- package/dist/es/common/event-utils.js +13 -13
- package/dist/es/common/find.js +2 -2
- package/dist/es/common/font-loader.js +42 -44
- package/dist/es/common/get-aria-template.js +2 -4
- package/dist/es/common/get-spacing.js +2 -4
- package/dist/es/common/get-supported-features.js +7 -7
- package/dist/es/common/get-template.js +2 -4
- package/dist/es/common/getter.js +5 -5
- package/dist/es/common/grep.js +3 -3
- package/dist/es/common/has-classes.js +2 -2
- package/dist/es/common/hash-map.js +11 -11
- package/dist/es/common/instance-observer.js +28 -33
- package/dist/es/common/keys.js +1 -1
- package/dist/es/common/map.js +4 -4
- package/dist/es/common/matrix.js +142 -150
- package/dist/es/common/mousewheel-delta.js +2 -2
- package/dist/es/common/observable.js +40 -52
- package/dist/es/common/remove-class.js +1 -1
- package/dist/es/common/render-icon.js +50 -60
- package/dist/es/common/set-default-options.js +1 -1
- package/dist/es/common/sparse-array-limits.js +4 -4
- package/dist/es/common/user-events.js +124 -150
- package/dist/es/core/axis-label.js +38 -43
- package/dist/es/core/axis.js +293 -345
- package/dist/es/core/box-element.js +36 -46
- package/dist/es/core/box.js +75 -83
- package/dist/es/core/category-axis.js +265 -314
- package/dist/es/core/chart-element.js +98 -109
- package/dist/es/core/constants.js +3 -3
- package/dist/es/core/curve-processor.js +86 -93
- package/dist/es/core/date-category-axis.js +381 -413
- package/dist/es/core/date-value-axis.js +108 -118
- package/dist/es/core/float-element.js +54 -78
- package/dist/es/core/gradients.js +3 -3
- package/dist/es/core/logarithmic-axis.js +134 -186
- package/dist/es/core/mixins/grid-lines-mixin.js +18 -20
- package/dist/es/core/mixins/radar-numeric-axis-mixin.js +46 -51
- package/dist/es/core/note.js +58 -73
- package/dist/es/core/numeric-axis.js +111 -133
- package/dist/es/core/pattern.js +4 -8
- package/dist/es/core/point.js +25 -34
- package/dist/es/core/polar-axis.js +73 -91
- package/dist/es/core/radar-category-axis.js +90 -114
- package/dist/es/core/radar-logarithmic-axis.js +10 -20
- package/dist/es/core/radar-numeric-axis.js +10 -20
- package/dist/es/core/ring.js +61 -68
- package/dist/es/core/root-element.js +40 -48
- package/dist/es/core/sector.js +11 -17
- package/dist/es/core/shape-builder.js +13 -23
- package/dist/es/core/shape-element.js +27 -37
- package/dist/es/core/text-box.js +50 -59
- package/dist/es/core/text.js +13 -24
- package/dist/es/core/title.js +19 -25
- package/dist/es/core/utils/auto-axis-max.js +3 -3
- package/dist/es/core/utils/auto-axis-min.js +3 -3
- package/dist/es/core/utils/auto-major-unit.js +4 -4
- package/dist/es/core/utils/box-diff.js +9 -9
- package/dist/es/core/utils/create-axis-grid-line.js +2 -4
- package/dist/es/core/utils/create-axis-tick.js +2 -4
- package/dist/es/core/utils/guid.js +3 -3
- package/dist/es/core/utils/rect-to-box.js +2 -2
- package/dist/es/date-utils/absolute-date-diff.js +2 -2
- package/dist/es/date-utils/add-duration.js +5 -5
- package/dist/es/date-utils/ceil-date.js +1 -1
- package/dist/es/date-utils/constants.js +17 -17
- package/dist/es/date-utils/date-index.js +3 -3
- package/dist/es/date-utils/duration.js +1 -1
- package/dist/es/date-utils/lte-date-index.js +4 -4
- package/dist/es/date-utils/parse-date.js +1 -1
- package/dist/es/date-utils/parse-dates.js +2 -2
- package/dist/es/date-utils/start-of-week.js +3 -5
- package/dist/es/date-utils/to-date.js +1 -1
- package/dist/es/date-utils/to-time.js +2 -2
- package/dist/es/drawing-utils.js +18 -17
- package/dist/es/gauges/arc/arc-gauge.js +29 -38
- package/dist/es/gauges/arc/arc-scale.js +16 -29
- package/dist/es/gauges/arc/range-pointer-animation.js +16 -25
- package/dist/es/gauges/arc/range-pointer.js +25 -46
- package/dist/es/gauges/circular/circular-gauge.js +7 -17
- package/dist/es/gauges/constants.js +14 -14
- package/dist/es/gauges/gauge.js +84 -96
- package/dist/es/gauges/linear/arrow-linear-pointer-animation.js +13 -25
- package/dist/es/gauges/linear/arrow-linear-pointer.js +23 -35
- package/dist/es/gauges/linear/bar-linear-pointer-animation.js +15 -24
- package/dist/es/gauges/linear/bar-linear-pointer.js +38 -51
- package/dist/es/gauges/linear/linear-gauge.js +61 -83
- package/dist/es/gauges/linear/linear-pointer.js +25 -39
- package/dist/es/gauges/linear/linear-scale.js +57 -74
- package/dist/es/gauges/pointer.js +11 -21
- package/dist/es/gauges/radial/radial-gauge.js +58 -81
- package/dist/es/gauges/radial/radial-pointer-animation.js +9 -15
- package/dist/es/gauges/radial/radial-pointer.js +33 -48
- package/dist/es/gauges/radial/radial-scale.js +154 -186
- package/dist/es/gauges/utils/build-label-element.js +10 -12
- package/dist/es/gauges/utils/get-range.js +2 -2
- package/dist/es/gauges/utils/pad.js +3 -3
- package/dist/es/gauges/utils/unpad.js +1 -1
- package/dist/es/map/attribution.js +42 -52
- package/dist/es/map/constants.js +5 -5
- package/dist/es/map/crs.js +68 -112
- package/dist/es/map/datums.js +3 -3
- package/dist/es/map/extent.js +40 -54
- package/dist/es/map/layers/bubble.js +52 -70
- package/dist/es/map/layers/layer.js +50 -56
- package/dist/es/map/layers/marker.js +109 -129
- package/dist/es/map/layers/shape.js +111 -133
- package/dist/es/map/layers/tile.js +144 -170
- package/dist/es/map/location.js +70 -78
- package/dist/es/map/map.js +261 -291
- package/dist/es/map/navigator.js +33 -39
- package/dist/es/map/scroller/draggable.js +98 -134
- package/dist/es/map/scroller/fx.js +39 -46
- package/dist/es/map/scroller/scroller.js +144 -174
- package/dist/es/map/tooltip/tooltip.js +15 -25
- package/dist/es/map/utils.js +25 -26
- package/dist/es/map/zoom.js +30 -36
- package/dist/es/qrcode/encodings/data-modes/alpha-numeric-data-mode.js +14 -26
- package/dist/es/qrcode/encodings/data-modes/byte-data-mode.js +15 -25
- package/dist/es/qrcode/encodings/data-modes/data-mode-instances.js +8 -7
- package/dist/es/qrcode/encodings/data-modes/numeric-data-mode.js +14 -24
- package/dist/es/qrcode/encodings/data-modes/qr-data-mode.js +15 -21
- package/dist/es/qrcode/encodings/encoders/iso-encoder.js +6 -16
- package/dist/es/qrcode/encodings/encoders/utf8-encoder.js +28 -36
- package/dist/es/qrcode/encodings/encoding-result.js +4 -10
- package/dist/es/qrcode/encodings/encoding.js +68 -192
- package/dist/es/qrcode/encodings/free-cell-visitor.js +16 -24
- package/dist/es/qrcode/encodings/utils/choose-mode.js +44 -0
- package/dist/es/qrcode/encodings/utils/get-data-codewords-count.js +13 -0
- package/dist/es/qrcode/encodings/utils/get-data-string.js +13 -0
- package/dist/es/qrcode/encodings/utils/get-modes.js +35 -0
- package/dist/es/qrcode/encodings/utils/get-version.js +23 -0
- package/dist/es/qrcode/encodings/utils/index.js +5 -0
- package/dist/es/qrcode/encodings/version-codewords.js +1 -1
- package/dist/es/qrcode/qrcode-validator.js +3 -5
- package/dist/es/qrcode/qrcode.js +104 -114
- package/dist/es/qrcode/utils.js +4 -4
- package/dist/es/sankey/calculation.js +286 -307
- package/dist/es/sankey/element.js +15 -23
- package/dist/es/sankey/label.js +29 -44
- package/dist/es/sankey/legend.js +15 -29
- package/dist/es/sankey/link.js +80 -98
- package/dist/es/sankey/node.js +26 -37
- package/dist/es/sankey/sankey.js +318 -385
- package/dist/es/sankey/title.js +9 -20
- package/dist/es/sankey/utils.js +18 -23
- package/dist/es/services/chart-service.js +24 -28
- package/dist/es/services/dom-events-builder.js +15 -15
- package/dist/es/services/format-service.js +30 -35
- package/dist/es/services/intl-service.js +14 -18
- package/dist/es/services/map-service.js +11 -11
- package/dist/es/services/template-service.js +9 -9
- package/dist/es/sparkline/shared-tooltip.js +11 -21
- package/dist/es/sparkline/sparkline.js +50 -60
- package/dist/es/stock/constants.js +3 -3
- package/dist/es/stock/fade-out-animation.js +12 -21
- package/dist/es/stock/navigator-hint.js +37 -49
- package/dist/es/stock/navigator.js +130 -161
- package/dist/es/stock/stock-chart.js +58 -67
- package/dist/es2015/chart/legend/legend-item.js +1 -1
- package/dist/es2015/qrcode/encodings/encoders/iso-encoder.js +1 -1
- package/dist/es2015/qrcode/encodings/encoders/utf8-encoder.js +1 -1
- package/dist/es2015/qrcode/encodings/encoding.js +3 -127
- package/dist/es2015/qrcode/encodings/utils/choose-mode.js +44 -0
- package/dist/es2015/qrcode/encodings/utils/get-data-codewords-count.js +13 -0
- package/dist/es2015/qrcode/encodings/utils/get-data-string.js +13 -0
- package/dist/es2015/qrcode/encodings/utils/get-modes.js +35 -0
- package/dist/es2015/qrcode/encodings/utils/get-version.js +23 -0
- package/dist/es2015/qrcode/encodings/utils/index.js +5 -0
- package/dist/npm/main.js +3222 -3589
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +19 -57
|
@@ -10,13 +10,13 @@ import { WHITE, CIRCLE, HIGHLIGHT_ZINDEX, LEFT, RIGHT, BOTTOM, CENTER } from '..
|
|
|
10
10
|
import { deepExtend, valueOrDefault, getSpacing } from '../../common';
|
|
11
11
|
import guid from '../../core/utils/guid';
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
const AUTO = 'auto';
|
|
14
|
+
const DEFAULT_FROM_FORMAT = '{0}';
|
|
15
|
+
const DEFAULT_TO_FORMAT = '{1}';
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
class RangeAreaPoint extends ChartElement {
|
|
18
|
+
constructor(value, options) {
|
|
19
|
+
super();
|
|
20
20
|
|
|
21
21
|
this.value = value;
|
|
22
22
|
this.options = options;
|
|
@@ -26,28 +26,22 @@ var RangeAreaPoint = (function (ChartElement) {
|
|
|
26
26
|
this.initLabelsFormat();
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
RangeAreaPoint.prototype = Object.create( ChartElement && ChartElement.prototype );
|
|
31
|
-
RangeAreaPoint.prototype.constructor = RangeAreaPoint;
|
|
32
|
-
|
|
33
|
-
RangeAreaPoint.prototype.render = function render () {
|
|
29
|
+
render() {
|
|
34
30
|
if (this._rendered) {
|
|
35
31
|
return;
|
|
36
32
|
}
|
|
37
33
|
|
|
38
34
|
this._rendered = true;
|
|
39
35
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
var labels = ref.labels;
|
|
43
|
-
var value = this.value;
|
|
36
|
+
const { markers, labels } = this.options;
|
|
37
|
+
const value = this.value;
|
|
44
38
|
|
|
45
|
-
|
|
39
|
+
const fromPoint = this.fromPoint = new RangeLinePoint(value, deepExtend({}, this.options, {
|
|
46
40
|
labels: labels.from,
|
|
47
41
|
markers: markers.from
|
|
48
42
|
}));
|
|
49
43
|
|
|
50
|
-
|
|
44
|
+
const toPoint = this.toPoint = new RangeLinePoint(value, deepExtend({}, this.options, {
|
|
51
45
|
labels: labels.to,
|
|
52
46
|
markers: markers.to
|
|
53
47
|
}));
|
|
@@ -57,13 +51,12 @@ var RangeAreaPoint = (function (ChartElement) {
|
|
|
57
51
|
|
|
58
52
|
this.append(fromPoint);
|
|
59
53
|
this.append(toPoint);
|
|
60
|
-
}
|
|
54
|
+
}
|
|
61
55
|
|
|
62
|
-
|
|
56
|
+
reflow(targetBox) {
|
|
63
57
|
this.render();
|
|
64
58
|
|
|
65
|
-
|
|
66
|
-
var toBox = targetBox.to;
|
|
59
|
+
const { from: fromBox, to: toBox } = targetBox;
|
|
67
60
|
|
|
68
61
|
this.positionLabels(fromBox, toBox);
|
|
69
62
|
|
|
@@ -71,45 +64,45 @@ var RangeAreaPoint = (function (ChartElement) {
|
|
|
71
64
|
this.toPoint.reflow(toBox);
|
|
72
65
|
|
|
73
66
|
this.box = this.fromPoint.markerBox().clone().wrap(this.toPoint.markerBox());
|
|
74
|
-
}
|
|
67
|
+
}
|
|
75
68
|
|
|
76
|
-
|
|
77
|
-
|
|
69
|
+
createHighlight() {
|
|
70
|
+
const group = new draw.Group();
|
|
78
71
|
group.append(this.fromPoint.createHighlight());
|
|
79
72
|
group.append(this.toPoint.createHighlight());
|
|
80
73
|
|
|
81
74
|
return group;
|
|
82
|
-
}
|
|
75
|
+
}
|
|
83
76
|
|
|
84
|
-
|
|
77
|
+
highlightVisual() {
|
|
85
78
|
return this.visual;
|
|
86
|
-
}
|
|
79
|
+
}
|
|
87
80
|
|
|
88
|
-
|
|
81
|
+
highlightVisualArgs() {
|
|
89
82
|
return {
|
|
90
83
|
options: this.options,
|
|
91
84
|
from: this.fromPoint.highlightVisualArgs(),
|
|
92
85
|
to: this.toPoint.highlightVisualArgs()
|
|
93
86
|
};
|
|
94
|
-
}
|
|
87
|
+
}
|
|
95
88
|
|
|
96
|
-
|
|
97
|
-
|
|
89
|
+
createFocusHighlight() {
|
|
90
|
+
const group = new draw.Group();
|
|
98
91
|
group.append(this.fromPoint.createFocusHighlight());
|
|
99
92
|
group.append(this.toPoint.createFocusHighlight());
|
|
100
93
|
|
|
101
94
|
return group;
|
|
102
|
-
}
|
|
95
|
+
}
|
|
103
96
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
97
|
+
tooltipAnchor() {
|
|
98
|
+
const clipBox = this.owner.pane.clipBox();
|
|
99
|
+
const showTooltip = !clipBox || clipBox.overlaps(this.box);
|
|
107
100
|
|
|
108
101
|
if (showTooltip) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
102
|
+
const box = this.box;
|
|
103
|
+
const center = box.center();
|
|
104
|
+
const horizontalAlign = LEFT;
|
|
105
|
+
let x, y, verticalAlign;
|
|
113
106
|
|
|
114
107
|
if (this.options.vertical) {
|
|
115
108
|
x = center.x;
|
|
@@ -129,23 +122,23 @@ var RangeAreaPoint = (function (ChartElement) {
|
|
|
129
122
|
}
|
|
130
123
|
};
|
|
131
124
|
}
|
|
132
|
-
}
|
|
125
|
+
}
|
|
133
126
|
|
|
134
|
-
|
|
127
|
+
formatValue(format) {
|
|
135
128
|
return this.owner.formatPointValue(this, format);
|
|
136
|
-
}
|
|
129
|
+
}
|
|
137
130
|
|
|
138
|
-
|
|
131
|
+
overlapsBox(box) {
|
|
139
132
|
return this.box.overlaps(box);
|
|
140
|
-
}
|
|
133
|
+
}
|
|
141
134
|
|
|
142
|
-
|
|
135
|
+
unclipElements() {
|
|
143
136
|
this.fromPoint.unclipElements();
|
|
144
137
|
this.toPoint.unclipElements();
|
|
145
|
-
}
|
|
138
|
+
}
|
|
146
139
|
|
|
147
|
-
|
|
148
|
-
|
|
140
|
+
initLabelsFormat() {
|
|
141
|
+
const labels = this.options.labels;
|
|
149
142
|
if (!labels.format) {
|
|
150
143
|
if (!labels.from || !labels.from.format) {
|
|
151
144
|
labels.from = Object.assign({}, labels.from, {
|
|
@@ -159,15 +152,13 @@ var RangeAreaPoint = (function (ChartElement) {
|
|
|
159
152
|
});
|
|
160
153
|
}
|
|
161
154
|
}
|
|
162
|
-
}
|
|
155
|
+
}
|
|
163
156
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
var labels = ref.labels;
|
|
167
|
-
var vertical = ref.vertical;
|
|
157
|
+
positionLabels(fromBox, toBox) {
|
|
158
|
+
const { labels, vertical } = this.options;
|
|
168
159
|
|
|
169
160
|
if (labels.position === AUTO) {
|
|
170
|
-
|
|
161
|
+
let fromLabelPosition, toLabelPosition;
|
|
171
162
|
if (vertical) {
|
|
172
163
|
if (toBox.y1 <= fromBox.y1) {
|
|
173
164
|
toLabelPosition = ABOVE;
|
|
@@ -194,30 +185,28 @@ var RangeAreaPoint = (function (ChartElement) {
|
|
|
194
185
|
this.toPoint.options.labels.position = toLabelPosition;
|
|
195
186
|
}
|
|
196
187
|
}
|
|
197
|
-
}
|
|
188
|
+
}
|
|
198
189
|
|
|
199
|
-
|
|
190
|
+
copyFields(point) {
|
|
200
191
|
point.dataItem = this.dataItem;
|
|
201
192
|
point.category = this.category;
|
|
202
193
|
point.series = this.series;
|
|
203
194
|
point.color = this.color;
|
|
204
195
|
point.owner = this.owner;
|
|
205
|
-
}
|
|
196
|
+
}
|
|
206
197
|
|
|
207
|
-
|
|
198
|
+
focusVisual() {
|
|
208
199
|
this.fromPoint.focusVisual();
|
|
209
|
-
}
|
|
200
|
+
}
|
|
210
201
|
|
|
211
|
-
|
|
202
|
+
clearFocusFromVisual() {
|
|
212
203
|
this.toPoint.clearFocusFromVisual();
|
|
213
|
-
}
|
|
204
|
+
}
|
|
214
205
|
|
|
215
|
-
|
|
206
|
+
getIndex() {
|
|
216
207
|
return this.categoryIx;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
return RangeAreaPoint;
|
|
220
|
-
}(ChartElement));
|
|
208
|
+
}
|
|
209
|
+
}
|
|
221
210
|
|
|
222
211
|
deepExtend(RangeAreaPoint.prototype, PointEventsMixin);
|
|
223
212
|
deepExtend(RangeAreaPoint.prototype, NoteMixin);
|
|
@@ -1,52 +1,43 @@
|
|
|
1
1
|
import { drawing as draw } from '@progress/kendo-drawing';
|
|
2
2
|
import AreaSegment from '../area-chart/area-segment';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
function RangeAreaSegment () {
|
|
6
|
-
AreaSegment.apply(this, arguments);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
if ( AreaSegment ) RangeAreaSegment.__proto__ = AreaSegment;
|
|
10
|
-
RangeAreaSegment.prototype = Object.create( AreaSegment && AreaSegment.prototype );
|
|
11
|
-
RangeAreaSegment.prototype.constructor = RangeAreaSegment;
|
|
4
|
+
class RangeAreaSegment extends AreaSegment {
|
|
12
5
|
|
|
13
|
-
|
|
6
|
+
createStrokeSegments() {
|
|
14
7
|
return this.segmentsFromPoints(this.toGeometryPoints(this.toPoints()));
|
|
15
|
-
}
|
|
8
|
+
}
|
|
16
9
|
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
stackSegments() {
|
|
11
|
+
let fromSegments = this.fromSegments;
|
|
19
12
|
if (!this.fromSegments) {
|
|
20
13
|
fromSegments = this.fromSegments = this.segmentsFromPoints(this.toGeometryPoints(this.fromPoints().reverse()));
|
|
21
14
|
}
|
|
22
15
|
|
|
23
16
|
return fromSegments;
|
|
24
|
-
}
|
|
17
|
+
}
|
|
25
18
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
createStroke(style) {
|
|
20
|
+
const toPath = new draw.Path(style);
|
|
21
|
+
const fromPath = new draw.Path(style);
|
|
29
22
|
|
|
30
23
|
toPath.segments.push.apply(toPath.segments, this.strokeSegments());
|
|
31
24
|
fromPath.segments.push.apply(fromPath.segments, this.stackSegments());
|
|
32
25
|
|
|
33
26
|
this.visual.append(toPath);
|
|
34
27
|
this.visual.append(fromPath);
|
|
35
|
-
}
|
|
28
|
+
}
|
|
36
29
|
|
|
37
|
-
|
|
30
|
+
hasStackSegment() {
|
|
38
31
|
return true;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
RangeAreaSegment.prototype.fromPoints = function fromPoints () {
|
|
42
|
-
return this.linePoints.map(function (point) { return point.fromPoint; });
|
|
43
|
-
};
|
|
32
|
+
}
|
|
44
33
|
|
|
45
|
-
|
|
46
|
-
return this.linePoints.map(
|
|
47
|
-
}
|
|
34
|
+
fromPoints() {
|
|
35
|
+
return this.linePoints.map(point => point.fromPoint);
|
|
36
|
+
}
|
|
48
37
|
|
|
49
|
-
|
|
50
|
-
|
|
38
|
+
toPoints() {
|
|
39
|
+
return this.linePoints.map(point => point.toPoint);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
51
42
|
|
|
52
43
|
export default RangeAreaSegment;
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import LinePoint from '../line-chart/line-point';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
LinePoint.apply(this, arguments);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
if ( LinePoint ) RangeLinePoint.__proto__ = LinePoint;
|
|
9
|
-
RangeLinePoint.prototype = Object.create( LinePoint && LinePoint.prototype );
|
|
10
|
-
RangeLinePoint.prototype.constructor = RangeLinePoint;
|
|
11
|
-
|
|
12
|
-
RangeLinePoint.prototype.aliasFor = function aliasFor () {
|
|
3
|
+
class RangeLinePoint extends LinePoint {
|
|
4
|
+
aliasFor() {
|
|
13
5
|
return this.parent;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return RangeLinePoint;
|
|
17
|
-
}(LinePoint));
|
|
6
|
+
}
|
|
7
|
+
}
|
|
18
8
|
|
|
19
9
|
export default RangeLinePoint;
|
|
@@ -2,35 +2,28 @@ import { CurveProcessor } from '../../core';
|
|
|
2
2
|
|
|
3
3
|
import RangeAreaSegment from './range-area-segment';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
function SplineRangeAreaSegment () {
|
|
7
|
-
RangeAreaSegment.apply(this, arguments);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
if ( RangeAreaSegment ) SplineRangeAreaSegment.__proto__ = RangeAreaSegment;
|
|
11
|
-
SplineRangeAreaSegment.prototype = Object.create( RangeAreaSegment && RangeAreaSegment.prototype );
|
|
12
|
-
SplineRangeAreaSegment.prototype.constructor = SplineRangeAreaSegment;
|
|
5
|
+
class SplineRangeAreaSegment extends RangeAreaSegment {
|
|
13
6
|
|
|
14
|
-
|
|
7
|
+
createStrokeSegments() {
|
|
15
8
|
return this.createCurveSegments(this.toPoints());
|
|
16
|
-
}
|
|
9
|
+
}
|
|
17
10
|
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
stackSegments() {
|
|
12
|
+
let fromSegments = this.fromSegments;
|
|
20
13
|
if (!this.fromSegments) {
|
|
21
14
|
fromSegments = this.fromSegments = this.createCurveSegments(this.fromPoints().reverse());
|
|
22
15
|
}
|
|
23
16
|
|
|
24
17
|
return fromSegments;
|
|
25
|
-
}
|
|
18
|
+
}
|
|
26
19
|
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
createCurveSegments(points) {
|
|
21
|
+
const curveProcessor = new CurveProcessor();
|
|
29
22
|
|
|
30
23
|
return curveProcessor.process(this.toGeometryPoints(points));
|
|
31
|
-
}
|
|
24
|
+
}
|
|
25
|
+
|
|
32
26
|
|
|
33
|
-
|
|
34
|
-
}(RangeAreaSegment));
|
|
27
|
+
}
|
|
35
28
|
|
|
36
29
|
export default SplineRangeAreaSegment;
|
|
@@ -2,31 +2,22 @@ import StepLineMixin from '../line-chart/step-line-mixin';
|
|
|
2
2
|
import RangeAreaSegment from './range-area-segment';
|
|
3
3
|
import { deepExtend } from '../../common';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
function StepRangeAreaSegment () {
|
|
7
|
-
RangeAreaSegment.apply(this, arguments);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
if ( RangeAreaSegment ) StepRangeAreaSegment.__proto__ = RangeAreaSegment;
|
|
11
|
-
StepRangeAreaSegment.prototype = Object.create( RangeAreaSegment && RangeAreaSegment.prototype );
|
|
12
|
-
StepRangeAreaSegment.prototype.constructor = StepRangeAreaSegment;
|
|
5
|
+
class StepRangeAreaSegment extends RangeAreaSegment {
|
|
13
6
|
|
|
14
|
-
|
|
7
|
+
createStrokeSegments() {
|
|
15
8
|
return this.segmentsFromPoints(this.calculateStepPoints(this.toPoints()));
|
|
16
|
-
}
|
|
9
|
+
}
|
|
17
10
|
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
stackSegments() {
|
|
12
|
+
let fromSegments = this.fromSegments;
|
|
20
13
|
if (!this.fromSegments) {
|
|
21
14
|
fromSegments = this.fromSegments = this.segmentsFromPoints(this.calculateStepPoints(this.fromPoints()));
|
|
22
15
|
fromSegments.reverse();
|
|
23
16
|
}
|
|
24
17
|
|
|
25
18
|
return fromSegments;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return StepRangeAreaSegment;
|
|
29
|
-
}(RangeAreaSegment));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
30
21
|
|
|
31
22
|
deepExtend(StepRangeAreaSegment.prototype, StepLineMixin);
|
|
32
23
|
|
|
@@ -5,44 +5,35 @@ import CategoricalChart from '../categorical-chart';
|
|
|
5
5
|
import { MIN_VALUE, MAX_VALUE } from '../../common/constants';
|
|
6
6
|
import { isNumber } from '../../common';
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
BarChart.apply(this, arguments);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
if ( BarChart ) RangeBarChart.__proto__ = BarChart;
|
|
14
|
-
RangeBarChart.prototype = Object.create( BarChart && BarChart.prototype );
|
|
15
|
-
RangeBarChart.prototype.constructor = RangeBarChart;
|
|
16
|
-
|
|
17
|
-
RangeBarChart.prototype.pointType = function pointType () {
|
|
8
|
+
class RangeBarChart extends BarChart {
|
|
9
|
+
pointType() {
|
|
18
10
|
return RangeBar;
|
|
19
|
-
}
|
|
11
|
+
}
|
|
20
12
|
|
|
21
|
-
|
|
13
|
+
pointValue(data) {
|
|
22
14
|
return data.valueFields;
|
|
23
|
-
}
|
|
15
|
+
}
|
|
24
16
|
|
|
25
|
-
|
|
17
|
+
formatPointValue(point, format) {
|
|
26
18
|
if (point.value.from === null && point.value.to === null) {
|
|
27
19
|
return "";
|
|
28
20
|
}
|
|
29
21
|
|
|
30
22
|
return this.chartService.format.auto(format, point.value.from, point.value.to);
|
|
31
|
-
}
|
|
23
|
+
}
|
|
32
24
|
|
|
33
|
-
|
|
25
|
+
plotRange(point) {
|
|
34
26
|
if (!point) {
|
|
35
27
|
return 0;
|
|
36
28
|
}
|
|
37
29
|
|
|
38
30
|
return [ point.value.from, point.value.to ];
|
|
39
|
-
}
|
|
31
|
+
}
|
|
40
32
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
var axisRange = this.valueAxisRanges[axisName];
|
|
33
|
+
updateRange(value, fields) {
|
|
34
|
+
const axisName = fields.series.axis;
|
|
35
|
+
const { from, to } = value;
|
|
36
|
+
let axisRange = this.valueAxisRanges[axisName];
|
|
46
37
|
|
|
47
38
|
if (value !== null && isNumber(from) && isNumber(to)) {
|
|
48
39
|
axisRange = this.valueAxisRanges[axisName] = axisRange || { min: MAX_VALUE, max: MIN_VALUE };
|
|
@@ -53,15 +44,13 @@ var RangeBarChart = (function (BarChart) {
|
|
|
53
44
|
axisRange.min = Math.min(axisRange.min, to);
|
|
54
45
|
axisRange.max = Math.max(axisRange.max, to);
|
|
55
46
|
}
|
|
56
|
-
}
|
|
47
|
+
}
|
|
57
48
|
|
|
58
|
-
|
|
59
|
-
|
|
49
|
+
aboveAxis(point) {
|
|
50
|
+
const value = point.value;
|
|
60
51
|
return value.from < value.to;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return RangeBarChart;
|
|
64
|
-
}(BarChart));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
65
54
|
|
|
66
55
|
RangeBarChart.prototype.plotLimits = CategoricalChart.prototype.plotLimits;
|
|
67
56
|
|
|
@@ -2,19 +2,11 @@ import Bar from '../bar-chart/bar';
|
|
|
2
2
|
|
|
3
3
|
import { deepExtend } from '../../common';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
if ( Bar ) RangeBar.__proto__ = Bar;
|
|
11
|
-
RangeBar.prototype = Object.create( Bar && Bar.prototype );
|
|
12
|
-
RangeBar.prototype.constructor = RangeBar;
|
|
13
|
-
|
|
14
|
-
RangeBar.prototype.createLabel = function createLabel () {
|
|
15
|
-
var labels = this.options.labels;
|
|
16
|
-
var fromOptions = deepExtend({}, labels, labels.from);
|
|
17
|
-
var toOptions = deepExtend({}, labels, labels.to);
|
|
5
|
+
class RangeBar extends Bar {
|
|
6
|
+
createLabel() {
|
|
7
|
+
const labels = this.options.labels;
|
|
8
|
+
const fromOptions = deepExtend({}, labels, labels.from);
|
|
9
|
+
const toOptions = deepExtend({}, labels, labels.to);
|
|
18
10
|
|
|
19
11
|
if (fromOptions.visible) {
|
|
20
12
|
this.labelFrom = this.createLabelElement(fromOptions);
|
|
@@ -25,15 +17,12 @@ var RangeBar = (function (Bar) {
|
|
|
25
17
|
this.labelTo = this.createLabelElement(toOptions);
|
|
26
18
|
this.append(this.labelTo);
|
|
27
19
|
}
|
|
28
|
-
}
|
|
20
|
+
}
|
|
29
21
|
|
|
30
|
-
|
|
22
|
+
reflow(targetBox) {
|
|
31
23
|
this.render();
|
|
32
24
|
|
|
33
|
-
|
|
34
|
-
var labelFrom = ref.labelFrom;
|
|
35
|
-
var labelTo = ref.labelTo;
|
|
36
|
-
var value = ref.value;
|
|
25
|
+
const { labelFrom, labelTo, value } = this;
|
|
37
26
|
|
|
38
27
|
this.box = targetBox;
|
|
39
28
|
|
|
@@ -50,10 +39,8 @@ var RangeBar = (function (Bar) {
|
|
|
50
39
|
if (this.note) {
|
|
51
40
|
this.note.reflow(targetBox);
|
|
52
41
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
return RangeBar;
|
|
56
|
-
}(Bar));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
57
44
|
|
|
58
45
|
RangeBar.prototype.defaults = deepExtend({}, RangeBar.prototype.defaults, {
|
|
59
46
|
labels: {
|
|
@@ -18,36 +18,40 @@ import { COLUMN, DONUT, PIE, FUNNEL, PYRAMID, BAR, LINE, VERTICAL_LINE, AREA, VE
|
|
|
18
18
|
ERROR_LOW_FIELD, ERROR_HIGH_FIELD, HEATMAP, DRILLDOWN_FIELD, TRENDLINE_SERIES, PATTERN_FIELD } from './constants';
|
|
19
19
|
import { X, Y, VALUE } from '../common/constants';
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
const COLOR = "color";
|
|
22
|
+
const FIRST = "first";
|
|
23
|
+
const FROM = "from";
|
|
24
|
+
const MAX = "max";
|
|
25
|
+
const MIN = "min";
|
|
26
|
+
const NOTE_TEXT = "noteText";
|
|
27
|
+
const SUMMARY_FIELD = "summary";
|
|
28
|
+
const TO = "to";
|
|
29
29
|
|
|
30
30
|
PlotAreaFactory.current.register(CategoricalPlotArea, [
|
|
31
31
|
BAR, COLUMN, LINE, VERTICAL_LINE, AREA, VERTICAL_AREA,
|
|
32
32
|
CANDLESTICK, OHLC, BULLET, VERTICAL_BULLET, BOX_PLOT, VERTICAL_BOX_PLOT,
|
|
33
|
-
RANGE_COLUMN, RANGE_BAR, WATERFALL, HORIZONTAL_WATERFALL, RANGE_AREA, VERTICAL_RANGE_AREA
|
|
34
|
-
|
|
33
|
+
RANGE_COLUMN, RANGE_BAR, WATERFALL, HORIZONTAL_WATERFALL, RANGE_AREA, VERTICAL_RANGE_AREA,
|
|
34
|
+
...TRENDLINE_SERIES
|
|
35
|
+
]);
|
|
35
36
|
|
|
36
37
|
PlotAreaFactory.current.register(XYPlotArea, [
|
|
37
|
-
SCATTER, SCATTER_LINE, BUBBLE
|
|
38
|
-
|
|
38
|
+
SCATTER, SCATTER_LINE, BUBBLE,
|
|
39
|
+
...TRENDLINE_SERIES
|
|
40
|
+
]);
|
|
39
41
|
|
|
40
42
|
PlotAreaFactory.current.register(PiePlotArea, [ PIE ]);
|
|
41
43
|
PlotAreaFactory.current.register(DonutPlotArea, [ DONUT ]);
|
|
42
44
|
PlotAreaFactory.current.register(FunnelPlotArea, [ FUNNEL, PYRAMID ]);
|
|
43
45
|
|
|
44
46
|
PlotAreaFactory.current.register(PolarPlotArea, [
|
|
45
|
-
POLAR_AREA, POLAR_LINE, POLAR_SCATTER
|
|
46
|
-
|
|
47
|
+
POLAR_AREA, POLAR_LINE, POLAR_SCATTER,
|
|
48
|
+
...TRENDLINE_SERIES
|
|
49
|
+
]);
|
|
47
50
|
|
|
48
51
|
PlotAreaFactory.current.register(RadarPlotArea, [
|
|
49
|
-
RADAR_AREA, RADAR_COLUMN, RADAR_LINE
|
|
50
|
-
|
|
52
|
+
RADAR_AREA, RADAR_COLUMN, RADAR_LINE,
|
|
53
|
+
...TRENDLINE_SERIES
|
|
54
|
+
]);
|
|
51
55
|
|
|
52
56
|
PlotAreaFactory.current.register(HeatmapPlotArea, [ HEATMAP ]);
|
|
53
57
|
|