igniteui-webcomponents-charts 4.7.1 → 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 +8094 -7932
- 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/AngleAxisLabelPanel_combined.js +400 -235
- package/esm2015/lib/AnnotationLayer_combined.js +25 -25
- package/esm2015/lib/Arc_combined.js +149 -149
- 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/AxisAngleLabelMode.js +28 -0
- package/esm2015/lib/AxisVisualDataManager.js +11 -11
- 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 +33 -33
- 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/CategoryDateTimeXAxis_combined.js +10 -10
- 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/CategoryXAxis_combined.js +15 -15
- package/esm2015/lib/CategoryYAxis_combined.js +14 -14
- 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/DataAbbreviator.js +1 -1
- package/esm2015/lib/DataChartVisualDataManager.js +2 -2
- package/esm2015/lib/DataLegendContent_combined.js +50 -47
- 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 +29 -29
- 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 +129 -129
- package/esm2015/lib/FinancialIndicator_combined.js +44 -44
- 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/LegendBaseViewManager_combined.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/NumericXAxis_combined.js +4 -4
- package/esm2015/lib/NumericYAxis_combined.js +4 -4
- 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 +616 -604
- package/esm2015/lib/PointSeries_combined.js +2 -2
- package/esm2015/lib/PointerTooltip_combined.js +1 -1
- package/esm2015/lib/PolarAreaSeries_combined.js +9 -9
- package/esm2015/lib/PolarAxisRenderingManager.js +2 -2
- package/esm2015/lib/PolarBase_combined.js +204 -204
- 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 +7 -7
- 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 +114 -114
- 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 +23 -23
- 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 +201 -201
- package/esm2015/lib/ScatterContourSeries_combined.js +7 -7
- 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 +16 -16
- package/esm2015/lib/ScatterSplineSeriesView.js +1 -1
- package/esm2015/lib/ScatterTriangulationSeries.js +6 -6
- 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 +1170 -1179
- package/esm2015/lib/SeriesVisualDataManager.js +20 -20
- package/esm2015/lib/ShapeSeriesBase_combined.js +117 -117
- 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/StraightNumericAxisBase_combined.js +6 -6
- 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 +6 -6
- package/esm2015/lib/TimeXAxis.js +3 -3
- 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} +2057 -1736
- 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 +86 -78
- package/esm2015/lib/XamPieChart_combined.js +4 -4
- package/esm2015/lib/ZoomSliderView_combined.js +2 -2
- package/esm2015/lib/igc-assigning-series-style-event-args-base.js +1 -1
- package/esm2015/lib/igc-axis-collection.js +6 -1
- package/esm2015/lib/igc-callout-annotation-collection.js +6 -1
- package/esm2015/lib/igc-category-angle-axis-component.js +28 -17
- package/esm2015/lib/igc-data-legend-component.js +4 -0
- package/esm2015/lib/igc-financial-series-component.js +2 -2
- package/esm2015/lib/igc-funnel-chart-component.js +51 -42
- package/esm2015/lib/igc-funnel-slice-event-args.js +10 -1
- package/esm2015/lib/igc-numeric-angle-axis-component.js +15 -4
- package/esm2015/lib/igc-pie-chart-base-component.js +128 -128
- package/esm2015/lib/igc-polar-base-component.js +13 -13
- package/esm2015/lib/igc-radial-base-component.js +2 -2
- package/esm2015/lib/igc-ring-series-collection.js +6 -1
- package/esm2015/lib/igc-scatter-base-component.js +6 -6
- package/esm2015/lib/igc-series-collection.js +6 -1
- package/esm2015/lib/igc-series-component.js +37 -37
- package/esm2015/lib/igc-series-layer-collection.js +6 -1
- package/esm2015/lib/igc-series-layer-property-overlay-collection.js +6 -1
- 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-stacked-series-collection.js +6 -1
- package/esm2015/lib/igc-time-axis-break-collection.js +6 -1
- package/esm2015/lib/igc-time-axis-interval-collection.js +6 -1
- package/esm2015/lib/igc-time-axis-label-format-collection.js +6 -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-collection.js +6 -1
- 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 +4 -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/AngleAxisLabelPanel_combined.js +393 -228
- package/esm5/lib/AnnotationLayer_combined.js +25 -25
- package/esm5/lib/Arc_combined.js +148 -148
- 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/AxisAngleLabelMode.js +28 -0
- package/esm5/lib/AxisVisualDataManager.js +11 -11
- 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 +33 -33
- 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/CategoryDateTimeXAxis_combined.js +10 -10
- 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/CategoryXAxis_combined.js +15 -15
- package/esm5/lib/CategoryYAxis_combined.js +14 -14
- 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/DataAbbreviator.js +1 -1
- package/esm5/lib/DataChartVisualDataManager.js +2 -2
- package/esm5/lib/DataLegendContent_combined.js +50 -47
- 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 +29 -29
- 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 +129 -129
- package/esm5/lib/FinancialIndicator_combined.js +44 -44
- 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/LegendBaseViewManager_combined.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/NumericXAxis_combined.js +4 -4
- package/esm5/lib/NumericYAxis_combined.js +4 -4
- 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 +616 -600
- package/esm5/lib/PointSeries_combined.js +2 -2
- package/esm5/lib/PointerTooltip_combined.js +1 -1
- package/esm5/lib/PolarAreaSeries_combined.js +9 -9
- package/esm5/lib/PolarAxisRenderingManager.js +2 -2
- package/esm5/lib/PolarBase_combined.js +203 -203
- 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 +7 -7
- 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 +114 -114
- 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 +23 -23
- 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 +200 -200
- package/esm5/lib/ScatterContourSeries_combined.js +7 -7
- 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 +16 -16
- package/esm5/lib/ScatterSplineSeriesView.js +1 -1
- package/esm5/lib/ScatterTriangulationSeries.js +6 -6
- 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 +1147 -1157
- package/esm5/lib/SeriesVisualDataManager.js +20 -20
- package/esm5/lib/ShapeSeriesBase_combined.js +116 -116
- 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/StraightNumericAxisBase_combined.js +6 -6
- 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 +6 -6
- package/esm5/lib/TimeXAxis.js +3 -3
- 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} +2025 -1653
- 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 +85 -77
- package/esm5/lib/XamPieChart_combined.js +4 -4
- package/esm5/lib/ZoomSliderView_combined.js +2 -2
- package/esm5/lib/igc-assigning-series-style-event-args-base.js +1 -1
- package/esm5/lib/igc-axis-collection.js +6 -1
- package/esm5/lib/igc-callout-annotation-collection.js +6 -1
- package/esm5/lib/igc-category-angle-axis-component.js +32 -17
- package/esm5/lib/igc-data-legend-component.js +4 -0
- package/esm5/lib/igc-financial-series-component.js +2 -2
- package/esm5/lib/igc-funnel-chart-component.js +51 -42
- package/esm5/lib/igc-funnel-slice-event-args.js +14 -1
- package/esm5/lib/igc-numeric-angle-axis-component.js +19 -4
- package/esm5/lib/igc-pie-chart-base-component.js +128 -128
- package/esm5/lib/igc-polar-base-component.js +13 -13
- package/esm5/lib/igc-radial-base-component.js +2 -2
- package/esm5/lib/igc-ring-series-collection.js +6 -1
- package/esm5/lib/igc-scatter-base-component.js +6 -6
- package/esm5/lib/igc-series-collection.js +6 -1
- package/esm5/lib/igc-series-component.js +37 -37
- package/esm5/lib/igc-series-layer-collection.js +6 -1
- package/esm5/lib/igc-series-layer-property-overlay-collection.js +6 -1
- 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-stacked-series-collection.js +6 -1
- package/esm5/lib/igc-time-axis-break-collection.js +6 -1
- package/esm5/lib/igc-time-axis-interval-collection.js +6 -1
- package/esm5/lib/igc-time-axis-label-format-collection.js +6 -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-collection.js +6 -1
- 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 +4 -7
- package/fesm2015/igniteui-webcomponents-charts.js +8057 -7914
- package/fesm5/igniteui-webcomponents-charts.js +8072 -7908
- 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/AngleAxisLabelPanel_combined.d.ts +69 -58
- 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/AxisAngleLabelMode.d.ts +21 -0
- 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/CategoryDateTimeXAxis_combined.d.ts +3 -3
- 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/CategoryXAxis_combined.d.ts +2 -2
- package/lib/CategoryYAxis_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/NumericXAxis_combined.d.ts +2 -2
- package/lib/NumericYAxis_combined.d.ts +2 -2
- 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 +139 -135
- 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 +217 -255
- 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/StraightNumericAxisBase_combined.d.ts +2 -2
- 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/XamFunnelView_combined.d.ts +21 -19
- package/lib/XamPieChart_combined.d.ts +2 -2
- package/lib/igc-assigning-series-style-event-args-base.d.ts +1 -1
- package/lib/igc-category-angle-axis-component.d.ts +6 -0
- package/lib/igc-data-legend-component.d.ts +1 -0
- package/lib/igc-funnel-chart-component.d.ts +8 -1
- package/lib/igc-funnel-slice-event-args.d.ts +6 -0
- package/lib/igc-numeric-angle-axis-component.d.ts +6 -0
- package/lib/igc-pie-chart-base-component.d.ts +7 -7
- 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 +4 -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
|
@@ -10,8 +10,8 @@ import { Rect } from "igniteui-webcomponents-core";
|
|
|
10
10
|
import { RenderingContext } from "igniteui-webcomponents-core";
|
|
11
11
|
import { PieChartStyleInfo } from "./PieChartStyleInfo";
|
|
12
12
|
import { BrushCollection } from "igniteui-webcomponents-core";
|
|
13
|
-
import { Brush } from "igniteui-webcomponents-core";
|
|
14
13
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
14
|
+
import { Brush } from "igniteui-webcomponents-core";
|
|
15
15
|
import { FontUtil } from "igniteui-webcomponents-core";
|
|
16
16
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
17
17
|
import { Path } from "igniteui-webcomponents-core";
|
|
@@ -49,8 +49,8 @@ import { LegendEmptyValuesMode_$type } from "./LegendEmptyValuesMode";
|
|
|
49
49
|
import { SliceSelectionMode_$type } from "./SliceSelectionMode";
|
|
50
50
|
import { ObjectCollection } from "igniteui-webcomponents-core";
|
|
51
51
|
import { BindingFormatter } from "igniteui-webcomponents-core";
|
|
52
|
-
import { Pool$1 } from "igniteui-webcomponents-core";
|
|
53
52
|
import { PropertyUpdatedEventArgs } from "igniteui-webcomponents-core";
|
|
53
|
+
import { Pool$1 } from "igniteui-webcomponents-core";
|
|
54
54
|
import { SelectedItemChangingEventArgs } from "./SelectedItemChangingEventArgs";
|
|
55
55
|
import { SelectedItemsChangingEventArgs } from "./SelectedItemsChangingEventArgs";
|
|
56
56
|
import { SelectedItemChangedEventArgs } from "./SelectedItemChangedEventArgs";
|
|
@@ -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.
|
|
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,10 +792,10 @@ 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.
|
|
787
|
-
var c = GeometryUtil.
|
|
797
|
+
var b = this.ah.ai.dc;
|
|
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;
|
|
790
801
|
if (this.ai < 90 || this.ai >= 270) {
|
|
@@ -796,7 +807,7 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
796
807
|
if (b > 0) {
|
|
797
808
|
var d = GeometryUtil.g(c, a);
|
|
798
809
|
if (b < d) {
|
|
799
|
-
a = GeometryUtil.
|
|
810
|
+
a = GeometryUtil.p(a, c, b);
|
|
800
811
|
}
|
|
801
812
|
else {
|
|
802
813
|
a = c;
|
|
@@ -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
|
-
var f = GeometryUtil.
|
|
816
|
-
var g = GeometryUtil.
|
|
826
|
+
var f = GeometryUtil.n(a, this.ai, this.ah.a2);
|
|
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;
|
|
@@ -837,16 +848,16 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
837
848
|
if (d > 0) {
|
|
838
849
|
var l = GeometryUtil.g(f, j);
|
|
839
850
|
if (d < l) {
|
|
840
|
-
i = GeometryUtil.
|
|
851
|
+
i = GeometryUtil.p(j, f, d);
|
|
841
852
|
var m = g.x - f.x;
|
|
842
853
|
var n = g.y - f.y;
|
|
843
|
-
g = GeometryUtil.
|
|
854
|
+
g = GeometryUtil.p(g, f, d);
|
|
844
855
|
var o = g.x - f.x;
|
|
845
856
|
var p = g.y - f.y;
|
|
846
857
|
if ((m > 0 && o < 0) || (m < 0 && o > 0) || (n > 0 && p < 0) || (n < 0 && p > 0)) {
|
|
847
858
|
g = f;
|
|
848
859
|
}
|
|
849
|
-
h = GeometryUtil.
|
|
860
|
+
h = GeometryUtil.p(h, f, d);
|
|
850
861
|
var q = GeometryUtil.g(f, i) / GeometryUtil.g(f, j);
|
|
851
862
|
h.x = f.x + (h.x - f.x) * q;
|
|
852
863
|
h.y = f.y + (h.y - f.y) * q;
|
|
@@ -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,23 +1021,26 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1010
1021
|
PieChartBase.prototype.onAttachedToUI = function () {
|
|
1011
1022
|
this.a4.ay();
|
|
1012
1023
|
};
|
|
1013
|
-
|
|
1024
|
+
PieChartBase.prototype.f0 = function () {
|
|
1025
|
+
this.a4.ap();
|
|
1026
|
+
};
|
|
1027
|
+
Object.defineProperty(PieChartBase.prototype, "bv", {
|
|
1014
1028
|
get: function () {
|
|
1015
|
-
return this.
|
|
1029
|
+
return this.bq;
|
|
1016
1030
|
},
|
|
1017
1031
|
set: function (a) {
|
|
1018
|
-
if (this.
|
|
1019
|
-
var b = this.
|
|
1020
|
-
this.
|
|
1021
|
-
this.
|
|
1032
|
+
if (this.bq != a) {
|
|
1033
|
+
var b = this.bq;
|
|
1034
|
+
this.bq = a;
|
|
1035
|
+
this.gu("ValueColumn", b, this.bq);
|
|
1022
1036
|
}
|
|
1023
1037
|
},
|
|
1024
1038
|
enumerable: false,
|
|
1025
1039
|
configurable: true
|
|
1026
1040
|
});
|
|
1027
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1041
|
+
Object.defineProperty(PieChartBase.prototype, "c1", {
|
|
1028
1042
|
get: function () {
|
|
1029
|
-
return Math.abs(this.
|
|
1043
|
+
return Math.abs(this.da) > 1 ? this.da : this.da * 100;
|
|
1030
1044
|
},
|
|
1031
1045
|
enumerable: false,
|
|
1032
1046
|
configurable: true
|
|
@@ -1041,7 +1055,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1041
1055
|
enumerable: false,
|
|
1042
1056
|
configurable: true
|
|
1043
1057
|
});
|
|
1044
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1058
|
+
Object.defineProperty(PieChartBase.prototype, "d9", {
|
|
1045
1059
|
get: function () {
|
|
1046
1060
|
var a = this.XSRP.b1("InvalidLabelBinding");
|
|
1047
1061
|
if (stringIsNullOrWhiteSpace(a)) {
|
|
@@ -1052,9 +1066,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1052
1066
|
enumerable: false,
|
|
1053
1067
|
configurable: true
|
|
1054
1068
|
});
|
|
1055
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1069
|
+
Object.defineProperty(PieChartBase.prototype, "da", {
|
|
1056
1070
|
get: function () {
|
|
1057
|
-
return this.c(PieChartBase.
|
|
1071
|
+
return this.c(PieChartBase.hp);
|
|
1058
1072
|
},
|
|
1059
1073
|
set: function (a) {
|
|
1060
1074
|
var b = a;
|
|
@@ -1067,42 +1081,42 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1067
1081
|
if (a > 100) {
|
|
1068
1082
|
b = 100;
|
|
1069
1083
|
}
|
|
1070
|
-
this.h(PieChartBase.
|
|
1084
|
+
this.h(PieChartBase.hp, b);
|
|
1071
1085
|
},
|
|
1072
1086
|
enumerable: false,
|
|
1073
1087
|
configurable: true
|
|
1074
1088
|
});
|
|
1075
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1089
|
+
Object.defineProperty(PieChartBase.prototype, "br", {
|
|
1076
1090
|
get: function () {
|
|
1077
|
-
return this.
|
|
1091
|
+
return this.bo;
|
|
1078
1092
|
},
|
|
1079
1093
|
set: function (a) {
|
|
1080
|
-
if (this.
|
|
1081
|
-
var b = this.
|
|
1082
|
-
this.
|
|
1083
|
-
this.
|
|
1094
|
+
if (this.bo != a) {
|
|
1095
|
+
var b = this.br;
|
|
1096
|
+
this.bo = a;
|
|
1097
|
+
this.gu("LabelColumn", b, this.br);
|
|
1084
1098
|
}
|
|
1085
1099
|
},
|
|
1086
1100
|
enumerable: false,
|
|
1087
1101
|
configurable: true
|
|
1088
1102
|
});
|
|
1089
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1103
|
+
Object.defineProperty(PieChartBase.prototype, "bs", {
|
|
1090
1104
|
get: function () {
|
|
1091
|
-
return this.
|
|
1105
|
+
return this.bp;
|
|
1092
1106
|
},
|
|
1093
1107
|
set: function (a) {
|
|
1094
|
-
if (this.
|
|
1095
|
-
var b = this.
|
|
1096
|
-
this.
|
|
1097
|
-
this.
|
|
1108
|
+
if (this.bp != a) {
|
|
1109
|
+
var b = this.bs;
|
|
1110
|
+
this.bp = a;
|
|
1111
|
+
this.gu("LegendLabelColumn", b, this.bs);
|
|
1098
1112
|
}
|
|
1099
1113
|
},
|
|
1100
1114
|
enumerable: false,
|
|
1101
1115
|
configurable: true
|
|
1102
1116
|
});
|
|
1103
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1117
|
+
Object.defineProperty(PieChartBase.prototype, "c0", {
|
|
1104
1118
|
get: function () {
|
|
1105
|
-
var a = this.
|
|
1119
|
+
var a = this.c5;
|
|
1106
1120
|
if (isNaN_(a) || isInfinity(a) || a < 0) {
|
|
1107
1121
|
return 0;
|
|
1108
1122
|
}
|
|
@@ -1114,9 +1128,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1114
1128
|
enumerable: false,
|
|
1115
1129
|
configurable: true
|
|
1116
1130
|
});
|
|
1117
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1131
|
+
Object.defineProperty(PieChartBase.prototype, "c3", {
|
|
1118
1132
|
get: function () {
|
|
1119
|
-
var a = this.
|
|
1133
|
+
var a = this.dg;
|
|
1120
1134
|
if (isNaN_(a) || isInfinity(a) || a < 0) {
|
|
1121
1135
|
return 0;
|
|
1122
1136
|
}
|
|
@@ -1136,20 +1150,20 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1136
1150
|
var b = this.au;
|
|
1137
1151
|
if (b != null) {
|
|
1138
1152
|
var c = this.au;
|
|
1139
|
-
c.collectionChanged = delegateRemove(c.collectionChanged, this.
|
|
1153
|
+
c.collectionChanged = delegateRemove(c.collectionChanged, this.cv);
|
|
1140
1154
|
}
|
|
1141
|
-
this.
|
|
1155
|
+
this.b1 = false;
|
|
1142
1156
|
this.au = a;
|
|
1143
1157
|
if (this.au != null) {
|
|
1144
1158
|
var d = this.au;
|
|
1145
|
-
d.collectionChanged = delegateCombine(d.collectionChanged, this.
|
|
1146
|
-
this.
|
|
1159
|
+
d.collectionChanged = delegateCombine(d.collectionChanged, this.cv);
|
|
1160
|
+
this.b1 = true;
|
|
1147
1161
|
}
|
|
1148
|
-
if (this.
|
|
1162
|
+
if (this.b8) {
|
|
1163
|
+
this.gr();
|
|
1149
1164
|
this.gq();
|
|
1150
|
-
this.
|
|
1151
|
-
this.
|
|
1152
|
-
this.gw();
|
|
1165
|
+
this.gz();
|
|
1166
|
+
this.gx();
|
|
1153
1167
|
}
|
|
1154
1168
|
},
|
|
1155
1169
|
enumerable: false,
|
|
@@ -1161,71 +1175,71 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1161
1175
|
},
|
|
1162
1176
|
set: function (a) {
|
|
1163
1177
|
var b = this.av;
|
|
1164
|
-
b.collectionChanged = delegateRemove(b.collectionChanged, this.
|
|
1165
|
-
this.
|
|
1178
|
+
b.collectionChanged = delegateRemove(b.collectionChanged, this.cw);
|
|
1179
|
+
this.b4 = false;
|
|
1166
1180
|
this.av = a;
|
|
1167
1181
|
if (this.av != null) {
|
|
1168
1182
|
var c = this.av;
|
|
1169
|
-
c.collectionChanged = delegateCombine(c.collectionChanged, this.
|
|
1170
|
-
this.
|
|
1183
|
+
c.collectionChanged = delegateCombine(c.collectionChanged, this.cw);
|
|
1184
|
+
this.b4 = true;
|
|
1171
1185
|
}
|
|
1172
|
-
if (this.
|
|
1186
|
+
if (this.b9) {
|
|
1187
|
+
this.gr();
|
|
1173
1188
|
this.gq();
|
|
1174
|
-
this.
|
|
1175
|
-
this.gy();
|
|
1176
|
-
this.gw();
|
|
1189
|
+
this.gz();
|
|
1177
1190
|
this.gx();
|
|
1191
|
+
this.gy();
|
|
1178
1192
|
}
|
|
1179
1193
|
},
|
|
1180
1194
|
enumerable: false,
|
|
1181
1195
|
configurable: true
|
|
1182
1196
|
});
|
|
1183
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1197
|
+
Object.defineProperty(PieChartBase.prototype, "hc", {
|
|
1184
1198
|
get: function () {
|
|
1185
|
-
return typeCast(DataTemplate.$, this.c(PieChartBase.
|
|
1199
|
+
return typeCast(DataTemplate.$, this.c(PieChartBase.h0));
|
|
1186
1200
|
},
|
|
1187
1201
|
set: function (a) {
|
|
1188
|
-
this.h(PieChartBase.
|
|
1202
|
+
this.h(PieChartBase.h0, a);
|
|
1189
1203
|
},
|
|
1190
1204
|
enumerable: false,
|
|
1191
1205
|
configurable: true
|
|
1192
1206
|
});
|
|
1193
|
-
PieChartBase.prototype.
|
|
1207
|
+
PieChartBase.prototype.cb = function () {
|
|
1194
1208
|
return this.a5 != null;
|
|
1195
1209
|
};
|
|
1196
|
-
PieChartBase.prototype.
|
|
1210
|
+
PieChartBase.prototype.cc = function () {
|
|
1197
1211
|
return this.a6 != null;
|
|
1198
1212
|
};
|
|
1199
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1213
|
+
Object.defineProperty(PieChartBase.prototype, "df", {
|
|
1200
1214
|
get: function () {
|
|
1201
|
-
return this.
|
|
1215
|
+
return this.cz;
|
|
1202
1216
|
},
|
|
1203
1217
|
set: function (a) {
|
|
1204
|
-
var b = this.
|
|
1205
|
-
this.
|
|
1206
|
-
this.
|
|
1218
|
+
var b = this.cz;
|
|
1219
|
+
this.cz = a;
|
|
1220
|
+
this.gu("PixelScalingRatio", b, this.cz);
|
|
1207
1221
|
},
|
|
1208
1222
|
enumerable: false,
|
|
1209
1223
|
configurable: true
|
|
1210
1224
|
});
|
|
1211
|
-
Object.defineProperty(PieChartBase.prototype, "
|
|
1225
|
+
Object.defineProperty(PieChartBase.prototype, "c2", {
|
|
1212
1226
|
get: function () {
|
|
1213
|
-
return this.
|
|
1227
|
+
return this.cy;
|
|
1214
1228
|
},
|
|
1215
1229
|
set: function (a) {
|
|
1216
|
-
var b = this.
|
|
1217
|
-
this.
|
|
1218
|
-
this.
|
|
1230
|
+
var b = this.cy;
|
|
1231
|
+
this.cy = a;
|
|
1232
|
+
this.gu("ActualPixelScalingRatio", b, this.cy);
|
|
1219
1233
|
},
|
|
1220
1234
|
enumerable: false,
|
|
1221
1235
|
configurable: true
|
|
1222
1236
|
});
|
|
1223
1237
|
Object.defineProperty(PieChartBase.prototype, "selectedItem", {
|
|
1224
1238
|
get: function () {
|
|
1225
|
-
return this.c(PieChartBase.
|
|
1239
|
+
return this.c(PieChartBase.io);
|
|
1226
1240
|
},
|
|
1227
1241
|
set: function (a) {
|
|
1228
|
-
this.h(PieChartBase.
|
|
1242
|
+
this.h(PieChartBase.io, a);
|
|
1229
1243
|
},
|
|
1230
1244
|
enumerable: false,
|
|
1231
1245
|
configurable: true
|
|
@@ -1240,38 +1254,38 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1240
1254
|
enumerable: false,
|
|
1241
1255
|
configurable: true
|
|
1242
1256
|
});
|
|
1243
|
-
PieChartBase.prototype.
|
|
1257
|
+
PieChartBase.prototype.gd = function (a, b) {
|
|
1244
1258
|
if (this.labelClick != null) {
|
|
1245
1259
|
this.labelClick(a, b);
|
|
1246
1260
|
}
|
|
1247
1261
|
};
|
|
1248
|
-
PieChartBase.prototype.
|
|
1262
|
+
PieChartBase.prototype.gf = function (a, b) {
|
|
1249
1263
|
if (this.selectedItemChanging != null) {
|
|
1250
1264
|
this.selectedItemChanging(a, b);
|
|
1251
1265
|
}
|
|
1252
1266
|
};
|
|
1253
|
-
PieChartBase.prototype.
|
|
1267
|
+
PieChartBase.prototype.gi = function (a, b) {
|
|
1254
1268
|
if (this.selectedItemsChanging != null) {
|
|
1255
1269
|
this.selectedItemsChanging(a, b);
|
|
1256
1270
|
}
|
|
1257
1271
|
};
|
|
1258
|
-
PieChartBase.prototype.
|
|
1272
|
+
PieChartBase.prototype.ge = function (a, b) {
|
|
1259
1273
|
if (this.selectedItemChanged != null) {
|
|
1260
1274
|
this.selectedItemChanged(a, b);
|
|
1261
1275
|
}
|
|
1262
1276
|
};
|
|
1263
|
-
PieChartBase.prototype.
|
|
1277
|
+
PieChartBase.prototype.gg = function (a, b) {
|
|
1264
1278
|
if (this.selectedItemsChanged != null) {
|
|
1265
1279
|
this.selectedItemsChanged(a, b);
|
|
1266
1280
|
}
|
|
1267
1281
|
};
|
|
1268
|
-
PieChartBase.prototype.
|
|
1282
|
+
PieChartBase.prototype.gk = function (a, b) {
|
|
1269
1283
|
if (this.sliceClick != null) {
|
|
1270
1284
|
this.sliceClick(a, b);
|
|
1271
1285
|
}
|
|
1272
1286
|
};
|
|
1273
|
-
PieChartBase.prototype.
|
|
1274
|
-
if (!this.
|
|
1287
|
+
PieChartBase.prototype.fz = function (a, b) {
|
|
1288
|
+
if (!this.b1) {
|
|
1275
1289
|
return;
|
|
1276
1290
|
}
|
|
1277
1291
|
if (!this.explodedSlices.contains(a.a5) && b) {
|
|
@@ -1281,41 +1295,41 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1281
1295
|
this.explodedSlices.remove(a.a5);
|
|
1282
1296
|
}
|
|
1283
1297
|
};
|
|
1284
|
-
PieChartBase.prototype.
|
|
1285
|
-
this.
|
|
1298
|
+
PieChartBase.prototype.g2 = function (a, b) {
|
|
1299
|
+
this.b6 = true;
|
|
1286
1300
|
if (!this.selectedSlices.contains(a.a5) && b) {
|
|
1287
1301
|
this.selectedSlices.add(a.a5);
|
|
1288
1302
|
}
|
|
1289
1303
|
if (this.selectedSlices.contains(a.a5) && !b) {
|
|
1290
1304
|
this.selectedSlices.remove(a.a5);
|
|
1291
1305
|
}
|
|
1292
|
-
this.
|
|
1306
|
+
this.b6 = false;
|
|
1293
1307
|
};
|
|
1294
|
-
PieChartBase.prototype.
|
|
1308
|
+
PieChartBase.prototype.g3 = function (a) {
|
|
1295
1309
|
this.a4.bd(a);
|
|
1296
1310
|
};
|
|
1297
|
-
PieChartBase.prototype.
|
|
1311
|
+
PieChartBase.prototype.dp = function (a) {
|
|
1298
1312
|
return this.a4.ae(a);
|
|
1299
1313
|
};
|
|
1300
|
-
PieChartBase.prototype.
|
|
1314
|
+
PieChartBase.prototype.i8 = function (a, b) {
|
|
1301
1315
|
var c = new Rect(0, 0, 0, 0, 0);
|
|
1302
1316
|
return c;
|
|
1303
1317
|
};
|
|
1304
|
-
PieChartBase.prototype.
|
|
1318
|
+
PieChartBase.prototype.ca = function (a, b) {
|
|
1305
1319
|
var c = a.ah;
|
|
1306
1320
|
if (c == null) {
|
|
1307
1321
|
return false;
|
|
1308
1322
|
}
|
|
1309
1323
|
var d = c.b6();
|
|
1310
|
-
var e = this.
|
|
1311
|
-
var f = this.
|
|
1324
|
+
var e = this.i3 == 1 ? c.a3 : c.ax;
|
|
1325
|
+
var f = this.i3 == 1 ? c.ax : c.a3;
|
|
1312
1326
|
var g = false;
|
|
1313
1327
|
var h = false;
|
|
1314
|
-
var i = GeometryUtil.
|
|
1315
|
-
var j = GeometryUtil.
|
|
1316
|
-
e = PieChartBase.
|
|
1317
|
-
f = PieChartBase.
|
|
1318
|
-
if (this.
|
|
1328
|
+
var i = GeometryUtil.n(d, e, c.a2);
|
|
1329
|
+
var j = GeometryUtil.n(d, f, c.a2);
|
|
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)) {
|
|
1319
1333
|
h = true;
|
|
1320
1334
|
}
|
|
1321
1335
|
var k;
|
|
@@ -1343,28 +1357,28 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1343
1357
|
g = true;
|
|
1344
1358
|
}
|
|
1345
1359
|
var l;
|
|
1346
|
-
l = PieChartBase.
|
|
1360
|
+
l = PieChartBase.c6(a.ao.right, d.x, a.ao.top, d.y);
|
|
1347
1361
|
if (g && l > 180 && l < 360) {
|
|
1348
1362
|
l = l - 360;
|
|
1349
1363
|
}
|
|
1350
1364
|
if (l < e || l > f) {
|
|
1351
1365
|
return false;
|
|
1352
1366
|
}
|
|
1353
|
-
l = PieChartBase.
|
|
1367
|
+
l = PieChartBase.c6(a.ao.right, d.x, a.ao.bottom, d.y);
|
|
1354
1368
|
if (g && l > 180 && l < 360) {
|
|
1355
1369
|
l = l - 360;
|
|
1356
1370
|
}
|
|
1357
1371
|
if (l < e || l > f) {
|
|
1358
1372
|
return false;
|
|
1359
1373
|
}
|
|
1360
|
-
l = PieChartBase.
|
|
1374
|
+
l = PieChartBase.c6(a.ao.left, d.x, a.ao.top, d.y);
|
|
1361
1375
|
if (g && l > 180 && l < 360) {
|
|
1362
1376
|
l = l - 360;
|
|
1363
1377
|
}
|
|
1364
1378
|
if (l < e || l > f) {
|
|
1365
1379
|
return false;
|
|
1366
1380
|
}
|
|
1367
|
-
l = PieChartBase.
|
|
1381
|
+
l = PieChartBase.c6(a.ao.left, d.x, a.ao.bottom, d.y);
|
|
1368
1382
|
if (g && l > 180 && l < 360) {
|
|
1369
1383
|
l = l - 360;
|
|
1370
1384
|
}
|
|
@@ -1373,14 +1387,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1373
1387
|
}
|
|
1374
1388
|
return true;
|
|
1375
1389
|
};
|
|
1376
|
-
PieChartBase.
|
|
1390
|
+
PieChartBase.dh = function (a) {
|
|
1377
1391
|
var b = Math.round(a * Math.pow(10, 5)) / Math.pow(10, 5);
|
|
1378
1392
|
return b;
|
|
1379
1393
|
};
|
|
1380
|
-
PieChartBase.prototype.
|
|
1381
|
-
return PieChartBase.
|
|
1394
|
+
PieChartBase.prototype.cd = function (a) {
|
|
1395
|
+
return PieChartBase.dh(Math.abs(a.ax - a.a3)) == 360;
|
|
1382
1396
|
};
|
|
1383
|
-
PieChartBase.
|
|
1397
|
+
PieChartBase.c6 = function (a, b, c, d) {
|
|
1384
1398
|
var e = MathUtil.g(a - b, c - d);
|
|
1385
1399
|
var f = Math.asin((c - d) / e) * 180 / Math.PI;
|
|
1386
1400
|
if (a < b) {
|
|
@@ -1392,14 +1406,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1392
1406
|
if (f == 360) {
|
|
1393
1407
|
f = 0;
|
|
1394
1408
|
}
|
|
1395
|
-
return GeometryUtil.
|
|
1409
|
+
return GeometryUtil.j(f);
|
|
1396
1410
|
};
|
|
1397
|
-
PieChartBase.
|
|
1411
|
+
PieChartBase.g8 = function (a) {
|
|
1398
1412
|
var b = new Array(a.count);
|
|
1399
1413
|
for (var c = 0; c < a.count; c++) {
|
|
1400
1414
|
var d = a._inner[c];
|
|
1401
1415
|
var e = d.ah;
|
|
1402
|
-
var f = GeometryUtil.
|
|
1416
|
+
var f = GeometryUtil.n(e.b7, d.ai, e.a2);
|
|
1403
1417
|
b[c] = f.y;
|
|
1404
1418
|
}
|
|
1405
1419
|
for (var g = 0; g < a.count; g++) {
|
|
@@ -1415,7 +1429,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1415
1429
|
}
|
|
1416
1430
|
}
|
|
1417
1431
|
};
|
|
1418
|
-
PieChartBase.prototype.
|
|
1432
|
+
PieChartBase.prototype.g0 = function (a) {
|
|
1419
1433
|
var e_1, _a, e_2, _b;
|
|
1420
1434
|
if (a.count == 0) {
|
|
1421
1435
|
return;
|
|
@@ -1469,10 +1483,10 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1469
1483
|
if (r.ao.intersectsWith(s.ao)) {
|
|
1470
1484
|
var t = s.ao;
|
|
1471
1485
|
t.y = Math.min(r.ao.bottom + 0.01, c - i);
|
|
1472
|
-
var u = this.
|
|
1486
|
+
var u = this.db + e;
|
|
1473
1487
|
var v = Math.abs(f.y - (t.y + i / 2));
|
|
1474
1488
|
var w = Math.sqrt(Math.abs(u * u - v * v));
|
|
1475
|
-
var x = GeometryUtil.
|
|
1489
|
+
var x = GeometryUtil.j(s.ai);
|
|
1476
1490
|
if (x > 90 && x < 270) {
|
|
1477
1491
|
w = (t.width + w) * -1;
|
|
1478
1492
|
}
|
|
@@ -1488,10 +1502,10 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1488
1502
|
if (aa.ao.intersectsWith(ab.ao)) {
|
|
1489
1503
|
var ac = ab.ao;
|
|
1490
1504
|
ac.y = Math.max(aa.ao.top - i - 0.01, 0);
|
|
1491
|
-
var ad = this.
|
|
1505
|
+
var ad = this.db + e;
|
|
1492
1506
|
var ae = Math.abs(f.y - (ac.y + i / 2));
|
|
1493
1507
|
var af = Math.sqrt(Math.abs(ad * ad - ae * ae));
|
|
1494
|
-
var ag = GeometryUtil.
|
|
1508
|
+
var ag = GeometryUtil.j(ab.ai);
|
|
1495
1509
|
if (ag > 90 && ag < 270) {
|
|
1496
1510
|
af = (ac.width + af) * -1;
|
|
1497
1511
|
}
|
|
@@ -1550,38 +1564,38 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1550
1564
|
}
|
|
1551
1565
|
}
|
|
1552
1566
|
};
|
|
1553
|
-
PieChartBase.prototype.
|
|
1554
|
-
this.
|
|
1567
|
+
PieChartBase.prototype.fx = function (a, b, c, d) {
|
|
1568
|
+
this.gw();
|
|
1555
1569
|
};
|
|
1556
|
-
PieChartBase.prototype.
|
|
1557
|
-
this.go();
|
|
1558
|
-
this.gq();
|
|
1570
|
+
PieChartBase.prototype.gw = function () {
|
|
1559
1571
|
this.gp();
|
|
1560
|
-
this.
|
|
1561
|
-
this.
|
|
1572
|
+
this.gr();
|
|
1573
|
+
this.gq();
|
|
1574
|
+
this.gz();
|
|
1562
1575
|
this.gx();
|
|
1576
|
+
this.gy();
|
|
1563
1577
|
this.a4.bs();
|
|
1564
1578
|
};
|
|
1565
|
-
PieChartBase.prototype.
|
|
1579
|
+
PieChartBase.prototype.gp = function () {
|
|
1566
1580
|
var e_3, _a;
|
|
1567
|
-
this.
|
|
1568
|
-
this.
|
|
1581
|
+
this.dj = 0;
|
|
1582
|
+
this.de = 0;
|
|
1583
|
+
this.co.clear();
|
|
1569
1584
|
this.cn.clear();
|
|
1570
1585
|
this.cm.clear();
|
|
1571
|
-
this.
|
|
1572
|
-
if (this.actualItemsSource == null || this.bl == null) {
|
|
1586
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1573
1587
|
return;
|
|
1574
1588
|
}
|
|
1575
|
-
if (this.
|
|
1589
|
+
if (this.bv == null || this.bv.count == 0) {
|
|
1576
1590
|
return;
|
|
1577
1591
|
}
|
|
1578
1592
|
try {
|
|
1579
|
-
for (var _b = __values(fromEnum(this.
|
|
1593
|
+
for (var _b = __values(fromEnum(this.bv)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1580
1594
|
var a = _c.value;
|
|
1581
1595
|
if (isNaN_(a) || isInfinity(a) || a <= 0) {
|
|
1582
1596
|
continue;
|
|
1583
1597
|
}
|
|
1584
|
-
this.
|
|
1598
|
+
this.dj = this.dj + a;
|
|
1585
1599
|
}
|
|
1586
1600
|
}
|
|
1587
1601
|
catch (e_3_1) {
|
|
@@ -1597,89 +1611,89 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1597
1611
|
throw e_3.error;
|
|
1598
1612
|
}
|
|
1599
1613
|
}
|
|
1600
|
-
for (var b = 0; b < this.
|
|
1601
|
-
var c = this.
|
|
1614
|
+
for (var b = 0; b < this.bv.count; b++) {
|
|
1615
|
+
var c = this.bv.item(b);
|
|
1602
1616
|
var d = this.a1 == 0 ? c <= 0 : c < 0;
|
|
1603
1617
|
if (isNaN_(c) || isInfinity(c) || d) {
|
|
1604
1618
|
continue;
|
|
1605
1619
|
}
|
|
1606
|
-
var e = this.a2 == 1 ? c / this.
|
|
1607
|
-
var f = this.a2 == 1 ? this.
|
|
1608
|
-
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);
|
|
1609
1623
|
if (e <= f && g) {
|
|
1610
|
-
this.
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1624
|
+
this.de = this.de + c;
|
|
1625
|
+
this.cn.add(b);
|
|
1626
|
+
this.cm.add1(this.bm.item(b));
|
|
1613
1627
|
}
|
|
1614
1628
|
else {
|
|
1615
|
-
this.
|
|
1629
|
+
this.co.add(b);
|
|
1616
1630
|
}
|
|
1617
1631
|
}
|
|
1618
1632
|
};
|
|
1619
|
-
PieChartBase.prototype.
|
|
1620
|
-
if (this.actualItemsSource == null || this.
|
|
1621
|
-
this.
|
|
1633
|
+
PieChartBase.prototype.gr = function () {
|
|
1634
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1635
|
+
this.bx.count = 0;
|
|
1622
1636
|
return;
|
|
1623
1637
|
}
|
|
1624
|
-
var a = this.
|
|
1625
|
-
var b = this.
|
|
1626
|
-
var c = PieChartBase.
|
|
1627
|
-
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);
|
|
1628
1642
|
if (b) {
|
|
1629
1643
|
a++;
|
|
1630
1644
|
}
|
|
1631
|
-
this.
|
|
1645
|
+
this.dm = a;
|
|
1632
1646
|
for (var e = 0; e < a; e++) {
|
|
1633
1647
|
var f = false;
|
|
1634
1648
|
var g = void 0;
|
|
1635
1649
|
if (e == a - 1 && b) {
|
|
1636
|
-
g = this.
|
|
1650
|
+
g = this.de;
|
|
1637
1651
|
f = true;
|
|
1638
1652
|
}
|
|
1639
1653
|
else {
|
|
1640
|
-
g = this.
|
|
1654
|
+
g = this.bv.item(this.co._inner[e]);
|
|
1641
1655
|
}
|
|
1642
|
-
if (this.
|
|
1643
|
-
d += PieChartBase.
|
|
1656
|
+
if (this.i3 == 1) {
|
|
1657
|
+
d += PieChartBase.dh(Math.abs(g) * 360 / this.dj);
|
|
1644
1658
|
}
|
|
1645
1659
|
else {
|
|
1646
|
-
d -= PieChartBase.
|
|
1660
|
+
d -= PieChartBase.dh(Math.abs(g) * 360 / this.dj);
|
|
1647
1661
|
}
|
|
1648
|
-
var h = this.
|
|
1662
|
+
var h = this.bx.item(e);
|
|
1649
1663
|
h.aw = true;
|
|
1650
1664
|
h.a3 = c;
|
|
1651
1665
|
h.ax = d;
|
|
1652
|
-
h.a1 = this.
|
|
1653
|
-
h.a0 = this.
|
|
1666
|
+
h.a1 = this.c1;
|
|
1667
|
+
h.a0 = this.c1;
|
|
1654
1668
|
h.isOthersSlice = f;
|
|
1655
|
-
h.ay = this.
|
|
1669
|
+
h.ay = this.c0;
|
|
1656
1670
|
h.a5 = e;
|
|
1657
|
-
h.dataContext = f ? this.
|
|
1671
|
+
h.dataContext = f ? this.cm : this.bm.item(this.co._inner[e]);
|
|
1658
1672
|
this.a7.j(h);
|
|
1659
|
-
h.isExploded = this.
|
|
1673
|
+
h.isExploded = this.b1 ? this.explodedSlices.contains(e) : false;
|
|
1660
1674
|
c = d;
|
|
1661
1675
|
h.aw = false;
|
|
1662
1676
|
}
|
|
1663
|
-
this.
|
|
1677
|
+
this.bx.count = a;
|
|
1664
1678
|
};
|
|
1665
|
-
PieChartBase.prototype.
|
|
1679
|
+
PieChartBase.prototype.fh = function () {
|
|
1666
1680
|
var a = this.XSRP.b7;
|
|
1667
1681
|
if (stringIsNullOrWhiteSpace(a)) {
|
|
1668
1682
|
a = "Others";
|
|
1669
1683
|
}
|
|
1670
|
-
return this.
|
|
1684
|
+
return this.e6 != null ? this.e6 : a;
|
|
1671
1685
|
};
|
|
1672
|
-
PieChartBase.prototype.
|
|
1686
|
+
PieChartBase.prototype.gq = function () {
|
|
1673
1687
|
var _this = this;
|
|
1674
|
-
if (this.actualItemsSource == null || this.
|
|
1675
|
-
this.
|
|
1688
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1689
|
+
this.bw.count = 0;
|
|
1676
1690
|
return;
|
|
1677
1691
|
}
|
|
1678
|
-
if (this.
|
|
1679
|
-
this.
|
|
1692
|
+
if (this.br == null || this.br.count == 0 || this.az == 0) {
|
|
1693
|
+
this.bw.count = 0;
|
|
1680
1694
|
}
|
|
1681
|
-
var a = this.
|
|
1682
|
-
if (this.
|
|
1695
|
+
var a = this.co.count;
|
|
1696
|
+
if (this.cn.count > 0) {
|
|
1683
1697
|
a++;
|
|
1684
1698
|
}
|
|
1685
1699
|
this.a4.av();
|
|
@@ -1689,15 +1703,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1689
1703
|
var e = false;
|
|
1690
1704
|
var f;
|
|
1691
1705
|
var g = null;
|
|
1692
|
-
if (c == a - 1 && this_1.
|
|
1693
|
-
f = this_1.
|
|
1706
|
+
if (c == a - 1 && this_1.cn.count > 0) {
|
|
1707
|
+
f = this_1.fh();
|
|
1694
1708
|
e = true;
|
|
1695
|
-
if (this_1.
|
|
1709
|
+
if (this_1.cb() || this_1.ap != null || this_1.as != null) {
|
|
1696
1710
|
var h = ((function () {
|
|
1697
1711
|
var $ret = new PieSliceDataContext();
|
|
1698
1712
|
$ret.series = _this;
|
|
1699
|
-
$ret.item = e ? _this.
|
|
1700
|
-
$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));
|
|
1701
1715
|
$ret.isOthersSlice = e;
|
|
1702
1716
|
return $ret;
|
|
1703
1717
|
})());
|
|
@@ -1713,7 +1727,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1713
1727
|
else if (this_1.as != null && e) {
|
|
1714
1728
|
f = this_1.as.i(i);
|
|
1715
1729
|
}
|
|
1716
|
-
else if (this_1.
|
|
1730
|
+
else if (this_1.cb()) {
|
|
1717
1731
|
f = this_1.a5(i);
|
|
1718
1732
|
}
|
|
1719
1733
|
}
|
|
@@ -1721,25 +1735,25 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1721
1735
|
d = f.toString();
|
|
1722
1736
|
}
|
|
1723
1737
|
else {
|
|
1724
|
-
d = this_1.
|
|
1738
|
+
d = this_1.fh();
|
|
1725
1739
|
}
|
|
1726
1740
|
}
|
|
1727
1741
|
else {
|
|
1728
|
-
if (this_1.
|
|
1729
|
-
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]);
|
|
1730
1744
|
}
|
|
1731
1745
|
else {
|
|
1732
1746
|
f = null;
|
|
1733
1747
|
}
|
|
1734
|
-
g = (this_1.
|
|
1735
|
-
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) {
|
|
1736
1750
|
var j = ((function () {
|
|
1737
1751
|
var $ret = new PieSliceDataContext();
|
|
1738
1752
|
$ret.series = _this;
|
|
1739
|
-
$ret.item = e ? _this.
|
|
1753
|
+
$ret.item = e ? _this.cm : _this.bm.item(_this.co._inner[c]);
|
|
1740
1754
|
$ret.itemLabel = f != null ? f.toString() : null;
|
|
1741
1755
|
$ret.legendLabel = g != null ? g.toString() : f != null ? f.toString() : null;
|
|
1742
|
-
$ret.percentValue = _this.
|
|
1756
|
+
$ret.percentValue = _this.c9(_this.bx.item(c));
|
|
1743
1757
|
$ret.isOthersSlice = e;
|
|
1744
1758
|
return $ret;
|
|
1745
1759
|
})());
|
|
@@ -1757,15 +1771,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1757
1771
|
else {
|
|
1758
1772
|
formattedLabel_ = this_1.a5(k);
|
|
1759
1773
|
}
|
|
1760
|
-
if (null == formattedLabel_ && this_1.
|
|
1761
|
-
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]);
|
|
1762
1776
|
}
|
|
1763
1777
|
else {
|
|
1764
1778
|
f = formattedLabel_;
|
|
1765
1779
|
}
|
|
1766
1780
|
}
|
|
1767
1781
|
var label_ = f;
|
|
1768
|
-
var errorMsg_ = this_1.
|
|
1782
|
+
var errorMsg_ = this_1.d9;
|
|
1769
1783
|
if (label_ === undefined) {
|
|
1770
1784
|
throw new Error(errorMsg_);
|
|
1771
1785
|
}
|
|
@@ -1777,19 +1791,19 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1777
1791
|
d = null;
|
|
1778
1792
|
}
|
|
1779
1793
|
}
|
|
1780
|
-
if (this_1.
|
|
1781
|
-
var l = this_1.
|
|
1782
|
-
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);
|
|
1783
1797
|
m.aj = l;
|
|
1784
|
-
l.ai = GeometryUtil.
|
|
1798
|
+
l.ai = GeometryUtil.j((m.a3 + m.ax) / 2);
|
|
1785
1799
|
l.ah = m;
|
|
1786
1800
|
l.aj = ((function () {
|
|
1787
1801
|
var $ret = new TextBlock();
|
|
1788
1802
|
$ret.al = d;
|
|
1789
1803
|
return $ret;
|
|
1790
1804
|
})());
|
|
1791
|
-
if (this_1.
|
|
1792
|
-
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]);
|
|
1793
1807
|
l.ak(this_1.a4);
|
|
1794
1808
|
}
|
|
1795
1809
|
else {
|
|
@@ -1798,8 +1812,8 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1798
1812
|
l.ao = this_1.a4.b3(l);
|
|
1799
1813
|
b++;
|
|
1800
1814
|
}
|
|
1801
|
-
if (this_1.
|
|
1802
|
-
var n = this_1.
|
|
1815
|
+
if (this_1.bs != null && this_1.bs.count > 0) {
|
|
1816
|
+
var n = this_1.bx.item(c);
|
|
1803
1817
|
n.bf = g != null ? g.toString() : null;
|
|
1804
1818
|
}
|
|
1805
1819
|
};
|
|
@@ -1807,40 +1821,40 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1807
1821
|
for (var c = 0; c < a; c++) {
|
|
1808
1822
|
_loop_1(c);
|
|
1809
1823
|
}
|
|
1810
|
-
this.
|
|
1824
|
+
this.bw.count = b;
|
|
1811
1825
|
};
|
|
1812
|
-
PieChartBase.prototype.
|
|
1826
|
+
PieChartBase.prototype.gz = function () {
|
|
1813
1827
|
var e_4, _a;
|
|
1814
|
-
if (this.actualItemsSource == null || this.
|
|
1828
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1815
1829
|
return;
|
|
1816
1830
|
}
|
|
1817
1831
|
var a = this.a4.b5();
|
|
1818
|
-
this.
|
|
1832
|
+
this.i9 = new Rect(0, 0, 0, a.width, a.height);
|
|
1819
1833
|
var b = this.a4.ab();
|
|
1820
|
-
var c = this.a4.aa(this.
|
|
1834
|
+
var c = this.a4.aa(this.jc);
|
|
1821
1835
|
b = isNaN_(b) ? 0 : b / 2;
|
|
1822
1836
|
c = isNaN_(c) ? 0 : c / 2;
|
|
1823
1837
|
b = Math.max(c, b);
|
|
1824
1838
|
var d = Math.min(a.width / 2, a.height / 2);
|
|
1825
1839
|
var e = { $type: Point_$type, x: a.width / 2, y: a.height / 2 };
|
|
1826
|
-
var f = d * this.
|
|
1840
|
+
var f = d * this.c3;
|
|
1827
1841
|
var g = f + b;
|
|
1828
1842
|
if (g > d) {
|
|
1829
1843
|
var h = g - d;
|
|
1830
1844
|
f = f - h;
|
|
1831
1845
|
}
|
|
1832
1846
|
try {
|
|
1833
|
-
for (var _b = __values(fromEnum(this.
|
|
1847
|
+
for (var _b = __values(fromEnum(this.bx.a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1834
1848
|
var i = _c.value;
|
|
1835
|
-
var j = GeometryUtil.
|
|
1849
|
+
var j = GeometryUtil.m(a.width, a.height, true, (i.a3 + i.ax) / 2, f * this.c0);
|
|
1836
1850
|
i.aw = true;
|
|
1837
|
-
i.a1 = this.
|
|
1838
|
-
i.a0 = this.
|
|
1851
|
+
i.a1 = this.c1;
|
|
1852
|
+
i.a0 = this.c1;
|
|
1839
1853
|
i.a2 = f;
|
|
1840
|
-
i.ay = this.
|
|
1854
|
+
i.ay = this.c0;
|
|
1841
1855
|
i.b7 = e;
|
|
1842
1856
|
i.b5 = j;
|
|
1843
|
-
this.
|
|
1857
|
+
this.g3(i);
|
|
1844
1858
|
i.aw = false;
|
|
1845
1859
|
}
|
|
1846
1860
|
}
|
|
@@ -1859,15 +1873,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1859
1873
|
}
|
|
1860
1874
|
this.a4.bs();
|
|
1861
1875
|
};
|
|
1862
|
-
PieChartBase.prototype.
|
|
1876
|
+
PieChartBase.prototype.gx = function () {
|
|
1863
1877
|
var e_5, _a, e_6, _b, e_7, _c, e_8, _d, e_9, _e;
|
|
1864
1878
|
var a = this.a4.b4.width;
|
|
1865
1879
|
var b = this.a4.b4.height;
|
|
1866
1880
|
if (b == 0 || a == 0) {
|
|
1867
1881
|
return;
|
|
1868
1882
|
}
|
|
1869
|
-
if (this.
|
|
1870
|
-
this.
|
|
1883
|
+
if (this.bw.a.count == 0 || this.az == 0) {
|
|
1884
|
+
this.bw.count = 0;
|
|
1871
1885
|
return;
|
|
1872
1886
|
}
|
|
1873
1887
|
var c = new List$1(PieLabel.$, 0);
|
|
@@ -1875,7 +1889,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1875
1889
|
var e = new List$1(PieLabel.$, 0);
|
|
1876
1890
|
var f = new List$1(PieLabel.$, 0);
|
|
1877
1891
|
try {
|
|
1878
|
-
for (var _f = __values(fromEnum(this.
|
|
1892
|
+
for (var _f = __values(fromEnum(this.bw.a)), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
1879
1893
|
var g = _g.value;
|
|
1880
1894
|
var h = g.ah;
|
|
1881
1895
|
if (h == null) {
|
|
@@ -1886,15 +1900,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1886
1900
|
var k = g.ao.height;
|
|
1887
1901
|
if (this.az == 1 || this.az == 4) {
|
|
1888
1902
|
var l = h.a2 * h.a1 / 100;
|
|
1889
|
-
var m = GeometryUtil.
|
|
1903
|
+
var m = GeometryUtil.n(i, g.ai, h.a2 - (h.a2 - l) / 2);
|
|
1890
1904
|
g.ao = new Rect(0, m.x - j / 2, m.y - k / 2, j, k);
|
|
1891
|
-
var n = this.
|
|
1905
|
+
var n = this.ca(g, m);
|
|
1892
1906
|
if (n || this.az == 1) {
|
|
1893
|
-
if (this.
|
|
1907
|
+
if (this.iy == null) {
|
|
1894
1908
|
h.f(Slice.bp);
|
|
1895
1909
|
}
|
|
1896
1910
|
else {
|
|
1897
|
-
h.b2 = this.
|
|
1911
|
+
h.b2 = this.iy;
|
|
1898
1912
|
}
|
|
1899
1913
|
h.au = true;
|
|
1900
1914
|
e.add(g);
|
|
@@ -1915,16 +1929,16 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1915
1929
|
}
|
|
1916
1930
|
}
|
|
1917
1931
|
if (this.az == 2 || this.az == 4) {
|
|
1918
|
-
var o = PieChartBase.
|
|
1919
|
-
var p = GeometryUtil.
|
|
1932
|
+
var o = PieChartBase.c7(i, h.a2, g);
|
|
1933
|
+
var p = GeometryUtil.n(i, g.ai, o);
|
|
1920
1934
|
g.ao = new Rect(0, p.x - j / 2, p.y - k / 2, j, k);
|
|
1921
|
-
var q = this.
|
|
1935
|
+
var q = this.ca(g, p);
|
|
1922
1936
|
if (q || this.az == 2) {
|
|
1923
|
-
if (this.
|
|
1937
|
+
if (this.iy == null) {
|
|
1924
1938
|
h.f(Slice.bp);
|
|
1925
1939
|
}
|
|
1926
1940
|
else {
|
|
1927
|
-
h.b2 = this.
|
|
1941
|
+
h.b2 = this.iy;
|
|
1928
1942
|
}
|
|
1929
1943
|
h.au = true;
|
|
1930
1944
|
f.add(g);
|
|
@@ -1944,14 +1958,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1944
1958
|
continue;
|
|
1945
1959
|
}
|
|
1946
1960
|
}
|
|
1947
|
-
if (this.
|
|
1961
|
+
if (this.iz == null) {
|
|
1948
1962
|
h.f(Slice.bp);
|
|
1949
1963
|
}
|
|
1950
1964
|
else {
|
|
1951
|
-
h.b2 = this.
|
|
1965
|
+
h.b2 = this.iz;
|
|
1952
1966
|
}
|
|
1953
1967
|
h.au = false;
|
|
1954
|
-
var r = GeometryUtil.
|
|
1968
|
+
var r = GeometryUtil.n(i, g.ai, h.a2 + this.db);
|
|
1955
1969
|
g.ag = 3;
|
|
1956
1970
|
g._visibility = 0;
|
|
1957
1971
|
g.al();
|
|
@@ -1992,10 +2006,10 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1992
2006
|
throw e_5.error;
|
|
1993
2007
|
}
|
|
1994
2008
|
}
|
|
1995
|
-
PieChartBase.
|
|
1996
|
-
this.
|
|
1997
|
-
PieChartBase.
|
|
1998
|
-
this.
|
|
2009
|
+
PieChartBase.g8(c);
|
|
2010
|
+
this.g0(c);
|
|
2011
|
+
PieChartBase.g8(d);
|
|
2012
|
+
this.g0(d);
|
|
1999
2013
|
try {
|
|
2000
2014
|
for (var _h = __values(fromEnum(e)), _j = _h.next(); !_j.done; _j = _h.next()) {
|
|
2001
2015
|
var s = _j.value;
|
|
@@ -2086,14 +2100,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2086
2100
|
}
|
|
2087
2101
|
this.a4.bs();
|
|
2088
2102
|
};
|
|
2089
|
-
PieChartBase.
|
|
2103
|
+
PieChartBase.c7 = function (a, b, c) {
|
|
2090
2104
|
var d = c.ai * Math.PI / 180;
|
|
2091
2105
|
var e = 1;
|
|
2092
|
-
var f = GeometryUtil.
|
|
2093
|
-
var g = PieChartBase.
|
|
2106
|
+
var f = GeometryUtil.n({ $type: Point_$type, x: 0, y: 0 }, c.ai, e);
|
|
2107
|
+
var g = PieChartBase.i5(c);
|
|
2094
2108
|
var h = Math.sqrt(g.x * g.x + g.y * g.y);
|
|
2095
2109
|
var i = { $type: Point_$type, x: g.x / h, y: g.y / h };
|
|
2096
|
-
var j = PieChartBase.
|
|
2110
|
+
var j = PieChartBase.c8(f, i);
|
|
2097
2111
|
var k = h / b;
|
|
2098
2112
|
var l = j * k;
|
|
2099
2113
|
var m = l;
|
|
@@ -2102,14 +2116,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2102
2116
|
if (o < n) {
|
|
2103
2117
|
m = -m;
|
|
2104
2118
|
}
|
|
2105
|
-
var p = GeometryUtil.
|
|
2106
|
-
var q = PieChartBase.
|
|
2119
|
+
var p = GeometryUtil.n(a, (d + m) * 180 / Math.PI, b);
|
|
2120
|
+
var q = PieChartBase.i4(c, p);
|
|
2107
2121
|
var r = Math.sqrt((q.x - a.x) * (q.x - a.x) + (q.y - a.y) * (q.y - a.y));
|
|
2108
2122
|
var s = r - 5;
|
|
2109
2123
|
return s;
|
|
2110
2124
|
};
|
|
2111
|
-
PieChartBase.
|
|
2112
|
-
var c = GeometryUtil.
|
|
2125
|
+
PieChartBase.i4 = function (a, b) {
|
|
2126
|
+
var c = GeometryUtil.j(a.ai);
|
|
2113
2127
|
var d = a.ao.width / 2;
|
|
2114
2128
|
var e = a.ao.height / 2;
|
|
2115
2129
|
if (c >= 0 && c <= 90) {
|
|
@@ -2123,15 +2137,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2123
2137
|
}
|
|
2124
2138
|
return { $type: Point_$type, x: b.x - d, y: b.y + e };
|
|
2125
2139
|
};
|
|
2126
|
-
PieChartBase.
|
|
2140
|
+
PieChartBase.c8 = function (a, b) {
|
|
2127
2141
|
var c = a.x * b.x + a.y * b.y;
|
|
2128
2142
|
var d = Math.sqrt(a.x * a.x + a.y * a.y);
|
|
2129
2143
|
var e = Math.sqrt(b.x * b.x + b.y * b.y);
|
|
2130
2144
|
var f = Math.acos(c / (d * e));
|
|
2131
2145
|
return f;
|
|
2132
2146
|
};
|
|
2133
|
-
PieChartBase.
|
|
2134
|
-
var b = GeometryUtil.
|
|
2147
|
+
PieChartBase.i5 = function (a) {
|
|
2148
|
+
var b = GeometryUtil.j(a.ai);
|
|
2135
2149
|
var c = a.ao.width / 2;
|
|
2136
2150
|
var d = a.ao.height / 2;
|
|
2137
2151
|
if (b >= 0 && b <= 90) {
|
|
@@ -2145,20 +2159,20 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2145
2159
|
}
|
|
2146
2160
|
return { $type: Point_$type, x: c, y: -d };
|
|
2147
2161
|
};
|
|
2148
|
-
PieChartBase.prototype.
|
|
2162
|
+
PieChartBase.prototype.gy = function () {
|
|
2149
2163
|
var e_10, _a;
|
|
2150
2164
|
var _this = this;
|
|
2151
2165
|
if (this.legend == null || !this.legend.isItemwise) {
|
|
2152
2166
|
return;
|
|
2153
2167
|
}
|
|
2154
|
-
if ((this.
|
|
2168
|
+
if ((this.br == null || this.br.count == 0) && (this.bs == null || this.bs.count == 0)) {
|
|
2155
2169
|
this.legend.clearLegendItemsForSeries(this);
|
|
2156
2170
|
return;
|
|
2157
2171
|
}
|
|
2158
|
-
this.
|
|
2172
|
+
this.cl = new List$1(UIElement.$, 0);
|
|
2159
2173
|
var _loop_2 = function (a) {
|
|
2160
2174
|
var b = new ContentControl();
|
|
2161
|
-
var c = this_2.
|
|
2175
|
+
var c = this_2.dp(a);
|
|
2162
2176
|
var d = this_2.a4.bu(a);
|
|
2163
2177
|
var e = this_2.a4.bv(a);
|
|
2164
2178
|
b.content = ((function () {
|
|
@@ -2170,15 +2184,15 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2170
2184
|
$ret.outline = e;
|
|
2171
2185
|
$ret.thickness = a.a4;
|
|
2172
2186
|
$ret.itemLabel = c != null ? c.toString() : null;
|
|
2173
|
-
$ret.legendLabel = a.isOthersSlice ? _this.
|
|
2174
|
-
$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);
|
|
2175
2189
|
$ret.isOthersSlice = a.isOthersSlice;
|
|
2176
2190
|
return $ret;
|
|
2177
2191
|
})());
|
|
2178
2192
|
var f = b.content;
|
|
2179
|
-
if (this_2.
|
|
2193
|
+
if (this_2.cc() || this_2.aq != null || this_2.ar != null) {
|
|
2180
2194
|
var g = null;
|
|
2181
|
-
if (this_2.
|
|
2195
|
+
if (this_2.cc()) {
|
|
2182
2196
|
g = this_2.a6(b.content);
|
|
2183
2197
|
}
|
|
2184
2198
|
if (this_2.aq != null && !f.isOthersSlice) {
|
|
@@ -2194,11 +2208,11 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2194
2208
|
if (this_2.legendItemTemplate != null) {
|
|
2195
2209
|
b.ah = this_2.legendItemTemplate;
|
|
2196
2210
|
}
|
|
2197
|
-
this_2.
|
|
2211
|
+
this_2.cl.add(b);
|
|
2198
2212
|
};
|
|
2199
2213
|
var this_2 = this;
|
|
2200
2214
|
try {
|
|
2201
|
-
for (var _b = __values(fromEnum(this.
|
|
2215
|
+
for (var _b = __values(fromEnum(this.bx.a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2202
2216
|
var a = _c.value;
|
|
2203
2217
|
_loop_2(a);
|
|
2204
2218
|
}
|
|
@@ -2218,61 +2232,61 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2218
2232
|
}
|
|
2219
2233
|
if (this.legend.isItemwise) {
|
|
2220
2234
|
var h = this.legend;
|
|
2221
|
-
h.createItemwiseLegendItems(this.
|
|
2235
|
+
h.createItemwiseLegendItems(this.cl, this);
|
|
2222
2236
|
}
|
|
2223
2237
|
};
|
|
2224
|
-
PieChartBase.prototype.
|
|
2238
|
+
PieChartBase.prototype.bl = function () {
|
|
2225
2239
|
var a = new PieChartVisualData();
|
|
2226
|
-
a.viewport = RectData.b(this.
|
|
2240
|
+
a.viewport = RectData.b(this.i9);
|
|
2227
2241
|
this.a4.ao(a);
|
|
2228
|
-
for (var b = 0; b < this.
|
|
2229
|
-
var c = this.
|
|
2242
|
+
for (var b = 0; b < this.bx.count; b++) {
|
|
2243
|
+
var c = this.bx.item(b).am();
|
|
2230
2244
|
a.slices.add(c);
|
|
2231
|
-
if (this.
|
|
2232
|
-
a.othersSlice = this.
|
|
2245
|
+
if (this.bx.item(b).isOthersSlice) {
|
|
2246
|
+
a.othersSlice = this.bx.item(b).am();
|
|
2233
2247
|
}
|
|
2234
2248
|
}
|
|
2235
|
-
a.others = this.
|
|
2249
|
+
a.others = this.cm;
|
|
2236
2250
|
a.name = this.name;
|
|
2237
|
-
a.radiusFactor = this.
|
|
2238
|
-
a.leaderLineMargin = this.
|
|
2251
|
+
a.radiusFactor = this.c3;
|
|
2252
|
+
a.leaderLineMargin = this.dc;
|
|
2239
2253
|
return a;
|
|
2240
2254
|
};
|
|
2241
|
-
PieChartBase.prototype.
|
|
2242
|
-
var a = this.
|
|
2255
|
+
PieChartBase.prototype.d4 = function () {
|
|
2256
|
+
var a = this.bl();
|
|
2243
2257
|
a.scaleByViewport();
|
|
2244
2258
|
return a.serialize();
|
|
2245
2259
|
};
|
|
2246
|
-
PieChartBase.prototype.
|
|
2260
|
+
PieChartBase.prototype.bt = function (a) {
|
|
2247
2261
|
var b = null;
|
|
2248
|
-
return this.
|
|
2262
|
+
return this.bm.registerColumn(a, b, false);
|
|
2249
2263
|
};
|
|
2250
|
-
PieChartBase.prototype.
|
|
2264
|
+
PieChartBase.prototype.bu = function (a) {
|
|
2251
2265
|
var b = null;
|
|
2252
|
-
return this.
|
|
2266
|
+
return this.bm.registerColumnObject(a, b, false);
|
|
2253
2267
|
};
|
|
2254
|
-
PieChartBase.prototype.
|
|
2268
|
+
PieChartBase.prototype.gs = function (a, b, c, d) {
|
|
2255
2269
|
var e_11, _a;
|
|
2256
2270
|
switch (b) {
|
|
2257
2271
|
case PieChartBase.$$p[14]:
|
|
2258
|
-
this.actualItemsSource = this.
|
|
2272
|
+
this.actualItemsSource = this.cs();
|
|
2259
2273
|
break;
|
|
2260
2274
|
case PieChartBase.$$p[45]:
|
|
2261
2275
|
case PieChartBase.$$p[46]:
|
|
2262
|
-
this.
|
|
2263
|
-
this.
|
|
2276
|
+
this.iy = this.i2(this.i0);
|
|
2277
|
+
this.iz = this.i2(this.i1);
|
|
2264
2278
|
this.ak = this.ao(this.am);
|
|
2265
2279
|
this.al = this.ao(this.al);
|
|
2266
|
-
this.actualItemsSource = this.
|
|
2280
|
+
this.actualItemsSource = this.cs();
|
|
2267
2281
|
break;
|
|
2268
2282
|
case PieChartBase.$$p[1]:
|
|
2269
|
-
if (this.
|
|
2283
|
+
if (this.ch) {
|
|
2270
2284
|
this.ak = this.ao(this.am);
|
|
2271
2285
|
this.al = this.ao(this.al);
|
|
2272
|
-
this.
|
|
2273
|
-
this.
|
|
2286
|
+
this.iy = this.i2(this.i0);
|
|
2287
|
+
this.iz = this.i2(this.i1);
|
|
2274
2288
|
}
|
|
2275
|
-
this.
|
|
2289
|
+
this.bm = ((function () {
|
|
2276
2290
|
var $ret = new FastItemsSource();
|
|
2277
2291
|
$ret.e = d;
|
|
2278
2292
|
return $ret;
|
|
@@ -2280,9 +2294,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2280
2294
|
break;
|
|
2281
2295
|
case PieChartBase.$$p[16]:
|
|
2282
2296
|
case PieChartBase.$$p[17]:
|
|
2283
|
-
if (this.
|
|
2297
|
+
if (this.ef != null) {
|
|
2284
2298
|
this.ap = new BindingFormatter();
|
|
2285
|
-
this.ap.j = this.
|
|
2299
|
+
this.ap.j = this.ef;
|
|
2286
2300
|
this.ap.d = this.ag;
|
|
2287
2301
|
}
|
|
2288
2302
|
else {
|
|
@@ -2291,9 +2305,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2291
2305
|
break;
|
|
2292
2306
|
case PieChartBase.$$p[39]:
|
|
2293
2307
|
case PieChartBase.$$p[40]:
|
|
2294
|
-
if (this.
|
|
2308
|
+
if (this.fa != null) {
|
|
2295
2309
|
this.as = new BindingFormatter();
|
|
2296
|
-
this.as.j = this.
|
|
2310
|
+
this.as.j = this.fa;
|
|
2297
2311
|
this.as.d = this.aj;
|
|
2298
2312
|
}
|
|
2299
2313
|
else {
|
|
@@ -2302,9 +2316,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2302
2316
|
break;
|
|
2303
2317
|
case PieChartBase.$$p[29]:
|
|
2304
2318
|
case PieChartBase.$$p[30]:
|
|
2305
|
-
if (this.
|
|
2319
|
+
if (this.ew != null) {
|
|
2306
2320
|
this.aq = new BindingFormatter();
|
|
2307
|
-
this.aq.j = this.
|
|
2321
|
+
this.aq.j = this.ew;
|
|
2308
2322
|
this.aq.d = this.ah;
|
|
2309
2323
|
}
|
|
2310
2324
|
else {
|
|
@@ -2313,9 +2327,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2313
2327
|
break;
|
|
2314
2328
|
case PieChartBase.$$p[32]:
|
|
2315
2329
|
case PieChartBase.$$p[33]:
|
|
2316
|
-
if (this.
|
|
2330
|
+
if (this.e1 != null) {
|
|
2317
2331
|
this.ar = new BindingFormatter();
|
|
2318
|
-
this.ar.j = this.
|
|
2332
|
+
this.ar.j = this.e1;
|
|
2319
2333
|
this.ar.d = this.ai;
|
|
2320
2334
|
}
|
|
2321
2335
|
else {
|
|
@@ -2325,98 +2339,98 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2325
2339
|
case PieChartBase.$$p[9]:
|
|
2326
2340
|
if (typeCast(FastItemsSource.$, c) != null) {
|
|
2327
2341
|
var e = c;
|
|
2328
|
-
e.event = delegateRemove(e.event, this.
|
|
2329
|
-
this.
|
|
2330
|
-
c.deregisterColumn(this.
|
|
2331
|
-
c.deregisterColumn(this.
|
|
2332
|
-
this.
|
|
2333
|
-
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;
|
|
2334
2348
|
this.selectedItem = null;
|
|
2335
2349
|
this.selectedItems.clear();
|
|
2336
2350
|
if (this.selectedSlices != null) {
|
|
2337
2351
|
this.selectedSlices.clear();
|
|
2338
2352
|
}
|
|
2339
|
-
(typeCast(FastItemsSource.$, c)).deregisterColumn(this.
|
|
2340
|
-
this.
|
|
2353
|
+
(typeCast(FastItemsSource.$, c)).deregisterColumn(this.bs);
|
|
2354
|
+
this.bs = null;
|
|
2341
2355
|
}
|
|
2342
2356
|
if (typeCast(FastItemsSource.$, d) != null) {
|
|
2343
2357
|
var f = d;
|
|
2344
|
-
f.event = delegateCombine(f.event, this.
|
|
2345
|
-
this.
|
|
2346
|
-
this.
|
|
2347
|
-
this.
|
|
2348
|
-
this.
|
|
2349
|
-
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();
|
|
2350
2364
|
if (this.selectedItem != null || this.selectedItems.count > 0) {
|
|
2351
|
-
this.
|
|
2365
|
+
this.ha();
|
|
2352
2366
|
}
|
|
2353
2367
|
else if (this.selectedSlices != null && this.selectedSlices.count > 0) {
|
|
2354
|
-
this.
|
|
2368
|
+
this.hb();
|
|
2355
2369
|
}
|
|
2356
2370
|
}
|
|
2357
|
-
this.
|
|
2371
|
+
this.gw();
|
|
2358
2372
|
break;
|
|
2359
2373
|
case PieChartBase.$$p[51]:
|
|
2360
|
-
if (this.
|
|
2361
|
-
this.
|
|
2362
|
-
this.
|
|
2374
|
+
if (this.bm != null) {
|
|
2375
|
+
this.bm.deregisterColumn(this.bv);
|
|
2376
|
+
this.bv = this.bt(this.fi(this.fv));
|
|
2363
2377
|
}
|
|
2364
2378
|
break;
|
|
2365
2379
|
case PieChartBase.$$p[31]:
|
|
2366
|
-
if (this.
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2370
|
-
this.gw();
|
|
2380
|
+
if (this.bm != null) {
|
|
2381
|
+
this.bm.deregisterColumn(this.bs);
|
|
2382
|
+
this.bs = this.bu(this.ez);
|
|
2383
|
+
this.gq();
|
|
2371
2384
|
this.gx();
|
|
2385
|
+
this.gy();
|
|
2372
2386
|
}
|
|
2373
2387
|
break;
|
|
2374
2388
|
case PieChartBase.$$p[11]:
|
|
2375
|
-
this.
|
|
2389
|
+
this.gy();
|
|
2376
2390
|
break;
|
|
2377
2391
|
case PieChartBase.$$p[10]:
|
|
2378
2392
|
case PieChartBase.$$p[19]:
|
|
2379
|
-
if (this.
|
|
2380
|
-
this.
|
|
2381
|
-
this.
|
|
2382
|
-
this.
|
|
2383
|
-
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();
|
|
2384
2397
|
this.gx();
|
|
2398
|
+
this.gy();
|
|
2385
2399
|
}
|
|
2386
2400
|
break;
|
|
2387
2401
|
case PieChartBase.$$p[47]:
|
|
2388
|
-
this.
|
|
2402
|
+
this.c4 = d;
|
|
2403
|
+
this.gr();
|
|
2389
2404
|
this.gq();
|
|
2390
|
-
this.
|
|
2391
|
-
this.
|
|
2392
|
-
this.gw();
|
|
2405
|
+
this.gz();
|
|
2406
|
+
this.gx();
|
|
2393
2407
|
break;
|
|
2394
2408
|
case PieChartBase.$$p[49]:
|
|
2395
|
-
this.a4.bq(this.
|
|
2409
|
+
this.a4.bq(this.dr);
|
|
2396
2410
|
break;
|
|
2397
2411
|
case PieChartBase.$$p[34]:
|
|
2398
2412
|
var g = typeCast(IChartLegend_$type, c);
|
|
2399
2413
|
if (g != null) {
|
|
2400
2414
|
g.clearLegendItemsForSeries(this);
|
|
2401
2415
|
}
|
|
2402
|
-
this.
|
|
2416
|
+
this.gy();
|
|
2403
2417
|
break;
|
|
2404
2418
|
case PieChartBase.$$p[27]:
|
|
2405
2419
|
case PieChartBase.$$p[28]:
|
|
2406
|
-
this.
|
|
2420
|
+
this.gy();
|
|
2407
2421
|
break;
|
|
2408
2422
|
case PieChartBase.$$p[42]:
|
|
2409
2423
|
case PieChartBase.$$p[8]:
|
|
2410
2424
|
case PieChartBase.$$p[48]:
|
|
2425
|
+
this.gr();
|
|
2411
2426
|
this.gq();
|
|
2412
|
-
this.
|
|
2413
|
-
this.
|
|
2414
|
-
this.gw();
|
|
2427
|
+
this.gz();
|
|
2428
|
+
this.gx();
|
|
2415
2429
|
break;
|
|
2416
2430
|
case PieChartBase.$$p[35]:
|
|
2417
2431
|
case PieChartBase.$$p[43]:
|
|
2432
|
+
this.gz();
|
|
2418
2433
|
this.gy();
|
|
2419
|
-
this.gx();
|
|
2420
2434
|
break;
|
|
2421
2435
|
case PieChartBase.$$p[7]:
|
|
2422
2436
|
this.ak = this.ao(this.am);
|
|
@@ -2427,107 +2441,107 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2427
2441
|
case PieChartBase.$$p[0]:
|
|
2428
2442
|
if (c != null) {
|
|
2429
2443
|
var h = c;
|
|
2430
|
-
h.collectionChanged = delegateRemove(h.collectionChanged, this.
|
|
2431
|
-
this.
|
|
2444
|
+
h.collectionChanged = delegateRemove(h.collectionChanged, this.cu);
|
|
2445
|
+
this.b0 = false;
|
|
2432
2446
|
}
|
|
2433
2447
|
if (d != null) {
|
|
2434
2448
|
var i = d;
|
|
2435
|
-
i.collectionChanged = delegateCombine(i.collectionChanged, this.
|
|
2436
|
-
this.
|
|
2449
|
+
i.collectionChanged = delegateCombine(i.collectionChanged, this.cu);
|
|
2450
|
+
this.b0 = true;
|
|
2437
2451
|
}
|
|
2452
|
+
this.gz();
|
|
2438
2453
|
this.gy();
|
|
2439
|
-
this.gx();
|
|
2440
2454
|
break;
|
|
2441
2455
|
case PieChartBase.$$p[4]:
|
|
2442
2456
|
if (c != null) {
|
|
2443
2457
|
var j = c;
|
|
2444
|
-
j.collectionChanged = delegateRemove(j.collectionChanged, this.
|
|
2445
|
-
this.
|
|
2458
|
+
j.collectionChanged = delegateRemove(j.collectionChanged, this.cu);
|
|
2459
|
+
this.b3 = false;
|
|
2446
2460
|
}
|
|
2447
2461
|
if (d != null) {
|
|
2448
2462
|
var k = d;
|
|
2449
|
-
k.collectionChanged = delegateCombine(k.collectionChanged, this.
|
|
2450
|
-
this.
|
|
2463
|
+
k.collectionChanged = delegateCombine(k.collectionChanged, this.cu);
|
|
2464
|
+
this.b3 = true;
|
|
2451
2465
|
}
|
|
2466
|
+
this.gz();
|
|
2452
2467
|
this.gy();
|
|
2453
|
-
this.gx();
|
|
2454
2468
|
break;
|
|
2455
2469
|
case "ValueColumn":
|
|
2456
2470
|
case PieChartBase.$$p[37]:
|
|
2457
2471
|
case PieChartBase.$$p[38]:
|
|
2458
|
-
this.
|
|
2459
|
-
this.g9();
|
|
2472
|
+
this.gw();
|
|
2460
2473
|
this.ha();
|
|
2474
|
+
this.hb();
|
|
2461
2475
|
break;
|
|
2462
2476
|
case PieChartBase.$$p[5]:
|
|
2463
2477
|
case PieChartBase.$$p[6]:
|
|
2464
|
-
this.
|
|
2478
|
+
this.gw();
|
|
2465
2479
|
break;
|
|
2466
2480
|
case PieChartBase.$$p[21]:
|
|
2467
|
-
this.
|
|
2468
|
-
this.
|
|
2481
|
+
this.gq();
|
|
2482
|
+
this.gx();
|
|
2469
2483
|
this.a4.bs();
|
|
2470
2484
|
break;
|
|
2471
2485
|
case PieChartBase.$$p[18]:
|
|
2472
|
-
this.
|
|
2486
|
+
this.iy = this.i2(this.i0);
|
|
2473
2487
|
break;
|
|
2474
2488
|
case PieChartBase.$$p[20]:
|
|
2475
|
-
this.
|
|
2489
|
+
this.iz = this.i2(this.i1);
|
|
2476
2490
|
break;
|
|
2477
2491
|
case PieChartBase.$$p[2]:
|
|
2478
2492
|
case PieChartBase.$$p[3]:
|
|
2479
2493
|
case PieChartBase.$$p[15]:
|
|
2480
|
-
this.
|
|
2481
|
-
this.
|
|
2494
|
+
this.gq();
|
|
2495
|
+
this.gx();
|
|
2482
2496
|
break;
|
|
2483
2497
|
case PieChartBase.$$p[36]:
|
|
2484
|
-
this.
|
|
2485
|
-
this.gw();
|
|
2498
|
+
this.gq();
|
|
2486
2499
|
this.gx();
|
|
2500
|
+
this.gy();
|
|
2487
2501
|
break;
|
|
2488
2502
|
case PieChartBase.$$p[25]:
|
|
2489
|
-
this.
|
|
2503
|
+
this.gx();
|
|
2490
2504
|
break;
|
|
2491
2505
|
case PieChartBase.$$p[23]:
|
|
2492
|
-
this.
|
|
2506
|
+
this.gx();
|
|
2493
2507
|
break;
|
|
2494
2508
|
case "TextStyle":
|
|
2495
2509
|
this.a4.bi();
|
|
2496
2510
|
break;
|
|
2497
2511
|
case "PixelScalingRatio":
|
|
2498
|
-
if (isNaN_(DeviceUtils.a(this.
|
|
2499
|
-
this.
|
|
2512
|
+
if (isNaN_(DeviceUtils.a(this.df))) {
|
|
2513
|
+
this.c2 = 1;
|
|
2500
2514
|
}
|
|
2501
2515
|
else {
|
|
2502
|
-
this.
|
|
2516
|
+
this.c2 = DeviceUtils.a(this.df);
|
|
2503
2517
|
}
|
|
2504
2518
|
break;
|
|
2505
2519
|
case "ActualPixelScalingRatio":
|
|
2506
2520
|
this.a4.a4();
|
|
2507
2521
|
break;
|
|
2508
2522
|
case "LabelTemplate":
|
|
2509
|
-
this.
|
|
2510
|
-
this.
|
|
2523
|
+
this.gq();
|
|
2524
|
+
this.gx();
|
|
2511
2525
|
break;
|
|
2512
2526
|
case PieChartBase.$$p[24]:
|
|
2513
2527
|
case PieChartBase.$$p[22]:
|
|
2514
|
-
this.
|
|
2515
|
-
this.
|
|
2528
|
+
this.bw.c(runOn(this.a4, this.a4.bm));
|
|
2529
|
+
this.gx();
|
|
2516
2530
|
break;
|
|
2517
2531
|
case PieChartBase.$$p[13]:
|
|
2518
2532
|
this.a4.a3();
|
|
2519
2533
|
break;
|
|
2520
2534
|
case "InnerExtent":
|
|
2521
|
-
this.
|
|
2535
|
+
this.gw();
|
|
2522
2536
|
break;
|
|
2523
2537
|
case PieChartBase.$$p[26]:
|
|
2524
|
-
this.
|
|
2538
|
+
this.gw();
|
|
2525
2539
|
break;
|
|
2526
2540
|
case "SelectedItem":
|
|
2527
|
-
if (!this.
|
|
2528
|
-
this.
|
|
2541
|
+
if (!this.b6) {
|
|
2542
|
+
this.gr();
|
|
2543
|
+
this.gz();
|
|
2529
2544
|
this.gy();
|
|
2530
|
-
this.gx();
|
|
2531
2545
|
}
|
|
2532
2546
|
break;
|
|
2533
2547
|
case PieChartBase.$$p[44]:
|
|
@@ -2561,18 +2575,18 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2561
2575
|
else {
|
|
2562
2576
|
this.selectedItems.add1(this.selectedItem);
|
|
2563
2577
|
}
|
|
2564
|
-
this.
|
|
2578
|
+
this.hb();
|
|
2565
2579
|
}
|
|
2566
2580
|
}
|
|
2567
|
-
this.
|
|
2568
|
-
this.
|
|
2569
|
-
this.
|
|
2581
|
+
this.ha();
|
|
2582
|
+
this.gr();
|
|
2583
|
+
this.gz();
|
|
2570
2584
|
break;
|
|
2571
2585
|
}
|
|
2572
2586
|
};
|
|
2573
2587
|
PieChartBase.prototype.ao = function (a) {
|
|
2574
2588
|
var e_12, _a;
|
|
2575
|
-
if (!this.
|
|
2589
|
+
if (!this.ch || !this.ci || this.itemsSource != null) {
|
|
2576
2590
|
return a;
|
|
2577
2591
|
}
|
|
2578
2592
|
if (a == null) {
|
|
@@ -2601,60 +2615,60 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2601
2615
|
}
|
|
2602
2616
|
return b;
|
|
2603
2617
|
};
|
|
2604
|
-
PieChartBase.prototype.
|
|
2605
|
-
if (!this.
|
|
2618
|
+
PieChartBase.prototype.i2 = function (a) {
|
|
2619
|
+
if (!this.ch || !this.ci || this.itemsSource != null) {
|
|
2606
2620
|
return a;
|
|
2607
2621
|
}
|
|
2608
2622
|
var b = BrushUtil.h(0, 0, 0, 0);
|
|
2609
2623
|
return b;
|
|
2610
2624
|
};
|
|
2611
|
-
PieChartBase.prototype.
|
|
2612
|
-
if (this.
|
|
2625
|
+
PieChartBase.prototype.fg = function (a) {
|
|
2626
|
+
if (this.ch && this.itemsSource == null) {
|
|
2613
2627
|
return "Label";
|
|
2614
2628
|
}
|
|
2615
2629
|
return a;
|
|
2616
2630
|
};
|
|
2617
|
-
PieChartBase.prototype.
|
|
2618
|
-
if (this.
|
|
2631
|
+
PieChartBase.prototype.fi = function (a) {
|
|
2632
|
+
if (this.ch && this.itemsSource == null) {
|
|
2619
2633
|
return "Value";
|
|
2620
2634
|
}
|
|
2621
2635
|
return a;
|
|
2622
2636
|
};
|
|
2623
|
-
PieChartBase.prototype.
|
|
2637
|
+
PieChartBase.prototype.cs = function () {
|
|
2624
2638
|
if (this.itemsSource != null) {
|
|
2625
2639
|
return this.itemsSource;
|
|
2626
2640
|
}
|
|
2627
|
-
if (!this.
|
|
2641
|
+
if (!this.ch) {
|
|
2628
2642
|
return null;
|
|
2629
2643
|
}
|
|
2630
|
-
if (this.
|
|
2631
|
-
this.
|
|
2644
|
+
if (this.cp == null) {
|
|
2645
|
+
this.cp = PieChartMockDataGenerator.a();
|
|
2632
2646
|
}
|
|
2633
|
-
return this.
|
|
2647
|
+
return this.cp;
|
|
2634
2648
|
};
|
|
2635
|
-
PieChartBase.prototype.
|
|
2636
|
-
if (this.
|
|
2649
|
+
PieChartBase.prototype.g1 = function (a) {
|
|
2650
|
+
if (this.b7) {
|
|
2637
2651
|
return;
|
|
2638
2652
|
}
|
|
2639
|
-
this.
|
|
2640
|
-
if (this.
|
|
2641
|
-
this.
|
|
2653
|
+
this.hb();
|
|
2654
|
+
if (this.b9) {
|
|
2655
|
+
this.gr();
|
|
2656
|
+
this.gz();
|
|
2642
2657
|
this.gy();
|
|
2643
|
-
this.gx();
|
|
2644
2658
|
}
|
|
2645
2659
|
};
|
|
2646
|
-
PieChartBase.prototype.
|
|
2660
|
+
PieChartBase.prototype.gh = function (a) {
|
|
2647
2661
|
if (a.action == 4 && a.newItems == null && a.oldItems == null) {
|
|
2648
2662
|
return;
|
|
2649
2663
|
}
|
|
2650
|
-
if (this.
|
|
2664
|
+
if (this.b6) {
|
|
2651
2665
|
return;
|
|
2652
2666
|
}
|
|
2653
|
-
this.
|
|
2654
|
-
if (this.
|
|
2655
|
-
this.
|
|
2667
|
+
this.ha();
|
|
2668
|
+
if (this.b9) {
|
|
2669
|
+
this.gr();
|
|
2670
|
+
this.gz();
|
|
2656
2671
|
this.gy();
|
|
2657
|
-
this.gx();
|
|
2658
2672
|
}
|
|
2659
2673
|
var b = new ObjectCollection(0);
|
|
2660
2674
|
if (a.oldItems != null) {
|
|
@@ -2669,9 +2683,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2669
2683
|
}
|
|
2670
2684
|
}
|
|
2671
2685
|
var f = this.selectedItems;
|
|
2672
|
-
this.
|
|
2686
|
+
this.gg(this, new SelectedItemsChangedEventArgs(b, d, f));
|
|
2673
2687
|
};
|
|
2674
|
-
PieChartBase.prototype.
|
|
2688
|
+
PieChartBase.prototype.gu = function (a, b, c) {
|
|
2675
2689
|
if (this.propertyChanged != null) {
|
|
2676
2690
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
2677
2691
|
}
|
|
@@ -2679,12 +2693,12 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2679
2693
|
this.propertyUpdated(this, new PropertyUpdatedEventArgs(a, b, c));
|
|
2680
2694
|
}
|
|
2681
2695
|
};
|
|
2682
|
-
PieChartBase.prototype.
|
|
2696
|
+
PieChartBase.prototype.hb = function () {
|
|
2683
2697
|
var e_13, _a, e_14, _b;
|
|
2684
|
-
if (this.actualItemsSource == null || this.
|
|
2698
|
+
if (this.actualItemsSource == null || this.bx.a.count == 0) {
|
|
2685
2699
|
return;
|
|
2686
2700
|
}
|
|
2687
|
-
this.
|
|
2701
|
+
this.b6 = true;
|
|
2688
2702
|
var a = this.selectedSlices.count;
|
|
2689
2703
|
if (a == 0) {
|
|
2690
2704
|
if (this.selectedItems.count > 0) {
|
|
@@ -2694,9 +2708,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2694
2708
|
this.selectedItem = null;
|
|
2695
2709
|
}
|
|
2696
2710
|
}
|
|
2697
|
-
if (this.
|
|
2711
|
+
if (this.bk == 1) {
|
|
2698
2712
|
if (a != 0) {
|
|
2699
|
-
var b_1 = this.
|
|
2713
|
+
var b_1 = this.bx.a._inner[this.selectedSlices._inner[a - 1]];
|
|
2700
2714
|
if (b_1.isOthersSlice) {
|
|
2701
2715
|
this.selectedItem = ((function () {
|
|
2702
2716
|
var $ret = new PieSliceOthersContext();
|
|
@@ -2710,13 +2724,13 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2710
2724
|
}
|
|
2711
2725
|
}
|
|
2712
2726
|
}
|
|
2713
|
-
else if (this.
|
|
2727
|
+
else if (this.bk == 2) {
|
|
2714
2728
|
if (a != 0) {
|
|
2715
2729
|
this.selectedItems.clear();
|
|
2716
2730
|
try {
|
|
2717
2731
|
for (var _c = __values(fromEnum(this.selectedSlices)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
2718
2732
|
var c = _d.value;
|
|
2719
|
-
var d = this.
|
|
2733
|
+
var d = this.bx.a._inner[c];
|
|
2720
2734
|
if (d.isOthersSlice) {
|
|
2721
2735
|
var e = typeCast(IEnumerable_$type, d.dataContext);
|
|
2722
2736
|
try {
|
|
@@ -2757,20 +2771,20 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2757
2771
|
throw e_13.error;
|
|
2758
2772
|
}
|
|
2759
2773
|
}
|
|
2760
|
-
this.selectedItem = this.
|
|
2774
|
+
this.selectedItem = this.bx.a._inner[this.selectedSlices._inner[a - 1]].dataContext;
|
|
2761
2775
|
}
|
|
2762
2776
|
}
|
|
2763
|
-
this.
|
|
2777
|
+
this.b6 = false;
|
|
2764
2778
|
};
|
|
2765
|
-
PieChartBase.prototype.
|
|
2779
|
+
PieChartBase.prototype.ha = function () {
|
|
2766
2780
|
var e_15, _a;
|
|
2767
|
-
if (this.actualItemsSource == null || this.
|
|
2781
|
+
if (this.actualItemsSource == null || this.bx.a.count == 0) {
|
|
2768
2782
|
return;
|
|
2769
2783
|
}
|
|
2770
|
-
this.
|
|
2784
|
+
this.b7 = true;
|
|
2771
2785
|
this.selectedSlices.clear();
|
|
2772
2786
|
try {
|
|
2773
|
-
for (var _b = __values(fromEnum(this.
|
|
2787
|
+
for (var _b = __values(fromEnum(this.bx.a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2774
2788
|
var a = _c.value;
|
|
2775
2789
|
if (this.a7.d(a)) {
|
|
2776
2790
|
this.selectedSlices.add(a.a5);
|
|
@@ -2790,39 +2804,39 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2790
2804
|
throw e_15.error;
|
|
2791
2805
|
}
|
|
2792
2806
|
}
|
|
2793
|
-
this.
|
|
2807
|
+
this.b7 = false;
|
|
2794
2808
|
};
|
|
2795
|
-
PieChartBase.prototype.
|
|
2796
|
-
this.
|
|
2809
|
+
PieChartBase.prototype.g6 = function (a, b) {
|
|
2810
|
+
this.g7(a, b, false);
|
|
2797
2811
|
};
|
|
2798
|
-
PieChartBase.prototype.
|
|
2799
|
-
if (this.
|
|
2800
|
-
if (this.
|
|
2812
|
+
PieChartBase.prototype.g7 = function (a, b, c) {
|
|
2813
|
+
if (this.b9) {
|
|
2814
|
+
if (this.bk == 1) {
|
|
2801
2815
|
this.a7.k(a);
|
|
2802
2816
|
}
|
|
2803
|
-
else if (this.
|
|
2817
|
+
else if (this.bk == 2) {
|
|
2804
2818
|
this.a7.i(a);
|
|
2805
2819
|
}
|
|
2806
2820
|
}
|
|
2807
2821
|
var d = new SliceClickEventArgs(a, this.a4.af(b));
|
|
2808
|
-
this.
|
|
2822
|
+
this.gk(this, d);
|
|
2809
2823
|
if (!c) {
|
|
2810
2824
|
this.a4.bo(a, b);
|
|
2811
2825
|
}
|
|
2812
2826
|
};
|
|
2813
|
-
PieChartBase.prototype.
|
|
2827
|
+
PieChartBase.prototype.g5 = function (a) {
|
|
2814
2828
|
this.a4.al(a);
|
|
2815
2829
|
};
|
|
2816
|
-
PieChartBase.prototype.
|
|
2830
|
+
PieChartBase.prototype.cg = function (a, b) {
|
|
2817
2831
|
var c = new LabelClickEventArgs(a, this.a4.af(b));
|
|
2818
|
-
this.
|
|
2832
|
+
this.gd(this, c);
|
|
2819
2833
|
return c.allowSliceClick;
|
|
2820
2834
|
};
|
|
2821
|
-
PieChartBase.prototype.
|
|
2822
|
-
if (a != this.
|
|
2823
|
-
this.
|
|
2835
|
+
PieChartBase.prototype.f1 = function (a, b) {
|
|
2836
|
+
if (a != this.dn) {
|
|
2837
|
+
this.dn = a;
|
|
2824
2838
|
if (a != null) {
|
|
2825
|
-
this.
|
|
2839
|
+
this.gl(a, b);
|
|
2826
2840
|
}
|
|
2827
2841
|
}
|
|
2828
2842
|
this.a4.bo(a, b);
|
|
@@ -2830,84 +2844,86 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2830
2844
|
PieChartBase.prototype.bf = function (a, b) {
|
|
2831
2845
|
return new SliceEventArgs(a, b);
|
|
2832
2846
|
};
|
|
2833
|
-
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) {
|
|
2834
2853
|
if (this.sliceEnter != null) {
|
|
2835
2854
|
this.sliceEnter(a, this.bf(a, b));
|
|
2836
2855
|
}
|
|
2837
2856
|
};
|
|
2838
|
-
PieChartBase.prototype.
|
|
2857
|
+
PieChartBase.prototype.gm = function (a, b) {
|
|
2839
2858
|
if (this.sliceLeave != null) {
|
|
2840
2859
|
this.sliceLeave(a, this.bf(a, b));
|
|
2841
2860
|
}
|
|
2842
2861
|
};
|
|
2843
|
-
PieChartBase.prototype.
|
|
2862
|
+
PieChartBase.prototype.gn = function (a, b, c) {
|
|
2844
2863
|
if (this.sliceHover != null) {
|
|
2845
|
-
this.sliceHover(a, this.
|
|
2864
|
+
this.sliceHover(a, this.bg(a, b, c));
|
|
2846
2865
|
}
|
|
2847
2866
|
};
|
|
2848
|
-
PieChartBase.prototype.
|
|
2849
|
-
if (a != this.
|
|
2850
|
-
var d = this.
|
|
2867
|
+
PieChartBase.prototype.f4 = function (a, b, c) {
|
|
2868
|
+
if (a != this.dn) {
|
|
2869
|
+
var d = this.dn;
|
|
2851
2870
|
if (d != null) {
|
|
2852
|
-
this.
|
|
2871
|
+
this.gm(d, b);
|
|
2853
2872
|
}
|
|
2854
|
-
this.
|
|
2855
|
-
if (this.
|
|
2856
|
-
this.
|
|
2873
|
+
this.dn = a;
|
|
2874
|
+
if (this.dn != null) {
|
|
2875
|
+
this.gl(a, b);
|
|
2857
2876
|
}
|
|
2858
2877
|
}
|
|
2859
2878
|
else {
|
|
2860
|
-
if (this.
|
|
2861
|
-
this.
|
|
2879
|
+
if (this.dn != null) {
|
|
2880
|
+
this.gn(a, b, b.getPosition(this));
|
|
2862
2881
|
}
|
|
2863
2882
|
}
|
|
2864
2883
|
this.a4.bo(a, b);
|
|
2865
2884
|
};
|
|
2866
|
-
PieChartBase.prototype.
|
|
2867
|
-
this.
|
|
2885
|
+
PieChartBase.prototype.f3 = function (a, b) {
|
|
2886
|
+
this.f4(a, b, false);
|
|
2868
2887
|
};
|
|
2869
|
-
PieChartBase.prototype.
|
|
2888
|
+
PieChartBase.prototype.f2 = function (a, b) {
|
|
2870
2889
|
this.a4.am();
|
|
2871
|
-
if (this.
|
|
2872
|
-
if (this.
|
|
2873
|
-
this.
|
|
2890
|
+
if (this.dn != null) {
|
|
2891
|
+
if (this.dn != null) {
|
|
2892
|
+
this.gm(this.dn, b);
|
|
2874
2893
|
}
|
|
2875
|
-
this.
|
|
2894
|
+
this.dn = null;
|
|
2876
2895
|
}
|
|
2877
2896
|
};
|
|
2878
|
-
PieChartBase.prototype.
|
|
2879
|
-
this.
|
|
2897
|
+
PieChartBase.prototype.gj = function () {
|
|
2898
|
+
this.gw();
|
|
2880
2899
|
};
|
|
2881
2900
|
PieChartBase.prototype.provideContainer = function (a) {
|
|
2882
2901
|
this.a4.az(a);
|
|
2883
2902
|
};
|
|
2884
|
-
PieChartBase.prototype.
|
|
2903
|
+
PieChartBase.prototype.gb = function (a, b) {
|
|
2885
2904
|
this.a4.a0(a, b);
|
|
2886
2905
|
};
|
|
2887
2906
|
PieChartBase.prototype.notifyContainerResized = function () {
|
|
2888
2907
|
this.a4.ax();
|
|
2889
2908
|
};
|
|
2890
|
-
PieChartBase.prototype.
|
|
2909
|
+
PieChartBase.prototype.i7 = function () {
|
|
2891
2910
|
return this.a4.b2();
|
|
2892
2911
|
};
|
|
2893
|
-
PieChartBase.prototype.
|
|
2912
|
+
PieChartBase.prototype.i6 = function () {
|
|
2894
2913
|
return this.a4.bz();
|
|
2895
2914
|
};
|
|
2896
2915
|
PieChartBase.prototype.destroy = function () {
|
|
2897
|
-
this.
|
|
2916
|
+
this.gv();
|
|
2898
2917
|
this.a4.az(null);
|
|
2899
2918
|
};
|
|
2900
|
-
PieChartBase.prototype
|
|
2901
|
-
this.a4.ap();
|
|
2902
|
-
};
|
|
2903
|
-
Object.defineProperty(PieChartBase.prototype, "fp", {
|
|
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) {
|
|
@@ -3643,7 +3659,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3643
3659
|
var as = aq;
|
|
3644
3660
|
var at = new Rect(0, 0, 0, b.width, b.height);
|
|
3645
3661
|
at.intersect(as);
|
|
3646
|
-
var au = GeometryUtil.
|
|
3662
|
+
var au = GeometryUtil.j((this.a3 + this.ax) / 2);
|
|
3647
3663
|
var av = au / 180 * Math.PI;
|
|
3648
3664
|
var aw = Math.abs((as.height - at.height) / Math.sin(av));
|
|
3649
3665
|
var ax = Math.abs((as.width - at.width) / Math.cos(av));
|
|
@@ -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.
|
|
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;
|
|
@@ -3694,7 +3710,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3694
3710
|
return this.ao(j);
|
|
3695
3711
|
};
|
|
3696
3712
|
Slice.prototype.ao = function (a) {
|
|
3697
|
-
a = GeometryUtil.
|
|
3713
|
+
a = GeometryUtil.j(a);
|
|
3698
3714
|
var b = Math.min(this.a3, this.ax);
|
|
3699
3715
|
var c = Math.max(this.a3, this.ax);
|
|
3700
3716
|
return (a > b && a < c) || (a - 360 > b && a - 360 < c) || (a + 360 > b && a + 360 < c);
|
|
@@ -3705,19 +3721,19 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3705
3721
|
h.add(b);
|
|
3706
3722
|
h.add(c);
|
|
3707
3723
|
h.add(f);
|
|
3708
|
-
d = GeometryUtil.
|
|
3709
|
-
e = GeometryUtil.
|
|
3724
|
+
d = GeometryUtil.j(d);
|
|
3725
|
+
e = GeometryUtil.j(e);
|
|
3710
3726
|
if ((0 > d && 0 < e) || (360 > d && 360 < e) || (e < d)) {
|
|
3711
|
-
h.add(GeometryUtil.
|
|
3727
|
+
h.add(GeometryUtil.n(f, 0, g));
|
|
3712
3728
|
}
|
|
3713
3729
|
if (90 > d && 90 < e) {
|
|
3714
|
-
h.add(GeometryUtil.
|
|
3730
|
+
h.add(GeometryUtil.n(f, 90, g));
|
|
3715
3731
|
}
|
|
3716
3732
|
if (180 > d && 180 < e) {
|
|
3717
|
-
h.add(GeometryUtil.
|
|
3733
|
+
h.add(GeometryUtil.n(f, 180, g));
|
|
3718
3734
|
}
|
|
3719
3735
|
if (270 > d && 270 < e) {
|
|
3720
|
-
h.add(GeometryUtil.
|
|
3736
|
+
h.add(GeometryUtil.n(f, 270, g));
|
|
3721
3737
|
}
|
|
3722
3738
|
var i = 1.7976931348623157E+308;
|
|
3723
3739
|
var j = 1.7976931348623157E+308;
|
|
@@ -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();
|