igniteui-webcomponents-charts 4.3.2 → 4.3.3-beta.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/License +1 -1
- package/bundles/igniteui-webcomponents-charts.umd.js +12498 -11820
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AnchoredCategorySeriesInteractionManager.js +13 -13
- package/esm2015/lib/AnchoredCategorySeries_combined.js +25 -25
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +42 -42
- package/esm2015/lib/AngleAxisLabelPanel_combined.js +553 -550
- package/esm2015/lib/AnnotationLayer_combined.js +4 -4
- package/esm2015/lib/AreaSeries_combined.js +1 -1
- package/esm2015/lib/AxisAnnotationFrameManager.js +18 -18
- package/esm2015/lib/AxisAnnotationManager.js +28 -28
- package/esm2015/lib/AxisVisualDataManager.js +32 -32
- package/esm2015/lib/BarFramePreparer.js +8 -8
- package/esm2015/lib/BarSeries_combined.js +31 -31
- package/esm2015/lib/BarTrendFitCalculator.js +2 -2
- package/esm2015/lib/BarTrendLineManager.js +4 -4
- package/esm2015/lib/BollingerBandsOverlay_combined.js +12 -12
- package/esm2015/lib/BubbleSeries_combined.js +5 -5
- package/esm2015/lib/CalloutLayer_combined.js +13 -13
- package/esm2015/lib/CategoryBucketCalculator_combined.js +88 -86
- package/esm2015/lib/CategoryChart.js +380 -380
- package/esm2015/lib/CategoryChartToolbarProvider.js +14 -14
- package/esm2015/lib/CategoryDateTimeXAxis_combined.js +144 -141
- package/esm2015/lib/CategoryHighlightLayer_combined.js +6 -6
- package/esm2015/lib/CategoryItemHighlightLayer_combined.js +13 -13
- package/esm2015/lib/CategorySeriesInteractionManager.js +12 -12
- package/esm2015/lib/CategorySeriesRenderManager.js +5 -5
- package/esm2015/lib/CategoryToolTipLayer_combined.js +12 -12
- package/esm2015/lib/CategoryTransitionSourceFramePreparer.js +6 -6
- package/esm2015/lib/CategoryTrendLineManager.js +4 -4
- package/esm2015/lib/CategoryTrendLineManagerBase.js +20 -14
- package/esm2015/lib/CategoryTrendLineManagerFactory.js +2 -2
- package/esm2015/lib/CategoryXAxis_combined.js +240 -237
- package/esm2015/lib/CategoryYAxis_combined.js +220 -217
- package/esm2015/lib/ColumnSeries_combined.js +10 -10
- package/esm2015/lib/CustomIndicator.js +1 -1
- package/esm2015/lib/DataChartToolbarProvider.js +107 -82
- package/esm2015/lib/DataChartVisualDataManager.js +2 -2
- package/esm2015/lib/DataToolTipLayer_combined.js +17 -17
- package/esm2015/lib/DefaultProvidesViewport.js +3 -0
- package/esm2015/lib/DomainChartToolbarProvider.js +87 -64
- package/esm2015/lib/DomainChart_combined.js +678 -658
- package/esm2015/lib/ErrorBarsHelper.js +25 -25
- package/esm2015/lib/FinalValueLayer_combined.js +13 -11
- package/esm2015/lib/FinancialChart_combined.js +1260 -1260
- package/esm2015/lib/FinancialEventArgs_combined.js +52 -52
- package/esm2015/lib/FinancialIndicator_combined.js +68 -63
- package/esm2015/lib/FinancialOverlay.js +6 -6
- package/esm2015/lib/FinancialPriceSeries_combined.js +88 -83
- package/esm2015/lib/HighDensityScatterSeries_combined.js +28 -28
- package/esm2015/lib/HorizontalAnchoredCategorySeries.js +16 -16
- package/esm2015/lib/HorizontalAnchoredCategorySeriesInteractionManager.js +2 -2
- package/esm2015/lib/HorizontalAxisView_combined.js +6 -6
- package/esm2015/lib/HorizontalRangeCategorySeries.js +9 -9
- package/esm2015/lib/ItemToolTipLayer_combined.js +1 -1
- package/esm2015/lib/LineSeries_combined.js +1 -1
- package/esm2015/lib/LogarithmicScaler.js +1 -1
- package/esm2015/lib/MarkerTemplates.js +4 -4
- package/esm2015/lib/NumericXAxis_combined.js +88 -85
- package/esm2015/lib/NumericYAxis_combined.js +89 -86
- package/esm2015/lib/OrdinalTimeXAxis.js +215 -212
- package/esm2015/lib/PercentChangeYAxis_combined.js +22 -19
- package/esm2015/lib/PolarAxes.js +13 -13
- package/esm2015/lib/PolarAxisInfoCache.js +6 -6
- package/esm2015/lib/PolarBase_combined.js +31 -31
- package/esm2015/lib/PolarLineSeriesBase_combined.js +3 -3
- package/esm2015/lib/PolarTrendLineManager.js +4 -4
- package/esm2015/lib/PreparationParams.js +9 -6
- package/esm2015/lib/PriceChannelOverlay_combined.js +10 -10
- package/esm2015/lib/RadialAreaSeries_combined.js +1 -1
- package/esm2015/lib/RadialAxes.js +2 -2
- package/esm2015/lib/RadialAxisLabelPanel_combined.js +3 -3
- package/esm2015/lib/RadialBucketCalculator_combined.js +23 -23
- package/esm2015/lib/RadialColumnSeries_combined.js +6 -6
- package/esm2015/lib/RadialLineSeries_combined.js +1 -1
- package/esm2015/lib/RadialPieSeries_combined.js +5 -5
- package/esm2015/lib/RadialTrendLineManager.js +8 -8
- package/esm2015/lib/RangeAreaSeries_combined.js +1 -1
- package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +16 -16
- package/esm2015/lib/RangeCategoryFramePreparer.js +8 -8
- package/esm2015/lib/RangeColumnSeries_combined.js +6 -6
- package/esm2015/lib/ScatterAreaSeries_combined.js +5 -5
- package/esm2015/lib/ScatterBase_combined.js +74 -74
- package/esm2015/lib/ScatterContourSeries_combined.js +4 -4
- package/esm2015/lib/ScatterLineSeries.js +2 -2
- package/esm2015/lib/ScatterPolygonSeries_combined.js +26 -26
- package/esm2015/lib/ScatterSplineSeries.js +2 -2
- package/esm2015/lib/ScatterTrendLineManager.js +1 -1
- package/esm2015/lib/ScatterTriangulationSeries.js +11 -11
- package/esm2015/lib/SeriesInteractionManager.js +57 -57
- package/esm2015/lib/SeriesViewerInteractionManager.js +124 -124
- package/esm2015/lib/SeriesViewerScrollbarManager.js +4 -4
- package/esm2015/lib/SeriesViewerSurfaceViewer.js +9 -9
- package/esm2015/lib/SeriesViewer_combined.js +3760 -3621
- package/esm2015/lib/SeriesVisualDataManager.js +20 -20
- package/esm2015/lib/ShapeSeriesBase_combined.js +20 -20
- package/esm2015/lib/SortedReadOnlyDoubleCollection.js +78 -0
- package/esm2015/lib/SortingTrendLineManager.js +12 -18
- package/esm2015/lib/SplineAreaSeries_combined.js +1 -1
- package/esm2015/lib/SplineSeriesBase_combined.js +28 -28
- package/esm2015/lib/SplineSeries_combined.js +1 -1
- package/esm2015/lib/Stacked100BarBucketCalculator.js +2 -2
- package/esm2015/lib/Stacked100ColumnBucketCalculator.js +2 -2
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +155 -155
- package/esm2015/lib/StepAreaSeries_combined.js +2 -2
- package/esm2015/lib/StepLineSeries_combined.js +3 -3
- package/esm2015/lib/StraightNumericAxisBase_combined.js +72 -72
- package/esm2015/lib/StrategyBasedIndicator.js +2 -2
- package/esm2015/lib/TileZoomManager_combined.js +4 -4
- package/esm2015/lib/TimeAxisBase.js +238 -232
- package/esm2015/lib/TimeXAxis.js +251 -248
- package/esm2015/lib/TrendFitCalculator.js +2 -2
- package/esm2015/lib/TrendLineManagerBase$1.js +1 -1
- package/esm2015/lib/TrendResolutionParams.js +6 -4
- package/esm2015/lib/ValueLayer_combined.js +4 -4
- package/esm2015/lib/ValueOverlay_combined.js +23 -23
- package/esm2015/lib/VerticalAnchoredCategorySeries.js +11 -11
- package/esm2015/lib/VerticalAnchoredCategorySeriesInteractionManager.js +5 -5
- package/esm2015/lib/WaterfallSeries_combined.js +5 -5
- package/esm2015/lib/XYChart.js +710 -710
- package/esm2015/lib/igc-assigning-series-style-event-args-base.js +6 -0
- package/esm2015/lib/igc-axis-annotation.js +6 -0
- package/esm2015/lib/igc-axis-component.js +213 -209
- package/esm2015/lib/igc-axis-range-changed-event-args.js +6 -0
- package/esm2015/lib/igc-brush-scale-component.js +3 -0
- package/esm2015/lib/igc-callout-annotation.js +6 -0
- package/esm2015/lib/igc-callout-content-updating-event-args.js +6 -0
- package/esm2015/lib/igc-callout-label-updating-event-args.js +6 -0
- package/esm2015/lib/igc-callout-render-style-updating-event-args.js +6 -0
- package/esm2015/lib/igc-callout-series-selecting-event-args.js +6 -0
- package/esm2015/lib/igc-callout-style-updating-event-args.js +6 -0
- package/esm2015/lib/igc-category-angle-axis-component.js +17 -17
- package/esm2015/lib/igc-category-axis-base-component.js +31 -27
- package/esm2015/lib/igc-category-chart-component.js +126 -126
- package/esm2015/lib/igc-category-date-time-x-axis-component.js +20 -20
- package/esm2015/lib/igc-category-x-axis-component.js +16 -16
- package/esm2015/lib/igc-category-y-axis-component.js +18 -18
- package/esm2015/lib/igc-chart-cursor-event-args.js +3 -0
- package/esm2015/lib/igc-chart-mouse-event-args.js +3 -0
- package/esm2015/lib/igc-chart-series-event-args.js +3 -0
- package/esm2015/lib/igc-chart-summary-description.js +6 -0
- package/esm2015/lib/igc-color-scale-component.js +3 -0
- package/esm2015/lib/igc-column-supporting-calculation.js +3 -0
- package/esm2015/lib/igc-contour-value-resolver-component.js +3 -0
- package/esm2015/lib/igc-custom-contour-value-resolver-event-args.js +3 -0
- package/esm2015/lib/igc-data-chart-component.js +95 -95
- package/esm2015/lib/igc-data-chart-mouse-button-event-args.js +3 -0
- package/esm2015/lib/igc-data-legend-styling-column-event-args.js +6 -0
- package/esm2015/lib/igc-data-legend-styling-row-event-args.js +6 -0
- package/esm2015/lib/igc-data-legend-summary-event-args.js +3 -0
- package/esm2015/lib/igc-data-source-supporting-calculation.js +3 -0
- package/esm2015/lib/igc-domain-chart-component.js +268 -271
- package/esm2015/lib/igc-domain-chart-series-pointer-event-args.js +3 -0
- package/esm2015/lib/igc-financial-calculation-supporting-calculations.js +6 -0
- package/esm2015/lib/igc-financial-chart-component.js +159 -159
- package/esm2015/lib/igc-funnel-data-context.js +6 -0
- package/esm2015/lib/igc-funnel-slice-clicked-event-args.js +6 -0
- package/esm2015/lib/igc-funnel-slice-event-args.js +6 -0
- package/esm2015/lib/igc-highlighting-info.js +6 -0
- package/esm2015/lib/igc-hole-dimensions-changed-event-args.js +3 -0
- package/esm2015/lib/igc-label-click-event-args.js +3 -0
- package/esm2015/lib/igc-legend-mouse-button-event-args.js +3 -0
- package/esm2015/lib/igc-legend-mouse-event-args.js +3 -0
- package/esm2015/lib/igc-numeric-angle-axis-component.js +4 -4
- package/esm2015/lib/igc-numeric-axis-base-component.js +72 -68
- package/esm2015/lib/igc-numeric-radius-axis-component.js +9 -9
- package/esm2015/lib/igc-numeric-x-axis-component.js +1 -1
- package/esm2015/lib/igc-numeric-y-axis-component.js +2 -2
- package/esm2015/lib/igc-ordinal-time-x-axis-component.js +7 -7
- package/esm2015/lib/igc-pie-chart-base-component.js +3 -0
- package/esm2015/lib/igc-pie-slice-others-context.js +6 -0
- package/esm2015/lib/igc-plot-area-mouse-button-event-args.js +3 -0
- package/esm2015/lib/igc-plot-area-mouse-event-args.js +3 -0
- package/esm2015/lib/igc-progressive-load-status-event-args.js +3 -0
- package/esm2015/lib/igc-refresh-completed-event-args.js +6 -0
- package/esm2015/lib/igc-render-requested-event-args.js +6 -0
- package/esm2015/lib/igc-ring.js +6 -0
- package/esm2015/lib/igc-scaler-params.js +3 -0
- package/esm2015/lib/igc-selected-item-changed-event-args.js +3 -0
- package/esm2015/lib/igc-selected-items-changed-event-args.js +3 -0
- package/esm2015/lib/igc-series-component.js +4 -0
- package/esm2015/lib/igc-series-viewer-component.js +289 -257
- package/esm2015/lib/igc-series-viewer-manipulation-event-args.js +6 -0
- package/esm2015/lib/igc-size-scale-component.js +3 -0
- package/esm2015/lib/igc-slice-click-event-args.js +3 -0
- package/esm2015/lib/igc-slice-event-args.js +3 -0
- package/esm2015/lib/igc-stacked-series-created-event-args.js +3 -0
- package/esm2015/lib/igc-straight-numeric-axis-base-component.js +3 -3
- package/esm2015/lib/igc-time-axis-base-component.js +10 -6
- package/esm2015/lib/igc-time-x-axis-component.js +6 -6
- package/esm2015/lib/igc-treemap-node-pointer-event-args.js +6 -0
- package/esm2015/lib/igc-treemap-node-style-component.js +3 -0
- package/esm2015/lib/igc-treemap-node-styling-event-args.js +6 -0
- package/esm2015/lib/igc-xy-chart-component.js +218 -218
- package/esm2015/lib/igc-zoom-slider-resolving-axis-value-event-args.js +6 -0
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/AnchoredCategorySeriesInteractionManager.js +13 -13
- package/esm5/lib/AnchoredCategorySeries_combined.js +25 -25
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +42 -42
- package/esm5/lib/AngleAxisLabelPanel_combined.js +549 -546
- package/esm5/lib/AnnotationLayer_combined.js +4 -4
- package/esm5/lib/AreaSeries_combined.js +1 -1
- package/esm5/lib/AxisAnnotationFrameManager.js +18 -18
- package/esm5/lib/AxisAnnotationManager.js +28 -28
- package/esm5/lib/AxisVisualDataManager.js +32 -32
- package/esm5/lib/BarFramePreparer.js +8 -8
- package/esm5/lib/BarSeries_combined.js +31 -31
- package/esm5/lib/BarTrendFitCalculator.js +2 -2
- package/esm5/lib/BarTrendLineManager.js +4 -4
- package/esm5/lib/BollingerBandsOverlay_combined.js +12 -12
- package/esm5/lib/BubbleSeries_combined.js +5 -5
- package/esm5/lib/CalloutLayer_combined.js +13 -13
- package/esm5/lib/CategoryBucketCalculator_combined.js +88 -86
- package/esm5/lib/CategoryChart.js +371 -371
- package/esm5/lib/CategoryChartToolbarProvider.js +14 -14
- package/esm5/lib/CategoryDateTimeXAxis_combined.js +140 -137
- package/esm5/lib/CategoryHighlightLayer_combined.js +6 -6
- package/esm5/lib/CategoryItemHighlightLayer_combined.js +13 -13
- package/esm5/lib/CategorySeriesInteractionManager.js +12 -12
- package/esm5/lib/CategorySeriesRenderManager.js +5 -5
- package/esm5/lib/CategoryToolTipLayer_combined.js +12 -12
- package/esm5/lib/CategoryTransitionSourceFramePreparer.js +6 -6
- package/esm5/lib/CategoryTrendLineManager.js +4 -4
- package/esm5/lib/CategoryTrendLineManagerBase.js +20 -14
- package/esm5/lib/CategoryTrendLineManagerFactory.js +2 -2
- package/esm5/lib/CategoryXAxis_combined.js +239 -236
- package/esm5/lib/CategoryYAxis_combined.js +219 -216
- package/esm5/lib/ColumnSeries_combined.js +10 -10
- package/esm5/lib/CustomIndicator.js +1 -1
- package/esm5/lib/DataChartToolbarProvider.js +107 -82
- package/esm5/lib/DataChartVisualDataManager.js +2 -2
- package/esm5/lib/DataToolTipLayer_combined.js +17 -17
- package/esm5/lib/DefaultProvidesViewport.js +3 -0
- package/esm5/lib/DomainChartToolbarProvider.js +87 -64
- package/esm5/lib/DomainChart_combined.js +667 -639
- package/esm5/lib/ErrorBarsHelper.js +25 -25
- package/esm5/lib/FinalValueLayer_combined.js +13 -11
- package/esm5/lib/FinancialChart_combined.js +1239 -1239
- package/esm5/lib/FinancialEventArgs_combined.js +52 -52
- package/esm5/lib/FinancialIndicator_combined.js +68 -63
- package/esm5/lib/FinancialOverlay.js +6 -6
- package/esm5/lib/FinancialPriceSeries_combined.js +88 -83
- package/esm5/lib/HighDensityScatterSeries_combined.js +28 -28
- package/esm5/lib/HorizontalAnchoredCategorySeries.js +16 -16
- package/esm5/lib/HorizontalAnchoredCategorySeriesInteractionManager.js +2 -2
- package/esm5/lib/HorizontalAxisView_combined.js +6 -6
- package/esm5/lib/HorizontalRangeCategorySeries.js +9 -9
- package/esm5/lib/ItemToolTipLayer_combined.js +1 -1
- package/esm5/lib/LineSeries_combined.js +1 -1
- package/esm5/lib/LogarithmicScaler.js +1 -1
- package/esm5/lib/MarkerTemplates.js +4 -4
- package/esm5/lib/NumericXAxis_combined.js +88 -85
- package/esm5/lib/NumericYAxis_combined.js +89 -86
- package/esm5/lib/OrdinalTimeXAxis.js +213 -210
- package/esm5/lib/PercentChangeYAxis_combined.js +22 -19
- package/esm5/lib/PolarAxes.js +13 -13
- package/esm5/lib/PolarAxisInfoCache.js +6 -6
- package/esm5/lib/PolarBase_combined.js +31 -31
- package/esm5/lib/PolarLineSeriesBase_combined.js +3 -3
- package/esm5/lib/PolarTrendLineManager.js +4 -4
- package/esm5/lib/PreparationParams.js +9 -6
- package/esm5/lib/PriceChannelOverlay_combined.js +10 -10
- package/esm5/lib/RadialAreaSeries_combined.js +1 -1
- package/esm5/lib/RadialAxes.js +2 -2
- package/esm5/lib/RadialAxisLabelPanel_combined.js +3 -3
- package/esm5/lib/RadialBucketCalculator_combined.js +23 -23
- package/esm5/lib/RadialColumnSeries_combined.js +6 -6
- package/esm5/lib/RadialLineSeries_combined.js +1 -1
- package/esm5/lib/RadialPieSeries_combined.js +5 -5
- package/esm5/lib/RadialTrendLineManager.js +8 -8
- package/esm5/lib/RangeAreaSeries_combined.js +1 -1
- package/esm5/lib/RangeCategoryBucketCalculator_combined.js +16 -16
- package/esm5/lib/RangeCategoryFramePreparer.js +8 -8
- package/esm5/lib/RangeColumnSeries_combined.js +6 -6
- package/esm5/lib/ScatterAreaSeries_combined.js +5 -5
- package/esm5/lib/ScatterBase_combined.js +74 -74
- package/esm5/lib/ScatterContourSeries_combined.js +4 -4
- package/esm5/lib/ScatterLineSeries.js +2 -2
- package/esm5/lib/ScatterPolygonSeries_combined.js +26 -26
- package/esm5/lib/ScatterSplineSeries.js +2 -2
- package/esm5/lib/ScatterTrendLineManager.js +1 -1
- package/esm5/lib/ScatterTriangulationSeries.js +11 -11
- package/esm5/lib/SeriesInteractionManager.js +57 -57
- package/esm5/lib/SeriesViewerInteractionManager.js +124 -124
- package/esm5/lib/SeriesViewerScrollbarManager.js +4 -4
- package/esm5/lib/SeriesViewerSurfaceViewer.js +9 -9
- package/esm5/lib/SeriesViewer_combined.js +3730 -3570
- package/esm5/lib/SeriesVisualDataManager.js +20 -20
- package/esm5/lib/ShapeSeriesBase_combined.js +20 -20
- package/esm5/lib/SortedReadOnlyDoubleCollection.js +105 -0
- package/esm5/lib/SortingTrendLineManager.js +12 -18
- package/esm5/lib/SplineAreaSeries_combined.js +1 -1
- package/esm5/lib/SplineSeriesBase_combined.js +28 -28
- package/esm5/lib/SplineSeries_combined.js +1 -1
- package/esm5/lib/Stacked100BarBucketCalculator.js +2 -2
- package/esm5/lib/Stacked100ColumnBucketCalculator.js +2 -2
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +155 -155
- package/esm5/lib/StepAreaSeries_combined.js +2 -2
- package/esm5/lib/StepLineSeries_combined.js +3 -3
- package/esm5/lib/StraightNumericAxisBase_combined.js +70 -70
- package/esm5/lib/StrategyBasedIndicator.js +2 -2
- package/esm5/lib/TileZoomManager_combined.js +4 -4
- package/esm5/lib/TimeAxisBase.js +234 -228
- package/esm5/lib/TimeXAxis.js +249 -246
- package/esm5/lib/TrendFitCalculator.js +2 -2
- package/esm5/lib/TrendLineManagerBase$1.js +1 -1
- package/esm5/lib/TrendResolutionParams.js +6 -4
- package/esm5/lib/ValueLayer_combined.js +4 -4
- package/esm5/lib/ValueOverlay_combined.js +23 -23
- package/esm5/lib/VerticalAnchoredCategorySeries.js +11 -11
- package/esm5/lib/VerticalAnchoredCategorySeriesInteractionManager.js +5 -5
- package/esm5/lib/WaterfallSeries_combined.js +5 -5
- package/esm5/lib/XYChart.js +675 -675
- package/esm5/lib/igc-assigning-series-style-event-args-base.js +6 -0
- package/esm5/lib/igc-axis-annotation.js +6 -0
- package/esm5/lib/igc-axis-component.js +213 -209
- package/esm5/lib/igc-axis-range-changed-event-args.js +6 -0
- package/esm5/lib/igc-brush-scale-component.js +3 -0
- package/esm5/lib/igc-callout-annotation.js +6 -0
- package/esm5/lib/igc-callout-content-updating-event-args.js +6 -0
- package/esm5/lib/igc-callout-label-updating-event-args.js +6 -0
- package/esm5/lib/igc-callout-render-style-updating-event-args.js +6 -0
- package/esm5/lib/igc-callout-series-selecting-event-args.js +6 -0
- package/esm5/lib/igc-callout-style-updating-event-args.js +6 -0
- package/esm5/lib/igc-category-angle-axis-component.js +17 -17
- package/esm5/lib/igc-category-axis-base-component.js +31 -27
- package/esm5/lib/igc-category-chart-component.js +126 -126
- package/esm5/lib/igc-category-date-time-x-axis-component.js +20 -20
- package/esm5/lib/igc-category-x-axis-component.js +16 -16
- package/esm5/lib/igc-category-y-axis-component.js +18 -18
- package/esm5/lib/igc-chart-cursor-event-args.js +3 -0
- package/esm5/lib/igc-chart-mouse-event-args.js +3 -0
- package/esm5/lib/igc-chart-series-event-args.js +3 -0
- package/esm5/lib/igc-chart-summary-description.js +6 -0
- package/esm5/lib/igc-color-scale-component.js +3 -0
- package/esm5/lib/igc-column-supporting-calculation.js +3 -0
- package/esm5/lib/igc-contour-value-resolver-component.js +3 -0
- package/esm5/lib/igc-custom-contour-value-resolver-event-args.js +3 -0
- package/esm5/lib/igc-data-chart-component.js +95 -95
- package/esm5/lib/igc-data-chart-mouse-button-event-args.js +3 -0
- package/esm5/lib/igc-data-legend-styling-column-event-args.js +6 -0
- package/esm5/lib/igc-data-legend-styling-row-event-args.js +6 -0
- package/esm5/lib/igc-data-legend-summary-event-args.js +3 -0
- package/esm5/lib/igc-data-source-supporting-calculation.js +3 -0
- package/esm5/lib/igc-domain-chart-component.js +268 -271
- package/esm5/lib/igc-domain-chart-series-pointer-event-args.js +3 -0
- package/esm5/lib/igc-financial-calculation-supporting-calculations.js +6 -0
- package/esm5/lib/igc-financial-chart-component.js +159 -159
- package/esm5/lib/igc-funnel-data-context.js +6 -0
- package/esm5/lib/igc-funnel-slice-clicked-event-args.js +6 -0
- package/esm5/lib/igc-funnel-slice-event-args.js +6 -0
- package/esm5/lib/igc-highlighting-info.js +6 -0
- package/esm5/lib/igc-hole-dimensions-changed-event-args.js +3 -0
- package/esm5/lib/igc-label-click-event-args.js +3 -0
- package/esm5/lib/igc-legend-mouse-button-event-args.js +3 -0
- package/esm5/lib/igc-legend-mouse-event-args.js +3 -0
- package/esm5/lib/igc-numeric-angle-axis-component.js +4 -4
- package/esm5/lib/igc-numeric-axis-base-component.js +72 -68
- package/esm5/lib/igc-numeric-radius-axis-component.js +9 -9
- package/esm5/lib/igc-numeric-x-axis-component.js +1 -1
- package/esm5/lib/igc-numeric-y-axis-component.js +2 -2
- package/esm5/lib/igc-ordinal-time-x-axis-component.js +7 -7
- package/esm5/lib/igc-pie-chart-base-component.js +3 -0
- package/esm5/lib/igc-pie-slice-others-context.js +6 -0
- package/esm5/lib/igc-plot-area-mouse-button-event-args.js +3 -0
- package/esm5/lib/igc-plot-area-mouse-event-args.js +3 -0
- package/esm5/lib/igc-progressive-load-status-event-args.js +3 -0
- package/esm5/lib/igc-refresh-completed-event-args.js +6 -0
- package/esm5/lib/igc-render-requested-event-args.js +6 -0
- package/esm5/lib/igc-ring.js +6 -0
- package/esm5/lib/igc-scaler-params.js +3 -0
- package/esm5/lib/igc-selected-item-changed-event-args.js +3 -0
- package/esm5/lib/igc-selected-items-changed-event-args.js +3 -0
- package/esm5/lib/igc-series-component.js +4 -0
- package/esm5/lib/igc-series-viewer-component.js +294 -257
- package/esm5/lib/igc-series-viewer-manipulation-event-args.js +6 -0
- package/esm5/lib/igc-size-scale-component.js +3 -0
- package/esm5/lib/igc-slice-click-event-args.js +3 -0
- package/esm5/lib/igc-slice-event-args.js +3 -0
- package/esm5/lib/igc-stacked-series-created-event-args.js +3 -0
- package/esm5/lib/igc-straight-numeric-axis-base-component.js +3 -3
- package/esm5/lib/igc-time-axis-base-component.js +10 -6
- package/esm5/lib/igc-time-x-axis-component.js +6 -6
- package/esm5/lib/igc-treemap-node-pointer-event-args.js +6 -0
- package/esm5/lib/igc-treemap-node-style-component.js +3 -0
- package/esm5/lib/igc-treemap-node-styling-event-args.js +6 -0
- package/esm5/lib/igc-xy-chart-component.js +218 -218
- package/esm5/lib/igc-zoom-slider-resolving-axis-value-event-args.js +6 -0
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-charts.js +12564 -11946
- package/fesm5/igniteui-webcomponents-charts.js +12499 -11822
- package/lib/AngleAxisLabelPanel_combined.d.ts +116 -115
- package/lib/CategoryChart.d.ts +100 -100
- package/lib/CategoryChartToolbarProvider.d.ts +4 -4
- package/lib/CategoryDateTimeXAxis_combined.d.ts +31 -30
- package/lib/CategoryXAxis_combined.d.ts +42 -41
- package/lib/CategoryYAxis_combined.d.ts +40 -39
- package/lib/DataChartToolbarProvider.d.ts +19 -15
- package/lib/DefaultProvidesViewport.d.ts +1 -0
- package/lib/DomainChartToolbarProvider.d.ts +21 -17
- package/lib/DomainChart_combined.d.ts +139 -131
- package/lib/FinancialChart_combined.d.ts +249 -249
- package/lib/IProvidesViewport.d.ts +1 -0
- package/lib/IScaler.d.ts +5 -4
- package/lib/NumericXAxis_combined.d.ts +21 -20
- package/lib/NumericYAxis_combined.d.ts +21 -20
- package/lib/OrdinalTimeXAxis.d.ts +51 -50
- package/lib/PercentChangeYAxis_combined.d.ts +9 -8
- package/lib/PreparationParams.d.ts +9 -6
- package/lib/SeriesViewer_combined.d.ts +1049 -1023
- package/lib/SortedReadOnlyDoubleCollection.d.ts +24 -0
- package/lib/SortingTrendLineManager.d.ts +2 -3
- package/lib/StraightNumericAxisBase_combined.d.ts +22 -22
- package/lib/TimeAxisBase.d.ts +51 -49
- package/lib/TimeXAxis.d.ts +59 -58
- package/lib/TrendResolutionParams.d.ts +6 -4
- package/lib/XYChart.d.ts +189 -189
- package/lib/igc-axis-component.d.ts +4 -3
- package/lib/igc-category-axis-base-component.d.ts +1 -0
- package/lib/igc-domain-chart-component.d.ts +0 -2
- package/lib/igc-numeric-axis-base-component.d.ts +1 -0
- package/lib/igc-series-component.d.ts +1 -0
- package/lib/igc-series-viewer-component.d.ts +10 -2
- package/lib/igc-time-axis-base-component.d.ts +1 -0
- package/package.json +2 -2
- package/public_api.d.ts +1 -0
package/esm5/lib/TimeXAxis.js
CHANGED
|
@@ -36,60 +36,60 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
36
36
|
__extends(TimeXAxis, _super);
|
|
37
37
|
function TimeXAxis() {
|
|
38
38
|
var _this = _super.call(this) || this;
|
|
39
|
-
_this.
|
|
40
|
-
_this.
|
|
41
|
-
_this.
|
|
42
|
-
_this.
|
|
39
|
+
_this.og = 0;
|
|
40
|
+
_this.nq = null;
|
|
41
|
+
_this.nz = 0;
|
|
42
|
+
_this.nx = null;
|
|
43
43
|
_this._omission = 0;
|
|
44
|
-
_this.
|
|
45
|
-
_this.
|
|
46
|
-
_this.
|
|
47
|
-
_this.
|
|
48
|
-
_this.
|
|
44
|
+
_this.no = null;
|
|
45
|
+
_this.nv = null;
|
|
46
|
+
_this.oi = null;
|
|
47
|
+
_this.ov = 0;
|
|
48
|
+
_this.n8 = dateMaxValue();
|
|
49
|
+
_this.n6 = dateMaxValue();
|
|
49
50
|
_this.n5 = dateMaxValue();
|
|
50
|
-
_this.
|
|
51
|
-
_this.
|
|
52
|
-
_this.
|
|
53
|
-
_this.os = 0;
|
|
51
|
+
_this.n7 = dateMinValue();
|
|
52
|
+
_this.ns = null;
|
|
53
|
+
_this.ot = 0;
|
|
54
54
|
_this.visibleRangeChanged = null;
|
|
55
55
|
_this.ab = TimeXAxis.$;
|
|
56
56
|
_this.omission = (0);
|
|
57
|
-
_this.
|
|
58
|
-
_this.
|
|
57
|
+
_this.og = -2147483648;
|
|
58
|
+
_this.nq = new TimeAxisBreakCollection();
|
|
59
59
|
var a = _this.breaks;
|
|
60
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.
|
|
61
|
-
_this.
|
|
60
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.oy));
|
|
61
|
+
_this.nv = new TimeAxisIntervalCollection();
|
|
62
62
|
var b = _this.intervals;
|
|
63
|
-
b.collectionChanged = delegateCombine(b.collectionChanged, runOn(_this, _this.
|
|
64
|
-
_this.
|
|
63
|
+
b.collectionChanged = delegateCombine(b.collectionChanged, runOn(_this, _this.oz));
|
|
64
|
+
_this.nx = new TimeAxisLabelFormatCollection();
|
|
65
65
|
var c = _this.labelFormats;
|
|
66
|
-
c.collectionChanged = delegateCombine(c.collectionChanged, runOn(_this, _this.
|
|
67
|
-
_this.
|
|
66
|
+
c.collectionChanged = delegateCombine(c.collectionChanged, runOn(_this, _this.o0));
|
|
67
|
+
_this.ov = (0);
|
|
68
68
|
return _this;
|
|
69
69
|
}
|
|
70
|
-
TimeXAxis.prototype.
|
|
70
|
+
TimeXAxis.prototype.get_cl = function () {
|
|
71
71
|
return this.breaks != null && this.breaks.count > 0;
|
|
72
72
|
};
|
|
73
|
-
TimeXAxis.prototype.
|
|
73
|
+
TimeXAxis.prototype.ej = function (a, b) {
|
|
74
74
|
if (!b.c.isEmpty) {
|
|
75
|
-
var c = this.
|
|
75
|
+
var c = this.oe(a, NumericScaler.ac, b.c, Rect.empty);
|
|
76
76
|
c = (c - b.d.left) / b.d.width;
|
|
77
77
|
c = b.d.left + b.d.width * (c - b.e.left) / b.e.width;
|
|
78
78
|
return c;
|
|
79
79
|
}
|
|
80
|
-
return this.
|
|
80
|
+
return this.oe(a, b.e, b.d, b.c);
|
|
81
81
|
};
|
|
82
|
-
TimeXAxis.prototype.
|
|
82
|
+
TimeXAxis.prototype.oe = function (a, b, c, d) {
|
|
83
83
|
var e = new KeyValuePair$2(TimeAxisBreak.$, Number_$type);
|
|
84
|
-
var f = this.
|
|
85
|
-
var g = this.
|
|
84
|
+
var f = this.og != -2147483648 ? this.og : 0;
|
|
85
|
+
var g = this.no != null ? this.no.count : 0;
|
|
86
86
|
while (f < g) {
|
|
87
|
-
var h = this.
|
|
87
|
+
var h = this.no.item1(f);
|
|
88
88
|
if (h.d.getTime() <= a && h.c.getTime() >= a) {
|
|
89
89
|
return NaN;
|
|
90
90
|
}
|
|
91
91
|
if (h.c.getTime() <= a) {
|
|
92
|
-
e = new KeyValuePair$2(TimeAxisBreak.$, Number_$type, 1, h, this.
|
|
92
|
+
e = new KeyValuePair$2(TimeAxisBreak.$, Number_$type, 1, h, this.no.item(h));
|
|
93
93
|
f++;
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
@@ -99,8 +99,8 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
99
99
|
if (f > 0) {
|
|
100
100
|
f -= 1;
|
|
101
101
|
}
|
|
102
|
-
if (this.
|
|
103
|
-
this.
|
|
102
|
+
if (this.og != -2147483648) {
|
|
103
|
+
this.og = f;
|
|
104
104
|
}
|
|
105
105
|
var i;
|
|
106
106
|
var j;
|
|
@@ -126,34 +126,34 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
126
126
|
n -= p / 2;
|
|
127
127
|
o -= p;
|
|
128
128
|
}
|
|
129
|
-
if (this.
|
|
129
|
+
if (this.ch) {
|
|
130
130
|
return n - o * l;
|
|
131
131
|
}
|
|
132
132
|
return m + o * l;
|
|
133
133
|
};
|
|
134
|
-
TimeXAxis.prototype.
|
|
135
|
-
this.
|
|
134
|
+
TimeXAxis.prototype.hn = function (a, b, c, d) {
|
|
135
|
+
this.og = 0;
|
|
136
136
|
for (var e = b; e < c; e++) {
|
|
137
|
-
a.item(e, this.
|
|
137
|
+
a.item(e, this.ej(a.item(e), d));
|
|
138
138
|
}
|
|
139
|
-
this.
|
|
139
|
+
this.og = -2147483648;
|
|
140
140
|
};
|
|
141
141
|
TimeXAxis.prototype.startCursor = function () {
|
|
142
|
-
this.
|
|
142
|
+
this.og = 0;
|
|
143
143
|
};
|
|
144
144
|
TimeXAxis.prototype.resetCursor = function () {
|
|
145
|
-
this.
|
|
145
|
+
this.og = -2147483648;
|
|
146
146
|
};
|
|
147
|
-
TimeXAxis.prototype.
|
|
147
|
+
TimeXAxis.prototype.em = function (a, b) {
|
|
148
148
|
if (!b.c.isEmpty) {
|
|
149
149
|
var c = b.e.left + b.e.width * (a - b.d.left) / b.d.width;
|
|
150
150
|
c = (c * b.d.width) + b.d.left;
|
|
151
151
|
c = this.getUnscaledValue3(c, NumericScaler.ac, b.c, this.categoryMode);
|
|
152
152
|
return c;
|
|
153
153
|
}
|
|
154
|
-
return this.
|
|
154
|
+
return this.of(a, b.e, b.d, b.c);
|
|
155
155
|
};
|
|
156
|
-
TimeXAxis.prototype.
|
|
156
|
+
TimeXAxis.prototype.of = function (a, b, c, d) {
|
|
157
157
|
var e_1, _a;
|
|
158
158
|
var e = c.left;
|
|
159
159
|
var f = c.width;
|
|
@@ -163,13 +163,13 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
163
163
|
f -= g;
|
|
164
164
|
}
|
|
165
165
|
var h = b.left + b.width * (a - e) / f;
|
|
166
|
-
if (this.
|
|
166
|
+
if (this.ch) {
|
|
167
167
|
h = 1 - h;
|
|
168
168
|
}
|
|
169
169
|
var i = new KeyValuePair$2(TimeAxisBreak.$, Number_$type);
|
|
170
|
-
if (this.
|
|
170
|
+
if (this.no != null) {
|
|
171
171
|
try {
|
|
172
|
-
for (var _b = __values(fromEnum(this.
|
|
172
|
+
for (var _b = __values(fromEnum(this.no)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
173
173
|
var j = _c.value;
|
|
174
174
|
if (j.value >= h && j.value <= h) {
|
|
175
175
|
return j.key.d.getTime();
|
|
@@ -209,20 +209,20 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
209
209
|
};
|
|
210
210
|
Object.defineProperty(TimeXAxis.prototype, "breaks", {
|
|
211
211
|
get: function () {
|
|
212
|
-
return this.
|
|
212
|
+
return this.nq;
|
|
213
213
|
},
|
|
214
214
|
enumerable: false,
|
|
215
215
|
configurable: true
|
|
216
216
|
});
|
|
217
|
-
Object.defineProperty(TimeXAxis.prototype, "
|
|
217
|
+
Object.defineProperty(TimeXAxis.prototype, "n0", {
|
|
218
218
|
get: function () {
|
|
219
|
-
return this.
|
|
219
|
+
return this.nz;
|
|
220
220
|
},
|
|
221
221
|
set: function (a) {
|
|
222
|
-
var b = this.
|
|
222
|
+
var b = this.n0;
|
|
223
223
|
if (a != b) {
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
224
|
+
this.nz = a;
|
|
225
|
+
this.h2("LabellingMode", enumGetBox(TimeAxisLabellingMode_$type, b), enumGetBox(TimeAxisLabellingMode_$type, this.n0));
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
enumerable: false,
|
|
@@ -230,38 +230,38 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(TimeXAxis.prototype, "labelFormats", {
|
|
232
232
|
get: function () {
|
|
233
|
-
return this.
|
|
233
|
+
return this.nx;
|
|
234
234
|
},
|
|
235
235
|
enumerable: false,
|
|
236
236
|
configurable: true
|
|
237
237
|
});
|
|
238
|
-
TimeXAxis.prototype.
|
|
239
|
-
_super.prototype.
|
|
238
|
+
TimeXAxis.prototype.hw = function (a, b, c, d) {
|
|
239
|
+
_super.prototype.hw.call(this, a, b, c, d);
|
|
240
240
|
switch (b) {
|
|
241
241
|
case "ActualMaximumValue":
|
|
242
|
-
this.
|
|
242
|
+
this.ox();
|
|
243
243
|
break;
|
|
244
244
|
case "DateTimeColumn":
|
|
245
|
-
this.
|
|
245
|
+
this.ot = this.or();
|
|
246
246
|
break;
|
|
247
247
|
case "LabellingMode":
|
|
248
|
-
this.
|
|
248
|
+
this.h8(false);
|
|
249
249
|
break;
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
|
+
TimeXAxis.prototype.iq = function (a, b) {
|
|
253
|
+
_super.prototype.iq.call(this, a, b);
|
|
254
|
+
this.ow();
|
|
255
|
+
this.ni();
|
|
256
|
+
};
|
|
252
257
|
TimeXAxis.prototype.ip = function (a, b) {
|
|
253
258
|
_super.prototype.ip.call(this, a, b);
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
};
|
|
257
|
-
TimeXAxis.prototype.io = function (a, b) {
|
|
258
|
-
_super.prototype.io.call(this, a, b);
|
|
259
|
-
this.ov();
|
|
260
|
-
this.nh();
|
|
259
|
+
this.ow();
|
|
260
|
+
this.ni();
|
|
261
261
|
};
|
|
262
|
-
TimeXAxis.prototype.
|
|
263
|
-
var a = _super.prototype.
|
|
264
|
-
this.
|
|
262
|
+
TimeXAxis.prototype.c3 = function () {
|
|
263
|
+
var a = _super.prototype.c3.call(this);
|
|
264
|
+
this.ow();
|
|
265
265
|
return a;
|
|
266
266
|
};
|
|
267
267
|
Object.defineProperty(TimeXAxis.prototype, "omission", {
|
|
@@ -274,9 +274,9 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
274
274
|
enumerable: false,
|
|
275
275
|
configurable: true
|
|
276
276
|
});
|
|
277
|
-
TimeXAxis.prototype.
|
|
277
|
+
TimeXAxis.prototype.ox = function () {
|
|
278
278
|
var e_2, _a;
|
|
279
|
-
var a = this.
|
|
279
|
+
var a = this.n3(this.breaks);
|
|
280
280
|
var b = (0);
|
|
281
281
|
try {
|
|
282
282
|
for (var _b = __values(fromEnum(a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -299,7 +299,7 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
299
299
|
}
|
|
300
300
|
this.omission = b;
|
|
301
301
|
};
|
|
302
|
-
TimeXAxis.prototype.
|
|
302
|
+
TimeXAxis.prototype.n3 = function (a) {
|
|
303
303
|
var e_3, _a;
|
|
304
304
|
var b = new List$1(TimeAxisBreak.$, 0);
|
|
305
305
|
if (a == null || +(this.actualMaximumValue) == +(dateMaxValue())) {
|
|
@@ -313,7 +313,7 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
313
313
|
var d = +(c.c) - +(c.d);
|
|
314
314
|
var e_4 = dateAdd(+(c.d), +(c.i));
|
|
315
315
|
var _loop_2 = function () {
|
|
316
|
-
var f = this_1.
|
|
316
|
+
var f = this_1.n9(e_4, d);
|
|
317
317
|
var g = ((function () {
|
|
318
318
|
var $ret = new TimeAxisBreak();
|
|
319
319
|
$ret.d = e_4;
|
|
@@ -326,7 +326,7 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
326
326
|
if (dateSubtract(+(dateMaxValue()), +(c.i)) < g.d) {
|
|
327
327
|
return "break";
|
|
328
328
|
}
|
|
329
|
-
e_4 = this_1.
|
|
329
|
+
e_4 = this_1.n9(g.d, c.i);
|
|
330
330
|
};
|
|
331
331
|
while (e_4 <= this_1.actualMaximumValue) {
|
|
332
332
|
var state_1 = _loop_2();
|
|
@@ -357,21 +357,21 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
357
357
|
}
|
|
358
358
|
return b;
|
|
359
359
|
};
|
|
360
|
-
TimeXAxis.prototype.
|
|
360
|
+
TimeXAxis.prototype.n9 = function (a, b) {
|
|
361
361
|
var c = dateFromTicks(a.getTime());
|
|
362
362
|
c.setMilliseconds(c.getMilliseconds() + b);
|
|
363
363
|
return c;
|
|
364
364
|
};
|
|
365
|
-
TimeXAxis.prototype.
|
|
365
|
+
TimeXAxis.prototype.ow = function () {
|
|
366
366
|
var e_5, _a;
|
|
367
|
-
this.
|
|
368
|
-
if (+(this.actualMaximumValue) == +(dateMaxValue()) || this.breaks == null || this.breaks.count == 0 || this.
|
|
367
|
+
this.no = new OrderedDictionary$2(TimeAxisBreak.$, Number_$type);
|
|
368
|
+
if (+(this.actualMaximumValue) == +(dateMaxValue()) || this.breaks == null || this.breaks.count == 0 || this.bi == null) {
|
|
369
369
|
return;
|
|
370
370
|
}
|
|
371
|
-
var a = new List$1(TimeAxisBreak.$, 1, this.
|
|
371
|
+
var a = new List$1(TimeAxisBreak.$, 1, this.n3(this.breaks));
|
|
372
372
|
a.aa(function (b, c) { return b.d < c.d ? -1 : b.d > c.d ? 1 : 0; });
|
|
373
|
-
var b = this.
|
|
374
|
-
var c = new ScalerParams(0, this.
|
|
373
|
+
var b = this.bi.tj;
|
|
374
|
+
var c = new ScalerParams(0, this.bi.tj, this.bi.ty, this.ch, this.bi.tn);
|
|
375
375
|
var d = +(this.actualMaximumValue) - +(this.actualMinimumValue) - this.omission;
|
|
376
376
|
var e = 0;
|
|
377
377
|
try {
|
|
@@ -382,7 +382,7 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
382
382
|
if (h < 0 || g - e > 1) {
|
|
383
383
|
continue;
|
|
384
384
|
}
|
|
385
|
-
this.
|
|
385
|
+
this.no.addItem(f, g - e);
|
|
386
386
|
e += (h - g);
|
|
387
387
|
}
|
|
388
388
|
}
|
|
@@ -400,47 +400,47 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
};
|
|
403
|
-
TimeXAxis.prototype.
|
|
403
|
+
TimeXAxis.prototype.gd = function (a) {
|
|
404
404
|
if (isNaN_(a)) {
|
|
405
405
|
return null;
|
|
406
406
|
}
|
|
407
407
|
var ticks_ = truncate(a);
|
|
408
408
|
var b = (new Date(ticks_));
|
|
409
|
-
var c = this.
|
|
409
|
+
var c = this.fz(b);
|
|
410
410
|
if (c == null) {
|
|
411
411
|
return null;
|
|
412
412
|
}
|
|
413
413
|
return c.toString();
|
|
414
414
|
};
|
|
415
|
-
TimeXAxis.prototype.
|
|
415
|
+
TimeXAxis.prototype.fz = function (a) {
|
|
416
416
|
if (!(typeCast(Date_$type, a) !== null)) {
|
|
417
|
-
return _super.prototype.
|
|
417
|
+
return _super.prototype.fz.call(this, a);
|
|
418
418
|
}
|
|
419
419
|
var b = dateMinValue();
|
|
420
420
|
var c = false;
|
|
421
|
-
if (this.
|
|
422
|
-
if (typeCast(Date_$type, this.
|
|
423
|
-
b = this.
|
|
421
|
+
if (this.oi != null) {
|
|
422
|
+
if (typeCast(Date_$type, this.oi) !== null) {
|
|
423
|
+
b = this.oi;
|
|
424
424
|
c = true;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
var d = TimeXAxis.
|
|
428
|
-
return d == null ? _super.prototype.
|
|
427
|
+
var d = TimeXAxis.oh(a, c, b, this.n0, this.ov, this.labelFormats, this.fk);
|
|
428
|
+
return d == null ? _super.prototype.fz.call(this, a) : d;
|
|
429
429
|
};
|
|
430
|
-
TimeXAxis.
|
|
431
|
-
var h = TimeXAxis.
|
|
430
|
+
TimeXAxis.oh = function (a, b, c, d, e, f, g) {
|
|
431
|
+
var h = TimeXAxis.om(a, b, c, d, e, f, g);
|
|
432
432
|
return dateToStringFormat(a, h, g);
|
|
433
433
|
};
|
|
434
|
-
TimeXAxis.
|
|
434
|
+
TimeXAxis.om = function (a, b, c, d, e, f, g) {
|
|
435
435
|
var e_6, _a;
|
|
436
436
|
var h = 0;
|
|
437
437
|
if (b) {
|
|
438
|
-
h = TimeXAxis.
|
|
438
|
+
h = TimeXAxis.n1(a, c);
|
|
439
439
|
}
|
|
440
440
|
var i = null;
|
|
441
441
|
var j;
|
|
442
442
|
if (f == null || f.count == 0) {
|
|
443
|
-
j = TimeXAxis.
|
|
443
|
+
j = TimeXAxis.ol(e, h, d);
|
|
444
444
|
}
|
|
445
445
|
else {
|
|
446
446
|
var k = Number.MAX_VALUE;
|
|
@@ -520,7 +520,7 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
520
520
|
}
|
|
521
521
|
return j;
|
|
522
522
|
};
|
|
523
|
-
TimeXAxis.
|
|
523
|
+
TimeXAxis.n1 = function (a, b) {
|
|
524
524
|
if (a.getFullYear() == b.getFullYear() && dateGetMonth(a) == dateGetMonth(b) && a.getDate() == b.getDate()) {
|
|
525
525
|
return 3;
|
|
526
526
|
}
|
|
@@ -532,23 +532,23 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
532
532
|
}
|
|
533
533
|
return 0;
|
|
534
534
|
};
|
|
535
|
-
TimeXAxis.prototype.
|
|
536
|
-
return _super.prototype.
|
|
535
|
+
TimeXAxis.prototype.get_ml = function () {
|
|
536
|
+
return _super.prototype.get_ml.call(this) || (this.intervals != null && this.intervals.count > 0);
|
|
537
537
|
};
|
|
538
|
-
TimeXAxis.prototype.
|
|
539
|
-
_super.prototype.
|
|
538
|
+
TimeXAxis.prototype.set_ml = function (a) {
|
|
539
|
+
_super.prototype.set_ml.call(this, a);
|
|
540
540
|
};
|
|
541
541
|
Object.defineProperty(TimeXAxis.prototype, "intervals", {
|
|
542
542
|
get: function () {
|
|
543
|
-
return this.
|
|
543
|
+
return this.nv;
|
|
544
544
|
},
|
|
545
545
|
enumerable: false,
|
|
546
546
|
configurable: true
|
|
547
547
|
});
|
|
548
|
-
TimeXAxis.prototype.
|
|
549
|
-
return TimeXAxis.
|
|
548
|
+
TimeXAxis.prototype.ok = function (a, b) {
|
|
549
|
+
return TimeXAxis.ol(this.ov, a, b);
|
|
550
550
|
};
|
|
551
|
-
TimeXAxis.
|
|
551
|
+
TimeXAxis.ol = function (a, b, c) {
|
|
552
552
|
if (c != 2) {
|
|
553
553
|
b = 0;
|
|
554
554
|
}
|
|
@@ -586,9 +586,9 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
586
586
|
}
|
|
587
587
|
return "hh:mm:ss";
|
|
588
588
|
};
|
|
589
|
-
TimeXAxis.
|
|
590
|
-
if (TimeXAxis.
|
|
591
|
-
TimeXAxis.
|
|
589
|
+
TimeXAxis.np = function () {
|
|
590
|
+
if (TimeXAxis.nn == null) {
|
|
591
|
+
TimeXAxis.nn = ((function () {
|
|
592
592
|
var $ret = new OrderedDictionary$2(Number_$type, TimeAxisInterval.$);
|
|
593
593
|
$ret.addItem((0), ((function () {
|
|
594
594
|
var $ret = new TimeAxisInterval();
|
|
@@ -683,19 +683,19 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
683
683
|
return $ret;
|
|
684
684
|
})());
|
|
685
685
|
}
|
|
686
|
-
return TimeXAxis.
|
|
686
|
+
return TimeXAxis.nn;
|
|
687
687
|
};
|
|
688
|
-
TimeXAxis.prototype.
|
|
688
|
+
TimeXAxis.prototype.nt = function () {
|
|
689
689
|
var e_7, _a;
|
|
690
|
-
if (this.
|
|
691
|
-
var a = this.
|
|
692
|
-
var b = this.
|
|
690
|
+
if (this.c4 && (this.az == null || this.az.angle == 0)) {
|
|
691
|
+
var a = this.ex();
|
|
692
|
+
var b = this.kd.width;
|
|
693
693
|
var c = truncate(Math.floor(b / a));
|
|
694
694
|
var d = Number.MAX_VALUE;
|
|
695
|
-
var e = c == 0 ? d : timeSpanFromTicks((intDivide(timeSpanTicks(this.
|
|
695
|
+
var e = c == 0 ? d : timeSpanFromTicks((intDivide(timeSpanTicks(this.ov), c)));
|
|
696
696
|
var f = null;
|
|
697
697
|
try {
|
|
698
|
-
for (var _b = __values(fromEnum(TimeXAxis.
|
|
698
|
+
for (var _b = __values(fromEnum(TimeXAxis.np())), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
699
699
|
var g = _c.value;
|
|
700
700
|
f = g.value;
|
|
701
701
|
if (g.key > e) {
|
|
@@ -716,14 +716,14 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
716
716
|
throw e_7.error;
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
|
-
var h = this.
|
|
719
|
+
var h = this.ns;
|
|
720
720
|
if (h != f) {
|
|
721
|
-
this.
|
|
721
|
+
this.id();
|
|
722
722
|
}
|
|
723
|
-
this.
|
|
723
|
+
this.ns = f;
|
|
724
724
|
return f;
|
|
725
725
|
}
|
|
726
|
-
var i = this.
|
|
726
|
+
var i = this.ov;
|
|
727
727
|
if (i == (0)) {
|
|
728
728
|
return ((function () {
|
|
729
729
|
var $ret = new TimeAxisInterval();
|
|
@@ -835,12 +835,12 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
835
835
|
return $ret;
|
|
836
836
|
})());
|
|
837
837
|
};
|
|
838
|
-
TimeXAxis.prototype.
|
|
838
|
+
TimeXAxis.prototype.nu = function () {
|
|
839
839
|
var e_8, _a;
|
|
840
840
|
if (this.intervals == null || this.intervals.count == 0) {
|
|
841
|
-
return this.
|
|
841
|
+
return this.nt();
|
|
842
842
|
}
|
|
843
|
-
if (this.
|
|
843
|
+
if (this.ov == (0)) {
|
|
844
844
|
return ((function () {
|
|
845
845
|
var $ret = new TimeAxisInterval();
|
|
846
846
|
$ret.b = 8;
|
|
@@ -852,7 +852,7 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
852
852
|
try {
|
|
853
853
|
for (var _b = __values(fromEnum(this.intervals)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
854
854
|
var b = _c.value;
|
|
855
|
-
if (b.k > this.
|
|
855
|
+
if (b.k > this.ov) {
|
|
856
856
|
continue;
|
|
857
857
|
}
|
|
858
858
|
if (a == null || b.k > a.k) {
|
|
@@ -873,25 +873,25 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
873
873
|
throw e_8.error;
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
|
-
return a == null ? this.
|
|
876
|
+
return a == null ? this.nt() : a;
|
|
877
877
|
};
|
|
878
|
-
TimeXAxis.prototype.
|
|
879
|
-
_super.prototype.
|
|
880
|
-
var b = this.
|
|
881
|
-
var c = !b.isEmpty ? this.
|
|
882
|
-
var d = this.
|
|
883
|
-
var e = this.
|
|
884
|
-
var f = new ScalerParams(0, b, c, this.
|
|
885
|
-
if (this.
|
|
878
|
+
TimeXAxis.prototype.h9 = function (a) {
|
|
879
|
+
_super.prototype.h9.call(this, a);
|
|
880
|
+
var b = this.bi != null ? this.bi.tj : Rect.empty;
|
|
881
|
+
var c = !b.isEmpty ? this.kd : Rect.empty;
|
|
882
|
+
var d = this.j8();
|
|
883
|
+
var e = this.j7();
|
|
884
|
+
var f = new ScalerParams(0, b, c, this.ch, d);
|
|
885
|
+
if (this.mh == null && !this.mn() && !this.mo()) {
|
|
886
886
|
return;
|
|
887
887
|
}
|
|
888
888
|
if (!b.isEmpty && !c.isEmpty) {
|
|
889
889
|
var g = c.bottom;
|
|
890
890
|
var h = g - c.top;
|
|
891
|
-
if (this.
|
|
892
|
-
var i = typeCast(NumericYAxis.$, this.
|
|
891
|
+
if (this.aj != null) {
|
|
892
|
+
var i = typeCast(NumericYAxis.$, this.aj);
|
|
893
893
|
if (i != null) {
|
|
894
|
-
var j = this.
|
|
894
|
+
var j = this.ie(g, h, b, c, d, c.top, c.bottom);
|
|
895
895
|
g = j.p0;
|
|
896
896
|
h = j.p1;
|
|
897
897
|
}
|
|
@@ -899,21 +899,21 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
899
899
|
if (isNaN_(g)) {
|
|
900
900
|
g = 0;
|
|
901
901
|
}
|
|
902
|
-
this.
|
|
903
|
-
this.
|
|
902
|
+
this.hq(this.a5.a1(), g, c, this.a5.e(), true);
|
|
903
|
+
this.aw.bg = h;
|
|
904
904
|
var k = truncate(Math.ceil(e.right));
|
|
905
905
|
var l = truncate(Math.floor(e.left));
|
|
906
|
-
var m = this.
|
|
907
|
-
var n = this.
|
|
908
|
-
var o = this.
|
|
909
|
-
this.
|
|
910
|
-
var p = new List$1(Date_$type, 1, this.
|
|
906
|
+
var m = this.a5.a4();
|
|
907
|
+
var n = this.a5.f();
|
|
908
|
+
var o = this.a5.a2();
|
|
909
|
+
this.ni();
|
|
910
|
+
var p = new List$1(Date_$type, 1, this.n2());
|
|
911
911
|
var q = new List$1(Number_$type, 0);
|
|
912
912
|
for (var r = 0; r < p.count; r++) {
|
|
913
913
|
q.add(p._inner[r].getTime());
|
|
914
914
|
}
|
|
915
|
-
this.
|
|
916
|
-
this.
|
|
915
|
+
this.hn(q, 0, q.count, f);
|
|
916
|
+
this.oi = null;
|
|
917
917
|
for (var s = 0; s < p.count; s++) {
|
|
918
918
|
var t = p._inner[s];
|
|
919
919
|
var u = q._inner[s];
|
|
@@ -921,41 +921,41 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
921
921
|
if (v <= k) {
|
|
922
922
|
if (s % 2 == 0) {
|
|
923
923
|
var w = s < q.count - 1 ? q._inner[s + 1] : e.right;
|
|
924
|
-
this.
|
|
924
|
+
this.io(m, u, w, c);
|
|
925
925
|
}
|
|
926
|
-
this.
|
|
927
|
-
this.
|
|
926
|
+
this.im(o, u, c, n, false);
|
|
927
|
+
this.ky.add(u);
|
|
928
928
|
}
|
|
929
929
|
if (v >= l && v <= k) {
|
|
930
|
-
var x = this.
|
|
931
|
-
this.
|
|
930
|
+
var x = this.fz(t);
|
|
931
|
+
this.oi = t;
|
|
932
932
|
if (x != null) {
|
|
933
|
-
this.
|
|
934
|
-
this.
|
|
933
|
+
this.dc.add1(x);
|
|
934
|
+
this.dd.add(new LabelPosition(u));
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
|
-
this.
|
|
938
|
+
this.oi = null;
|
|
939
939
|
}
|
|
940
|
-
if ((this.
|
|
941
|
-
if (this.
|
|
942
|
-
this.
|
|
940
|
+
if ((this.az == null || this.az.visibility == 0) && this.aj != null) {
|
|
941
|
+
if (this.az != null && (this.az.location == 4 || this.az.location == 5)) {
|
|
942
|
+
this.bi.md();
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
|
-
this.
|
|
946
|
-
this.
|
|
947
|
-
this.
|
|
948
|
-
this.
|
|
945
|
+
this.aw.a9 = this.dc;
|
|
946
|
+
this.aw.ba = this.dd;
|
|
947
|
+
this.aw.cl();
|
|
948
|
+
this.l4();
|
|
949
949
|
};
|
|
950
|
-
TimeXAxis.prototype.
|
|
951
|
-
var a = this.
|
|
952
|
-
var b = !a.isEmpty ? this.
|
|
953
|
-
var c = this.
|
|
954
|
-
var d = this.
|
|
955
|
-
var e = new ScalerParams(0, a, b, this.
|
|
956
|
-
var f = this.
|
|
957
|
-
var g = this.
|
|
958
|
-
if (!this.
|
|
950
|
+
TimeXAxis.prototype.n2 = function () {
|
|
951
|
+
var a = this.bi != null ? this.bi.tj : Rect.empty;
|
|
952
|
+
var b = !a.isEmpty ? this.kd : Rect.empty;
|
|
953
|
+
var c = this.j8();
|
|
954
|
+
var d = this.j7();
|
|
955
|
+
var e = new ScalerParams(0, a, b, this.ch, c);
|
|
956
|
+
var f = this.nu();
|
|
957
|
+
var g = this.ob;
|
|
958
|
+
if (!this.mo() && f != null) {
|
|
959
959
|
if (f.b == 7 && g.getDate() != 1) {
|
|
960
960
|
g = dateAddMonths(g, 1);
|
|
961
961
|
g = dateFromValues(g.getFullYear(), dateGetMonth(g), 1, 0, 0, 0, 0);
|
|
@@ -976,7 +976,7 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
976
976
|
return h;
|
|
977
977
|
}
|
|
978
978
|
while (g <= this.visibleMaximum && i++ < j) {
|
|
979
|
-
var k = this.
|
|
979
|
+
var k = this.n4(g);
|
|
980
980
|
var l = g;
|
|
981
981
|
if (k.key != null) {
|
|
982
982
|
l = f.d(k.key.c);
|
|
@@ -988,13 +988,13 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
988
988
|
}
|
|
989
989
|
return h;
|
|
990
990
|
};
|
|
991
|
-
TimeXAxis.prototype.
|
|
991
|
+
TimeXAxis.prototype.n4 = function (a) {
|
|
992
992
|
var e_9, _a;
|
|
993
|
-
if (this.
|
|
993
|
+
if (this.no == null) {
|
|
994
994
|
return new KeyValuePair$2(TimeAxisBreak.$, Number_$type);
|
|
995
995
|
}
|
|
996
996
|
try {
|
|
997
|
-
for (var _b = __values(fromEnum(this.
|
|
997
|
+
for (var _b = __values(fromEnum(this.no)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
998
998
|
var b = _c.value;
|
|
999
999
|
if (b.key.d <= a && b.key.c >= a) {
|
|
1000
1000
|
return b;
|
|
@@ -1018,51 +1018,51 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1018
1018
|
};
|
|
1019
1019
|
Object.defineProperty(TimeXAxis.prototype, "visibleMinimum", {
|
|
1020
1020
|
get: function () {
|
|
1021
|
-
return this.
|
|
1021
|
+
return this.n8;
|
|
1022
1022
|
},
|
|
1023
1023
|
set: function (a) {
|
|
1024
|
-
this.
|
|
1024
|
+
this.n8 = a;
|
|
1025
1025
|
},
|
|
1026
1026
|
enumerable: false,
|
|
1027
1027
|
configurable: true
|
|
1028
1028
|
});
|
|
1029
|
-
Object.defineProperty(TimeXAxis.prototype, "
|
|
1029
|
+
Object.defineProperty(TimeXAxis.prototype, "ob", {
|
|
1030
1030
|
get: function () {
|
|
1031
|
-
return this.
|
|
1031
|
+
return this.n6;
|
|
1032
1032
|
},
|
|
1033
1033
|
set: function (a) {
|
|
1034
|
-
this.
|
|
1034
|
+
this.n6 = a;
|
|
1035
1035
|
},
|
|
1036
1036
|
enumerable: false,
|
|
1037
1037
|
configurable: true
|
|
1038
1038
|
});
|
|
1039
|
-
Object.defineProperty(TimeXAxis.prototype, "
|
|
1039
|
+
Object.defineProperty(TimeXAxis.prototype, "oa", {
|
|
1040
1040
|
get: function () {
|
|
1041
|
-
return this.
|
|
1041
|
+
return this.n5;
|
|
1042
1042
|
},
|
|
1043
1043
|
set: function (a) {
|
|
1044
|
-
this.
|
|
1044
|
+
this.n5 = a;
|
|
1045
1045
|
},
|
|
1046
1046
|
enumerable: false,
|
|
1047
1047
|
configurable: true
|
|
1048
1048
|
});
|
|
1049
1049
|
Object.defineProperty(TimeXAxis.prototype, "visibleMaximum", {
|
|
1050
1050
|
get: function () {
|
|
1051
|
-
return this.
|
|
1051
|
+
return this.n7;
|
|
1052
1052
|
},
|
|
1053
1053
|
set: function (a) {
|
|
1054
|
-
this.
|
|
1054
|
+
this.n7 = a;
|
|
1055
1055
|
},
|
|
1056
1056
|
enumerable: false,
|
|
1057
1057
|
configurable: true
|
|
1058
1058
|
});
|
|
1059
|
-
TimeXAxis.prototype.
|
|
1060
|
-
_super.prototype.
|
|
1061
|
-
if (this.
|
|
1059
|
+
TimeXAxis.prototype.ni = function () {
|
|
1060
|
+
_super.prototype.ni.call(this);
|
|
1061
|
+
if (this.bi == null || !Extensions.b(this.bi.ty)) {
|
|
1062
1062
|
return;
|
|
1063
1063
|
}
|
|
1064
|
-
var a = new ScalerParams(0, this.
|
|
1065
|
-
var b = this.
|
|
1064
|
+
var a = new ScalerParams(0, this.bi.tj, this.bi.ty, this.ch, this.bi.tn);
|
|
1065
|
+
var b = this.j7();
|
|
1066
1066
|
var c = b.left;
|
|
1067
1067
|
var d = b.right;
|
|
1068
1068
|
var e = b.left;
|
|
@@ -1072,12 +1072,12 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1072
1072
|
e += g / 2;
|
|
1073
1073
|
f -= g / 2;
|
|
1074
1074
|
}
|
|
1075
|
-
var h = truncate(this.
|
|
1076
|
-
var i = truncate(this.
|
|
1077
|
-
var j = truncate(this.
|
|
1078
|
-
var k = truncate(this.
|
|
1075
|
+
var h = truncate(this.em(c, a));
|
|
1076
|
+
var i = truncate(this.em(d, a));
|
|
1077
|
+
var j = truncate(this.em(e, a));
|
|
1078
|
+
var k = truncate(this.em(f, a));
|
|
1079
1079
|
if (j < 0 || k < 0) {
|
|
1080
|
-
this.
|
|
1080
|
+
this.ov = (0);
|
|
1081
1081
|
return;
|
|
1082
1082
|
}
|
|
1083
1083
|
h = Math.min(dateMaxValue().getTime(), h);
|
|
@@ -1093,14 +1093,14 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1093
1093
|
var p = +(this.visibleMinimum) != +n || +(this.visibleMaximum) != +o;
|
|
1094
1094
|
this.visibleMinimum = n;
|
|
1095
1095
|
this.visibleMaximum = o;
|
|
1096
|
-
this.
|
|
1097
|
-
this.
|
|
1096
|
+
this.ob = l;
|
|
1097
|
+
this.oa = m;
|
|
1098
1098
|
if (p && this.visibleRangeChanged != null) {
|
|
1099
1099
|
this.visibleRangeChanged(this, EventArgs.empty);
|
|
1100
1100
|
}
|
|
1101
|
-
this.
|
|
1101
|
+
this.ov = +(this.visibleMaximum) - +(this.visibleMinimum);
|
|
1102
1102
|
};
|
|
1103
|
-
TimeXAxis.prototype.
|
|
1103
|
+
TimeXAxis.prototype.k6 = function (a, b, c, d, e) {
|
|
1104
1104
|
return 0;
|
|
1105
1105
|
};
|
|
1106
1106
|
TimeXAxis.prototype.i$f = function (a) {
|
|
@@ -1108,10 +1108,10 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1108
1108
|
if (b.i$b == null || b.i$b.count == 0) {
|
|
1109
1109
|
return -1;
|
|
1110
1110
|
}
|
|
1111
|
-
var c = new SortedListView$1(Date_$type, this.
|
|
1111
|
+
var c = new SortedListView$1(Date_$type, this.mh, b.i$b);
|
|
1112
1112
|
var ticks_ = a;
|
|
1113
1113
|
var d = (new Date(ticks_));
|
|
1114
|
-
var e = this.
|
|
1114
|
+
var e = this.m1(d, c);
|
|
1115
1115
|
e = Math.max(0, Math.min(b.i$b.count - 1, e));
|
|
1116
1116
|
var f = c.item(e);
|
|
1117
1117
|
var g;
|
|
@@ -1132,35 +1132,35 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
var i = c.item(g);
|
|
1134
1134
|
var j = c.item(h);
|
|
1135
|
-
var k = new ScalerParams(0, this.
|
|
1135
|
+
var k = new ScalerParams(0, this.bi.tz, this.kd, this.ch, this.bi.tn);
|
|
1136
1136
|
this.startCursor();
|
|
1137
|
-
var l = this.
|
|
1138
|
-
var m = this.
|
|
1139
|
-
var n = this.
|
|
1137
|
+
var l = this.ej(i.getTime(), k);
|
|
1138
|
+
var m = this.ej(a, k);
|
|
1139
|
+
var n = this.ej(j.getTime(), k);
|
|
1140
1140
|
this.resetCursor();
|
|
1141
|
-
if (i < this.
|
|
1142
|
-
return this.
|
|
1141
|
+
if (i < this.ob && j <= this.oa) {
|
|
1142
|
+
return this.mq._inner[h];
|
|
1143
1143
|
}
|
|
1144
|
-
if (j > this.
|
|
1145
|
-
return this.
|
|
1144
|
+
if (j > this.oa && i >= this.ob) {
|
|
1145
|
+
return this.mq._inner[g];
|
|
1146
1146
|
}
|
|
1147
1147
|
if (Math.abs(l - m) < Math.abs(n - m)) {
|
|
1148
|
-
return this.
|
|
1148
|
+
return this.mq._inner[g];
|
|
1149
1149
|
}
|
|
1150
1150
|
else {
|
|
1151
|
-
return this.
|
|
1151
|
+
return this.mq._inner[h];
|
|
1152
1152
|
}
|
|
1153
1153
|
};
|
|
1154
|
-
TimeXAxis.prototype.
|
|
1154
|
+
TimeXAxis.prototype.oy = function (a, b) {
|
|
1155
1155
|
var e_10, _a;
|
|
1156
|
+
this.ox();
|
|
1156
1157
|
this.ow();
|
|
1157
|
-
this.
|
|
1158
|
-
|
|
1159
|
-
this.av.al = this.breaks.count > 0;
|
|
1158
|
+
if (this.aw != null) {
|
|
1159
|
+
this.aw.al = this.breaks.count > 0;
|
|
1160
1160
|
}
|
|
1161
|
-
this.
|
|
1161
|
+
this.h8(false);
|
|
1162
1162
|
try {
|
|
1163
|
-
for (var _b = __values(fromEnum(this.
|
|
1163
|
+
for (var _b = __values(fromEnum(this.db())), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1164
1164
|
var c = _c.value;
|
|
1165
1165
|
c.mn(false);
|
|
1166
1166
|
}
|
|
@@ -1179,13 +1179,13 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
}
|
|
1181
1181
|
};
|
|
1182
|
-
TimeXAxis.prototype.
|
|
1183
|
-
this.
|
|
1182
|
+
TimeXAxis.prototype.o0 = function (a, b) {
|
|
1183
|
+
this.h8(false);
|
|
1184
1184
|
};
|
|
1185
|
-
TimeXAxis.prototype.
|
|
1186
|
-
this.
|
|
1185
|
+
TimeXAxis.prototype.oz = function (a, b) {
|
|
1186
|
+
this.h8(false);
|
|
1187
1187
|
};
|
|
1188
|
-
TimeXAxis.prototype.
|
|
1188
|
+
TimeXAxis.prototype.get_cc = function () {
|
|
1189
1189
|
return false;
|
|
1190
1190
|
};
|
|
1191
1191
|
TimeXAxis.prototype.getWindowRectForSelection = function (a, b) {
|
|
@@ -1196,15 +1196,15 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1196
1196
|
return new Rect(0, d, NaN, Math.max(0, e - d), NaN);
|
|
1197
1197
|
};
|
|
1198
1198
|
TimeXAxis.prototype.getCategorySize = function (a, b, c) {
|
|
1199
|
-
if (this.
|
|
1200
|
-
var d = timeSpanFromTicks(truncate((timeSpanTicks(this.
|
|
1201
|
-
var e = timeSpanTicks(d) / timeSpanTicks(this.
|
|
1199
|
+
if (this.ov != (0)) {
|
|
1200
|
+
var d = timeSpanFromTicks(truncate((timeSpanTicks(this.ov) * (a.width / (this.bi != null ? this.bi.tj.width : 1)))));
|
|
1201
|
+
var e = timeSpanTicks(d) / timeSpanTicks(this.ot);
|
|
1202
1202
|
var f = b.width / 4;
|
|
1203
1203
|
return Math.min(f, b.width / (e + 1));
|
|
1204
1204
|
}
|
|
1205
1205
|
return _super.prototype.getCategorySize.call(this, a, b, c);
|
|
1206
1206
|
};
|
|
1207
|
-
TimeXAxis.
|
|
1207
|
+
TimeXAxis.os = function (a, b) {
|
|
1208
1208
|
var c = Math.min(5, b);
|
|
1209
1209
|
var d = a(0);
|
|
1210
1210
|
var e = new Dictionary$2(Number_$type, Number_$type, 0);
|
|
@@ -1225,70 +1225,73 @@ var TimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1225
1225
|
}
|
|
1226
1226
|
return g;
|
|
1227
1227
|
};
|
|
1228
|
-
TimeXAxis.prototype.
|
|
1228
|
+
TimeXAxis.prototype.or = function () {
|
|
1229
1229
|
var _this = this;
|
|
1230
|
-
if (this.
|
|
1230
|
+
if (this.mh == null || this.mh.count < 2 || this.mq == null) {
|
|
1231
1231
|
return (0);
|
|
1232
1232
|
}
|
|
1233
|
-
return TimeXAxis.
|
|
1233
|
+
return TimeXAxis.os(function (a) { return _this.mh.item(_this.mq._inner[a]); }, this.mh.count);
|
|
1234
1234
|
};
|
|
1235
|
-
TimeXAxis.prototype.
|
|
1236
|
-
_super.prototype.
|
|
1237
|
-
this.
|
|
1235
|
+
TimeXAxis.prototype.ne = function () {
|
|
1236
|
+
_super.prototype.ne.call(this);
|
|
1237
|
+
this.ot = this.or();
|
|
1238
1238
|
};
|
|
1239
|
-
TimeXAxis.
|
|
1239
|
+
TimeXAxis.oo = function (a) {
|
|
1240
1240
|
if (a >= timeSpanFromDays(1)) {
|
|
1241
1241
|
return "D";
|
|
1242
1242
|
}
|
|
1243
1243
|
return "g";
|
|
1244
1244
|
};
|
|
1245
1245
|
TimeXAxis.prototype.itemLabelFormat = function () {
|
|
1246
|
-
return TimeXAxis.
|
|
1246
|
+
return TimeXAxis.oo(this.ot);
|
|
1247
1247
|
};
|
|
1248
|
-
TimeXAxis.prototype.
|
|
1249
|
-
return this.
|
|
1248
|
+
TimeXAxis.prototype.m0 = function (a, b, c, d) {
|
|
1249
|
+
return this.mz(this.visibleMinimum);
|
|
1250
1250
|
};
|
|
1251
|
-
TimeXAxis.prototype.
|
|
1252
|
-
return this.
|
|
1251
|
+
TimeXAxis.prototype.m3 = function (a, b, c, d) {
|
|
1252
|
+
return this.m2(this.visibleMaximum);
|
|
1253
1253
|
};
|
|
1254
1254
|
Object.defineProperty(TimeXAxis.prototype, "isVertical", {
|
|
1255
1255
|
get: function () {
|
|
1256
|
-
return this.
|
|
1256
|
+
return this.cp;
|
|
1257
1257
|
},
|
|
1258
1258
|
enumerable: false,
|
|
1259
1259
|
configurable: true
|
|
1260
1260
|
});
|
|
1261
|
-
TimeXAxis.prototype.j$
|
|
1262
|
-
return this.
|
|
1263
|
-
};
|
|
1264
|
-
TimeXAxis.prototype.j$b = function (a, b) {
|
|
1265
|
-
return this.ei.apply(this, arguments);
|
|
1261
|
+
TimeXAxis.prototype.j$d = function (a, b) {
|
|
1262
|
+
return this.em.apply(this, arguments);
|
|
1266
1263
|
};
|
|
1267
|
-
TimeXAxis.prototype.j$
|
|
1268
|
-
this.
|
|
1264
|
+
TimeXAxis.prototype.j$c = function (a, b) {
|
|
1265
|
+
return this.ej.apply(this, arguments);
|
|
1269
1266
|
};
|
|
1270
|
-
TimeXAxis.prototype.j$e = function (a, b, c, d) {
|
|
1267
|
+
TimeXAxis.prototype.j$e = function (a, b, c, d, e) {
|
|
1271
1268
|
this.hm.apply(this, arguments);
|
|
1272
1269
|
};
|
|
1273
1270
|
TimeXAxis.prototype.j$f = function (a, b, c, d) {
|
|
1274
1271
|
this.hn.apply(this, arguments);
|
|
1275
1272
|
};
|
|
1276
|
-
|
|
1273
|
+
TimeXAxis.prototype.j$g = function (a, b, c, d) {
|
|
1274
|
+
this.ho.apply(this, arguments);
|
|
1275
|
+
};
|
|
1276
|
+
Object.defineProperty(TimeXAxis.prototype, "j$b", {
|
|
1277
1277
|
get: function () {
|
|
1278
|
-
return this.
|
|
1278
|
+
return this.ch;
|
|
1279
1279
|
},
|
|
1280
1280
|
enumerable: false,
|
|
1281
1281
|
configurable: true
|
|
1282
1282
|
});
|
|
1283
|
+
TimeXAxis.prototype.j$a = function () {
|
|
1284
|
+
return this.ag.apply(this, arguments);
|
|
1285
|
+
};
|
|
1283
1286
|
Object.defineProperty(TimeXAxis.prototype, "i$a", {
|
|
1284
1287
|
get: function () {
|
|
1285
|
-
return this.
|
|
1288
|
+
return this.ce;
|
|
1286
1289
|
},
|
|
1287
1290
|
enumerable: false,
|
|
1288
1291
|
configurable: true
|
|
1289
1292
|
});
|
|
1290
1293
|
TimeXAxis.$t = markType(TimeXAxis, 'TimeXAxis', TimeAxisBase.$, [ITimeRangeSelectorAxis_$type]);
|
|
1291
|
-
TimeXAxis.
|
|
1294
|
+
TimeXAxis.nn = null;
|
|
1292
1295
|
return TimeXAxis;
|
|
1293
1296
|
}(TimeAxisBase));
|
|
1294
1297
|
export { TimeXAxis };
|