igniteui-webcomponents-charts 4.7.2-beta.0 → 4.7.2-beta.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/bundles/igniteui-webcomponents-charts.umd.js +6964 -7108
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AbsoluteVolumeOscillatorIndicator.js +1 -1
- package/esm2015/lib/AccumulationDistributionIndicator.js +1 -1
- package/esm2015/lib/AnchoredCategorySeriesInteractionManager.js +11 -11
- package/esm2015/lib/AnchoredCategorySeries_combined.js +19 -19
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +70 -70
- package/esm2015/lib/AnnotationLayer_combined.js +25 -25
- package/esm2015/lib/Arc_combined.js +148 -148
- package/esm2015/lib/AreaSeries_combined.js +9 -9
- package/esm2015/lib/AverageDirectionalIndexIndicator.js +1 -1
- package/esm2015/lib/AverageTrueRangeIndicator.js +1 -1
- package/esm2015/lib/AxisVisualDataManager.js +2 -2
- package/esm2015/lib/BarSeries_combined.js +23 -23
- package/esm2015/lib/BollingerBandWidthIndicator.js +1 -1
- package/esm2015/lib/BollingerBandsOverlay_combined.js +14 -14
- package/esm2015/lib/BubbleSeries_combined.js +32 -32
- package/esm2015/lib/CalloutLayer_combined.js +25 -25
- package/esm2015/lib/CategoryBucketCalculator_combined.js +98 -98
- package/esm2015/lib/CategoryChart.js +7 -7
- package/esm2015/lib/CategoryErrorBarSettings.js +2 -2
- package/esm2015/lib/CategoryHighlightLayer_combined.js +9 -9
- package/esm2015/lib/CategoryItemHighlightLayer_combined.js +22 -22
- package/esm2015/lib/CategorySeriesInteractionManager.js +24 -24
- package/esm2015/lib/CategoryToolTipLayer_combined.js +18 -18
- package/esm2015/lib/CategoryTransitionSourceFramePreparer.js +1 -1
- package/esm2015/lib/CategoryTrendLineManagerFactory.js +1 -1
- package/esm2015/lib/ChaikinOscillatorIndicator.js +1 -1
- package/esm2015/lib/ChaikinVolatilityIndicator.js +1 -1
- package/esm2015/lib/ColumnSeries_combined.js +10 -10
- package/esm2015/lib/CommodityChannelIndexIndicator.js +1 -1
- package/esm2015/lib/CrosshairLayer_combined.js +5 -5
- package/esm2015/lib/CustomIndicator.js +3 -3
- package/esm2015/lib/DataChartVisualDataManager.js +2 -2
- package/esm2015/lib/DataToolTipLayerFrame.js +1 -1
- package/esm2015/lib/DataToolTipLayer_combined.js +52 -52
- package/esm2015/lib/DetrendedPriceOscillatorIndicator.js +1 -1
- package/esm2015/lib/DomainChart_combined.js +28 -28
- package/esm2015/lib/EaseOfMovementIndicator.js +1 -1
- package/esm2015/lib/FastStochasticOscillatorIndicator.js +1 -1
- package/esm2015/lib/FinalValueLayer_combined.js +6 -6
- package/esm2015/lib/FinancialChart_combined.js +6 -6
- package/esm2015/lib/FinancialEventArgs_combined.js +127 -127
- package/esm2015/lib/FinancialIndicator_combined.js +42 -42
- package/esm2015/lib/FinancialOverlay.js +14 -14
- package/esm2015/lib/FinancialPriceSeriesProxy.js +1 -1
- package/esm2015/lib/FinancialPriceSeries_combined.js +54 -54
- package/esm2015/lib/ForceIndexIndicator.js +1 -1
- package/esm2015/lib/FullStochasticOscillatorIndicator.js +1 -1
- package/esm2015/lib/FunnelSliceEventArgs.js +10 -3
- package/esm2015/lib/HierarchicalRingSeries.js +1 -1
- package/esm2015/lib/HighDensityScatterSeries_combined.js +25 -25
- package/esm2015/lib/HorizontalAnchoredCategorySeries.js +20 -20
- package/esm2015/lib/HorizontalAnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm2015/lib/HorizontalRangeCategorySeries.js +22 -22
- package/esm2015/lib/IndicatorProxy.js +1 -1
- package/esm2015/lib/ItemToolTipLayer_combined.js +15 -15
- package/esm2015/lib/ItemTooltipLayerFrame.js +3 -3
- package/esm2015/lib/LineSeries_combined.js +5 -5
- package/esm2015/lib/LinearCategorySnapper.js +71 -29
- package/esm2015/lib/LinearNumericSnapper.js +18 -13
- package/esm2015/lib/MarketFacilitationIndexIndicator.js +1 -1
- package/esm2015/lib/MassIndexIndicator.js +1 -1
- package/esm2015/lib/MedianPriceIndicator.js +1 -1
- package/esm2015/lib/MoneyFlowIndexIndicator.js +1 -1
- package/esm2015/lib/MovingAverageConvergenceDivergenceIndicator.js +1 -1
- package/esm2015/lib/NegativeVolumeIndexIndicator.js +1 -1
- package/esm2015/lib/OnBalanceVolumeIndicator.js +1 -1
- package/esm2015/lib/OverlayProxy.js +1 -1
- package/esm2015/lib/PercentagePriceOscillatorIndicator.js +1 -1
- package/esm2015/lib/PercentageVolumeOscillatorIndicator.js +1 -1
- package/esm2015/lib/PieChartViewManager_combined.js +585 -573
- package/esm2015/lib/PointSeries_combined.js +2 -2
- package/esm2015/lib/PolarAreaSeries_combined.js +9 -9
- package/esm2015/lib/PolarBase_combined.js +202 -202
- package/esm2015/lib/PolarLineSeriesBase_combined.js +5 -5
- package/esm2015/lib/PolarLineSeries_combined.js +6 -6
- package/esm2015/lib/PolarScatterSeries_combined.js +2 -2
- package/esm2015/lib/PolarSplineAreaSeries_combined.js +9 -9
- package/esm2015/lib/PolarSplineSeries_combined.js +6 -6
- package/esm2015/lib/PositiveVolumeIndexIndicator.js +1 -1
- package/esm2015/lib/PriceChannelOverlay_combined.js +11 -11
- package/esm2015/lib/PriceVolumeTrendIndicator.js +1 -1
- package/esm2015/lib/RadialAreaSeries_combined.js +19 -19
- package/esm2015/lib/RadialBucketCalculator_combined.js +110 -110
- package/esm2015/lib/RadialColumnSeries_combined.js +22 -22
- package/esm2015/lib/RadialLineSeries_combined.js +15 -15
- package/esm2015/lib/RadialPieSeries_combined.js +15 -15
- package/esm2015/lib/RangeAreaSeries_combined.js +5 -5
- package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +18 -18
- package/esm2015/lib/RangeColumnSeries_combined.js +8 -8
- package/esm2015/lib/RateOfChangeAndMomentumIndicator.js +1 -1
- package/esm2015/lib/RelativeStrengthIndexIndicator.js +1 -1
- package/esm2015/lib/RingSeries.js +6 -6
- package/esm2015/lib/ScatterAreaSeries_combined.js +9 -9
- package/esm2015/lib/ScatterBase_combined.js +200 -200
- package/esm2015/lib/ScatterContourSeries_combined.js +6 -6
- package/esm2015/lib/ScatterErrorBarSettings.js +2 -2
- package/esm2015/lib/ScatterLineSeries.js +15 -15
- package/esm2015/lib/ScatterLineSeriesView.js +1 -1
- package/esm2015/lib/ScatterPolygonSeries_combined.js +38 -38
- package/esm2015/lib/ScatterPolylineSeries_combined.js +3 -3
- package/esm2015/lib/ScatterSeries_combined.js +5 -5
- package/esm2015/lib/ScatterSplineSeries.js +15 -15
- package/esm2015/lib/ScatterSplineSeriesView.js +1 -1
- package/esm2015/lib/ScatterTriangulationSeries.js +1 -1
- package/esm2015/lib/SeriesHighlightingManager.js +28 -0
- package/esm2015/lib/SeriesInteractionManager.js +89 -89
- package/esm2015/lib/SeriesRenderManager.js +16 -16
- package/esm2015/lib/SeriesViewerInteractionManager.js +115 -115
- package/esm2015/lib/SeriesViewerScrollbarManager.js +3 -3
- package/esm2015/lib/SeriesViewerSurfaceViewer.js +5 -5
- package/esm2015/lib/SeriesViewer_combined.js +972 -989
- package/esm2015/lib/SeriesVisualDataManager.js +20 -20
- package/esm2015/lib/ShapeSeriesBase_combined.js +115 -115
- package/esm2015/lib/SizeScale.js +1 -1
- package/esm2015/lib/SliceAndDiceCalculator.js +1 -1
- package/esm2015/lib/SliceMouseMessage.js +1 -0
- package/esm2015/lib/SlowStochasticOscillatorIndicator.js +1 -1
- package/esm2015/lib/SplineAreaSeries_combined.js +9 -9
- package/esm2015/lib/SplineSeriesBase_combined.js +12 -12
- package/esm2015/lib/SplineSeries_combined.js +5 -5
- package/esm2015/lib/SquarifiedCalculator.js +1 -1
- package/esm2015/lib/Stacked100AreaSeries_combined.js +1 -1
- package/esm2015/lib/Stacked100BarSeries_combined.js +1 -1
- package/esm2015/lib/Stacked100ColumnSeries_combined.js +1 -1
- package/esm2015/lib/Stacked100LineSeries_combined.js +1 -1
- package/esm2015/lib/Stacked100SplineAreaSeries_combined.js +1 -1
- package/esm2015/lib/Stacked100SplineSeries_combined.js +1 -1
- package/esm2015/lib/StackedLineSeries_combined.js +2 -2
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +221 -221
- package/esm2015/lib/StandardDeviationIndicator.js +1 -1
- package/esm2015/lib/StepAreaSeries_combined.js +12 -12
- package/esm2015/lib/StepLineSeries_combined.js +8 -8
- package/esm2015/lib/StochRSIIndicator.js +1 -1
- package/esm2015/lib/StrategyBasedIndicator.js +3 -3
- package/esm2015/lib/StrippedCalculator.js +1 -1
- package/esm2015/lib/TRIXIndicator.js +1 -1
- package/esm2015/lib/TileZoomManager_combined.js +5 -5
- package/esm2015/lib/TimeAxisBase.js +1 -1
- package/esm2015/lib/Treemap.js +1 -1
- package/esm2015/lib/TreemapFrame.js +1 -1
- package/{esm5/lib/IHighlightingManager.js → esm2015/lib/TreemapHighlightingManager.js} +1 -1
- package/esm2015/lib/{TreemapView_combined.js → TreemapHighlightingManager_combined.js} +2049 -1728
- package/esm2015/lib/TreemapHighlightingMode.js +30 -0
- package/esm2015/lib/TreemapLayoutCalculator.js +1 -1
- package/esm2015/lib/TreemapLayoutSettings.js +1 -1
- package/esm2015/lib/TreemapNodeFrame.js +1 -1
- package/esm2015/lib/TreemapNodeStyle.js +1 -1
- package/esm2015/lib/TreemapNodeStyleMapping.js +1 -1
- package/esm2015/lib/TreemapNodeStyleMappingCollection.js +1 -1
- package/esm2015/lib/TreemapNodeStylingEventArgs.js +1 -1
- package/esm2015/lib/TreemapTreeData.js +1 -1
- package/esm2015/lib/TreemapTreeNode.js +1 -1
- package/esm2015/lib/TreemapView.js +1 -1
- package/esm2015/lib/TreemapViewRenderer.js +1 -1
- package/esm2015/lib/TreemapVisual.js +14 -12
- package/esm2015/lib/TypicalPriceIndicator.js +1 -1
- package/esm2015/lib/UltimateOscillatorIndicator.js +1 -1
- package/esm2015/lib/ValueLayer_combined.js +6 -6
- package/esm2015/lib/ValueOverlay_combined.js +23 -23
- package/esm2015/lib/VerticalAnchoredCategorySeries.js +20 -20
- package/esm2015/lib/VerticalAnchoredCategorySeriesInteractionManager.js +5 -5
- package/esm2015/lib/WaterfallSeries_combined.js +7 -7
- package/esm2015/lib/WeightedCloseIndicator.js +1 -1
- package/esm2015/lib/WilliamsPercentRIndicator.js +1 -1
- package/esm2015/lib/XamFunnelView_combined.js +15 -13
- package/esm2015/lib/XamPieChart_combined.js +4 -4
- package/esm2015/lib/igc-assigning-series-style-event-args-base.js +1 -1
- package/esm2015/lib/igc-financial-series-component.js +2 -2
- package/esm2015/lib/igc-funnel-slice-event-args.js +10 -1
- package/esm2015/lib/igc-pie-chart-base-component.js +120 -120
- package/esm2015/lib/igc-polar-base-component.js +13 -13
- package/esm2015/lib/igc-radial-base-component.js +2 -2
- package/esm2015/lib/igc-scatter-base-component.js +6 -6
- package/esm2015/lib/igc-series-component.js +37 -37
- package/esm2015/lib/igc-series-viewer-component.js +45 -45
- package/esm2015/lib/igc-shape-series-base-component.js +10 -10
- package/esm2015/lib/igc-slice-event-args.js +10 -1
- package/esm2015/lib/igc-treemap-component.js +240 -171
- package/esm2015/lib/igc-treemap-node-style-component.js +90 -60
- package/esm2015/lib/igc-treemap-node-style-mapping-component.js +16 -16
- package/esm2015/lib/igc-treemap-node-styling-event-args.js +54 -0
- package/esm2015/public_api.js +3 -7
- package/esm5/lib/AbsoluteVolumeOscillatorIndicator.js +1 -1
- package/esm5/lib/AccumulationDistributionIndicator.js +1 -1
- package/esm5/lib/AnchoredCategorySeriesInteractionManager.js +11 -11
- package/esm5/lib/AnchoredCategorySeries_combined.js +19 -19
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +70 -70
- package/esm5/lib/AnnotationLayer_combined.js +25 -25
- package/esm5/lib/Arc_combined.js +147 -147
- package/esm5/lib/AreaSeries_combined.js +9 -9
- package/esm5/lib/AverageDirectionalIndexIndicator.js +1 -1
- package/esm5/lib/AverageTrueRangeIndicator.js +1 -1
- package/esm5/lib/AxisVisualDataManager.js +2 -2
- package/esm5/lib/BarSeries_combined.js +23 -23
- package/esm5/lib/BollingerBandWidthIndicator.js +1 -1
- package/esm5/lib/BollingerBandsOverlay_combined.js +14 -14
- package/esm5/lib/BubbleSeries_combined.js +32 -32
- package/esm5/lib/CalloutLayer_combined.js +25 -25
- package/esm5/lib/CategoryBucketCalculator_combined.js +98 -98
- package/esm5/lib/CategoryChart.js +7 -7
- package/esm5/lib/CategoryErrorBarSettings.js +2 -2
- package/esm5/lib/CategoryHighlightLayer_combined.js +9 -9
- package/esm5/lib/CategoryItemHighlightLayer_combined.js +22 -22
- package/esm5/lib/CategorySeriesInteractionManager.js +24 -24
- package/esm5/lib/CategoryToolTipLayer_combined.js +18 -18
- package/esm5/lib/CategoryTransitionSourceFramePreparer.js +1 -1
- package/esm5/lib/CategoryTrendLineManagerFactory.js +1 -1
- package/esm5/lib/ChaikinOscillatorIndicator.js +1 -1
- package/esm5/lib/ChaikinVolatilityIndicator.js +1 -1
- package/esm5/lib/ColumnSeries_combined.js +10 -10
- package/esm5/lib/CommodityChannelIndexIndicator.js +1 -1
- package/esm5/lib/CrosshairLayer_combined.js +5 -5
- package/esm5/lib/CustomIndicator.js +3 -3
- package/esm5/lib/DataChartVisualDataManager.js +2 -2
- package/esm5/lib/DataToolTipLayerFrame.js +1 -1
- package/esm5/lib/DataToolTipLayer_combined.js +52 -52
- package/esm5/lib/DetrendedPriceOscillatorIndicator.js +1 -1
- package/esm5/lib/DomainChart_combined.js +28 -28
- package/esm5/lib/EaseOfMovementIndicator.js +1 -1
- package/esm5/lib/FastStochasticOscillatorIndicator.js +1 -1
- package/esm5/lib/FinalValueLayer_combined.js +6 -6
- package/esm5/lib/FinancialChart_combined.js +6 -6
- package/esm5/lib/FinancialEventArgs_combined.js +127 -127
- package/esm5/lib/FinancialIndicator_combined.js +42 -42
- package/esm5/lib/FinancialOverlay.js +14 -14
- package/esm5/lib/FinancialPriceSeriesProxy.js +1 -1
- package/esm5/lib/FinancialPriceSeries_combined.js +54 -54
- package/esm5/lib/ForceIndexIndicator.js +1 -1
- package/esm5/lib/FullStochasticOscillatorIndicator.js +1 -1
- package/esm5/lib/FunnelSliceEventArgs.js +14 -3
- package/esm5/lib/HierarchicalRingSeries.js +1 -1
- package/esm5/lib/HighDensityScatterSeries_combined.js +25 -25
- package/esm5/lib/HorizontalAnchoredCategorySeries.js +20 -20
- package/esm5/lib/HorizontalAnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm5/lib/HorizontalRangeCategorySeries.js +22 -22
- package/esm5/lib/IndicatorProxy.js +1 -1
- package/esm5/lib/ItemToolTipLayer_combined.js +15 -15
- package/esm5/lib/ItemTooltipLayerFrame.js +3 -3
- package/esm5/lib/LineSeries_combined.js +5 -5
- package/esm5/lib/LinearCategorySnapper.js +71 -29
- package/esm5/lib/LinearNumericSnapper.js +18 -13
- package/esm5/lib/MarketFacilitationIndexIndicator.js +1 -1
- package/esm5/lib/MassIndexIndicator.js +1 -1
- package/esm5/lib/MedianPriceIndicator.js +1 -1
- package/esm5/lib/MoneyFlowIndexIndicator.js +1 -1
- package/esm5/lib/MovingAverageConvergenceDivergenceIndicator.js +1 -1
- package/esm5/lib/NegativeVolumeIndexIndicator.js +1 -1
- package/esm5/lib/OnBalanceVolumeIndicator.js +1 -1
- package/esm5/lib/OverlayProxy.js +1 -1
- package/esm5/lib/PercentagePriceOscillatorIndicator.js +1 -1
- package/esm5/lib/PercentageVolumeOscillatorIndicator.js +1 -1
- package/esm5/lib/PieChartViewManager_combined.js +585 -569
- package/esm5/lib/PointSeries_combined.js +2 -2
- package/esm5/lib/PolarAreaSeries_combined.js +9 -9
- package/esm5/lib/PolarBase_combined.js +201 -201
- package/esm5/lib/PolarLineSeriesBase_combined.js +5 -5
- package/esm5/lib/PolarLineSeries_combined.js +6 -6
- package/esm5/lib/PolarScatterSeries_combined.js +2 -2
- package/esm5/lib/PolarSplineAreaSeries_combined.js +9 -9
- package/esm5/lib/PolarSplineSeries_combined.js +6 -6
- package/esm5/lib/PositiveVolumeIndexIndicator.js +1 -1
- package/esm5/lib/PriceChannelOverlay_combined.js +11 -11
- package/esm5/lib/PriceVolumeTrendIndicator.js +1 -1
- package/esm5/lib/RadialAreaSeries_combined.js +19 -19
- package/esm5/lib/RadialBucketCalculator_combined.js +110 -110
- package/esm5/lib/RadialColumnSeries_combined.js +22 -22
- package/esm5/lib/RadialLineSeries_combined.js +15 -15
- package/esm5/lib/RadialPieSeries_combined.js +15 -15
- package/esm5/lib/RangeAreaSeries_combined.js +5 -5
- package/esm5/lib/RangeCategoryBucketCalculator_combined.js +18 -18
- package/esm5/lib/RangeColumnSeries_combined.js +8 -8
- package/esm5/lib/RateOfChangeAndMomentumIndicator.js +1 -1
- package/esm5/lib/RelativeStrengthIndexIndicator.js +1 -1
- package/esm5/lib/RingSeries.js +6 -6
- package/esm5/lib/ScatterAreaSeries_combined.js +9 -9
- package/esm5/lib/ScatterBase_combined.js +199 -199
- package/esm5/lib/ScatterContourSeries_combined.js +6 -6
- package/esm5/lib/ScatterErrorBarSettings.js +2 -2
- package/esm5/lib/ScatterLineSeries.js +15 -15
- package/esm5/lib/ScatterLineSeriesView.js +1 -1
- package/esm5/lib/ScatterPolygonSeries_combined.js +38 -38
- package/esm5/lib/ScatterPolylineSeries_combined.js +3 -3
- package/esm5/lib/ScatterSeries_combined.js +5 -5
- package/esm5/lib/ScatterSplineSeries.js +15 -15
- package/esm5/lib/ScatterSplineSeriesView.js +1 -1
- package/esm5/lib/ScatterTriangulationSeries.js +1 -1
- package/esm5/lib/SeriesHighlightingManager.js +32 -0
- package/esm5/lib/SeriesInteractionManager.js +89 -89
- package/esm5/lib/SeriesRenderManager.js +16 -16
- package/esm5/lib/SeriesViewerInteractionManager.js +115 -115
- package/esm5/lib/SeriesViewerScrollbarManager.js +3 -3
- package/esm5/lib/SeriesViewerSurfaceViewer.js +5 -5
- package/esm5/lib/SeriesViewer_combined.js +949 -967
- package/esm5/lib/SeriesVisualDataManager.js +20 -20
- package/esm5/lib/ShapeSeriesBase_combined.js +114 -114
- package/esm5/lib/SizeScale.js +1 -1
- package/esm5/lib/SliceAndDiceCalculator.js +1 -1
- package/esm5/lib/SliceMouseMessage.js +1 -0
- package/esm5/lib/SlowStochasticOscillatorIndicator.js +1 -1
- package/esm5/lib/SplineAreaSeries_combined.js +9 -9
- package/esm5/lib/SplineSeriesBase_combined.js +12 -12
- package/esm5/lib/SplineSeries_combined.js +5 -5
- package/esm5/lib/SquarifiedCalculator.js +1 -1
- package/esm5/lib/Stacked100AreaSeries_combined.js +1 -1
- package/esm5/lib/Stacked100BarSeries_combined.js +1 -1
- package/esm5/lib/Stacked100ColumnSeries_combined.js +1 -1
- package/esm5/lib/Stacked100LineSeries_combined.js +1 -1
- package/esm5/lib/Stacked100SplineAreaSeries_combined.js +1 -1
- package/esm5/lib/Stacked100SplineSeries_combined.js +1 -1
- package/esm5/lib/StackedLineSeries_combined.js +2 -2
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +221 -221
- package/esm5/lib/StandardDeviationIndicator.js +1 -1
- package/esm5/lib/StepAreaSeries_combined.js +12 -12
- package/esm5/lib/StepLineSeries_combined.js +8 -8
- package/esm5/lib/StochRSIIndicator.js +1 -1
- package/esm5/lib/StrategyBasedIndicator.js +3 -3
- package/esm5/lib/StrippedCalculator.js +1 -1
- package/esm5/lib/TRIXIndicator.js +1 -1
- package/esm5/lib/TileZoomManager_combined.js +5 -5
- package/esm5/lib/TimeAxisBase.js +1 -1
- package/esm5/lib/Treemap.js +1 -1
- package/esm5/lib/TreemapFrame.js +1 -1
- package/{esm2015/lib/HighlightingInfo.js → esm5/lib/TreemapHighlightingManager.js} +1 -1
- package/esm5/lib/{TreemapView_combined.js → TreemapHighlightingManager_combined.js} +2017 -1645
- package/esm5/lib/TreemapHighlightingMode.js +30 -0
- package/esm5/lib/TreemapLayoutCalculator.js +1 -1
- package/esm5/lib/TreemapLayoutSettings.js +1 -1
- package/esm5/lib/TreemapNodeFrame.js +1 -1
- package/esm5/lib/TreemapNodeStyle.js +1 -1
- package/esm5/lib/TreemapNodeStyleMapping.js +1 -1
- package/esm5/lib/TreemapNodeStyleMappingCollection.js +1 -1
- package/esm5/lib/TreemapNodeStylingEventArgs.js +1 -1
- package/esm5/lib/TreemapTreeData.js +1 -1
- package/esm5/lib/TreemapTreeNode.js +1 -1
- package/esm5/lib/TreemapView.js +1 -1
- package/esm5/lib/TreemapViewRenderer.js +1 -1
- package/esm5/lib/TreemapVisual.js +14 -12
- package/esm5/lib/TypicalPriceIndicator.js +1 -1
- package/esm5/lib/UltimateOscillatorIndicator.js +1 -1
- package/esm5/lib/ValueLayer_combined.js +6 -6
- package/esm5/lib/ValueOverlay_combined.js +23 -23
- package/esm5/lib/VerticalAnchoredCategorySeries.js +20 -20
- package/esm5/lib/VerticalAnchoredCategorySeriesInteractionManager.js +5 -5
- package/esm5/lib/WaterfallSeries_combined.js +7 -7
- package/esm5/lib/WeightedCloseIndicator.js +1 -1
- package/esm5/lib/WilliamsPercentRIndicator.js +1 -1
- package/esm5/lib/XamFunnelView_combined.js +15 -13
- package/esm5/lib/XamPieChart_combined.js +4 -4
- package/esm5/lib/igc-assigning-series-style-event-args-base.js +1 -1
- package/esm5/lib/igc-financial-series-component.js +2 -2
- package/esm5/lib/igc-funnel-slice-event-args.js +14 -1
- package/esm5/lib/igc-pie-chart-base-component.js +120 -120
- package/esm5/lib/igc-polar-base-component.js +13 -13
- package/esm5/lib/igc-radial-base-component.js +2 -2
- package/esm5/lib/igc-scatter-base-component.js +6 -6
- package/esm5/lib/igc-series-component.js +37 -37
- package/esm5/lib/igc-series-viewer-component.js +45 -45
- package/esm5/lib/igc-shape-series-base-component.js +10 -10
- package/esm5/lib/igc-slice-event-args.js +14 -1
- package/esm5/lib/igc-treemap-component.js +261 -171
- package/esm5/lib/igc-treemap-node-style-component.js +102 -60
- package/esm5/lib/igc-treemap-node-style-mapping-component.js +16 -16
- package/esm5/lib/igc-treemap-node-styling-event-args.js +70 -0
- package/esm5/public_api.js +3 -7
- package/fesm2015/igniteui-webcomponents-charts.js +6941 -7094
- package/fesm5/igniteui-webcomponents-charts.js +6944 -7084
- package/lib/AbsoluteVolumeOscillatorIndicator.d.ts +1 -1
- package/lib/AccumulationDistributionIndicator.d.ts +1 -1
- package/lib/AnchoredCategorySeries_combined.d.ts +1 -1
- package/lib/AnchoredRadialBucketCalculator_combined.d.ts +1 -1
- package/lib/AnnotationLayer_combined.d.ts +2 -2
- package/lib/Arc_combined.d.ts +18 -18
- package/lib/AreaSeries_combined.d.ts +3 -3
- package/lib/AssigningSeriesStyleEventArgsBase.d.ts +1 -1
- package/lib/AverageDirectionalIndexIndicator.d.ts +1 -1
- package/lib/AverageTrueRangeIndicator.d.ts +1 -1
- package/lib/BarSeries_combined.d.ts +3 -3
- package/lib/BollingerBandWidthIndicator.d.ts +1 -1
- package/lib/BollingerBandsOverlay_combined.d.ts +2 -2
- package/lib/BubbleSeries_combined.d.ts +2 -2
- package/lib/CalloutLayer_combined.d.ts +3 -3
- package/lib/CategoryBucketCalculator_combined.d.ts +15 -15
- package/lib/CategoryHighlightLayer_combined.d.ts +2 -2
- package/lib/CategoryItemHighlightLayer_combined.d.ts +2 -2
- package/lib/CategorySeriesInteractionManager.d.ts +1 -1
- package/lib/CategoryToolTipLayer_combined.d.ts +2 -2
- package/lib/ChaikinOscillatorIndicator.d.ts +1 -1
- package/lib/ChaikinVolatilityIndicator.d.ts +1 -1
- package/lib/ColumnSeries_combined.d.ts +3 -3
- package/lib/CommodityChannelIndexIndicator.d.ts +1 -1
- package/lib/CrosshairLayer_combined.d.ts +2 -2
- package/lib/CustomIndicator.d.ts +1 -1
- package/lib/DataToolTipLayer_combined.d.ts +2 -2
- package/lib/DetrendedPriceOscillatorIndicator.d.ts +1 -1
- package/lib/EaseOfMovementIndicator.d.ts +1 -1
- package/lib/FastStochasticOscillatorIndicator.d.ts +1 -1
- package/lib/FinalValueLayer_combined.d.ts +2 -2
- package/lib/FinancialEventArgs_combined.d.ts +10 -10
- package/lib/FinancialIndicator_combined.d.ts +3 -3
- package/lib/FinancialOverlay.d.ts +1 -1
- package/lib/FinancialPriceSeries_combined.d.ts +4 -4
- package/lib/ForceIndexIndicator.d.ts +1 -1
- package/lib/FullStochasticOscillatorIndicator.d.ts +1 -1
- package/lib/FunnelSliceEventArgs.d.ts +5 -2
- package/lib/HighDensityScatterSeries_combined.d.ts +2 -2
- package/lib/HorizontalAnchoredCategorySeries.d.ts +4 -4
- package/lib/HorizontalRangeCategorySeries.d.ts +1 -1
- package/lib/ICategorySeriesInteractionManager.d.ts +1 -1
- package/lib/ItemToolTipLayer_combined.d.ts +2 -2
- package/lib/LineSeries_combined.d.ts +2 -2
- package/lib/MarketFacilitationIndexIndicator.d.ts +1 -1
- package/lib/MassIndexIndicator.d.ts +1 -1
- package/lib/MedianPriceIndicator.d.ts +1 -1
- package/lib/MoneyFlowIndexIndicator.d.ts +1 -1
- package/lib/MovingAverageConvergenceDivergenceIndicator.d.ts +1 -1
- package/lib/NegativeVolumeIndexIndicator.d.ts +1 -1
- package/lib/OnBalanceVolumeIndicator.d.ts +1 -1
- package/lib/PercentagePriceOscillatorIndicator.d.ts +1 -1
- package/lib/PercentageVolumeOscillatorIndicator.d.ts +1 -1
- package/lib/PieChartViewManager_combined.d.ts +138 -134
- package/lib/PointSeries_combined.d.ts +2 -2
- package/lib/PolarAreaSeries_combined.d.ts +2 -2
- package/lib/PolarBase_combined.d.ts +29 -29
- package/lib/PolarLineSeriesBase_combined.d.ts +1 -1
- package/lib/PolarLineSeries_combined.d.ts +2 -2
- package/lib/PolarScatterSeries_combined.d.ts +2 -2
- package/lib/PolarSplineAreaSeries_combined.d.ts +2 -2
- package/lib/PolarSplineSeries_combined.d.ts +2 -2
- package/lib/PositiveVolumeIndexIndicator.d.ts +1 -1
- package/lib/PriceChannelOverlay_combined.d.ts +2 -2
- package/lib/PriceVolumeTrendIndicator.d.ts +1 -1
- package/lib/RadialAreaSeries_combined.d.ts +2 -2
- package/lib/RadialBucketCalculator_combined.d.ts +17 -17
- package/lib/RadialColumnSeries_combined.d.ts +2 -2
- package/lib/RadialLineSeries_combined.d.ts +2 -2
- package/lib/RadialPieSeries_combined.d.ts +2 -2
- package/lib/RangeAreaSeries_combined.d.ts +2 -2
- package/lib/RangeCategoryBucketCalculator_combined.d.ts +1 -1
- package/lib/RangeColumnSeries_combined.d.ts +2 -2
- package/lib/RateOfChangeAndMomentumIndicator.d.ts +1 -1
- package/lib/RelativeStrengthIndexIndicator.d.ts +1 -1
- package/lib/ScatterAreaSeries_combined.d.ts +2 -2
- package/lib/ScatterBase_combined.d.ts +25 -25
- package/lib/ScatterContourSeries_combined.d.ts +2 -2
- package/lib/ScatterLineSeries.d.ts +2 -2
- package/lib/ScatterPolygonSeries_combined.d.ts +2 -2
- package/lib/ScatterPolylineSeries_combined.d.ts +2 -2
- package/lib/ScatterSeries_combined.d.ts +2 -2
- package/lib/ScatterSplineSeries.d.ts +3 -3
- package/lib/SeriesHighlightingManager.d.ts +10 -0
- package/lib/SeriesInteractionManager.d.ts +1 -1
- package/lib/SeriesRenderManager.d.ts +1 -1
- package/lib/SeriesViewerInteractionManager.d.ts +7 -7
- package/lib/SeriesViewer_combined.d.ts +151 -192
- package/lib/ShapeSeriesBase_combined.d.ts +19 -19
- package/lib/SliceAndDiceCalculator.d.ts +1 -1
- package/lib/SliceMouseMessage.d.ts +3 -2
- package/lib/SlowStochasticOscillatorIndicator.d.ts +1 -1
- package/lib/SplineAreaSeries_combined.d.ts +3 -3
- package/lib/SplineSeriesBase_combined.d.ts +1 -1
- package/lib/SplineSeries_combined.d.ts +2 -2
- package/lib/SquarifiedCalculator.d.ts +1 -1
- package/lib/Stacked100AreaSeries_combined.d.ts +1 -1
- package/lib/Stacked100BarSeries_combined.d.ts +1 -1
- package/lib/Stacked100ColumnSeries_combined.d.ts +1 -1
- package/lib/Stacked100LineSeries_combined.d.ts +1 -1
- package/lib/Stacked100SplineAreaSeries_combined.d.ts +1 -1
- package/lib/Stacked100SplineSeries_combined.d.ts +1 -1
- package/lib/StackedLineSeries_combined.d.ts +2 -2
- package/lib/StackedSeriesCreatedEventArgs_combined.d.ts +31 -31
- package/lib/StandardDeviationIndicator.d.ts +1 -1
- package/lib/StepAreaSeries_combined.d.ts +4 -4
- package/lib/StepLineSeries_combined.d.ts +3 -3
- package/lib/StochRSIIndicator.d.ts +1 -1
- package/lib/StrippedCalculator.d.ts +1 -1
- package/lib/TRIXIndicator.d.ts +1 -1
- package/lib/Treemap.d.ts +1 -1
- package/lib/TreemapFrame.d.ts +1 -1
- package/lib/TreemapHighlightingManager.d.ts +1 -0
- package/lib/{TreemapView_combined.d.ts → TreemapHighlightingManager_combined.d.ts} +482 -416
- package/lib/TreemapHighlightingMode.d.ts +23 -0
- package/lib/TreemapLayoutCalculator.d.ts +1 -1
- package/lib/TreemapLayoutSettings.d.ts +1 -1
- package/lib/TreemapNodeFrame.d.ts +1 -1
- package/lib/TreemapNodeStyle.d.ts +1 -1
- package/lib/TreemapNodeStyleMapping.d.ts +1 -1
- package/lib/TreemapNodeStyleMappingCollection.d.ts +1 -1
- package/lib/TreemapNodeStylingEventArgs.d.ts +1 -1
- package/lib/TreemapTreeData.d.ts +1 -1
- package/lib/TreemapTreeNode.d.ts +1 -1
- package/lib/TreemapView.d.ts +1 -1
- package/lib/TreemapViewRenderer.d.ts +1 -1
- package/lib/TreemapVisual.d.ts +13 -12
- package/lib/TypicalPriceIndicator.d.ts +1 -1
- package/lib/UltimateOscillatorIndicator.d.ts +1 -1
- package/lib/ValueLayer_combined.d.ts +2 -2
- package/lib/ValueOverlay_combined.d.ts +2 -2
- package/lib/VerticalAnchoredCategorySeries.d.ts +4 -4
- package/lib/WaterfallSeries_combined.d.ts +3 -3
- package/lib/WeightedCloseIndicator.d.ts +1 -1
- package/lib/WilliamsPercentRIndicator.d.ts +1 -1
- package/lib/XamPieChart_combined.d.ts +2 -2
- package/lib/igc-assigning-series-style-event-args-base.d.ts +1 -1
- package/lib/igc-funnel-slice-event-args.d.ts +6 -0
- package/lib/igc-slice-event-args.d.ts +5 -0
- package/lib/igc-treemap-component.d.ts +28 -0
- package/lib/igc-treemap-node-style-component.d.ts +15 -0
- package/lib/igc-treemap-node-styling-event-args.d.ts +22 -0
- package/package.json +2 -2
- package/public_api.d.ts +3 -7
- package/esm2015/lib/HighlightingData.js +0 -24
- package/esm2015/lib/HighlightingInfoComparer.js +0 -34
- package/esm2015/lib/HighlightingManager.js +0 -530
- package/esm2015/lib/HighlightingState.js +0 -29
- package/esm2015/lib/IHighlightingManager.js +0 -7
- package/esm2015/lib/igc-highlighting-info.js +0 -139
- package/esm5/lib/HighlightingData.js +0 -26
- package/esm5/lib/HighlightingInfo.js +0 -7
- package/esm5/lib/HighlightingInfoComparer.js +0 -38
- package/esm5/lib/HighlightingManager.js +0 -597
- package/esm5/lib/HighlightingState.js +0 -29
- package/esm5/lib/igc-highlighting-info.js +0 -177
- package/lib/HighlightingData.d.ts +0 -13
- package/lib/HighlightingInfo.d.ts +0 -1
- package/lib/HighlightingInfoComparer.d.ts +0 -10
- package/lib/HighlightingManager.d.ts +0 -72
- package/lib/HighlightingState.d.ts +0 -22
- package/lib/IHighlightingManager.d.ts +0 -1
- package/lib/igc-highlighting-info.d.ts +0 -67
|
@@ -116,7 +116,7 @@ var PieChartViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
116
116
|
PieChartViewManager.prototype.ad = function (a, b) {
|
|
117
117
|
this.z();
|
|
118
118
|
this.c.bl = new Rect(0, 0, 0, a, b);
|
|
119
|
-
var c = this.a.a.
|
|
119
|
+
var c = this.a.a.c2;
|
|
120
120
|
if (c == this.l && a == this.k && b == this.j) {
|
|
121
121
|
return;
|
|
122
122
|
}
|
|
@@ -137,21 +137,21 @@ var PieChartViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
PieChartViewManager.prototype.z = function () {
|
|
140
|
-
var a = this.a.a.
|
|
141
|
-
var b = this.a.a.
|
|
140
|
+
var a = this.a.a.df;
|
|
141
|
+
var b = this.a.a.c2;
|
|
142
142
|
if (!isNaN_(a) && a != 0) {
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
145
145
|
if (window.devicePixelRatio != undefined && window.devicePixelRatio != b) {
|
|
146
|
-
this.a.a.
|
|
146
|
+
this.a.a.c2 = window.devicePixelRatio;
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
PieChartViewManager.prototype.w = function (a, b) {
|
|
150
|
-
var c = this.a.a.
|
|
150
|
+
var c = this.a.a.c2;
|
|
151
151
|
if (a != this.k || b != this.j || c != this.l) {
|
|
152
152
|
this.k = a;
|
|
153
153
|
this.j = b;
|
|
154
|
-
this.l = this.a.a.
|
|
154
|
+
this.l = this.a.a.c2;
|
|
155
155
|
this.ao();
|
|
156
156
|
}
|
|
157
157
|
};
|
|
@@ -298,7 +298,7 @@ var PieChartViewManager = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
298
298
|
e.onMouseDown = delegateCombine(e.onMouseDown, runOn(this.a, this.a.ai));
|
|
299
299
|
var f = this.c;
|
|
300
300
|
f.onMouseUp = delegateCombine(f.onMouseUp, runOn(this.a, this.a.al));
|
|
301
|
-
this.c.ae = this.a.a.
|
|
301
|
+
this.c.ae = this.a.a.cf;
|
|
302
302
|
this.ad(this.n.rootWrapper.width(), this.n.rootWrapper.height());
|
|
303
303
|
};
|
|
304
304
|
PieChartViewManager.prototype.v = function (a) {
|
|
@@ -485,7 +485,7 @@ var SliceClickEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
485
485
|
},
|
|
486
486
|
set: function (a) {
|
|
487
487
|
this.d = a;
|
|
488
|
-
this.slice.ai.
|
|
488
|
+
this.slice.ai.g2(this.slice, a);
|
|
489
489
|
},
|
|
490
490
|
enumerable: false,
|
|
491
491
|
configurable: true
|
|
@@ -598,6 +598,7 @@ var SliceEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
598
598
|
_this._slice = null;
|
|
599
599
|
_this.d = false;
|
|
600
600
|
_this.c = false;
|
|
601
|
+
_this._position = null;
|
|
601
602
|
_this._originalEvent = null;
|
|
602
603
|
_this.slice = a;
|
|
603
604
|
_this.originalEvent = b;
|
|
@@ -624,7 +625,7 @@ var SliceEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
624
625
|
},
|
|
625
626
|
set: function (a) {
|
|
626
627
|
this.d = a;
|
|
627
|
-
this.slice.ai.
|
|
628
|
+
this.slice.ai.g2(this.slice, a);
|
|
628
629
|
},
|
|
629
630
|
enumerable: false,
|
|
630
631
|
configurable: true
|
|
@@ -716,6 +717,16 @@ var SliceEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
716
717
|
enumerable: false,
|
|
717
718
|
configurable: true
|
|
718
719
|
});
|
|
720
|
+
Object.defineProperty(SliceEventArgs.prototype, "position", {
|
|
721
|
+
get: function () {
|
|
722
|
+
return this._position;
|
|
723
|
+
},
|
|
724
|
+
set: function (a) {
|
|
725
|
+
this._position = a;
|
|
726
|
+
},
|
|
727
|
+
enumerable: false,
|
|
728
|
+
configurable: true
|
|
729
|
+
});
|
|
719
730
|
Object.defineProperty(SliceEventArgs.prototype, "originalEvent", {
|
|
720
731
|
get: function () {
|
|
721
732
|
return this._originalEvent;
|
|
@@ -751,9 +762,9 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
751
762
|
this.ao = a.b3(this);
|
|
752
763
|
var b = typeCast(TextBlock.$, this.aj);
|
|
753
764
|
var c = b.al;
|
|
754
|
-
a.a.
|
|
765
|
+
a.a.gz();
|
|
755
766
|
var d = this.ah.isExploded ? this.ah.b5 : this.ah.b7;
|
|
756
|
-
var e = GeometryUtil.n(d, this.ai, this.ah.a2 + a.a.
|
|
767
|
+
var e = GeometryUtil.n(d, this.ai, this.ah.a2 + a.a.db);
|
|
757
768
|
var f = a.b4.width;
|
|
758
769
|
if (a.z(b) + e.x > f && e.x < f) {
|
|
759
770
|
while (c.length > 0 && a.z(b) + e.x > f) {
|
|
@@ -781,9 +792,9 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
781
792
|
PieLabel.prototype.al = function () {
|
|
782
793
|
};
|
|
783
794
|
PieLabel.prototype.am = function () {
|
|
784
|
-
this.ap._visibility = this.ah.ai.
|
|
795
|
+
this.ap._visibility = this.ah.ai.je != 0 ? this.ah.ai.je : this.ah.aj._visibility;
|
|
785
796
|
var a;
|
|
786
|
-
var b = this.ah.ai.
|
|
797
|
+
var b = this.ah.ai.dc;
|
|
787
798
|
var c = GeometryUtil.n(this.ah.b6(), this.ai, this.ah.a2);
|
|
788
799
|
this.ap.an = c.x;
|
|
789
800
|
this.ap.ap = c.y;
|
|
@@ -806,14 +817,14 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
806
817
|
this.ap.aq = a.y;
|
|
807
818
|
};
|
|
808
819
|
PieLabel.prototype.an = function () {
|
|
809
|
-
this.aq._visibility = this.ah.ai.
|
|
820
|
+
this.aq._visibility = this.ah.ai.je != 0 ? this.ah.ai.je : this.ah.aj._visibility;
|
|
810
821
|
var a = this.ah.b6();
|
|
811
822
|
var b = this.aq.an.c._inner[0];
|
|
812
823
|
var c = b._segments._inner[0];
|
|
813
|
-
var d = this.ah.ai.
|
|
824
|
+
var d = this.ah.ai.dc;
|
|
814
825
|
var e = (this.ao.top + this.ao.bottom) / 2;
|
|
815
826
|
var f = GeometryUtil.n(a, this.ai, this.ah.a2);
|
|
816
|
-
var g = GeometryUtil.n(a, this.ai, this.ah.a2 + this.ah.ai.
|
|
827
|
+
var g = GeometryUtil.n(a, this.ai, this.ah.a2 + this.ah.ai.db / 2);
|
|
817
828
|
var h;
|
|
818
829
|
var i;
|
|
819
830
|
var j;
|
|
@@ -891,37 +902,37 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
891
902
|
function PieChartBase() {
|
|
892
903
|
var _this = _super.call(this) || this;
|
|
893
904
|
_this.a4 = null;
|
|
894
|
-
_this.
|
|
905
|
+
_this.b0 = false;
|
|
906
|
+
_this.b3 = false;
|
|
895
907
|
_this.b2 = false;
|
|
908
|
+
_this.b4 = false;
|
|
896
909
|
_this.b1 = false;
|
|
897
|
-
_this.
|
|
898
|
-
_this.b0 = false;
|
|
910
|
+
_this.b7 = false;
|
|
899
911
|
_this.b6 = false;
|
|
900
912
|
_this.b5 = false;
|
|
901
|
-
_this.b4 = false;
|
|
902
913
|
_this.a8 = null;
|
|
903
|
-
_this.ct = null;
|
|
904
|
-
_this.cv = null;
|
|
905
914
|
_this.cu = null;
|
|
906
915
|
_this.cw = null;
|
|
907
|
-
_this.
|
|
908
|
-
_this.
|
|
909
|
-
_this.
|
|
910
|
-
_this.
|
|
911
|
-
_this.
|
|
916
|
+
_this.cv = null;
|
|
917
|
+
_this.cx = null;
|
|
918
|
+
_this.dk = null;
|
|
919
|
+
_this.bq = null;
|
|
920
|
+
_this.dm = 0;
|
|
921
|
+
_this.de = 0;
|
|
922
|
+
_this.dj = 0;
|
|
923
|
+
_this.co = null;
|
|
912
924
|
_this.cn = null;
|
|
913
925
|
_this.cm = null;
|
|
926
|
+
_this.c4 = 0;
|
|
914
927
|
_this.cl = null;
|
|
915
|
-
_this.c3 = 0;
|
|
916
|
-
_this.ck = null;
|
|
917
928
|
_this.a7 = null;
|
|
918
929
|
_this._xsr = null;
|
|
919
|
-
_this.bn = null;
|
|
920
930
|
_this.bo = null;
|
|
931
|
+
_this.bp = null;
|
|
921
932
|
_this.au = new IndexCollection();
|
|
922
933
|
_this.av = new IndexCollection();
|
|
923
|
-
_this.
|
|
924
|
-
_this.
|
|
934
|
+
_this.cz = NaN;
|
|
935
|
+
_this.cy = 1;
|
|
925
936
|
_this._selectedItems = null;
|
|
926
937
|
_this.labelClick = null;
|
|
927
938
|
_this.selectedItemChanging = null;
|
|
@@ -929,56 +940,56 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
929
940
|
_this.selectedItemChanged = null;
|
|
930
941
|
_this.selectedItemsChanged = null;
|
|
931
942
|
_this.sliceClick = null;
|
|
943
|
+
_this.bx = null;
|
|
932
944
|
_this.bw = null;
|
|
933
|
-
_this.
|
|
934
|
-
_this.i8 = null;
|
|
945
|
+
_this.i9 = null;
|
|
935
946
|
_this.ap = null;
|
|
936
947
|
_this.as = null;
|
|
937
948
|
_this.aq = null;
|
|
938
949
|
_this.ar = null;
|
|
939
|
-
_this.
|
|
950
|
+
_this.cp = null;
|
|
940
951
|
_this.propertyChanged = null;
|
|
941
952
|
_this.propertyUpdated = null;
|
|
942
|
-
_this.
|
|
953
|
+
_this.dn = null;
|
|
943
954
|
_this.sliceEnter = null;
|
|
944
955
|
_this.sliceLeave = null;
|
|
945
956
|
_this.sliceHover = null;
|
|
946
|
-
_this.
|
|
947
|
-
_this.
|
|
957
|
+
_this.ds = null;
|
|
958
|
+
_this.i9 = Rect.empty;
|
|
948
959
|
var a = _this.a3();
|
|
949
|
-
_this.
|
|
960
|
+
_this.go(a);
|
|
950
961
|
a.a2();
|
|
951
962
|
_this.ab = PieChartBase.$;
|
|
963
|
+
_this.co = new List$1(Number_$type, 0);
|
|
952
964
|
_this.cn = new List$1(Number_$type, 0);
|
|
953
|
-
_this.cm = new List$1(
|
|
954
|
-
_this.
|
|
955
|
-
_this.
|
|
956
|
-
|
|
965
|
+
_this.cm = new List$1(Base.$, 0);
|
|
966
|
+
_this.a8 = function (b, c) { return _this.gs(b, c.propertyName, c.oldValue, c.newValue); };
|
|
967
|
+
_this.cu = function (b, c) {
|
|
968
|
+
_this.gz();
|
|
957
969
|
_this.gy();
|
|
958
|
-
_this.gx();
|
|
959
970
|
};
|
|
960
|
-
_this.
|
|
961
|
-
if (_this.
|
|
971
|
+
_this.cv = function (b, c) {
|
|
972
|
+
if (_this.b8) {
|
|
973
|
+
_this.gr();
|
|
962
974
|
_this.gq();
|
|
963
|
-
_this.
|
|
964
|
-
_this.
|
|
965
|
-
_this.gw();
|
|
975
|
+
_this.gz();
|
|
976
|
+
_this.gx();
|
|
966
977
|
}
|
|
967
978
|
};
|
|
968
|
-
_this.
|
|
969
|
-
_this.
|
|
970
|
-
_this.
|
|
979
|
+
_this.cw = function (b, c) { return _this.g1(c); };
|
|
980
|
+
_this.cx = function (b, c) { return _this.gh(c); };
|
|
981
|
+
_this.dk = function (b, c) { return _this.fx(c.action, c.position, c.count, c.propertyName); };
|
|
971
982
|
_this.propertyUpdated = delegateCombine(_this.propertyUpdated, _this.a8);
|
|
972
983
|
var b = _this.selectedSlices;
|
|
973
|
-
b.collectionChanged = delegateCombine(b.collectionChanged, _this.
|
|
974
|
-
_this.
|
|
984
|
+
b.collectionChanged = delegateCombine(b.collectionChanged, _this.cw);
|
|
985
|
+
_this.b4 = true;
|
|
975
986
|
var c = _this.explodedSlices;
|
|
976
|
-
c.collectionChanged = delegateCombine(c.collectionChanged, _this.
|
|
977
|
-
_this.
|
|
987
|
+
c.collectionChanged = delegateCombine(c.collectionChanged, _this.cv);
|
|
988
|
+
_this.b1 = true;
|
|
978
989
|
_this.selectedItems = new ObjectCollection(0);
|
|
979
990
|
var d = _this.selectedItems;
|
|
980
|
-
d.collectionChanged = delegateCombine(d.collectionChanged, _this.
|
|
981
|
-
_this.
|
|
991
|
+
d.collectionChanged = delegateCombine(d.collectionChanged, _this.cx);
|
|
992
|
+
_this.bx = ((function () {
|
|
982
993
|
var $ret = new Pool$1(Slice.$);
|
|
983
994
|
$ret.create = runOn(_this.a4, _this.a4.g);
|
|
984
995
|
$ret.activate = runOn(_this.a4, _this.a4.bf);
|
|
@@ -986,7 +997,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
986
997
|
$ret.destroy = runOn(_this.a4, _this.a4.bg);
|
|
987
998
|
return $ret;
|
|
988
999
|
})());
|
|
989
|
-
_this.
|
|
1000
|
+
_this.bw = ((function () {
|
|
990
1001
|
var $ret = new Pool$1(PieLabel.$);
|
|
991
1002
|
$ret.create = runOn(_this.a4, _this.a4.d);
|
|
992
1003
|
$ret.activate = runOn(_this.a4, _this.a4.as);
|
|
@@ -1001,7 +1012,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1001
1012
|
PieChartBase.prototype.a3 = function () {
|
|
1002
1013
|
return new PieChartBaseView(this);
|
|
1003
1014
|
};
|
|
1004
|
-
PieChartBase.prototype.
|
|
1015
|
+
PieChartBase.prototype.go = function (a) {
|
|
1005
1016
|
this.a4 = a;
|
|
1006
1017
|
};
|
|
1007
1018
|
PieChartBase.prototype.onDetachedFromUI = function () {
|
|
@@ -1010,26 +1021,26 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1010
1021
|
PieChartBase.prototype.onAttachedToUI = function () {
|
|
1011
1022
|
this.a4.ay();
|
|
1012
1023
|
};
|
|
1013
|
-
PieChartBase.prototype.
|
|
1024
|
+
PieChartBase.prototype.f0 = function () {
|
|
1014
1025
|
this.a4.ap();
|
|
1015
1026
|
};
|
|
1016
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1027
|
+
Object.defineProperty(PieChartBase.prototype, "bv", {
|
|
1017
1028
|
get: function () {
|
|
1018
|
-
return this.
|
|
1029
|
+
return this.bq;
|
|
1019
1030
|
},
|
|
1020
1031
|
set: function (a) {
|
|
1021
|
-
if (this.
|
|
1022
|
-
var b = this.
|
|
1023
|
-
this.
|
|
1024
|
-
this.
|
|
1032
|
+
if (this.bq != a) {
|
|
1033
|
+
var b = this.bq;
|
|
1034
|
+
this.bq = a;
|
|
1035
|
+
this.gu("ValueColumn", b, this.bq);
|
|
1025
1036
|
}
|
|
1026
1037
|
},
|
|
1027
1038
|
enumerable: false,
|
|
1028
1039
|
configurable: true
|
|
1029
1040
|
});
|
|
1030
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1041
|
+
Object.defineProperty(PieChartBase.prototype, "c1", {
|
|
1031
1042
|
get: function () {
|
|
1032
|
-
return Math.abs(this.
|
|
1043
|
+
return Math.abs(this.da) > 1 ? this.da : this.da * 100;
|
|
1033
1044
|
},
|
|
1034
1045
|
enumerable: false,
|
|
1035
1046
|
configurable: true
|
|
@@ -1044,7 +1055,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1044
1055
|
enumerable: false,
|
|
1045
1056
|
configurable: true
|
|
1046
1057
|
});
|
|
1047
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1058
|
+
Object.defineProperty(PieChartBase.prototype, "d9", {
|
|
1048
1059
|
get: function () {
|
|
1049
1060
|
var a = this.XSRP.b1("InvalidLabelBinding");
|
|
1050
1061
|
if (stringIsNullOrWhiteSpace(a)) {
|
|
@@ -1055,9 +1066,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1055
1066
|
enumerable: false,
|
|
1056
1067
|
configurable: true
|
|
1057
1068
|
});
|
|
1058
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1069
|
+
Object.defineProperty(PieChartBase.prototype, "da", {
|
|
1059
1070
|
get: function () {
|
|
1060
|
-
return this.c(PieChartBase.
|
|
1071
|
+
return this.c(PieChartBase.hp);
|
|
1061
1072
|
},
|
|
1062
1073
|
set: function (a) {
|
|
1063
1074
|
var b = a;
|
|
@@ -1070,42 +1081,42 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1070
1081
|
if (a > 100) {
|
|
1071
1082
|
b = 100;
|
|
1072
1083
|
}
|
|
1073
|
-
this.h(PieChartBase.
|
|
1084
|
+
this.h(PieChartBase.hp, b);
|
|
1074
1085
|
},
|
|
1075
1086
|
enumerable: false,
|
|
1076
1087
|
configurable: true
|
|
1077
1088
|
});
|
|
1078
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1089
|
+
Object.defineProperty(PieChartBase.prototype, "br", {
|
|
1079
1090
|
get: function () {
|
|
1080
|
-
return this.
|
|
1091
|
+
return this.bo;
|
|
1081
1092
|
},
|
|
1082
1093
|
set: function (a) {
|
|
1083
|
-
if (this.
|
|
1084
|
-
var b = this.
|
|
1085
|
-
this.
|
|
1086
|
-
this.
|
|
1094
|
+
if (this.bo != a) {
|
|
1095
|
+
var b = this.br;
|
|
1096
|
+
this.bo = a;
|
|
1097
|
+
this.gu("LabelColumn", b, this.br);
|
|
1087
1098
|
}
|
|
1088
1099
|
},
|
|
1089
1100
|
enumerable: false,
|
|
1090
1101
|
configurable: true
|
|
1091
1102
|
});
|
|
1092
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1103
|
+
Object.defineProperty(PieChartBase.prototype, "bs", {
|
|
1093
1104
|
get: function () {
|
|
1094
|
-
return this.
|
|
1105
|
+
return this.bp;
|
|
1095
1106
|
},
|
|
1096
1107
|
set: function (a) {
|
|
1097
|
-
if (this.
|
|
1098
|
-
var b = this.
|
|
1099
|
-
this.
|
|
1100
|
-
this.
|
|
1108
|
+
if (this.bp != a) {
|
|
1109
|
+
var b = this.bs;
|
|
1110
|
+
this.bp = a;
|
|
1111
|
+
this.gu("LegendLabelColumn", b, this.bs);
|
|
1101
1112
|
}
|
|
1102
1113
|
},
|
|
1103
1114
|
enumerable: false,
|
|
1104
1115
|
configurable: true
|
|
1105
1116
|
});
|
|
1106
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1117
|
+
Object.defineProperty(PieChartBase.prototype, "c0", {
|
|
1107
1118
|
get: function () {
|
|
1108
|
-
var a = this.
|
|
1119
|
+
var a = this.c5;
|
|
1109
1120
|
if (isNaN_(a) || isInfinity(a) || a < 0) {
|
|
1110
1121
|
return 0;
|
|
1111
1122
|
}
|
|
@@ -1117,9 +1128,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1117
1128
|
enumerable: false,
|
|
1118
1129
|
configurable: true
|
|
1119
1130
|
});
|
|
1120
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1131
|
+
Object.defineProperty(PieChartBase.prototype, "c3", {
|
|
1121
1132
|
get: function () {
|
|
1122
|
-
var a = this.
|
|
1133
|
+
var a = this.dg;
|
|
1123
1134
|
if (isNaN_(a) || isInfinity(a) || a < 0) {
|
|
1124
1135
|
return 0;
|
|
1125
1136
|
}
|
|
@@ -1139,20 +1150,20 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1139
1150
|
var b = this.au;
|
|
1140
1151
|
if (b != null) {
|
|
1141
1152
|
var c = this.au;
|
|
1142
|
-
c.collectionChanged = delegateRemove(c.collectionChanged, this.
|
|
1153
|
+
c.collectionChanged = delegateRemove(c.collectionChanged, this.cv);
|
|
1143
1154
|
}
|
|
1144
|
-
this.
|
|
1155
|
+
this.b1 = false;
|
|
1145
1156
|
this.au = a;
|
|
1146
1157
|
if (this.au != null) {
|
|
1147
1158
|
var d = this.au;
|
|
1148
|
-
d.collectionChanged = delegateCombine(d.collectionChanged, this.
|
|
1149
|
-
this.
|
|
1159
|
+
d.collectionChanged = delegateCombine(d.collectionChanged, this.cv);
|
|
1160
|
+
this.b1 = true;
|
|
1150
1161
|
}
|
|
1151
|
-
if (this.
|
|
1162
|
+
if (this.b8) {
|
|
1163
|
+
this.gr();
|
|
1152
1164
|
this.gq();
|
|
1153
|
-
this.
|
|
1154
|
-
this.
|
|
1155
|
-
this.gw();
|
|
1165
|
+
this.gz();
|
|
1166
|
+
this.gx();
|
|
1156
1167
|
}
|
|
1157
1168
|
},
|
|
1158
1169
|
enumerable: false,
|
|
@@ -1164,71 +1175,71 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1164
1175
|
},
|
|
1165
1176
|
set: function (a) {
|
|
1166
1177
|
var b = this.av;
|
|
1167
|
-
b.collectionChanged = delegateRemove(b.collectionChanged, this.
|
|
1168
|
-
this.
|
|
1178
|
+
b.collectionChanged = delegateRemove(b.collectionChanged, this.cw);
|
|
1179
|
+
this.b4 = false;
|
|
1169
1180
|
this.av = a;
|
|
1170
1181
|
if (this.av != null) {
|
|
1171
1182
|
var c = this.av;
|
|
1172
|
-
c.collectionChanged = delegateCombine(c.collectionChanged, this.
|
|
1173
|
-
this.
|
|
1183
|
+
c.collectionChanged = delegateCombine(c.collectionChanged, this.cw);
|
|
1184
|
+
this.b4 = true;
|
|
1174
1185
|
}
|
|
1175
|
-
if (this.
|
|
1186
|
+
if (this.b9) {
|
|
1187
|
+
this.gr();
|
|
1176
1188
|
this.gq();
|
|
1177
|
-
this.
|
|
1178
|
-
this.gy();
|
|
1179
|
-
this.gw();
|
|
1189
|
+
this.gz();
|
|
1180
1190
|
this.gx();
|
|
1191
|
+
this.gy();
|
|
1181
1192
|
}
|
|
1182
1193
|
},
|
|
1183
1194
|
enumerable: false,
|
|
1184
1195
|
configurable: true
|
|
1185
1196
|
});
|
|
1186
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1197
|
+
Object.defineProperty(PieChartBase.prototype, "hc", {
|
|
1187
1198
|
get: function () {
|
|
1188
|
-
return typeCast(DataTemplate.$, this.c(PieChartBase.
|
|
1199
|
+
return typeCast(DataTemplate.$, this.c(PieChartBase.h0));
|
|
1189
1200
|
},
|
|
1190
1201
|
set: function (a) {
|
|
1191
|
-
this.h(PieChartBase.
|
|
1202
|
+
this.h(PieChartBase.h0, a);
|
|
1192
1203
|
},
|
|
1193
1204
|
enumerable: false,
|
|
1194
1205
|
configurable: true
|
|
1195
1206
|
});
|
|
1196
|
-
PieChartBase.prototype.
|
|
1207
|
+
PieChartBase.prototype.cb = function () {
|
|
1197
1208
|
return this.a5 != null;
|
|
1198
1209
|
};
|
|
1199
|
-
PieChartBase.prototype.
|
|
1210
|
+
PieChartBase.prototype.cc = function () {
|
|
1200
1211
|
return this.a6 != null;
|
|
1201
1212
|
};
|
|
1202
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1213
|
+
Object.defineProperty(PieChartBase.prototype, "df", {
|
|
1203
1214
|
get: function () {
|
|
1204
|
-
return this.
|
|
1215
|
+
return this.cz;
|
|
1205
1216
|
},
|
|
1206
1217
|
set: function (a) {
|
|
1207
|
-
var b = this.
|
|
1208
|
-
this.
|
|
1209
|
-
this.
|
|
1218
|
+
var b = this.cz;
|
|
1219
|
+
this.cz = a;
|
|
1220
|
+
this.gu("PixelScalingRatio", b, this.cz);
|
|
1210
1221
|
},
|
|
1211
1222
|
enumerable: false,
|
|
1212
1223
|
configurable: true
|
|
1213
1224
|
});
|
|
1214
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1225
|
+
Object.defineProperty(PieChartBase.prototype, "c2", {
|
|
1215
1226
|
get: function () {
|
|
1216
|
-
return this.
|
|
1227
|
+
return this.cy;
|
|
1217
1228
|
},
|
|
1218
1229
|
set: function (a) {
|
|
1219
|
-
var b = this.
|
|
1220
|
-
this.
|
|
1221
|
-
this.
|
|
1230
|
+
var b = this.cy;
|
|
1231
|
+
this.cy = a;
|
|
1232
|
+
this.gu("ActualPixelScalingRatio", b, this.cy);
|
|
1222
1233
|
},
|
|
1223
1234
|
enumerable: false,
|
|
1224
1235
|
configurable: true
|
|
1225
1236
|
});
|
|
1226
1237
|
Object.defineProperty(PieChartBase.prototype, "selectedItem", {
|
|
1227
1238
|
get: function () {
|
|
1228
|
-
return this.c(PieChartBase.
|
|
1239
|
+
return this.c(PieChartBase.io);
|
|
1229
1240
|
},
|
|
1230
1241
|
set: function (a) {
|
|
1231
|
-
this.h(PieChartBase.
|
|
1242
|
+
this.h(PieChartBase.io, a);
|
|
1232
1243
|
},
|
|
1233
1244
|
enumerable: false,
|
|
1234
1245
|
configurable: true
|
|
@@ -1243,38 +1254,38 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1243
1254
|
enumerable: false,
|
|
1244
1255
|
configurable: true
|
|
1245
1256
|
});
|
|
1246
|
-
PieChartBase.prototype.
|
|
1257
|
+
PieChartBase.prototype.gd = function (a, b) {
|
|
1247
1258
|
if (this.labelClick != null) {
|
|
1248
1259
|
this.labelClick(a, b);
|
|
1249
1260
|
}
|
|
1250
1261
|
};
|
|
1251
|
-
PieChartBase.prototype.
|
|
1262
|
+
PieChartBase.prototype.gf = function (a, b) {
|
|
1252
1263
|
if (this.selectedItemChanging != null) {
|
|
1253
1264
|
this.selectedItemChanging(a, b);
|
|
1254
1265
|
}
|
|
1255
1266
|
};
|
|
1256
|
-
PieChartBase.prototype.
|
|
1267
|
+
PieChartBase.prototype.gi = function (a, b) {
|
|
1257
1268
|
if (this.selectedItemsChanging != null) {
|
|
1258
1269
|
this.selectedItemsChanging(a, b);
|
|
1259
1270
|
}
|
|
1260
1271
|
};
|
|
1261
|
-
PieChartBase.prototype.
|
|
1272
|
+
PieChartBase.prototype.ge = function (a, b) {
|
|
1262
1273
|
if (this.selectedItemChanged != null) {
|
|
1263
1274
|
this.selectedItemChanged(a, b);
|
|
1264
1275
|
}
|
|
1265
1276
|
};
|
|
1266
|
-
PieChartBase.prototype.
|
|
1277
|
+
PieChartBase.prototype.gg = function (a, b) {
|
|
1267
1278
|
if (this.selectedItemsChanged != null) {
|
|
1268
1279
|
this.selectedItemsChanged(a, b);
|
|
1269
1280
|
}
|
|
1270
1281
|
};
|
|
1271
|
-
PieChartBase.prototype.
|
|
1282
|
+
PieChartBase.prototype.gk = function (a, b) {
|
|
1272
1283
|
if (this.sliceClick != null) {
|
|
1273
1284
|
this.sliceClick(a, b);
|
|
1274
1285
|
}
|
|
1275
1286
|
};
|
|
1276
|
-
PieChartBase.prototype.
|
|
1277
|
-
if (!this.
|
|
1287
|
+
PieChartBase.prototype.fz = function (a, b) {
|
|
1288
|
+
if (!this.b1) {
|
|
1278
1289
|
return;
|
|
1279
1290
|
}
|
|
1280
1291
|
if (!this.explodedSlices.contains(a.a5) && b) {
|
|
@@ -1284,41 +1295,41 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1284
1295
|
this.explodedSlices.remove(a.a5);
|
|
1285
1296
|
}
|
|
1286
1297
|
};
|
|
1287
|
-
PieChartBase.prototype.
|
|
1288
|
-
this.
|
|
1298
|
+
PieChartBase.prototype.g2 = function (a, b) {
|
|
1299
|
+
this.b6 = true;
|
|
1289
1300
|
if (!this.selectedSlices.contains(a.a5) && b) {
|
|
1290
1301
|
this.selectedSlices.add(a.a5);
|
|
1291
1302
|
}
|
|
1292
1303
|
if (this.selectedSlices.contains(a.a5) && !b) {
|
|
1293
1304
|
this.selectedSlices.remove(a.a5);
|
|
1294
1305
|
}
|
|
1295
|
-
this.
|
|
1306
|
+
this.b6 = false;
|
|
1296
1307
|
};
|
|
1297
|
-
PieChartBase.prototype.
|
|
1308
|
+
PieChartBase.prototype.g3 = function (a) {
|
|
1298
1309
|
this.a4.bd(a);
|
|
1299
1310
|
};
|
|
1300
|
-
PieChartBase.prototype.
|
|
1311
|
+
PieChartBase.prototype.dp = function (a) {
|
|
1301
1312
|
return this.a4.ae(a);
|
|
1302
1313
|
};
|
|
1303
|
-
PieChartBase.prototype.
|
|
1314
|
+
PieChartBase.prototype.i8 = function (a, b) {
|
|
1304
1315
|
var c = new Rect(0, 0, 0, 0, 0);
|
|
1305
1316
|
return c;
|
|
1306
1317
|
};
|
|
1307
|
-
PieChartBase.prototype.
|
|
1318
|
+
PieChartBase.prototype.ca = function (a, b) {
|
|
1308
1319
|
var c = a.ah;
|
|
1309
1320
|
if (c == null) {
|
|
1310
1321
|
return false;
|
|
1311
1322
|
}
|
|
1312
1323
|
var d = c.b6();
|
|
1313
|
-
var e = this.
|
|
1314
|
-
var f = this.
|
|
1324
|
+
var e = this.i3 == 1 ? c.a3 : c.ax;
|
|
1325
|
+
var f = this.i3 == 1 ? c.ax : c.a3;
|
|
1315
1326
|
var g = false;
|
|
1316
1327
|
var h = false;
|
|
1317
1328
|
var i = GeometryUtil.n(d, e, c.a2);
|
|
1318
1329
|
var j = GeometryUtil.n(d, f, c.a2);
|
|
1319
|
-
e = PieChartBase.
|
|
1320
|
-
f = PieChartBase.
|
|
1321
|
-
if (this.
|
|
1330
|
+
e = PieChartBase.c6(i.x, d.x, i.y, d.y);
|
|
1331
|
+
f = PieChartBase.c6(j.x, d.x, j.y, d.y);
|
|
1332
|
+
if (this.cd(c)) {
|
|
1322
1333
|
h = true;
|
|
1323
1334
|
}
|
|
1324
1335
|
var k;
|
|
@@ -1346,28 +1357,28 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1346
1357
|
g = true;
|
|
1347
1358
|
}
|
|
1348
1359
|
var l;
|
|
1349
|
-
l = PieChartBase.
|
|
1360
|
+
l = PieChartBase.c6(a.ao.right, d.x, a.ao.top, d.y);
|
|
1350
1361
|
if (g && l > 180 && l < 360) {
|
|
1351
1362
|
l = l - 360;
|
|
1352
1363
|
}
|
|
1353
1364
|
if (l < e || l > f) {
|
|
1354
1365
|
return false;
|
|
1355
1366
|
}
|
|
1356
|
-
l = PieChartBase.
|
|
1367
|
+
l = PieChartBase.c6(a.ao.right, d.x, a.ao.bottom, d.y);
|
|
1357
1368
|
if (g && l > 180 && l < 360) {
|
|
1358
1369
|
l = l - 360;
|
|
1359
1370
|
}
|
|
1360
1371
|
if (l < e || l > f) {
|
|
1361
1372
|
return false;
|
|
1362
1373
|
}
|
|
1363
|
-
l = PieChartBase.
|
|
1374
|
+
l = PieChartBase.c6(a.ao.left, d.x, a.ao.top, d.y);
|
|
1364
1375
|
if (g && l > 180 && l < 360) {
|
|
1365
1376
|
l = l - 360;
|
|
1366
1377
|
}
|
|
1367
1378
|
if (l < e || l > f) {
|
|
1368
1379
|
return false;
|
|
1369
1380
|
}
|
|
1370
|
-
l = PieChartBase.
|
|
1381
|
+
l = PieChartBase.c6(a.ao.left, d.x, a.ao.bottom, d.y);
|
|
1371
1382
|
if (g && l > 180 && l < 360) {
|
|
1372
1383
|
l = l - 360;
|
|
1373
1384
|
}
|
|
@@ -1376,14 +1387,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1376
1387
|
}
|
|
1377
1388
|
return true;
|
|
1378
1389
|
};
|
|
1379
|
-
PieChartBase.
|
|
1390
|
+
PieChartBase.dh = function (a) {
|
|
1380
1391
|
var b = Math.round(a * Math.pow(10, 5)) / Math.pow(10, 5);
|
|
1381
1392
|
return b;
|
|
1382
1393
|
};
|
|
1383
|
-
PieChartBase.prototype.
|
|
1384
|
-
return PieChartBase.
|
|
1394
|
+
PieChartBase.prototype.cd = function (a) {
|
|
1395
|
+
return PieChartBase.dh(Math.abs(a.ax - a.a3)) == 360;
|
|
1385
1396
|
};
|
|
1386
|
-
PieChartBase.
|
|
1397
|
+
PieChartBase.c6 = function (a, b, c, d) {
|
|
1387
1398
|
var e = MathUtil.g(a - b, c - d);
|
|
1388
1399
|
var f = Math.asin((c - d) / e) * 180 / Math.PI;
|
|
1389
1400
|
if (a < b) {
|
|
@@ -1397,7 +1408,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1397
1408
|
}
|
|
1398
1409
|
return GeometryUtil.j(f);
|
|
1399
1410
|
};
|
|
1400
|
-
PieChartBase.
|
|
1411
|
+
PieChartBase.g8 = function (a) {
|
|
1401
1412
|
var b = new Array(a.count);
|
|
1402
1413
|
for (var c = 0; c < a.count; c++) {
|
|
1403
1414
|
var d = a._inner[c];
|
|
@@ -1418,7 +1429,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1418
1429
|
}
|
|
1419
1430
|
}
|
|
1420
1431
|
};
|
|
1421
|
-
PieChartBase.prototype.
|
|
1432
|
+
PieChartBase.prototype.g0 = function (a) {
|
|
1422
1433
|
var e_1, _a, e_2, _b;
|
|
1423
1434
|
if (a.count == 0) {
|
|
1424
1435
|
return;
|
|
@@ -1472,7 +1483,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1472
1483
|
if (r.ao.intersectsWith(s.ao)) {
|
|
1473
1484
|
var t = s.ao;
|
|
1474
1485
|
t.y = Math.min(r.ao.bottom + 0.01, c - i);
|
|
1475
|
-
var u = this.
|
|
1486
|
+
var u = this.db + e;
|
|
1476
1487
|
var v = Math.abs(f.y - (t.y + i / 2));
|
|
1477
1488
|
var w = Math.sqrt(Math.abs(u * u - v * v));
|
|
1478
1489
|
var x = GeometryUtil.j(s.ai);
|
|
@@ -1491,7 +1502,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1491
1502
|
if (aa.ao.intersectsWith(ab.ao)) {
|
|
1492
1503
|
var ac = ab.ao;
|
|
1493
1504
|
ac.y = Math.max(aa.ao.top - i - 0.01, 0);
|
|
1494
|
-
var ad = this.
|
|
1505
|
+
var ad = this.db + e;
|
|
1495
1506
|
var ae = Math.abs(f.y - (ac.y + i / 2));
|
|
1496
1507
|
var af = Math.sqrt(Math.abs(ad * ad - ae * ae));
|
|
1497
1508
|
var ag = GeometryUtil.j(ab.ai);
|
|
@@ -1553,38 +1564,38 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1553
1564
|
}
|
|
1554
1565
|
}
|
|
1555
1566
|
};
|
|
1556
|
-
PieChartBase.prototype.
|
|
1557
|
-
this.
|
|
1567
|
+
PieChartBase.prototype.fx = function (a, b, c, d) {
|
|
1568
|
+
this.gw();
|
|
1558
1569
|
};
|
|
1559
|
-
PieChartBase.prototype.
|
|
1560
|
-
this.go();
|
|
1561
|
-
this.gq();
|
|
1570
|
+
PieChartBase.prototype.gw = function () {
|
|
1562
1571
|
this.gp();
|
|
1563
|
-
this.
|
|
1564
|
-
this.
|
|
1572
|
+
this.gr();
|
|
1573
|
+
this.gq();
|
|
1574
|
+
this.gz();
|
|
1565
1575
|
this.gx();
|
|
1576
|
+
this.gy();
|
|
1566
1577
|
this.a4.bs();
|
|
1567
1578
|
};
|
|
1568
|
-
PieChartBase.prototype.
|
|
1579
|
+
PieChartBase.prototype.gp = function () {
|
|
1569
1580
|
var e_3, _a;
|
|
1570
|
-
this.
|
|
1571
|
-
this.
|
|
1581
|
+
this.dj = 0;
|
|
1582
|
+
this.de = 0;
|
|
1583
|
+
this.co.clear();
|
|
1572
1584
|
this.cn.clear();
|
|
1573
1585
|
this.cm.clear();
|
|
1574
|
-
this.
|
|
1575
|
-
if (this.actualItemsSource == null || this.bl == null) {
|
|
1586
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1576
1587
|
return;
|
|
1577
1588
|
}
|
|
1578
|
-
if (this.
|
|
1589
|
+
if (this.bv == null || this.bv.count == 0) {
|
|
1579
1590
|
return;
|
|
1580
1591
|
}
|
|
1581
1592
|
try {
|
|
1582
|
-
for (var _b = __values(fromEnum(this.
|
|
1593
|
+
for (var _b = __values(fromEnum(this.bv)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1583
1594
|
var a = _c.value;
|
|
1584
1595
|
if (isNaN_(a) || isInfinity(a) || a <= 0) {
|
|
1585
1596
|
continue;
|
|
1586
1597
|
}
|
|
1587
|
-
this.
|
|
1598
|
+
this.dj = this.dj + a;
|
|
1588
1599
|
}
|
|
1589
1600
|
}
|
|
1590
1601
|
catch (e_3_1) {
|
|
@@ -1600,89 +1611,89 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1600
1611
|
throw e_3.error;
|
|
1601
1612
|
}
|
|
1602
1613
|
}
|
|
1603
|
-
for (var b = 0; b < this.
|
|
1604
|
-
var c = this.
|
|
1614
|
+
for (var b = 0; b < this.bv.count; b++) {
|
|
1615
|
+
var c = this.bv.item(b);
|
|
1605
1616
|
var d = this.a1 == 0 ? c <= 0 : c < 0;
|
|
1606
1617
|
if (isNaN_(c) || isInfinity(c) || d) {
|
|
1607
1618
|
continue;
|
|
1608
1619
|
}
|
|
1609
|
-
var e = this.a2 == 1 ? c / this.
|
|
1610
|
-
var f = this.a2 == 1 ? this.
|
|
1611
|
-
var g = c > 0 || (this.
|
|
1620
|
+
var e = this.a2 == 1 ? c / this.dj : c;
|
|
1621
|
+
var f = this.a2 == 1 ? this.dd / 100 : this.dd;
|
|
1622
|
+
var g = c > 0 || (this.dd > 0 && this.a1 != 1);
|
|
1612
1623
|
if (e <= f && g) {
|
|
1613
|
-
this.
|
|
1614
|
-
this.
|
|
1615
|
-
this.
|
|
1624
|
+
this.de = this.de + c;
|
|
1625
|
+
this.cn.add(b);
|
|
1626
|
+
this.cm.add1(this.bm.item(b));
|
|
1616
1627
|
}
|
|
1617
1628
|
else {
|
|
1618
|
-
this.
|
|
1629
|
+
this.co.add(b);
|
|
1619
1630
|
}
|
|
1620
1631
|
}
|
|
1621
1632
|
};
|
|
1622
|
-
PieChartBase.prototype.
|
|
1623
|
-
if (this.actualItemsSource == null || this.
|
|
1624
|
-
this.
|
|
1633
|
+
PieChartBase.prototype.gr = function () {
|
|
1634
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1635
|
+
this.bx.count = 0;
|
|
1625
1636
|
return;
|
|
1626
1637
|
}
|
|
1627
|
-
var a = this.
|
|
1628
|
-
var b = this.
|
|
1629
|
-
var c = PieChartBase.
|
|
1630
|
-
var d = PieChartBase.
|
|
1638
|
+
var a = this.co.count;
|
|
1639
|
+
var b = this.cn.count > 0;
|
|
1640
|
+
var c = PieChartBase.dh(this.c4);
|
|
1641
|
+
var d = PieChartBase.dh(this.c4);
|
|
1631
1642
|
if (b) {
|
|
1632
1643
|
a++;
|
|
1633
1644
|
}
|
|
1634
|
-
this.
|
|
1645
|
+
this.dm = a;
|
|
1635
1646
|
for (var e = 0; e < a; e++) {
|
|
1636
1647
|
var f = false;
|
|
1637
1648
|
var g = void 0;
|
|
1638
1649
|
if (e == a - 1 && b) {
|
|
1639
|
-
g = this.
|
|
1650
|
+
g = this.de;
|
|
1640
1651
|
f = true;
|
|
1641
1652
|
}
|
|
1642
1653
|
else {
|
|
1643
|
-
g = this.
|
|
1654
|
+
g = this.bv.item(this.co._inner[e]);
|
|
1644
1655
|
}
|
|
1645
|
-
if (this.
|
|
1646
|
-
d += PieChartBase.
|
|
1656
|
+
if (this.i3 == 1) {
|
|
1657
|
+
d += PieChartBase.dh(Math.abs(g) * 360 / this.dj);
|
|
1647
1658
|
}
|
|
1648
1659
|
else {
|
|
1649
|
-
d -= PieChartBase.
|
|
1660
|
+
d -= PieChartBase.dh(Math.abs(g) * 360 / this.dj);
|
|
1650
1661
|
}
|
|
1651
|
-
var h = this.
|
|
1662
|
+
var h = this.bx.item(e);
|
|
1652
1663
|
h.aw = true;
|
|
1653
1664
|
h.a3 = c;
|
|
1654
1665
|
h.ax = d;
|
|
1655
|
-
h.a1 = this.
|
|
1656
|
-
h.a0 = this.
|
|
1666
|
+
h.a1 = this.c1;
|
|
1667
|
+
h.a0 = this.c1;
|
|
1657
1668
|
h.isOthersSlice = f;
|
|
1658
|
-
h.ay = this.
|
|
1669
|
+
h.ay = this.c0;
|
|
1659
1670
|
h.a5 = e;
|
|
1660
|
-
h.dataContext = f ? this.
|
|
1671
|
+
h.dataContext = f ? this.cm : this.bm.item(this.co._inner[e]);
|
|
1661
1672
|
this.a7.j(h);
|
|
1662
|
-
h.isExploded = this.
|
|
1673
|
+
h.isExploded = this.b1 ? this.explodedSlices.contains(e) : false;
|
|
1663
1674
|
c = d;
|
|
1664
1675
|
h.aw = false;
|
|
1665
1676
|
}
|
|
1666
|
-
this.
|
|
1677
|
+
this.bx.count = a;
|
|
1667
1678
|
};
|
|
1668
|
-
PieChartBase.prototype.
|
|
1679
|
+
PieChartBase.prototype.fh = function () {
|
|
1669
1680
|
var a = this.XSRP.b7;
|
|
1670
1681
|
if (stringIsNullOrWhiteSpace(a)) {
|
|
1671
1682
|
a = "Others";
|
|
1672
1683
|
}
|
|
1673
|
-
return this.
|
|
1684
|
+
return this.e6 != null ? this.e6 : a;
|
|
1674
1685
|
};
|
|
1675
|
-
PieChartBase.prototype.
|
|
1686
|
+
PieChartBase.prototype.gq = function () {
|
|
1676
1687
|
var _this = this;
|
|
1677
|
-
if (this.actualItemsSource == null || this.
|
|
1678
|
-
this.
|
|
1688
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1689
|
+
this.bw.count = 0;
|
|
1679
1690
|
return;
|
|
1680
1691
|
}
|
|
1681
|
-
if (this.
|
|
1682
|
-
this.
|
|
1692
|
+
if (this.br == null || this.br.count == 0 || this.az == 0) {
|
|
1693
|
+
this.bw.count = 0;
|
|
1683
1694
|
}
|
|
1684
|
-
var a = this.
|
|
1685
|
-
if (this.
|
|
1695
|
+
var a = this.co.count;
|
|
1696
|
+
if (this.cn.count > 0) {
|
|
1686
1697
|
a++;
|
|
1687
1698
|
}
|
|
1688
1699
|
this.a4.av();
|
|
@@ -1692,15 +1703,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1692
1703
|
var e = false;
|
|
1693
1704
|
var f;
|
|
1694
1705
|
var g = null;
|
|
1695
|
-
if (c == a - 1 && this_1.
|
|
1696
|
-
f = this_1.
|
|
1706
|
+
if (c == a - 1 && this_1.cn.count > 0) {
|
|
1707
|
+
f = this_1.fh();
|
|
1697
1708
|
e = true;
|
|
1698
|
-
if (this_1.
|
|
1709
|
+
if (this_1.cb() || this_1.ap != null || this_1.as != null) {
|
|
1699
1710
|
var h = ((function () {
|
|
1700
1711
|
var $ret = new PieSliceDataContext();
|
|
1701
1712
|
$ret.series = _this;
|
|
1702
|
-
$ret.item = e ? _this.
|
|
1703
|
-
$ret.percentValue = _this.
|
|
1713
|
+
$ret.item = e ? _this.cm : _this.bm.item(_this.co._inner[c]);
|
|
1714
|
+
$ret.percentValue = _this.c9(_this.bx.item(c));
|
|
1704
1715
|
$ret.isOthersSlice = e;
|
|
1705
1716
|
return $ret;
|
|
1706
1717
|
})());
|
|
@@ -1716,7 +1727,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1716
1727
|
else if (this_1.as != null && e) {
|
|
1717
1728
|
f = this_1.as.i(i);
|
|
1718
1729
|
}
|
|
1719
|
-
else if (this_1.
|
|
1730
|
+
else if (this_1.cb()) {
|
|
1720
1731
|
f = this_1.a5(i);
|
|
1721
1732
|
}
|
|
1722
1733
|
}
|
|
@@ -1724,25 +1735,25 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1724
1735
|
d = f.toString();
|
|
1725
1736
|
}
|
|
1726
1737
|
else {
|
|
1727
|
-
d = this_1.
|
|
1738
|
+
d = this_1.fh();
|
|
1728
1739
|
}
|
|
1729
1740
|
}
|
|
1730
1741
|
else {
|
|
1731
|
-
if (this_1.
|
|
1732
|
-
f = this_1.
|
|
1742
|
+
if (this_1.br != null && this_1.br.count >= this_1.co.count) {
|
|
1743
|
+
f = this_1.br.item(this_1.co._inner[c]);
|
|
1733
1744
|
}
|
|
1734
1745
|
else {
|
|
1735
1746
|
f = null;
|
|
1736
1747
|
}
|
|
1737
|
-
g = (this_1.
|
|
1738
|
-
if (this_1.
|
|
1748
|
+
g = (this_1.bs != null && this_1.bs.count > 0) ? this_1.bs.item(this_1.co._inner[c]) : null;
|
|
1749
|
+
if (this_1.cb() || this_1.ap != null || this_1.as != null) {
|
|
1739
1750
|
var j = ((function () {
|
|
1740
1751
|
var $ret = new PieSliceDataContext();
|
|
1741
1752
|
$ret.series = _this;
|
|
1742
|
-
$ret.item = e ? _this.
|
|
1753
|
+
$ret.item = e ? _this.cm : _this.bm.item(_this.co._inner[c]);
|
|
1743
1754
|
$ret.itemLabel = f != null ? f.toString() : null;
|
|
1744
1755
|
$ret.legendLabel = g != null ? g.toString() : f != null ? f.toString() : null;
|
|
1745
|
-
$ret.percentValue = _this.
|
|
1756
|
+
$ret.percentValue = _this.c9(_this.bx.item(c));
|
|
1746
1757
|
$ret.isOthersSlice = e;
|
|
1747
1758
|
return $ret;
|
|
1748
1759
|
})());
|
|
@@ -1760,15 +1771,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1760
1771
|
else {
|
|
1761
1772
|
formattedLabel_ = this_1.a5(k);
|
|
1762
1773
|
}
|
|
1763
|
-
if (null == formattedLabel_ && this_1.
|
|
1764
|
-
f = this_1.
|
|
1774
|
+
if (null == formattedLabel_ && this_1.br != null && this_1.br.count > 0) {
|
|
1775
|
+
f = this_1.br.item(this_1.co._inner[c]);
|
|
1765
1776
|
}
|
|
1766
1777
|
else {
|
|
1767
1778
|
f = formattedLabel_;
|
|
1768
1779
|
}
|
|
1769
1780
|
}
|
|
1770
1781
|
var label_ = f;
|
|
1771
|
-
var errorMsg_ = this_1.
|
|
1782
|
+
var errorMsg_ = this_1.d9;
|
|
1772
1783
|
if (label_ === undefined) {
|
|
1773
1784
|
throw new Error(errorMsg_);
|
|
1774
1785
|
}
|
|
@@ -1780,9 +1791,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1780
1791
|
d = null;
|
|
1781
1792
|
}
|
|
1782
1793
|
}
|
|
1783
|
-
if (this_1.
|
|
1784
|
-
var l = this_1.
|
|
1785
|
-
var m = this_1.
|
|
1794
|
+
if (this_1.br != null && this_1.br.count > 0) {
|
|
1795
|
+
var l = this_1.bw.item(c);
|
|
1796
|
+
var m = this_1.bx.item(c);
|
|
1786
1797
|
m.aj = l;
|
|
1787
1798
|
l.ai = GeometryUtil.j((m.a3 + m.ax) / 2);
|
|
1788
1799
|
l.ah = m;
|
|
@@ -1791,8 +1802,8 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1791
1802
|
$ret.al = d;
|
|
1792
1803
|
return $ret;
|
|
1793
1804
|
})());
|
|
1794
|
-
if (this_1.
|
|
1795
|
-
l.dataContext = e ? this_1.
|
|
1805
|
+
if (this_1.hc == null) {
|
|
1806
|
+
l.dataContext = e ? this_1.cm : this_1.bm.item(this_1.co._inner[c]);
|
|
1796
1807
|
l.ak(this_1.a4);
|
|
1797
1808
|
}
|
|
1798
1809
|
else {
|
|
@@ -1801,8 +1812,8 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1801
1812
|
l.ao = this_1.a4.b3(l);
|
|
1802
1813
|
b++;
|
|
1803
1814
|
}
|
|
1804
|
-
if (this_1.
|
|
1805
|
-
var n = this_1.
|
|
1815
|
+
if (this_1.bs != null && this_1.bs.count > 0) {
|
|
1816
|
+
var n = this_1.bx.item(c);
|
|
1806
1817
|
n.bf = g != null ? g.toString() : null;
|
|
1807
1818
|
}
|
|
1808
1819
|
};
|
|
@@ -1810,40 +1821,40 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1810
1821
|
for (var c = 0; c < a; c++) {
|
|
1811
1822
|
_loop_1(c);
|
|
1812
1823
|
}
|
|
1813
|
-
this.
|
|
1824
|
+
this.bw.count = b;
|
|
1814
1825
|
};
|
|
1815
|
-
PieChartBase.prototype.
|
|
1826
|
+
PieChartBase.prototype.gz = function () {
|
|
1816
1827
|
var e_4, _a;
|
|
1817
|
-
if (this.actualItemsSource == null || this.
|
|
1828
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1818
1829
|
return;
|
|
1819
1830
|
}
|
|
1820
1831
|
var a = this.a4.b5();
|
|
1821
|
-
this.
|
|
1832
|
+
this.i9 = new Rect(0, 0, 0, a.width, a.height);
|
|
1822
1833
|
var b = this.a4.ab();
|
|
1823
|
-
var c = this.a4.aa(this.
|
|
1834
|
+
var c = this.a4.aa(this.jc);
|
|
1824
1835
|
b = isNaN_(b) ? 0 : b / 2;
|
|
1825
1836
|
c = isNaN_(c) ? 0 : c / 2;
|
|
1826
1837
|
b = Math.max(c, b);
|
|
1827
1838
|
var d = Math.min(a.width / 2, a.height / 2);
|
|
1828
1839
|
var e = { $type: Point_$type, x: a.width / 2, y: a.height / 2 };
|
|
1829
|
-
var f = d * this.
|
|
1840
|
+
var f = d * this.c3;
|
|
1830
1841
|
var g = f + b;
|
|
1831
1842
|
if (g > d) {
|
|
1832
1843
|
var h = g - d;
|
|
1833
1844
|
f = f - h;
|
|
1834
1845
|
}
|
|
1835
1846
|
try {
|
|
1836
|
-
for (var _b = __values(fromEnum(this.
|
|
1847
|
+
for (var _b = __values(fromEnum(this.bx.a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1837
1848
|
var i = _c.value;
|
|
1838
|
-
var j = GeometryUtil.m(a.width, a.height, true, (i.a3 + i.ax) / 2, f * this.
|
|
1849
|
+
var j = GeometryUtil.m(a.width, a.height, true, (i.a3 + i.ax) / 2, f * this.c0);
|
|
1839
1850
|
i.aw = true;
|
|
1840
|
-
i.a1 = this.
|
|
1841
|
-
i.a0 = this.
|
|
1851
|
+
i.a1 = this.c1;
|
|
1852
|
+
i.a0 = this.c1;
|
|
1842
1853
|
i.a2 = f;
|
|
1843
|
-
i.ay = this.
|
|
1854
|
+
i.ay = this.c0;
|
|
1844
1855
|
i.b7 = e;
|
|
1845
1856
|
i.b5 = j;
|
|
1846
|
-
this.
|
|
1857
|
+
this.g3(i);
|
|
1847
1858
|
i.aw = false;
|
|
1848
1859
|
}
|
|
1849
1860
|
}
|
|
@@ -1862,15 +1873,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1862
1873
|
}
|
|
1863
1874
|
this.a4.bs();
|
|
1864
1875
|
};
|
|
1865
|
-
PieChartBase.prototype.
|
|
1876
|
+
PieChartBase.prototype.gx = function () {
|
|
1866
1877
|
var e_5, _a, e_6, _b, e_7, _c, e_8, _d, e_9, _e;
|
|
1867
1878
|
var a = this.a4.b4.width;
|
|
1868
1879
|
var b = this.a4.b4.height;
|
|
1869
1880
|
if (b == 0 || a == 0) {
|
|
1870
1881
|
return;
|
|
1871
1882
|
}
|
|
1872
|
-
if (this.
|
|
1873
|
-
this.
|
|
1883
|
+
if (this.bw.a.count == 0 || this.az == 0) {
|
|
1884
|
+
this.bw.count = 0;
|
|
1874
1885
|
return;
|
|
1875
1886
|
}
|
|
1876
1887
|
var c = new List$1(PieLabel.$, 0);
|
|
@@ -1878,7 +1889,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1878
1889
|
var e = new List$1(PieLabel.$, 0);
|
|
1879
1890
|
var f = new List$1(PieLabel.$, 0);
|
|
1880
1891
|
try {
|
|
1881
|
-
for (var _f = __values(fromEnum(this.
|
|
1892
|
+
for (var _f = __values(fromEnum(this.bw.a)), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
1882
1893
|
var g = _g.value;
|
|
1883
1894
|
var h = g.ah;
|
|
1884
1895
|
if (h == null) {
|
|
@@ -1891,13 +1902,13 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1891
1902
|
var l = h.a2 * h.a1 / 100;
|
|
1892
1903
|
var m = GeometryUtil.n(i, g.ai, h.a2 - (h.a2 - l) / 2);
|
|
1893
1904
|
g.ao = new Rect(0, m.x - j / 2, m.y - k / 2, j, k);
|
|
1894
|
-
var n = this.
|
|
1905
|
+
var n = this.ca(g, m);
|
|
1895
1906
|
if (n || this.az == 1) {
|
|
1896
|
-
if (this.
|
|
1907
|
+
if (this.iy == null) {
|
|
1897
1908
|
h.f(Slice.bp);
|
|
1898
1909
|
}
|
|
1899
1910
|
else {
|
|
1900
|
-
h.b2 = this.
|
|
1911
|
+
h.b2 = this.iy;
|
|
1901
1912
|
}
|
|
1902
1913
|
h.au = true;
|
|
1903
1914
|
e.add(g);
|
|
@@ -1918,16 +1929,16 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1918
1929
|
}
|
|
1919
1930
|
}
|
|
1920
1931
|
if (this.az == 2 || this.az == 4) {
|
|
1921
|
-
var o = PieChartBase.
|
|
1932
|
+
var o = PieChartBase.c7(i, h.a2, g);
|
|
1922
1933
|
var p = GeometryUtil.n(i, g.ai, o);
|
|
1923
1934
|
g.ao = new Rect(0, p.x - j / 2, p.y - k / 2, j, k);
|
|
1924
|
-
var q = this.
|
|
1935
|
+
var q = this.ca(g, p);
|
|
1925
1936
|
if (q || this.az == 2) {
|
|
1926
|
-
if (this.
|
|
1937
|
+
if (this.iy == null) {
|
|
1927
1938
|
h.f(Slice.bp);
|
|
1928
1939
|
}
|
|
1929
1940
|
else {
|
|
1930
|
-
h.b2 = this.
|
|
1941
|
+
h.b2 = this.iy;
|
|
1931
1942
|
}
|
|
1932
1943
|
h.au = true;
|
|
1933
1944
|
f.add(g);
|
|
@@ -1947,14 +1958,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1947
1958
|
continue;
|
|
1948
1959
|
}
|
|
1949
1960
|
}
|
|
1950
|
-
if (this.
|
|
1961
|
+
if (this.iz == null) {
|
|
1951
1962
|
h.f(Slice.bp);
|
|
1952
1963
|
}
|
|
1953
1964
|
else {
|
|
1954
|
-
h.b2 = this.
|
|
1965
|
+
h.b2 = this.iz;
|
|
1955
1966
|
}
|
|
1956
1967
|
h.au = false;
|
|
1957
|
-
var r = GeometryUtil.n(i, g.ai, h.a2 + this.
|
|
1968
|
+
var r = GeometryUtil.n(i, g.ai, h.a2 + this.db);
|
|
1958
1969
|
g.ag = 3;
|
|
1959
1970
|
g._visibility = 0;
|
|
1960
1971
|
g.al();
|
|
@@ -1995,10 +2006,10 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1995
2006
|
throw e_5.error;
|
|
1996
2007
|
}
|
|
1997
2008
|
}
|
|
1998
|
-
PieChartBase.
|
|
1999
|
-
this.
|
|
2000
|
-
PieChartBase.
|
|
2001
|
-
this.
|
|
2009
|
+
PieChartBase.g8(c);
|
|
2010
|
+
this.g0(c);
|
|
2011
|
+
PieChartBase.g8(d);
|
|
2012
|
+
this.g0(d);
|
|
2002
2013
|
try {
|
|
2003
2014
|
for (var _h = __values(fromEnum(e)), _j = _h.next(); !_j.done; _j = _h.next()) {
|
|
2004
2015
|
var s = _j.value;
|
|
@@ -2089,14 +2100,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2089
2100
|
}
|
|
2090
2101
|
this.a4.bs();
|
|
2091
2102
|
};
|
|
2092
|
-
PieChartBase.
|
|
2103
|
+
PieChartBase.c7 = function (a, b, c) {
|
|
2093
2104
|
var d = c.ai * Math.PI / 180;
|
|
2094
2105
|
var e = 1;
|
|
2095
2106
|
var f = GeometryUtil.n({ $type: Point_$type, x: 0, y: 0 }, c.ai, e);
|
|
2096
|
-
var g = PieChartBase.
|
|
2107
|
+
var g = PieChartBase.i5(c);
|
|
2097
2108
|
var h = Math.sqrt(g.x * g.x + g.y * g.y);
|
|
2098
2109
|
var i = { $type: Point_$type, x: g.x / h, y: g.y / h };
|
|
2099
|
-
var j = PieChartBase.
|
|
2110
|
+
var j = PieChartBase.c8(f, i);
|
|
2100
2111
|
var k = h / b;
|
|
2101
2112
|
var l = j * k;
|
|
2102
2113
|
var m = l;
|
|
@@ -2106,12 +2117,12 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2106
2117
|
m = -m;
|
|
2107
2118
|
}
|
|
2108
2119
|
var p = GeometryUtil.n(a, (d + m) * 180 / Math.PI, b);
|
|
2109
|
-
var q = PieChartBase.
|
|
2120
|
+
var q = PieChartBase.i4(c, p);
|
|
2110
2121
|
var r = Math.sqrt((q.x - a.x) * (q.x - a.x) + (q.y - a.y) * (q.y - a.y));
|
|
2111
2122
|
var s = r - 5;
|
|
2112
2123
|
return s;
|
|
2113
2124
|
};
|
|
2114
|
-
PieChartBase.
|
|
2125
|
+
PieChartBase.i4 = function (a, b) {
|
|
2115
2126
|
var c = GeometryUtil.j(a.ai);
|
|
2116
2127
|
var d = a.ao.width / 2;
|
|
2117
2128
|
var e = a.ao.height / 2;
|
|
@@ -2126,14 +2137,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2126
2137
|
}
|
|
2127
2138
|
return { $type: Point_$type, x: b.x - d, y: b.y + e };
|
|
2128
2139
|
};
|
|
2129
|
-
PieChartBase.
|
|
2140
|
+
PieChartBase.c8 = function (a, b) {
|
|
2130
2141
|
var c = a.x * b.x + a.y * b.y;
|
|
2131
2142
|
var d = Math.sqrt(a.x * a.x + a.y * a.y);
|
|
2132
2143
|
var e = Math.sqrt(b.x * b.x + b.y * b.y);
|
|
2133
2144
|
var f = Math.acos(c / (d * e));
|
|
2134
2145
|
return f;
|
|
2135
2146
|
};
|
|
2136
|
-
PieChartBase.
|
|
2147
|
+
PieChartBase.i5 = function (a) {
|
|
2137
2148
|
var b = GeometryUtil.j(a.ai);
|
|
2138
2149
|
var c = a.ao.width / 2;
|
|
2139
2150
|
var d = a.ao.height / 2;
|
|
@@ -2148,20 +2159,20 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2148
2159
|
}
|
|
2149
2160
|
return { $type: Point_$type, x: c, y: -d };
|
|
2150
2161
|
};
|
|
2151
|
-
PieChartBase.prototype.
|
|
2162
|
+
PieChartBase.prototype.gy = function () {
|
|
2152
2163
|
var e_10, _a;
|
|
2153
2164
|
var _this = this;
|
|
2154
2165
|
if (this.legend == null || !this.legend.isItemwise) {
|
|
2155
2166
|
return;
|
|
2156
2167
|
}
|
|
2157
|
-
if ((this.
|
|
2168
|
+
if ((this.br == null || this.br.count == 0) && (this.bs == null || this.bs.count == 0)) {
|
|
2158
2169
|
this.legend.clearLegendItemsForSeries(this);
|
|
2159
2170
|
return;
|
|
2160
2171
|
}
|
|
2161
|
-
this.
|
|
2172
|
+
this.cl = new List$1(UIElement.$, 0);
|
|
2162
2173
|
var _loop_2 = function (a) {
|
|
2163
2174
|
var b = new ContentControl();
|
|
2164
|
-
var c = this_2.
|
|
2175
|
+
var c = this_2.dp(a);
|
|
2165
2176
|
var d = this_2.a4.bu(a);
|
|
2166
2177
|
var e = this_2.a4.bv(a);
|
|
2167
2178
|
b.content = ((function () {
|
|
@@ -2173,15 +2184,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2173
2184
|
$ret.outline = e;
|
|
2174
2185
|
$ret.thickness = a.a4;
|
|
2175
2186
|
$ret.itemLabel = c != null ? c.toString() : null;
|
|
2176
|
-
$ret.legendLabel = a.isOthersSlice ? _this.
|
|
2177
|
-
$ret.percentValue = _this.
|
|
2187
|
+
$ret.legendLabel = a.isOthersSlice ? _this.fh() : a.bf != null ? a.bf : (c != null ? c.toString() : null);
|
|
2188
|
+
$ret.percentValue = _this.c9(a);
|
|
2178
2189
|
$ret.isOthersSlice = a.isOthersSlice;
|
|
2179
2190
|
return $ret;
|
|
2180
2191
|
})());
|
|
2181
2192
|
var f = b.content;
|
|
2182
|
-
if (this_2.
|
|
2193
|
+
if (this_2.cc() || this_2.aq != null || this_2.ar != null) {
|
|
2183
2194
|
var g = null;
|
|
2184
|
-
if (this_2.
|
|
2195
|
+
if (this_2.cc()) {
|
|
2185
2196
|
g = this_2.a6(b.content);
|
|
2186
2197
|
}
|
|
2187
2198
|
if (this_2.aq != null && !f.isOthersSlice) {
|
|
@@ -2197,11 +2208,11 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2197
2208
|
if (this_2.legendItemTemplate != null) {
|
|
2198
2209
|
b.ah = this_2.legendItemTemplate;
|
|
2199
2210
|
}
|
|
2200
|
-
this_2.
|
|
2211
|
+
this_2.cl.add(b);
|
|
2201
2212
|
};
|
|
2202
2213
|
var this_2 = this;
|
|
2203
2214
|
try {
|
|
2204
|
-
for (var _b = __values(fromEnum(this.
|
|
2215
|
+
for (var _b = __values(fromEnum(this.bx.a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2205
2216
|
var a = _c.value;
|
|
2206
2217
|
_loop_2(a);
|
|
2207
2218
|
}
|
|
@@ -2221,61 +2232,61 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2221
2232
|
}
|
|
2222
2233
|
if (this.legend.isItemwise) {
|
|
2223
2234
|
var h = this.legend;
|
|
2224
|
-
h.createItemwiseLegendItems(this.
|
|
2235
|
+
h.createItemwiseLegendItems(this.cl, this);
|
|
2225
2236
|
}
|
|
2226
2237
|
};
|
|
2227
|
-
PieChartBase.prototype.
|
|
2238
|
+
PieChartBase.prototype.bl = function () {
|
|
2228
2239
|
var a = new PieChartVisualData();
|
|
2229
|
-
a.viewport = RectData.b(this.
|
|
2240
|
+
a.viewport = RectData.b(this.i9);
|
|
2230
2241
|
this.a4.ao(a);
|
|
2231
|
-
for (var b = 0; b < this.
|
|
2232
|
-
var c = this.
|
|
2242
|
+
for (var b = 0; b < this.bx.count; b++) {
|
|
2243
|
+
var c = this.bx.item(b).am();
|
|
2233
2244
|
a.slices.add(c);
|
|
2234
|
-
if (this.
|
|
2235
|
-
a.othersSlice = this.
|
|
2245
|
+
if (this.bx.item(b).isOthersSlice) {
|
|
2246
|
+
a.othersSlice = this.bx.item(b).am();
|
|
2236
2247
|
}
|
|
2237
2248
|
}
|
|
2238
|
-
a.others = this.
|
|
2249
|
+
a.others = this.cm;
|
|
2239
2250
|
a.name = this.name;
|
|
2240
|
-
a.radiusFactor = this.
|
|
2241
|
-
a.leaderLineMargin = this.
|
|
2251
|
+
a.radiusFactor = this.c3;
|
|
2252
|
+
a.leaderLineMargin = this.dc;
|
|
2242
2253
|
return a;
|
|
2243
2254
|
};
|
|
2244
|
-
PieChartBase.prototype.
|
|
2245
|
-
var a = this.
|
|
2255
|
+
PieChartBase.prototype.d4 = function () {
|
|
2256
|
+
var a = this.bl();
|
|
2246
2257
|
a.scaleByViewport();
|
|
2247
2258
|
return a.serialize();
|
|
2248
2259
|
};
|
|
2249
|
-
PieChartBase.prototype.
|
|
2260
|
+
PieChartBase.prototype.bt = function (a) {
|
|
2250
2261
|
var b = null;
|
|
2251
|
-
return this.
|
|
2262
|
+
return this.bm.registerColumn(a, b, false);
|
|
2252
2263
|
};
|
|
2253
|
-
PieChartBase.prototype.
|
|
2264
|
+
PieChartBase.prototype.bu = function (a) {
|
|
2254
2265
|
var b = null;
|
|
2255
|
-
return this.
|
|
2266
|
+
return this.bm.registerColumnObject(a, b, false);
|
|
2256
2267
|
};
|
|
2257
|
-
PieChartBase.prototype.
|
|
2268
|
+
PieChartBase.prototype.gs = function (a, b, c, d) {
|
|
2258
2269
|
var e_11, _a;
|
|
2259
2270
|
switch (b) {
|
|
2260
2271
|
case PieChartBase.$$p[14]:
|
|
2261
|
-
this.actualItemsSource = this.
|
|
2272
|
+
this.actualItemsSource = this.cs();
|
|
2262
2273
|
break;
|
|
2263
2274
|
case PieChartBase.$$p[45]:
|
|
2264
2275
|
case PieChartBase.$$p[46]:
|
|
2265
|
-
this.
|
|
2266
|
-
this.
|
|
2276
|
+
this.iy = this.i2(this.i0);
|
|
2277
|
+
this.iz = this.i2(this.i1);
|
|
2267
2278
|
this.ak = this.ao(this.am);
|
|
2268
2279
|
this.al = this.ao(this.al);
|
|
2269
|
-
this.actualItemsSource = this.
|
|
2280
|
+
this.actualItemsSource = this.cs();
|
|
2270
2281
|
break;
|
|
2271
2282
|
case PieChartBase.$$p[1]:
|
|
2272
|
-
if (this.
|
|
2283
|
+
if (this.ch) {
|
|
2273
2284
|
this.ak = this.ao(this.am);
|
|
2274
2285
|
this.al = this.ao(this.al);
|
|
2275
|
-
this.
|
|
2276
|
-
this.
|
|
2286
|
+
this.iy = this.i2(this.i0);
|
|
2287
|
+
this.iz = this.i2(this.i1);
|
|
2277
2288
|
}
|
|
2278
|
-
this.
|
|
2289
|
+
this.bm = ((function () {
|
|
2279
2290
|
var $ret = new FastItemsSource();
|
|
2280
2291
|
$ret.e = d;
|
|
2281
2292
|
return $ret;
|
|
@@ -2283,9 +2294,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2283
2294
|
break;
|
|
2284
2295
|
case PieChartBase.$$p[16]:
|
|
2285
2296
|
case PieChartBase.$$p[17]:
|
|
2286
|
-
if (this.
|
|
2297
|
+
if (this.ef != null) {
|
|
2287
2298
|
this.ap = new BindingFormatter();
|
|
2288
|
-
this.ap.j = this.
|
|
2299
|
+
this.ap.j = this.ef;
|
|
2289
2300
|
this.ap.d = this.ag;
|
|
2290
2301
|
}
|
|
2291
2302
|
else {
|
|
@@ -2294,9 +2305,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2294
2305
|
break;
|
|
2295
2306
|
case PieChartBase.$$p[39]:
|
|
2296
2307
|
case PieChartBase.$$p[40]:
|
|
2297
|
-
if (this.
|
|
2308
|
+
if (this.fa != null) {
|
|
2298
2309
|
this.as = new BindingFormatter();
|
|
2299
|
-
this.as.j = this.
|
|
2310
|
+
this.as.j = this.fa;
|
|
2300
2311
|
this.as.d = this.aj;
|
|
2301
2312
|
}
|
|
2302
2313
|
else {
|
|
@@ -2305,9 +2316,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2305
2316
|
break;
|
|
2306
2317
|
case PieChartBase.$$p[29]:
|
|
2307
2318
|
case PieChartBase.$$p[30]:
|
|
2308
|
-
if (this.
|
|
2319
|
+
if (this.ew != null) {
|
|
2309
2320
|
this.aq = new BindingFormatter();
|
|
2310
|
-
this.aq.j = this.
|
|
2321
|
+
this.aq.j = this.ew;
|
|
2311
2322
|
this.aq.d = this.ah;
|
|
2312
2323
|
}
|
|
2313
2324
|
else {
|
|
@@ -2316,9 +2327,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2316
2327
|
break;
|
|
2317
2328
|
case PieChartBase.$$p[32]:
|
|
2318
2329
|
case PieChartBase.$$p[33]:
|
|
2319
|
-
if (this.
|
|
2330
|
+
if (this.e1 != null) {
|
|
2320
2331
|
this.ar = new BindingFormatter();
|
|
2321
|
-
this.ar.j = this.
|
|
2332
|
+
this.ar.j = this.e1;
|
|
2322
2333
|
this.ar.d = this.ai;
|
|
2323
2334
|
}
|
|
2324
2335
|
else {
|
|
@@ -2328,98 +2339,98 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2328
2339
|
case PieChartBase.$$p[9]:
|
|
2329
2340
|
if (typeCast(FastItemsSource.$, c) != null) {
|
|
2330
2341
|
var e = c;
|
|
2331
|
-
e.event = delegateRemove(e.event, this.
|
|
2332
|
-
this.
|
|
2333
|
-
c.deregisterColumn(this.
|
|
2334
|
-
c.deregisterColumn(this.
|
|
2335
|
-
this.
|
|
2336
|
-
this.
|
|
2342
|
+
e.event = delegateRemove(e.event, this.dk);
|
|
2343
|
+
this.b2 = false;
|
|
2344
|
+
c.deregisterColumn(this.bv);
|
|
2345
|
+
c.deregisterColumn(this.br);
|
|
2346
|
+
this.bv = null;
|
|
2347
|
+
this.br = null;
|
|
2337
2348
|
this.selectedItem = null;
|
|
2338
2349
|
this.selectedItems.clear();
|
|
2339
2350
|
if (this.selectedSlices != null) {
|
|
2340
2351
|
this.selectedSlices.clear();
|
|
2341
2352
|
}
|
|
2342
|
-
(typeCast(FastItemsSource.$, c)).deregisterColumn(this.
|
|
2343
|
-
this.
|
|
2353
|
+
(typeCast(FastItemsSource.$, c)).deregisterColumn(this.bs);
|
|
2354
|
+
this.bs = null;
|
|
2344
2355
|
}
|
|
2345
2356
|
if (typeCast(FastItemsSource.$, d) != null) {
|
|
2346
2357
|
var f = d;
|
|
2347
|
-
f.event = delegateCombine(f.event, this.
|
|
2348
|
-
this.
|
|
2349
|
-
this.
|
|
2350
|
-
this.
|
|
2351
|
-
this.
|
|
2352
|
-
this.
|
|
2358
|
+
f.event = delegateCombine(f.event, this.dk);
|
|
2359
|
+
this.b2 = true;
|
|
2360
|
+
this.bv = this.bt(this.fi(this.fv));
|
|
2361
|
+
this.br = this.bu(this.fg(this.ej));
|
|
2362
|
+
this.bs = this.bu(this.ez);
|
|
2363
|
+
this.gr();
|
|
2353
2364
|
if (this.selectedItem != null || this.selectedItems.count > 0) {
|
|
2354
|
-
this.
|
|
2365
|
+
this.ha();
|
|
2355
2366
|
}
|
|
2356
2367
|
else if (this.selectedSlices != null && this.selectedSlices.count > 0) {
|
|
2357
|
-
this.
|
|
2368
|
+
this.hb();
|
|
2358
2369
|
}
|
|
2359
2370
|
}
|
|
2360
|
-
this.
|
|
2371
|
+
this.gw();
|
|
2361
2372
|
break;
|
|
2362
2373
|
case PieChartBase.$$p[51]:
|
|
2363
|
-
if (this.
|
|
2364
|
-
this.
|
|
2365
|
-
this.
|
|
2374
|
+
if (this.bm != null) {
|
|
2375
|
+
this.bm.deregisterColumn(this.bv);
|
|
2376
|
+
this.bv = this.bt(this.fi(this.fv));
|
|
2366
2377
|
}
|
|
2367
2378
|
break;
|
|
2368
2379
|
case PieChartBase.$$p[31]:
|
|
2369
|
-
if (this.
|
|
2370
|
-
this.
|
|
2371
|
-
this.
|
|
2372
|
-
this.
|
|
2373
|
-
this.gw();
|
|
2380
|
+
if (this.bm != null) {
|
|
2381
|
+
this.bm.deregisterColumn(this.bs);
|
|
2382
|
+
this.bs = this.bu(this.ez);
|
|
2383
|
+
this.gq();
|
|
2374
2384
|
this.gx();
|
|
2385
|
+
this.gy();
|
|
2375
2386
|
}
|
|
2376
2387
|
break;
|
|
2377
2388
|
case PieChartBase.$$p[11]:
|
|
2378
|
-
this.
|
|
2389
|
+
this.gy();
|
|
2379
2390
|
break;
|
|
2380
2391
|
case PieChartBase.$$p[10]:
|
|
2381
2392
|
case PieChartBase.$$p[19]:
|
|
2382
|
-
if (this.
|
|
2383
|
-
this.
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.gw();
|
|
2393
|
+
if (this.bm != null) {
|
|
2394
|
+
this.bm.deregisterColumn(this.br);
|
|
2395
|
+
this.br = this.bu(this.fg(this.ej));
|
|
2396
|
+
this.gq();
|
|
2387
2397
|
this.gx();
|
|
2398
|
+
this.gy();
|
|
2388
2399
|
}
|
|
2389
2400
|
break;
|
|
2390
2401
|
case PieChartBase.$$p[47]:
|
|
2391
|
-
this.
|
|
2402
|
+
this.c4 = d;
|
|
2403
|
+
this.gr();
|
|
2392
2404
|
this.gq();
|
|
2393
|
-
this.
|
|
2394
|
-
this.
|
|
2395
|
-
this.gw();
|
|
2405
|
+
this.gz();
|
|
2406
|
+
this.gx();
|
|
2396
2407
|
break;
|
|
2397
2408
|
case PieChartBase.$$p[49]:
|
|
2398
|
-
this.a4.bq(this.
|
|
2409
|
+
this.a4.bq(this.dr);
|
|
2399
2410
|
break;
|
|
2400
2411
|
case PieChartBase.$$p[34]:
|
|
2401
2412
|
var g = typeCast(IChartLegend_$type, c);
|
|
2402
2413
|
if (g != null) {
|
|
2403
2414
|
g.clearLegendItemsForSeries(this);
|
|
2404
2415
|
}
|
|
2405
|
-
this.
|
|
2416
|
+
this.gy();
|
|
2406
2417
|
break;
|
|
2407
2418
|
case PieChartBase.$$p[27]:
|
|
2408
2419
|
case PieChartBase.$$p[28]:
|
|
2409
|
-
this.
|
|
2420
|
+
this.gy();
|
|
2410
2421
|
break;
|
|
2411
2422
|
case PieChartBase.$$p[42]:
|
|
2412
2423
|
case PieChartBase.$$p[8]:
|
|
2413
2424
|
case PieChartBase.$$p[48]:
|
|
2425
|
+
this.gr();
|
|
2414
2426
|
this.gq();
|
|
2415
|
-
this.
|
|
2416
|
-
this.
|
|
2417
|
-
this.gw();
|
|
2427
|
+
this.gz();
|
|
2428
|
+
this.gx();
|
|
2418
2429
|
break;
|
|
2419
2430
|
case PieChartBase.$$p[35]:
|
|
2420
2431
|
case PieChartBase.$$p[43]:
|
|
2432
|
+
this.gz();
|
|
2421
2433
|
this.gy();
|
|
2422
|
-
this.gx();
|
|
2423
2434
|
break;
|
|
2424
2435
|
case PieChartBase.$$p[7]:
|
|
2425
2436
|
this.ak = this.ao(this.am);
|
|
@@ -2430,107 +2441,107 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2430
2441
|
case PieChartBase.$$p[0]:
|
|
2431
2442
|
if (c != null) {
|
|
2432
2443
|
var h = c;
|
|
2433
|
-
h.collectionChanged = delegateRemove(h.collectionChanged, this.
|
|
2434
|
-
this.
|
|
2444
|
+
h.collectionChanged = delegateRemove(h.collectionChanged, this.cu);
|
|
2445
|
+
this.b0 = false;
|
|
2435
2446
|
}
|
|
2436
2447
|
if (d != null) {
|
|
2437
2448
|
var i = d;
|
|
2438
|
-
i.collectionChanged = delegateCombine(i.collectionChanged, this.
|
|
2439
|
-
this.
|
|
2449
|
+
i.collectionChanged = delegateCombine(i.collectionChanged, this.cu);
|
|
2450
|
+
this.b0 = true;
|
|
2440
2451
|
}
|
|
2452
|
+
this.gz();
|
|
2441
2453
|
this.gy();
|
|
2442
|
-
this.gx();
|
|
2443
2454
|
break;
|
|
2444
2455
|
case PieChartBase.$$p[4]:
|
|
2445
2456
|
if (c != null) {
|
|
2446
2457
|
var j = c;
|
|
2447
|
-
j.collectionChanged = delegateRemove(j.collectionChanged, this.
|
|
2448
|
-
this.
|
|
2458
|
+
j.collectionChanged = delegateRemove(j.collectionChanged, this.cu);
|
|
2459
|
+
this.b3 = false;
|
|
2449
2460
|
}
|
|
2450
2461
|
if (d != null) {
|
|
2451
2462
|
var k = d;
|
|
2452
|
-
k.collectionChanged = delegateCombine(k.collectionChanged, this.
|
|
2453
|
-
this.
|
|
2463
|
+
k.collectionChanged = delegateCombine(k.collectionChanged, this.cu);
|
|
2464
|
+
this.b3 = true;
|
|
2454
2465
|
}
|
|
2466
|
+
this.gz();
|
|
2455
2467
|
this.gy();
|
|
2456
|
-
this.gx();
|
|
2457
2468
|
break;
|
|
2458
2469
|
case "ValueColumn":
|
|
2459
2470
|
case PieChartBase.$$p[37]:
|
|
2460
2471
|
case PieChartBase.$$p[38]:
|
|
2461
|
-
this.
|
|
2462
|
-
this.g9();
|
|
2472
|
+
this.gw();
|
|
2463
2473
|
this.ha();
|
|
2474
|
+
this.hb();
|
|
2464
2475
|
break;
|
|
2465
2476
|
case PieChartBase.$$p[5]:
|
|
2466
2477
|
case PieChartBase.$$p[6]:
|
|
2467
|
-
this.
|
|
2478
|
+
this.gw();
|
|
2468
2479
|
break;
|
|
2469
2480
|
case PieChartBase.$$p[21]:
|
|
2470
|
-
this.
|
|
2471
|
-
this.
|
|
2481
|
+
this.gq();
|
|
2482
|
+
this.gx();
|
|
2472
2483
|
this.a4.bs();
|
|
2473
2484
|
break;
|
|
2474
2485
|
case PieChartBase.$$p[18]:
|
|
2475
|
-
this.
|
|
2486
|
+
this.iy = this.i2(this.i0);
|
|
2476
2487
|
break;
|
|
2477
2488
|
case PieChartBase.$$p[20]:
|
|
2478
|
-
this.
|
|
2489
|
+
this.iz = this.i2(this.i1);
|
|
2479
2490
|
break;
|
|
2480
2491
|
case PieChartBase.$$p[2]:
|
|
2481
2492
|
case PieChartBase.$$p[3]:
|
|
2482
2493
|
case PieChartBase.$$p[15]:
|
|
2483
|
-
this.
|
|
2484
|
-
this.
|
|
2494
|
+
this.gq();
|
|
2495
|
+
this.gx();
|
|
2485
2496
|
break;
|
|
2486
2497
|
case PieChartBase.$$p[36]:
|
|
2487
|
-
this.
|
|
2488
|
-
this.gw();
|
|
2498
|
+
this.gq();
|
|
2489
2499
|
this.gx();
|
|
2500
|
+
this.gy();
|
|
2490
2501
|
break;
|
|
2491
2502
|
case PieChartBase.$$p[25]:
|
|
2492
|
-
this.
|
|
2503
|
+
this.gx();
|
|
2493
2504
|
break;
|
|
2494
2505
|
case PieChartBase.$$p[23]:
|
|
2495
|
-
this.
|
|
2506
|
+
this.gx();
|
|
2496
2507
|
break;
|
|
2497
2508
|
case "TextStyle":
|
|
2498
2509
|
this.a4.bi();
|
|
2499
2510
|
break;
|
|
2500
2511
|
case "PixelScalingRatio":
|
|
2501
|
-
if (isNaN_(DeviceUtils.a(this.
|
|
2502
|
-
this.
|
|
2512
|
+
if (isNaN_(DeviceUtils.a(this.df))) {
|
|
2513
|
+
this.c2 = 1;
|
|
2503
2514
|
}
|
|
2504
2515
|
else {
|
|
2505
|
-
this.
|
|
2516
|
+
this.c2 = DeviceUtils.a(this.df);
|
|
2506
2517
|
}
|
|
2507
2518
|
break;
|
|
2508
2519
|
case "ActualPixelScalingRatio":
|
|
2509
2520
|
this.a4.a4();
|
|
2510
2521
|
break;
|
|
2511
2522
|
case "LabelTemplate":
|
|
2512
|
-
this.
|
|
2513
|
-
this.
|
|
2523
|
+
this.gq();
|
|
2524
|
+
this.gx();
|
|
2514
2525
|
break;
|
|
2515
2526
|
case PieChartBase.$$p[24]:
|
|
2516
2527
|
case PieChartBase.$$p[22]:
|
|
2517
|
-
this.
|
|
2518
|
-
this.
|
|
2528
|
+
this.bw.c(runOn(this.a4, this.a4.bm));
|
|
2529
|
+
this.gx();
|
|
2519
2530
|
break;
|
|
2520
2531
|
case PieChartBase.$$p[13]:
|
|
2521
2532
|
this.a4.a3();
|
|
2522
2533
|
break;
|
|
2523
2534
|
case "InnerExtent":
|
|
2524
|
-
this.
|
|
2535
|
+
this.gw();
|
|
2525
2536
|
break;
|
|
2526
2537
|
case PieChartBase.$$p[26]:
|
|
2527
|
-
this.
|
|
2538
|
+
this.gw();
|
|
2528
2539
|
break;
|
|
2529
2540
|
case "SelectedItem":
|
|
2530
|
-
if (!this.
|
|
2531
|
-
this.
|
|
2541
|
+
if (!this.b6) {
|
|
2542
|
+
this.gr();
|
|
2543
|
+
this.gz();
|
|
2532
2544
|
this.gy();
|
|
2533
|
-
this.gx();
|
|
2534
2545
|
}
|
|
2535
2546
|
break;
|
|
2536
2547
|
case PieChartBase.$$p[44]:
|
|
@@ -2564,18 +2575,18 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2564
2575
|
else {
|
|
2565
2576
|
this.selectedItems.add1(this.selectedItem);
|
|
2566
2577
|
}
|
|
2567
|
-
this.
|
|
2578
|
+
this.hb();
|
|
2568
2579
|
}
|
|
2569
2580
|
}
|
|
2570
|
-
this.
|
|
2571
|
-
this.
|
|
2572
|
-
this.
|
|
2581
|
+
this.ha();
|
|
2582
|
+
this.gr();
|
|
2583
|
+
this.gz();
|
|
2573
2584
|
break;
|
|
2574
2585
|
}
|
|
2575
2586
|
};
|
|
2576
2587
|
PieChartBase.prototype.ao = function (a) {
|
|
2577
2588
|
var e_12, _a;
|
|
2578
|
-
if (!this.
|
|
2589
|
+
if (!this.ch || !this.ci || this.itemsSource != null) {
|
|
2579
2590
|
return a;
|
|
2580
2591
|
}
|
|
2581
2592
|
if (a == null) {
|
|
@@ -2604,60 +2615,60 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2604
2615
|
}
|
|
2605
2616
|
return b;
|
|
2606
2617
|
};
|
|
2607
|
-
PieChartBase.prototype.
|
|
2608
|
-
if (!this.
|
|
2618
|
+
PieChartBase.prototype.i2 = function (a) {
|
|
2619
|
+
if (!this.ch || !this.ci || this.itemsSource != null) {
|
|
2609
2620
|
return a;
|
|
2610
2621
|
}
|
|
2611
2622
|
var b = BrushUtil.h(0, 0, 0, 0);
|
|
2612
2623
|
return b;
|
|
2613
2624
|
};
|
|
2614
|
-
PieChartBase.prototype.
|
|
2615
|
-
if (this.
|
|
2625
|
+
PieChartBase.prototype.fg = function (a) {
|
|
2626
|
+
if (this.ch && this.itemsSource == null) {
|
|
2616
2627
|
return "Label";
|
|
2617
2628
|
}
|
|
2618
2629
|
return a;
|
|
2619
2630
|
};
|
|
2620
|
-
PieChartBase.prototype.
|
|
2621
|
-
if (this.
|
|
2631
|
+
PieChartBase.prototype.fi = function (a) {
|
|
2632
|
+
if (this.ch && this.itemsSource == null) {
|
|
2622
2633
|
return "Value";
|
|
2623
2634
|
}
|
|
2624
2635
|
return a;
|
|
2625
2636
|
};
|
|
2626
|
-
PieChartBase.prototype.
|
|
2637
|
+
PieChartBase.prototype.cs = function () {
|
|
2627
2638
|
if (this.itemsSource != null) {
|
|
2628
2639
|
return this.itemsSource;
|
|
2629
2640
|
}
|
|
2630
|
-
if (!this.
|
|
2641
|
+
if (!this.ch) {
|
|
2631
2642
|
return null;
|
|
2632
2643
|
}
|
|
2633
|
-
if (this.
|
|
2634
|
-
this.
|
|
2644
|
+
if (this.cp == null) {
|
|
2645
|
+
this.cp = PieChartMockDataGenerator.a();
|
|
2635
2646
|
}
|
|
2636
|
-
return this.
|
|
2647
|
+
return this.cp;
|
|
2637
2648
|
};
|
|
2638
|
-
PieChartBase.prototype.
|
|
2639
|
-
if (this.
|
|
2649
|
+
PieChartBase.prototype.g1 = function (a) {
|
|
2650
|
+
if (this.b7) {
|
|
2640
2651
|
return;
|
|
2641
2652
|
}
|
|
2642
|
-
this.
|
|
2643
|
-
if (this.
|
|
2644
|
-
this.
|
|
2653
|
+
this.hb();
|
|
2654
|
+
if (this.b9) {
|
|
2655
|
+
this.gr();
|
|
2656
|
+
this.gz();
|
|
2645
2657
|
this.gy();
|
|
2646
|
-
this.gx();
|
|
2647
2658
|
}
|
|
2648
2659
|
};
|
|
2649
|
-
PieChartBase.prototype.
|
|
2660
|
+
PieChartBase.prototype.gh = function (a) {
|
|
2650
2661
|
if (a.action == 4 && a.newItems == null && a.oldItems == null) {
|
|
2651
2662
|
return;
|
|
2652
2663
|
}
|
|
2653
|
-
if (this.
|
|
2664
|
+
if (this.b6) {
|
|
2654
2665
|
return;
|
|
2655
2666
|
}
|
|
2656
|
-
this.
|
|
2657
|
-
if (this.
|
|
2658
|
-
this.
|
|
2667
|
+
this.ha();
|
|
2668
|
+
if (this.b9) {
|
|
2669
|
+
this.gr();
|
|
2670
|
+
this.gz();
|
|
2659
2671
|
this.gy();
|
|
2660
|
-
this.gx();
|
|
2661
2672
|
}
|
|
2662
2673
|
var b = new ObjectCollection(0);
|
|
2663
2674
|
if (a.oldItems != null) {
|
|
@@ -2672,9 +2683,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2672
2683
|
}
|
|
2673
2684
|
}
|
|
2674
2685
|
var f = this.selectedItems;
|
|
2675
|
-
this.
|
|
2686
|
+
this.gg(this, new SelectedItemsChangedEventArgs(b, d, f));
|
|
2676
2687
|
};
|
|
2677
|
-
PieChartBase.prototype.
|
|
2688
|
+
PieChartBase.prototype.gu = function (a, b, c) {
|
|
2678
2689
|
if (this.propertyChanged != null) {
|
|
2679
2690
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
2680
2691
|
}
|
|
@@ -2682,12 +2693,12 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2682
2693
|
this.propertyUpdated(this, new PropertyUpdatedEventArgs(a, b, c));
|
|
2683
2694
|
}
|
|
2684
2695
|
};
|
|
2685
|
-
PieChartBase.prototype.
|
|
2696
|
+
PieChartBase.prototype.hb = function () {
|
|
2686
2697
|
var e_13, _a, e_14, _b;
|
|
2687
|
-
if (this.actualItemsSource == null || this.
|
|
2698
|
+
if (this.actualItemsSource == null || this.bx.a.count == 0) {
|
|
2688
2699
|
return;
|
|
2689
2700
|
}
|
|
2690
|
-
this.
|
|
2701
|
+
this.b6 = true;
|
|
2691
2702
|
var a = this.selectedSlices.count;
|
|
2692
2703
|
if (a == 0) {
|
|
2693
2704
|
if (this.selectedItems.count > 0) {
|
|
@@ -2697,9 +2708,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2697
2708
|
this.selectedItem = null;
|
|
2698
2709
|
}
|
|
2699
2710
|
}
|
|
2700
|
-
if (this.
|
|
2711
|
+
if (this.bk == 1) {
|
|
2701
2712
|
if (a != 0) {
|
|
2702
|
-
var b_1 = this.
|
|
2713
|
+
var b_1 = this.bx.a._inner[this.selectedSlices._inner[a - 1]];
|
|
2703
2714
|
if (b_1.isOthersSlice) {
|
|
2704
2715
|
this.selectedItem = ((function () {
|
|
2705
2716
|
var $ret = new PieSliceOthersContext();
|
|
@@ -2713,13 +2724,13 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2713
2724
|
}
|
|
2714
2725
|
}
|
|
2715
2726
|
}
|
|
2716
|
-
else if (this.
|
|
2727
|
+
else if (this.bk == 2) {
|
|
2717
2728
|
if (a != 0) {
|
|
2718
2729
|
this.selectedItems.clear();
|
|
2719
2730
|
try {
|
|
2720
2731
|
for (var _c = __values(fromEnum(this.selectedSlices)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
2721
2732
|
var c = _d.value;
|
|
2722
|
-
var d = this.
|
|
2733
|
+
var d = this.bx.a._inner[c];
|
|
2723
2734
|
if (d.isOthersSlice) {
|
|
2724
2735
|
var e = typeCast(IEnumerable_$type, d.dataContext);
|
|
2725
2736
|
try {
|
|
@@ -2760,20 +2771,20 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2760
2771
|
throw e_13.error;
|
|
2761
2772
|
}
|
|
2762
2773
|
}
|
|
2763
|
-
this.selectedItem = this.
|
|
2774
|
+
this.selectedItem = this.bx.a._inner[this.selectedSlices._inner[a - 1]].dataContext;
|
|
2764
2775
|
}
|
|
2765
2776
|
}
|
|
2766
|
-
this.
|
|
2777
|
+
this.b6 = false;
|
|
2767
2778
|
};
|
|
2768
|
-
PieChartBase.prototype.
|
|
2779
|
+
PieChartBase.prototype.ha = function () {
|
|
2769
2780
|
var e_15, _a;
|
|
2770
|
-
if (this.actualItemsSource == null || this.
|
|
2781
|
+
if (this.actualItemsSource == null || this.bx.a.count == 0) {
|
|
2771
2782
|
return;
|
|
2772
2783
|
}
|
|
2773
|
-
this.
|
|
2784
|
+
this.b7 = true;
|
|
2774
2785
|
this.selectedSlices.clear();
|
|
2775
2786
|
try {
|
|
2776
|
-
for (var _b = __values(fromEnum(this.
|
|
2787
|
+
for (var _b = __values(fromEnum(this.bx.a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2777
2788
|
var a = _c.value;
|
|
2778
2789
|
if (this.a7.d(a)) {
|
|
2779
2790
|
this.selectedSlices.add(a.a5);
|
|
@@ -2793,39 +2804,39 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2793
2804
|
throw e_15.error;
|
|
2794
2805
|
}
|
|
2795
2806
|
}
|
|
2796
|
-
this.
|
|
2807
|
+
this.b7 = false;
|
|
2797
2808
|
};
|
|
2798
|
-
PieChartBase.prototype.
|
|
2799
|
-
this.
|
|
2809
|
+
PieChartBase.prototype.g6 = function (a, b) {
|
|
2810
|
+
this.g7(a, b, false);
|
|
2800
2811
|
};
|
|
2801
|
-
PieChartBase.prototype.
|
|
2802
|
-
if (this.
|
|
2803
|
-
if (this.
|
|
2812
|
+
PieChartBase.prototype.g7 = function (a, b, c) {
|
|
2813
|
+
if (this.b9) {
|
|
2814
|
+
if (this.bk == 1) {
|
|
2804
2815
|
this.a7.k(a);
|
|
2805
2816
|
}
|
|
2806
|
-
else if (this.
|
|
2817
|
+
else if (this.bk == 2) {
|
|
2807
2818
|
this.a7.i(a);
|
|
2808
2819
|
}
|
|
2809
2820
|
}
|
|
2810
2821
|
var d = new SliceClickEventArgs(a, this.a4.af(b));
|
|
2811
|
-
this.
|
|
2822
|
+
this.gk(this, d);
|
|
2812
2823
|
if (!c) {
|
|
2813
2824
|
this.a4.bo(a, b);
|
|
2814
2825
|
}
|
|
2815
2826
|
};
|
|
2816
|
-
PieChartBase.prototype.
|
|
2827
|
+
PieChartBase.prototype.g5 = function (a) {
|
|
2817
2828
|
this.a4.al(a);
|
|
2818
2829
|
};
|
|
2819
|
-
PieChartBase.prototype.
|
|
2830
|
+
PieChartBase.prototype.cg = function (a, b) {
|
|
2820
2831
|
var c = new LabelClickEventArgs(a, this.a4.af(b));
|
|
2821
|
-
this.
|
|
2832
|
+
this.gd(this, c);
|
|
2822
2833
|
return c.allowSliceClick;
|
|
2823
2834
|
};
|
|
2824
|
-
PieChartBase.prototype.
|
|
2825
|
-
if (a != this.
|
|
2826
|
-
this.
|
|
2835
|
+
PieChartBase.prototype.f1 = function (a, b) {
|
|
2836
|
+
if (a != this.dn) {
|
|
2837
|
+
this.dn = a;
|
|
2827
2838
|
if (a != null) {
|
|
2828
|
-
this.
|
|
2839
|
+
this.gl(a, b);
|
|
2829
2840
|
}
|
|
2830
2841
|
}
|
|
2831
2842
|
this.a4.bo(a, b);
|
|
@@ -2833,81 +2844,86 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2833
2844
|
PieChartBase.prototype.bf = function (a, b) {
|
|
2834
2845
|
return new SliceEventArgs(a, b);
|
|
2835
2846
|
};
|
|
2836
|
-
PieChartBase.prototype.
|
|
2847
|
+
PieChartBase.prototype.bg = function (a, b, c) {
|
|
2848
|
+
var d = new SliceEventArgs(a, b);
|
|
2849
|
+
d.position = c;
|
|
2850
|
+
return d;
|
|
2851
|
+
};
|
|
2852
|
+
PieChartBase.prototype.gl = function (a, b) {
|
|
2837
2853
|
if (this.sliceEnter != null) {
|
|
2838
2854
|
this.sliceEnter(a, this.bf(a, b));
|
|
2839
2855
|
}
|
|
2840
2856
|
};
|
|
2841
|
-
PieChartBase.prototype.
|
|
2857
|
+
PieChartBase.prototype.gm = function (a, b) {
|
|
2842
2858
|
if (this.sliceLeave != null) {
|
|
2843
2859
|
this.sliceLeave(a, this.bf(a, b));
|
|
2844
2860
|
}
|
|
2845
2861
|
};
|
|
2846
|
-
PieChartBase.prototype.
|
|
2862
|
+
PieChartBase.prototype.gn = function (a, b, c) {
|
|
2847
2863
|
if (this.sliceHover != null) {
|
|
2848
|
-
this.sliceHover(a, this.
|
|
2864
|
+
this.sliceHover(a, this.bg(a, b, c));
|
|
2849
2865
|
}
|
|
2850
2866
|
};
|
|
2851
|
-
PieChartBase.prototype.
|
|
2852
|
-
if (a != this.
|
|
2853
|
-
var d = this.
|
|
2867
|
+
PieChartBase.prototype.f4 = function (a, b, c) {
|
|
2868
|
+
if (a != this.dn) {
|
|
2869
|
+
var d = this.dn;
|
|
2854
2870
|
if (d != null) {
|
|
2855
|
-
this.
|
|
2871
|
+
this.gm(d, b);
|
|
2856
2872
|
}
|
|
2857
|
-
this.
|
|
2858
|
-
if (this.
|
|
2859
|
-
this.
|
|
2873
|
+
this.dn = a;
|
|
2874
|
+
if (this.dn != null) {
|
|
2875
|
+
this.gl(a, b);
|
|
2860
2876
|
}
|
|
2861
2877
|
}
|
|
2862
2878
|
else {
|
|
2863
|
-
if (this.
|
|
2864
|
-
this.
|
|
2879
|
+
if (this.dn != null) {
|
|
2880
|
+
this.gn(a, b, b.getPosition(this));
|
|
2865
2881
|
}
|
|
2866
2882
|
}
|
|
2867
2883
|
this.a4.bo(a, b);
|
|
2868
2884
|
};
|
|
2869
|
-
PieChartBase.prototype.
|
|
2870
|
-
this.
|
|
2885
|
+
PieChartBase.prototype.f3 = function (a, b) {
|
|
2886
|
+
this.f4(a, b, false);
|
|
2871
2887
|
};
|
|
2872
|
-
PieChartBase.prototype.
|
|
2888
|
+
PieChartBase.prototype.f2 = function (a, b) {
|
|
2873
2889
|
this.a4.am();
|
|
2874
|
-
if (this.
|
|
2875
|
-
if (this.
|
|
2876
|
-
this.
|
|
2890
|
+
if (this.dn != null) {
|
|
2891
|
+
if (this.dn != null) {
|
|
2892
|
+
this.gm(this.dn, b);
|
|
2877
2893
|
}
|
|
2878
|
-
this.
|
|
2894
|
+
this.dn = null;
|
|
2879
2895
|
}
|
|
2880
2896
|
};
|
|
2881
|
-
PieChartBase.prototype.
|
|
2882
|
-
this.
|
|
2897
|
+
PieChartBase.prototype.gj = function () {
|
|
2898
|
+
this.gw();
|
|
2883
2899
|
};
|
|
2884
2900
|
PieChartBase.prototype.provideContainer = function (a) {
|
|
2885
2901
|
this.a4.az(a);
|
|
2886
2902
|
};
|
|
2887
|
-
PieChartBase.prototype.
|
|
2903
|
+
PieChartBase.prototype.gb = function (a, b) {
|
|
2888
2904
|
this.a4.a0(a, b);
|
|
2889
2905
|
};
|
|
2890
2906
|
PieChartBase.prototype.notifyContainerResized = function () {
|
|
2891
2907
|
this.a4.ax();
|
|
2892
2908
|
};
|
|
2893
|
-
PieChartBase.prototype.
|
|
2909
|
+
PieChartBase.prototype.i7 = function () {
|
|
2894
2910
|
return this.a4.b2();
|
|
2895
2911
|
};
|
|
2896
|
-
PieChartBase.prototype.
|
|
2912
|
+
PieChartBase.prototype.i6 = function () {
|
|
2897
2913
|
return this.a4.bz();
|
|
2898
2914
|
};
|
|
2899
2915
|
PieChartBase.prototype.destroy = function () {
|
|
2900
|
-
this.
|
|
2916
|
+
this.gv();
|
|
2901
2917
|
this.a4.az(null);
|
|
2902
2918
|
};
|
|
2903
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
2919
|
+
Object.defineProperty(PieChartBase.prototype, "fq", {
|
|
2904
2920
|
get: function () {
|
|
2905
|
-
return this.
|
|
2921
|
+
return this.ds;
|
|
2906
2922
|
},
|
|
2907
2923
|
set: function (a) {
|
|
2908
|
-
var b = this.
|
|
2909
|
-
this.
|
|
2910
|
-
this.
|
|
2924
|
+
var b = this.ds;
|
|
2925
|
+
this.ds = a;
|
|
2926
|
+
this.gu("TextStyle", b, a);
|
|
2911
2927
|
},
|
|
2912
2928
|
enumerable: false,
|
|
2913
2929
|
configurable: true
|
|
@@ -2954,91 +2970,91 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2954
2970
|
enumerable: false,
|
|
2955
2971
|
configurable: true
|
|
2956
2972
|
});
|
|
2957
|
-
PieChartBase.prototype.
|
|
2958
|
-
if (a == null || this.
|
|
2973
|
+
PieChartBase.prototype.c9 = function (a) {
|
|
2974
|
+
if (a == null || this.bv == null || this.co == null) {
|
|
2959
2975
|
return NaN;
|
|
2960
2976
|
}
|
|
2961
2977
|
if (a.isOthersSlice) {
|
|
2962
|
-
return this.
|
|
2978
|
+
return this.de / this.dj * 100;
|
|
2963
2979
|
}
|
|
2964
2980
|
else {
|
|
2965
|
-
return this.
|
|
2981
|
+
return this.bv.item(this.co._inner[a.a5]) / this.dj * 100;
|
|
2966
2982
|
}
|
|
2967
2983
|
};
|
|
2968
|
-
PieChartBase.prototype.
|
|
2984
|
+
PieChartBase.prototype.f9 = function (source_, a, b, c) {
|
|
2969
2985
|
if (source_.dataView && source_.dataSource) {
|
|
2970
2986
|
source_ = source_.dataView();
|
|
2971
2987
|
}
|
|
2972
2988
|
;
|
|
2973
|
-
if (!this.
|
|
2989
|
+
if (!this.cj(source_)) {
|
|
2974
2990
|
return;
|
|
2975
2991
|
}
|
|
2976
|
-
var d = this.
|
|
2992
|
+
var d = this.bm;
|
|
2977
2993
|
if (d == null) {
|
|
2978
2994
|
return;
|
|
2979
2995
|
}
|
|
2980
2996
|
d.handleCollectionChanged(new NotifyCollectionChangedEventArgs(2, 2, c, b, a));
|
|
2981
2997
|
};
|
|
2982
|
-
PieChartBase.prototype.
|
|
2998
|
+
PieChartBase.prototype.f5 = function (source_) {
|
|
2983
2999
|
if (source_.dataView && source_.dataSource) {
|
|
2984
3000
|
source_ = source_.dataView();
|
|
2985
3001
|
}
|
|
2986
3002
|
;
|
|
2987
|
-
if (!this.
|
|
3003
|
+
if (!this.cj(source_)) {
|
|
2988
3004
|
return;
|
|
2989
3005
|
}
|
|
2990
|
-
var a = this.
|
|
3006
|
+
var a = this.bm;
|
|
2991
3007
|
a.handleCollectionChanged(new NotifyCollectionChangedEventArgs(0, 4));
|
|
2992
3008
|
};
|
|
2993
|
-
PieChartBase.prototype.
|
|
2994
|
-
return PieChartBase.
|
|
3009
|
+
PieChartBase.prototype.cj = function (a) {
|
|
3010
|
+
return PieChartBase.ck(a, this.itemsSource);
|
|
2995
3011
|
};
|
|
2996
|
-
PieChartBase.
|
|
3012
|
+
PieChartBase.ck = function (a, b) {
|
|
2997
3013
|
return a == b;
|
|
2998
3014
|
};
|
|
2999
|
-
PieChartBase.prototype.
|
|
3015
|
+
PieChartBase.prototype.f7 = function (source_, a, b) {
|
|
3000
3016
|
if (source_.dataView && source_.dataSource) {
|
|
3001
3017
|
source_ = source_.dataView();
|
|
3002
3018
|
}
|
|
3003
3019
|
;
|
|
3004
|
-
if (!this.
|
|
3020
|
+
if (!this.cj(source_)) {
|
|
3005
3021
|
return;
|
|
3006
3022
|
}
|
|
3007
|
-
var c = this.
|
|
3023
|
+
var c = this.bm;
|
|
3008
3024
|
if (c == null) {
|
|
3009
3025
|
return;
|
|
3010
3026
|
}
|
|
3011
3027
|
c.handleCollectionChanged(new NotifyCollectionChangedEventArgs(1, 0, b, a));
|
|
3012
3028
|
};
|
|
3013
|
-
PieChartBase.prototype.
|
|
3029
|
+
PieChartBase.prototype.f8 = function (source_, a, b) {
|
|
3014
3030
|
if (source_.dataView && source_.dataSource) {
|
|
3015
3031
|
source_ = source_.dataView();
|
|
3016
3032
|
}
|
|
3017
3033
|
;
|
|
3018
|
-
if (!this.
|
|
3034
|
+
if (!this.cj(source_)) {
|
|
3019
3035
|
return;
|
|
3020
3036
|
}
|
|
3021
|
-
var c = this.
|
|
3037
|
+
var c = this.bm;
|
|
3022
3038
|
if (c == null) {
|
|
3023
3039
|
return;
|
|
3024
3040
|
}
|
|
3025
3041
|
c.handleCollectionChanged(new NotifyCollectionChangedEventArgs(1, 1, b, a));
|
|
3026
3042
|
};
|
|
3027
|
-
PieChartBase.prototype.
|
|
3043
|
+
PieChartBase.prototype.g4 = function (source_) {
|
|
3028
3044
|
if (source_.dataView && source_.dataSource) {
|
|
3029
3045
|
source_ = source_.dataView();
|
|
3030
3046
|
}
|
|
3031
3047
|
;
|
|
3032
3048
|
this.itemsSource = source_;
|
|
3033
3049
|
};
|
|
3034
|
-
PieChartBase.prototype.
|
|
3050
|
+
PieChartBase.prototype.gv = function () {
|
|
3035
3051
|
this.itemsSource = null;
|
|
3036
3052
|
};
|
|
3037
|
-
PieChartBase.prototype.
|
|
3053
|
+
PieChartBase.prototype.g9 = function () {
|
|
3038
3054
|
this.a4.bi();
|
|
3039
3055
|
};
|
|
3040
|
-
PieChartBase.prototype.
|
|
3041
|
-
return FontUtil.toFontInfo(this.a4.c.n, this.
|
|
3056
|
+
PieChartBase.prototype.bn = function () {
|
|
3057
|
+
return FontUtil.toFontInfo(this.a4.c.n, this.fq);
|
|
3042
3058
|
};
|
|
3043
3059
|
PieChartBase.prototype.resolveLegendIndex = function () {
|
|
3044
3060
|
return -1;
|
|
@@ -3046,29 +3062,29 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3046
3062
|
PieChartBase.prototype.forSubItems = function (a) {
|
|
3047
3063
|
};
|
|
3048
3064
|
PieChartBase.$t = markType(PieChartBase, 'PieChartBase', Control.$, [INotifyPropertyChanged_$type, ILegendOwner_$type, ILegendSeries_$type, ILegendTemplateProvider_$type]);
|
|
3049
|
-
PieChartBase.
|
|
3050
|
-
PieChartBase.
|
|
3051
|
-
PieChartBase.
|
|
3065
|
+
PieChartBase.hp = DependencyProperty.i("InnerExtent", Number_$type, PieChartBase.$, new PropertyMetadata(2, 0, function (a, b) { return a.gu("InnerExtent", b.oldValue, b.newValue); }));
|
|
3066
|
+
PieChartBase.h0 = DependencyProperty.i("LabelTemplate", DataTemplate.$, PieChartBase.$, new PropertyMetadata(2, null, function (a, b) { return a.gu("LabelTemplate", b.oldValue, b.newValue); }));
|
|
3067
|
+
PieChartBase.io = DependencyProperty.i("SelectedItem", Base.$, PieChartBase.$, new PropertyMetadata(1, function (a, b) {
|
|
3052
3068
|
var c = typeCast(PieChartBase.$, a);
|
|
3053
|
-
if (c.
|
|
3069
|
+
if (c.b5) {
|
|
3054
3070
|
return;
|
|
3055
3071
|
}
|
|
3056
3072
|
var d = new SelectedItemChangingEventArgs(b.oldValue, b.newValue);
|
|
3057
|
-
c.
|
|
3073
|
+
c.gf(c, d);
|
|
3058
3074
|
if (!d.cancel) {
|
|
3059
|
-
if (!c.
|
|
3060
|
-
c.
|
|
3075
|
+
if (!c.b6) {
|
|
3076
|
+
c.ha();
|
|
3061
3077
|
}
|
|
3062
|
-
c.
|
|
3063
|
-
c.
|
|
3078
|
+
c.gu("SelectedItem", b.oldValue, b.newValue);
|
|
3079
|
+
c.ge(a, new SelectedItemChangedEventArgs(b.oldValue, b.newValue));
|
|
3064
3080
|
}
|
|
3065
3081
|
else {
|
|
3066
|
-
c.
|
|
3082
|
+
c.b5 = true;
|
|
3067
3083
|
c.selectedItem = b.oldValue;
|
|
3068
|
-
c.
|
|
3084
|
+
c.b5 = false;
|
|
3069
3085
|
}
|
|
3070
3086
|
}));
|
|
3071
|
-
PieChartBase.$$p = markDep(DependencyProperty, PropertyMetadata, PieChartBase, '
|
|
3087
|
+
PieChartBase.$$p = markDep(DependencyProperty, PropertyMetadata, PieChartBase, 'gu', ['ActualBrushes:ak:hd', [BrushCollection.$, null], 'ActualItemsSource::he', [IEnumerable_$type, null], 'ActualLabelInnerColor:iy:hf', [Brush.$, null], 'ActualLabelOuterColor:iz:hg', [Brush.$, null], 'ActualOutlines:al:hh', [BrushCollection.$, null], 'AllowSliceExplosion:b8:hi', [0, true], 'AllowSliceSelection:b9:hj', [0, true], 'Brushes:am:hk', [BrushCollection.$, null], 'ExplodedRadius:c5:hl', [1, 0.2], 'FastItemsSource:bm:hm', [FastItemsSource.$], 'FormatLabel:a5:hn', [Delegate_$type], 'FormatLegendLabel:a6:ho', [Delegate_$type], 'IsDragInteractionEnabled:ce:hq', [0, false], 'IsSurfaceInteractionDisabled:cf:hr', [0, false], 'ItemsSource::hs', [IEnumerable_$type, null], 'LabelExtent:db:ht', [1, 10], 'LabelFormat:ef:hu', [2, null], 'LabelFormatSpecifiers:ag:hv', [Array_$type, null], 'LabelInnerColor:i0:hw', [Brush.$, null], 'LabelMemberPath:ej:hx', [2], 'LabelOuterColor:i1:hy', [Brush.$, null], 'LabelsPosition:az:hz', [LabelsPosition_$type, enumGetBox(LabelsPosition_$type, 1)], 'LeaderLineMargin:dc:h1', [1, 6], 'LeaderLineStyle:ja:h2', [Style.$, null], 'LeaderLineType:a0:h3', [LeaderLineType_$type, enumGetBox(LeaderLineType_$type, 0)], 'LeaderLineVisibility:je:h4', [Visibility_$type, enumGetBox(Visibility_$type, 0)], 'LegendEmptyValuesMode:a1:h5', [LegendEmptyValuesMode_$type, enumGetBox(LegendEmptyValuesMode_$type, 0)], 'LegendItemBadgeTemplate::h6', [DataTemplate.$, null], 'LegendItemTemplate::h7', [DataTemplate.$, null], 'LegendLabelFormat:ew:h8', [2, null], 'LegendLabelFormatSpecifiers:ah:h9', [Array_$type, null], 'LegendLabelMemberPath:ez:ia', [2], 'LegendOthersLabelFormat:e1:ib', [2, null], 'LegendOthersLabelFormatSpecifiers:ai:ic', [Array_$type, null], 'Legend::id', [IChartLegend_$type, null], 'OthersCategoryStyle:jb:ie', [Style.$, null], 'OthersCategoryText:e6:ig', [2, null], 'OthersCategoryThreshold:dd:ih', [1, 3], 'OthersCategoryType:a2:ii', [OthersCategoryType_$type, enumGetBox(OthersCategoryType_$type, 1)], 'OthersLabelFormat:fa:ij', [2, null], 'OthersLabelFormatSpecifiers:aj:ik', [Array_$type, null], 'Outlines:an:il', [BrushCollection.$, null], 'RadiusFactor:dg:im', [1, 0.9], 'SelectedStyle:jc:ip', [Style.$, null], 'SelectionMode:bk:iq', [SliceSelectionMode_$type, enumGetBox(SliceSelectionMode_$type, 1)], 'ShouldDisplayMockData:ch:ir', [0, false], 'ShouldUseSkeletonStyleForMockData:ci:is', [0, false], 'StartAngle:di:it', [1, 0], 'SweepDirection:i3:iu', [SweepDirection_$type, enumGetBox(SweepDirection_$type, 1)], 'ToolTip:dr:iv', [4, null], 'ToolTipStyle:jd:iw', [Style.$, null], 'ValueMemberPath:fv:ix', [2, null]]);
|
|
3072
3088
|
return PieChartBase;
|
|
3073
3089
|
}(Control));
|
|
3074
3090
|
export { PieChartBase };
|
|
@@ -3085,7 +3101,7 @@ var PieChartSliceSelector = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3085
3101
|
}
|
|
3086
3102
|
PieChartSliceSelector.prototype.d = function (a) {
|
|
3087
3103
|
var b = a.dataContext;
|
|
3088
|
-
if (this.a.
|
|
3104
|
+
if (this.a.bk == 1) {
|
|
3089
3105
|
if (a.isOthersSlice) {
|
|
3090
3106
|
var c = typeCast(IList_$type, b);
|
|
3091
3107
|
if (c != null && c.contains(this.a.selectedItem)) {
|
|
@@ -3099,12 +3115,12 @@ var PieChartSliceSelector = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3099
3115
|
return true;
|
|
3100
3116
|
}
|
|
3101
3117
|
}
|
|
3102
|
-
else if (this.a.
|
|
3118
|
+
else if (this.a.bk == 2) {
|
|
3103
3119
|
if (this.c(a)) {
|
|
3104
3120
|
return true;
|
|
3105
3121
|
}
|
|
3106
3122
|
}
|
|
3107
|
-
else if (this.a.
|
|
3123
|
+
else if (this.a.bk == 0) {
|
|
3108
3124
|
if (this.a.selectedSlices.contains(a.a5)) {
|
|
3109
3125
|
return true;
|
|
3110
3126
|
}
|
|
@@ -3190,7 +3206,7 @@ var PieChartSliceSelector = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3190
3206
|
};
|
|
3191
3207
|
PieChartSliceSelector.prototype.g = function (a) {
|
|
3192
3208
|
var b = new SelectedItemsChangingEventArgs(this.a.selectedItems, new ObjectCollection(0), this.a.selectedItems);
|
|
3193
|
-
this.a.
|
|
3209
|
+
this.a.gi(this, b);
|
|
3194
3210
|
if (!b.cancel) {
|
|
3195
3211
|
this.a.selectedItems.remove1(a);
|
|
3196
3212
|
}
|
|
@@ -3202,7 +3218,7 @@ var PieChartSliceSelector = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3202
3218
|
$ret.add1(a);
|
|
3203
3219
|
return $ret;
|
|
3204
3220
|
})()), this.a.selectedItems);
|
|
3205
|
-
this.a.
|
|
3221
|
+
this.a.gi(this, b);
|
|
3206
3222
|
if (!b.cancel) {
|
|
3207
3223
|
this.a.selectedItems.add1(a);
|
|
3208
3224
|
}
|
|
@@ -3399,23 +3415,23 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3399
3415
|
this.al.c();
|
|
3400
3416
|
};
|
|
3401
3417
|
Slice.prototype.az = function () {
|
|
3402
|
-
var a = Math.abs(PieChartBase.
|
|
3418
|
+
var a = Math.abs(PieChartBase.dh(this.ax - this.a3)) == 360;
|
|
3403
3419
|
if (a) {
|
|
3404
3420
|
return this.a2;
|
|
3405
3421
|
}
|
|
3406
3422
|
return this.a2;
|
|
3407
3423
|
};
|
|
3408
3424
|
Slice.prototype.cb = function () {
|
|
3409
|
-
var a = (this.ai != null && this.ai.
|
|
3425
|
+
var a = (this.ai != null && this.ai.b8) ? true : false;
|
|
3410
3426
|
var b = this.az();
|
|
3411
|
-
if (this.isExploded && a && this.ai.
|
|
3427
|
+
if (this.isExploded && a && this.ai.dm > 1) {
|
|
3412
3428
|
var c = new Rect(0, this.b5.x - b, this.b5.y - b, b * 2, b * 2);
|
|
3413
3429
|
return c;
|
|
3414
3430
|
}
|
|
3415
3431
|
return new Rect(0, this.b7.x - b, this.b7.y - b, b * 2, b * 2);
|
|
3416
3432
|
};
|
|
3417
3433
|
Slice.prototype.b6 = function () {
|
|
3418
|
-
if (this.isExploded && this.ai != null && this.ai.
|
|
3434
|
+
if (this.isExploded && this.ai != null && this.ai.b8 && this.ai.dm > 1) {
|
|
3419
3435
|
if (this.aq) {
|
|
3420
3436
|
return this.b3;
|
|
3421
3437
|
}
|
|
@@ -3443,7 +3459,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3443
3459
|
return;
|
|
3444
3460
|
}
|
|
3445
3461
|
var a = this.al.f();
|
|
3446
|
-
var b = this.ai.
|
|
3462
|
+
var b = this.ai.i9;
|
|
3447
3463
|
if (isNaN_(this.a3) || isNaN_(this.ax) || isNaN_(this.a2) || isNaN_(this.ay) || this.a5 < 0 || this.ai == null || b.width == 0 || b.height == 0 || (this.b7.x == 0 && this.b7.y == 0) || (this.b5.x == 0 && this.b5.y == 0) || this.a3 == this.ax) {
|
|
3448
3464
|
return;
|
|
3449
3465
|
}
|
|
@@ -3456,7 +3472,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3456
3472
|
var h = Slice.b4(MathUtil.o(this.ax), c, f, d, 100);
|
|
3457
3473
|
var i = Slice.b4(MathUtil.o(this.ax), c, f, this.a2, this.a0);
|
|
3458
3474
|
var j = Slice.b4(MathUtil.o(this.a3), c, f, this.a2, this.a1);
|
|
3459
|
-
var k = Math.abs(PieChartBase.
|
|
3475
|
+
var k = Math.abs(PieChartBase.dh(this.ax - this.a3)) == 360;
|
|
3460
3476
|
if (k) {
|
|
3461
3477
|
this.cc = this.b8;
|
|
3462
3478
|
if (this.a0 == 0) {
|
|
@@ -3654,7 +3670,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3654
3670
|
ax = 0;
|
|
3655
3671
|
}
|
|
3656
3672
|
var ay = Math.max(aw, ax);
|
|
3657
|
-
var az = GeometryUtil.m(this.ai.
|
|
3673
|
+
var az = GeometryUtil.m(this.ai.i9.width, this.ai.i9.height, true, au, this.a2 * this.ai.c0 - ay);
|
|
3658
3674
|
this.al.d(az.x - this.b5.x, az.y - this.b5.y);
|
|
3659
3675
|
this.aq = true;
|
|
3660
3676
|
this.b3 = az;
|
|
@@ -3666,7 +3682,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3666
3682
|
}
|
|
3667
3683
|
};
|
|
3668
3684
|
Slice.prototype.ap = function (a) {
|
|
3669
|
-
var b = this.ai.
|
|
3685
|
+
var b = this.ai.i9;
|
|
3670
3686
|
if (this._visibility == 1) {
|
|
3671
3687
|
return false;
|
|
3672
3688
|
}
|
|
@@ -3677,7 +3693,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3677
3693
|
var d = ((this.a0 / 100) * c);
|
|
3678
3694
|
var e = c;
|
|
3679
3695
|
var f = this.b7;
|
|
3680
|
-
if (this.isExploded && this.ai.
|
|
3696
|
+
if (this.isExploded && this.ai.b8 && this.ai.dm > 1) {
|
|
3681
3697
|
f = this.b5;
|
|
3682
3698
|
if (this.aq) {
|
|
3683
3699
|
f = this.b3;
|
|
@@ -3775,7 +3791,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3775
3791
|
a.labelAppearance.labelBrush = AppearanceHelper.b(b.ao);
|
|
3776
3792
|
a.labelAppearance.text = b.al;
|
|
3777
3793
|
if (this.ai != null) {
|
|
3778
|
-
c = this.ai.
|
|
3794
|
+
c = this.ai.bn();
|
|
3779
3795
|
if (c == null) {
|
|
3780
3796
|
c = this.ai.a4.b.c;
|
|
3781
3797
|
}
|
|
@@ -3830,7 +3846,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3830
3846
|
if (!c.av) {
|
|
3831
3847
|
var d = b.newValue;
|
|
3832
3848
|
if (c.ai != null) {
|
|
3833
|
-
c.ai.
|
|
3849
|
+
c.ai.g2(c, d);
|
|
3834
3850
|
}
|
|
3835
3851
|
}
|
|
3836
3852
|
}));
|
|
@@ -3838,7 +3854,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3838
3854
|
var c = typeCast(Slice.$, a);
|
|
3839
3855
|
var d = b.newValue;
|
|
3840
3856
|
if (c.ai != null) {
|
|
3841
|
-
c.ai.
|
|
3857
|
+
c.ai.fz(c, d);
|
|
3842
3858
|
}
|
|
3843
3859
|
}));
|
|
3844
3860
|
Slice.bu = DependencyProperty.i("IsOtherSlice", Boolean_$type, Slice.$, new PropertyMetadata(2, false, function (a, b) { return a.bk(); }));
|
|
@@ -3907,8 +3923,8 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3907
3923
|
if (this.a.an == null) {
|
|
3908
3924
|
this.a.an = a.b;
|
|
3909
3925
|
}
|
|
3910
|
-
if (this.a.
|
|
3911
|
-
this.a.
|
|
3926
|
+
if (this.a.jc == null) {
|
|
3927
|
+
this.a.jc = ((function () {
|
|
3912
3928
|
var $ret = new Style();
|
|
3913
3929
|
$ret.fill = a.h != null ? a.h.color.colorString : null;
|
|
3914
3930
|
$ret.stroke = a.i != null ? a.i.color.colorString : null;
|
|
@@ -3918,8 +3934,8 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3918
3934
|
})());
|
|
3919
3935
|
}
|
|
3920
3936
|
this.b = a;
|
|
3921
|
-
if (this.a.
|
|
3922
|
-
this.b.c = this.a.
|
|
3937
|
+
if (this.a.fq != null) {
|
|
3938
|
+
this.b.c = this.a.bn();
|
|
3923
3939
|
}
|
|
3924
3940
|
};
|
|
3925
3941
|
PieChartBaseView.prototype.ay = function () {
|
|
@@ -3952,7 +3968,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3952
3968
|
};
|
|
3953
3969
|
PieChartBaseView.prototype.bb = function () {
|
|
3954
3970
|
this.b4 = this.c.ao();
|
|
3955
|
-
this.a.
|
|
3971
|
+
this.a.gj();
|
|
3956
3972
|
};
|
|
3957
3973
|
PieChartBaseView.prototype.aw = function () {
|
|
3958
3974
|
if (!this.l) {
|
|
@@ -3971,9 +3987,9 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3971
3987
|
this.c.w(this.b4.width, this.b4.height);
|
|
3972
3988
|
var a = this.k == this.j;
|
|
3973
3989
|
if (this.k != null && this.k.d && !a) {
|
|
3974
|
-
if (this.a.
|
|
3990
|
+
if (this.a.c2 != 1) {
|
|
3975
3991
|
this.k.aa();
|
|
3976
|
-
this.k.ab(this.a.
|
|
3992
|
+
this.k.ab(this.a.c2, this.a.c2);
|
|
3977
3993
|
}
|
|
3978
3994
|
if (!this.b1.isEmpty) {
|
|
3979
3995
|
if (!this.k.e) {
|
|
@@ -3982,9 +3998,9 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3982
3998
|
}
|
|
3983
3999
|
}
|
|
3984
4000
|
if (this.i != null && this.i.d && !a) {
|
|
3985
|
-
if (this.a.
|
|
4001
|
+
if (this.a.c2 != 1) {
|
|
3986
4002
|
this.i.aa();
|
|
3987
|
-
this.i.ab(this.a.
|
|
4003
|
+
this.i.ab(this.a.c2, this.a.c2);
|
|
3988
4004
|
}
|
|
3989
4005
|
if (!this.b1.isEmpty) {
|
|
3990
4006
|
if (!this.i.e) {
|
|
@@ -3993,9 +4009,9 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3993
4009
|
}
|
|
3994
4010
|
}
|
|
3995
4011
|
if (this.j != null && this.j.d) {
|
|
3996
|
-
if (this.a.
|
|
4012
|
+
if (this.a.c2 != 1) {
|
|
3997
4013
|
this.j.aa();
|
|
3998
|
-
this.j.ab(this.a.
|
|
4014
|
+
this.j.ab(this.a.c2, this.a.c2);
|
|
3999
4015
|
}
|
|
4000
4016
|
if (!this.b1.isEmpty) {
|
|
4001
4017
|
if (!this.j.e) {
|
|
@@ -4004,9 +4020,9 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4004
4020
|
}
|
|
4005
4021
|
}
|
|
4006
4022
|
if (this.h != null && this.h.d && !a) {
|
|
4007
|
-
if (this.a.
|
|
4023
|
+
if (this.a.c2 != 1) {
|
|
4008
4024
|
this.h.aa();
|
|
4009
|
-
this.h.ab(this.a.
|
|
4025
|
+
this.h.ab(this.a.c2, this.a.c2);
|
|
4010
4026
|
}
|
|
4011
4027
|
if (!this.b1.isEmpty) {
|
|
4012
4028
|
if (!this.h.e) {
|
|
@@ -4015,7 +4031,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4015
4031
|
}
|
|
4016
4032
|
}
|
|
4017
4033
|
this.a7();
|
|
4018
|
-
if (!this.b1.isEmpty && this.a.
|
|
4034
|
+
if (!this.b1.isEmpty && this.a.c2 != 1) {
|
|
4019
4035
|
if (this.k != null && this.k.d && !a) {
|
|
4020
4036
|
this.k.z();
|
|
4021
4037
|
}
|
|
@@ -4039,8 +4055,8 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4039
4055
|
}
|
|
4040
4056
|
if (this.i != null && this.i.d) {
|
|
4041
4057
|
var a = this.b.c;
|
|
4042
|
-
if (this.a.
|
|
4043
|
-
a = this.a.
|
|
4058
|
+
if (this.a.fq != null) {
|
|
4059
|
+
a = this.a.bn();
|
|
4044
4060
|
}
|
|
4045
4061
|
this.i.ad(a);
|
|
4046
4062
|
try {
|
|
@@ -4075,16 +4091,16 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4075
4091
|
if (this.a.a0 != 0 && b.aq != null) {
|
|
4076
4092
|
b.aq._stroke = d;
|
|
4077
4093
|
b.aq.ad = 1;
|
|
4078
|
-
if (this.a.
|
|
4079
|
-
this.i.j(b.aq, this.a.
|
|
4094
|
+
if (this.a.ja != null) {
|
|
4095
|
+
this.i.j(b.aq, this.a.ja);
|
|
4080
4096
|
}
|
|
4081
4097
|
this.i.t(b.aq);
|
|
4082
4098
|
}
|
|
4083
4099
|
if (this.a.a0 == 0 && b.ap != null) {
|
|
4084
4100
|
b.ap._stroke = d;
|
|
4085
4101
|
b.ap.ad = 1;
|
|
4086
|
-
if (this.a.
|
|
4087
|
-
this.i.j(b.ap, this.a.
|
|
4102
|
+
if (this.a.ja != null) {
|
|
4103
|
+
this.i.j(b.ap, this.a.ja);
|
|
4088
4104
|
}
|
|
4089
4105
|
this.i.s(b.ap);
|
|
4090
4106
|
}
|
|
@@ -4204,7 +4220,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4204
4220
|
$ret.position = a;
|
|
4205
4221
|
return $ret;
|
|
4206
4222
|
})());
|
|
4207
|
-
this.a.
|
|
4223
|
+
this.a.f2(this.f, e);
|
|
4208
4224
|
}
|
|
4209
4225
|
else if (this.f != null) {
|
|
4210
4226
|
var f = ((function () {
|
|
@@ -4212,7 +4228,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4212
4228
|
$ret.position = a;
|
|
4213
4229
|
return $ret;
|
|
4214
4230
|
})());
|
|
4215
|
-
this.a.
|
|
4231
|
+
this.a.f3(this.f, f);
|
|
4216
4232
|
}
|
|
4217
4233
|
};
|
|
4218
4234
|
PieChartBaseView.prototype.aj = function (a) {
|
|
@@ -4223,7 +4239,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4223
4239
|
$ret.position = a;
|
|
4224
4240
|
return $ret;
|
|
4225
4241
|
})());
|
|
4226
|
-
this.a.
|
|
4242
|
+
this.a.f2(b, c);
|
|
4227
4243
|
};
|
|
4228
4244
|
PieChartBaseView.prototype.ai = function (a) {
|
|
4229
4245
|
this.m = false;
|
|
@@ -4231,10 +4247,10 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4231
4247
|
this.bk(a);
|
|
4232
4248
|
};
|
|
4233
4249
|
PieChartBaseView.prototype.al = function (a) {
|
|
4234
|
-
if (!this.a.
|
|
4250
|
+
if (!this.a.ce || !this.m) {
|
|
4235
4251
|
this.aq(a);
|
|
4236
4252
|
}
|
|
4237
|
-
if (this.a.
|
|
4253
|
+
if (this.a.ce && this.m) {
|
|
4238
4254
|
var b = this.f;
|
|
4239
4255
|
this.f = null;
|
|
4240
4256
|
var c = ((function () {
|
|
@@ -4242,7 +4258,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4242
4258
|
$ret.position = a;
|
|
4243
4259
|
return $ret;
|
|
4244
4260
|
})());
|
|
4245
|
-
this.a.
|
|
4261
|
+
this.a.f2(b, c);
|
|
4246
4262
|
}
|
|
4247
4263
|
this.m = false;
|
|
4248
4264
|
this.by = { $type: Point_$type, x: NaN, y: NaN };
|
|
@@ -4262,7 +4278,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4262
4278
|
var f = e.ao.containsPoint(a);
|
|
4263
4279
|
if (f) {
|
|
4264
4280
|
d = e;
|
|
4265
|
-
c = this.a.
|
|
4281
|
+
c = this.a.cg(e.ah, b);
|
|
4266
4282
|
break;
|
|
4267
4283
|
}
|
|
4268
4284
|
}
|
|
@@ -4282,10 +4298,10 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4282
4298
|
}
|
|
4283
4299
|
this.bk(a);
|
|
4284
4300
|
if (this.f == null && c && d != null) {
|
|
4285
|
-
this.a.
|
|
4301
|
+
this.a.g6(d.ah, b);
|
|
4286
4302
|
}
|
|
4287
4303
|
else if (this.f != null && c) {
|
|
4288
|
-
this.a.
|
|
4304
|
+
this.a.g6(this.f, b);
|
|
4289
4305
|
}
|
|
4290
4306
|
};
|
|
4291
4307
|
PieChartBaseView.prototype.bk = function (a) {
|
|
@@ -4335,7 +4351,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4335
4351
|
return this.o(a) || this.q(a);
|
|
4336
4352
|
};
|
|
4337
4353
|
PieChartBaseView.prototype.be = function () {
|
|
4338
|
-
this.a.
|
|
4354
|
+
this.a.gj();
|
|
4339
4355
|
};
|
|
4340
4356
|
PieChartBaseView.prototype.am = function () {
|
|
4341
4357
|
this.ar();
|
|
@@ -4404,14 +4420,14 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4404
4420
|
}
|
|
4405
4421
|
};
|
|
4406
4422
|
PieChartBaseView.prototype.bd = function (a) {
|
|
4407
|
-
if (this.a.
|
|
4423
|
+
if (this.a.jb != null && a.isOthersSlice) {
|
|
4408
4424
|
a.b0 = this.bw(a.a5);
|
|
4409
4425
|
a.b1 = this.bx(a.a5);
|
|
4410
|
-
a.y = this.a.ja;
|
|
4411
|
-
}
|
|
4412
|
-
else if (a.isSelected && this.a.b8 && this.a.jb != null) {
|
|
4413
4426
|
a.y = this.a.jb;
|
|
4414
4427
|
}
|
|
4428
|
+
else if (a.isSelected && this.a.b9 && this.a.jc != null) {
|
|
4429
|
+
a.y = this.a.jc;
|
|
4430
|
+
}
|
|
4415
4431
|
else {
|
|
4416
4432
|
a.y = null;
|
|
4417
4433
|
a.b0 = this.bw(a.a5);
|
|
@@ -4432,7 +4448,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4432
4448
|
};
|
|
4433
4449
|
PieChartBaseView.prototype.ae = function (a) {
|
|
4434
4450
|
if (a == null || a.aj == null) {
|
|
4435
|
-
return this.a.
|
|
4451
|
+
return this.a.ej;
|
|
4436
4452
|
}
|
|
4437
4453
|
var b = a.aj;
|
|
4438
4454
|
var c = b.aj;
|
|
@@ -4485,8 +4501,8 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4485
4501
|
};
|
|
4486
4502
|
PieChartBaseView.prototype.an = function () {
|
|
4487
4503
|
var a = this.b.c;
|
|
4488
|
-
if (this.a.
|
|
4489
|
-
a = this.a.
|
|
4504
|
+
if (this.a.fq != null) {
|
|
4505
|
+
a = this.a.bn();
|
|
4490
4506
|
}
|
|
4491
4507
|
if (this.i != null) {
|
|
4492
4508
|
this.i.ad(a);
|
|
@@ -4526,7 +4542,7 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4526
4542
|
this.e.item = b.dataContext;
|
|
4527
4543
|
this.e.slice = b;
|
|
4528
4544
|
}
|
|
4529
|
-
var d = this.a.
|
|
4545
|
+
var d = this.a.i6();
|
|
4530
4546
|
var pos_ = { $type: Point_$type, x: a.x + 15 + d.x, y: a.y + 15 + d.y };
|
|
4531
4547
|
var context_ = this.e;
|
|
4532
4548
|
this.c.aj(pos_, context_);
|
|
@@ -4534,10 +4550,10 @@ var PieChartBaseView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
4534
4550
|
PieChartBaseView.prototype.bi = function () {
|
|
4535
4551
|
this.bc();
|
|
4536
4552
|
this.bl();
|
|
4537
|
-
this.a.
|
|
4553
|
+
this.a.gw();
|
|
4538
4554
|
};
|
|
4539
4555
|
PieChartBaseView.prototype.a3 = function () {
|
|
4540
|
-
this.c.af(this.a.
|
|
4556
|
+
this.c.af(this.a.cf);
|
|
4541
4557
|
};
|
|
4542
4558
|
PieChartBaseView.prototype.ad = function () {
|
|
4543
4559
|
return this.c.t();
|