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
|
@@ -9,8 +9,8 @@ import { Rect } from "igniteui-webcomponents-core";
|
|
|
9
9
|
import { RenderingContext } from "igniteui-webcomponents-core";
|
|
10
10
|
import { PieChartStyleInfo } from "./PieChartStyleInfo";
|
|
11
11
|
import { BrushCollection } from "igniteui-webcomponents-core";
|
|
12
|
-
import { Brush } from "igniteui-webcomponents-core";
|
|
13
12
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
13
|
+
import { Brush } from "igniteui-webcomponents-core";
|
|
14
14
|
import { FontUtil } from "igniteui-webcomponents-core";
|
|
15
15
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
16
16
|
import { Path } from "igniteui-webcomponents-core";
|
|
@@ -48,8 +48,8 @@ import { LegendEmptyValuesMode_$type } from "./LegendEmptyValuesMode";
|
|
|
48
48
|
import { SliceSelectionMode_$type } from "./SliceSelectionMode";
|
|
49
49
|
import { ObjectCollection } from "igniteui-webcomponents-core";
|
|
50
50
|
import { BindingFormatter } from "igniteui-webcomponents-core";
|
|
51
|
-
import { Pool$1 } from "igniteui-webcomponents-core";
|
|
52
51
|
import { PropertyUpdatedEventArgs } from "igniteui-webcomponents-core";
|
|
52
|
+
import { Pool$1 } from "igniteui-webcomponents-core";
|
|
53
53
|
import { SelectedItemChangingEventArgs } from "./SelectedItemChangingEventArgs";
|
|
54
54
|
import { SelectedItemsChangingEventArgs } from "./SelectedItemsChangingEventArgs";
|
|
55
55
|
import { SelectedItemChangedEventArgs } from "./SelectedItemChangedEventArgs";
|
|
@@ -114,7 +114,7 @@ export let PieChartViewManager = /*@__PURE__*/ (() => {
|
|
|
114
114
|
ad(a, b) {
|
|
115
115
|
this.z();
|
|
116
116
|
this.c.bl = new Rect(0, 0, 0, a, b);
|
|
117
|
-
let c = this.a.a.
|
|
117
|
+
let c = this.a.a.c2;
|
|
118
118
|
if (c == this.l && a == this.k && b == this.j) {
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
@@ -135,21 +135,21 @@ export let PieChartViewManager = /*@__PURE__*/ (() => {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
z() {
|
|
138
|
-
let a = this.a.a.
|
|
139
|
-
let b = this.a.a.
|
|
138
|
+
let a = this.a.a.df;
|
|
139
|
+
let b = this.a.a.c2;
|
|
140
140
|
if (!isNaN_(a) && a != 0) {
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
143
|
if (window.devicePixelRatio != undefined && window.devicePixelRatio != b) {
|
|
144
|
-
this.a.a.
|
|
144
|
+
this.a.a.c2 = window.devicePixelRatio;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
w(a, b) {
|
|
148
|
-
let c = this.a.a.
|
|
148
|
+
let c = this.a.a.c2;
|
|
149
149
|
if (a != this.k || b != this.j || c != this.l) {
|
|
150
150
|
this.k = a;
|
|
151
151
|
this.j = b;
|
|
152
|
-
this.l = this.a.a.
|
|
152
|
+
this.l = this.a.a.c2;
|
|
153
153
|
this.ao();
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -295,7 +295,7 @@ export let PieChartViewManager = /*@__PURE__*/ (() => {
|
|
|
295
295
|
e.onMouseDown = delegateCombine(e.onMouseDown, runOn(this.a, this.a.ai));
|
|
296
296
|
let f = this.c;
|
|
297
297
|
f.onMouseUp = delegateCombine(f.onMouseUp, runOn(this.a, this.a.al));
|
|
298
|
-
this.c.ae = this.a.a.
|
|
298
|
+
this.c.ae = this.a.a.cf;
|
|
299
299
|
this.ad(this.n.rootWrapper.width(), this.n.rootWrapper.height());
|
|
300
300
|
}
|
|
301
301
|
v(a) {
|
|
@@ -463,7 +463,7 @@ export let SliceClickEventArgs = /*@__PURE__*/ (() => {
|
|
|
463
463
|
}
|
|
464
464
|
set isSelected(a) {
|
|
465
465
|
this.d = a;
|
|
466
|
-
this.slice.ai.
|
|
466
|
+
this.slice.ai.g2(this.slice, a);
|
|
467
467
|
}
|
|
468
468
|
get isExploded() {
|
|
469
469
|
return this.c;
|
|
@@ -525,6 +525,7 @@ export let SliceEventArgs = /*@__PURE__*/ (() => {
|
|
|
525
525
|
this._slice = null;
|
|
526
526
|
this.d = false;
|
|
527
527
|
this.c = false;
|
|
528
|
+
this._position = null;
|
|
528
529
|
this._originalEvent = null;
|
|
529
530
|
this.slice = a;
|
|
530
531
|
this.originalEvent = b;
|
|
@@ -545,7 +546,7 @@ export let SliceEventArgs = /*@__PURE__*/ (() => {
|
|
|
545
546
|
}
|
|
546
547
|
set isSelected(a) {
|
|
547
548
|
this.d = a;
|
|
548
|
-
this.slice.ai.
|
|
549
|
+
this.slice.ai.g2(this.slice, a);
|
|
549
550
|
}
|
|
550
551
|
get isExploded() {
|
|
551
552
|
return this.c;
|
|
@@ -590,6 +591,12 @@ export let SliceEventArgs = /*@__PURE__*/ (() => {
|
|
|
590
591
|
}
|
|
591
592
|
return null;
|
|
592
593
|
}
|
|
594
|
+
get position() {
|
|
595
|
+
return this._position;
|
|
596
|
+
}
|
|
597
|
+
set position(a) {
|
|
598
|
+
this._position = a;
|
|
599
|
+
}
|
|
593
600
|
get originalEvent() {
|
|
594
601
|
return this._originalEvent;
|
|
595
602
|
}
|
|
@@ -620,9 +627,9 @@ export let PieLabel = /*@__PURE__*/ (() => {
|
|
|
620
627
|
this.ao = a.b3(this);
|
|
621
628
|
let b = typeCast(TextBlock.$, this.aj);
|
|
622
629
|
let c = b.al;
|
|
623
|
-
a.a.
|
|
630
|
+
a.a.gz();
|
|
624
631
|
let d = this.ah.isExploded ? this.ah.b5 : this.ah.b7;
|
|
625
|
-
let e = GeometryUtil.
|
|
632
|
+
let e = GeometryUtil.n(d, this.ai, this.ah.a2 + a.a.db);
|
|
626
633
|
let f = a.b4.width;
|
|
627
634
|
if (a.z(b) + e.x > f && e.x < f) {
|
|
628
635
|
while (c.length > 0 && a.z(b) + e.x > f) {
|
|
@@ -650,10 +657,10 @@ export let PieLabel = /*@__PURE__*/ (() => {
|
|
|
650
657
|
al() {
|
|
651
658
|
}
|
|
652
659
|
am() {
|
|
653
|
-
this.ap._visibility = this.ah.ai.
|
|
660
|
+
this.ap._visibility = this.ah.ai.je != 0 ? this.ah.ai.je : this.ah.aj._visibility;
|
|
654
661
|
let a;
|
|
655
|
-
let b = this.ah.ai.
|
|
656
|
-
let c = GeometryUtil.
|
|
662
|
+
let b = this.ah.ai.dc;
|
|
663
|
+
let c = GeometryUtil.n(this.ah.b6(), this.ai, this.ah.a2);
|
|
657
664
|
this.ap.an = c.x;
|
|
658
665
|
this.ap.ap = c.y;
|
|
659
666
|
if (this.ai < 90 || this.ai >= 270) {
|
|
@@ -665,7 +672,7 @@ export let PieLabel = /*@__PURE__*/ (() => {
|
|
|
665
672
|
if (b > 0) {
|
|
666
673
|
let d = GeometryUtil.g(c, a);
|
|
667
674
|
if (b < d) {
|
|
668
|
-
a = GeometryUtil.
|
|
675
|
+
a = GeometryUtil.p(a, c, b);
|
|
669
676
|
}
|
|
670
677
|
else {
|
|
671
678
|
a = c;
|
|
@@ -675,14 +682,14 @@ export let PieLabel = /*@__PURE__*/ (() => {
|
|
|
675
682
|
this.ap.aq = a.y;
|
|
676
683
|
}
|
|
677
684
|
an() {
|
|
678
|
-
this.aq._visibility = this.ah.ai.
|
|
685
|
+
this.aq._visibility = this.ah.ai.je != 0 ? this.ah.ai.je : this.ah.aj._visibility;
|
|
679
686
|
let a = this.ah.b6();
|
|
680
687
|
let b = this.aq.an.c._inner[0];
|
|
681
688
|
let c = b._segments._inner[0];
|
|
682
|
-
let d = this.ah.ai.
|
|
689
|
+
let d = this.ah.ai.dc;
|
|
683
690
|
let e = (this.ao.top + this.ao.bottom) / 2;
|
|
684
|
-
let f = GeometryUtil.
|
|
685
|
-
let g = GeometryUtil.
|
|
691
|
+
let f = GeometryUtil.n(a, this.ai, this.ah.a2);
|
|
692
|
+
let g = GeometryUtil.n(a, this.ai, this.ah.a2 + this.ah.ai.db / 2);
|
|
686
693
|
let h;
|
|
687
694
|
let i;
|
|
688
695
|
let j;
|
|
@@ -706,16 +713,16 @@ export let PieLabel = /*@__PURE__*/ (() => {
|
|
|
706
713
|
if (d > 0) {
|
|
707
714
|
let l = GeometryUtil.g(f, j);
|
|
708
715
|
if (d < l) {
|
|
709
|
-
i = GeometryUtil.
|
|
716
|
+
i = GeometryUtil.p(j, f, d);
|
|
710
717
|
let m = g.x - f.x;
|
|
711
718
|
let n = g.y - f.y;
|
|
712
|
-
g = GeometryUtil.
|
|
719
|
+
g = GeometryUtil.p(g, f, d);
|
|
713
720
|
let o = g.x - f.x;
|
|
714
721
|
let p = g.y - f.y;
|
|
715
722
|
if ((m > 0 && o < 0) || (m < 0 && o > 0) || (n > 0 && p < 0) || (n < 0 && p > 0)) {
|
|
716
723
|
g = f;
|
|
717
724
|
}
|
|
718
|
-
h = GeometryUtil.
|
|
725
|
+
h = GeometryUtil.p(h, f, d);
|
|
719
726
|
let q = GeometryUtil.g(f, i) / GeometryUtil.g(f, j);
|
|
720
727
|
h.x = f.x + (h.x - f.x) * q;
|
|
721
728
|
h.y = f.y + (h.y - f.y) * q;
|
|
@@ -760,7 +767,7 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
760
767
|
a3() {
|
|
761
768
|
return new PieChartBaseView(this);
|
|
762
769
|
}
|
|
763
|
-
|
|
770
|
+
go(a) {
|
|
764
771
|
this.a4 = a;
|
|
765
772
|
}
|
|
766
773
|
onDetachedFromUI() {
|
|
@@ -769,40 +776,43 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
769
776
|
onAttachedToUI() {
|
|
770
777
|
this.a4.ay();
|
|
771
778
|
}
|
|
779
|
+
f0() {
|
|
780
|
+
this.a4.ap();
|
|
781
|
+
}
|
|
772
782
|
constructor() {
|
|
773
783
|
super();
|
|
774
784
|
this.a4 = null;
|
|
775
|
-
this.
|
|
785
|
+
this.b0 = false;
|
|
786
|
+
this.b3 = false;
|
|
776
787
|
this.b2 = false;
|
|
788
|
+
this.b4 = false;
|
|
777
789
|
this.b1 = false;
|
|
778
|
-
this.
|
|
779
|
-
this.b0 = false;
|
|
790
|
+
this.b7 = false;
|
|
780
791
|
this.b6 = false;
|
|
781
792
|
this.b5 = false;
|
|
782
|
-
this.b4 = false;
|
|
783
793
|
this.a8 = null;
|
|
784
|
-
this.ct = null;
|
|
785
|
-
this.cv = null;
|
|
786
794
|
this.cu = null;
|
|
787
795
|
this.cw = null;
|
|
788
|
-
this.
|
|
789
|
-
this.
|
|
790
|
-
this.
|
|
791
|
-
this.
|
|
792
|
-
this.
|
|
796
|
+
this.cv = null;
|
|
797
|
+
this.cx = null;
|
|
798
|
+
this.dk = null;
|
|
799
|
+
this.bq = null;
|
|
800
|
+
this.dm = 0;
|
|
801
|
+
this.de = 0;
|
|
802
|
+
this.dj = 0;
|
|
803
|
+
this.co = null;
|
|
793
804
|
this.cn = null;
|
|
794
805
|
this.cm = null;
|
|
806
|
+
this.c4 = 0;
|
|
795
807
|
this.cl = null;
|
|
796
|
-
this.c3 = 0;
|
|
797
|
-
this.ck = null;
|
|
798
808
|
this.a7 = null;
|
|
799
809
|
this._xsr = null;
|
|
800
|
-
this.bn = null;
|
|
801
810
|
this.bo = null;
|
|
811
|
+
this.bp = null;
|
|
802
812
|
this.au = new IndexCollection();
|
|
803
813
|
this.av = new IndexCollection();
|
|
804
|
-
this.
|
|
805
|
-
this.
|
|
814
|
+
this.cz = NaN;
|
|
815
|
+
this.cy = 1;
|
|
806
816
|
this._selectedItems = null;
|
|
807
817
|
this.labelClick = null;
|
|
808
818
|
this.selectedItemChanging = null;
|
|
@@ -810,56 +820,56 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
810
820
|
this.selectedItemChanged = null;
|
|
811
821
|
this.selectedItemsChanged = null;
|
|
812
822
|
this.sliceClick = null;
|
|
823
|
+
this.bx = null;
|
|
813
824
|
this.bw = null;
|
|
814
|
-
this.
|
|
815
|
-
this.i8 = null;
|
|
825
|
+
this.i9 = null;
|
|
816
826
|
this.ap = null;
|
|
817
827
|
this.as = null;
|
|
818
828
|
this.aq = null;
|
|
819
829
|
this.ar = null;
|
|
820
|
-
this.
|
|
830
|
+
this.cp = null;
|
|
821
831
|
this.propertyChanged = null;
|
|
822
832
|
this.propertyUpdated = null;
|
|
823
|
-
this.
|
|
833
|
+
this.dn = null;
|
|
824
834
|
this.sliceEnter = null;
|
|
825
835
|
this.sliceLeave = null;
|
|
826
836
|
this.sliceHover = null;
|
|
827
|
-
this.
|
|
828
|
-
this.
|
|
837
|
+
this.ds = null;
|
|
838
|
+
this.i9 = Rect.empty;
|
|
829
839
|
let a = this.a3();
|
|
830
|
-
this.
|
|
840
|
+
this.go(a);
|
|
831
841
|
a.a2();
|
|
832
842
|
this.ab = PieChartBase.$;
|
|
843
|
+
this.co = new List$1(Number_$type, 0);
|
|
833
844
|
this.cn = new List$1(Number_$type, 0);
|
|
834
|
-
this.cm = new List$1(
|
|
835
|
-
this.
|
|
836
|
-
this.
|
|
837
|
-
|
|
845
|
+
this.cm = new List$1(Base.$, 0);
|
|
846
|
+
this.a8 = (b, c) => this.gs(b, c.propertyName, c.oldValue, c.newValue);
|
|
847
|
+
this.cu = (b, c) => {
|
|
848
|
+
this.gz();
|
|
838
849
|
this.gy();
|
|
839
|
-
this.gx();
|
|
840
850
|
};
|
|
841
|
-
this.
|
|
842
|
-
if (this.
|
|
851
|
+
this.cv = (b, c) => {
|
|
852
|
+
if (this.b8) {
|
|
853
|
+
this.gr();
|
|
843
854
|
this.gq();
|
|
844
|
-
this.
|
|
845
|
-
this.
|
|
846
|
-
this.gw();
|
|
855
|
+
this.gz();
|
|
856
|
+
this.gx();
|
|
847
857
|
}
|
|
848
858
|
};
|
|
849
|
-
this.
|
|
850
|
-
this.
|
|
851
|
-
this.
|
|
859
|
+
this.cw = (b, c) => this.g1(c);
|
|
860
|
+
this.cx = (b, c) => this.gh(c);
|
|
861
|
+
this.dk = (b, c) => this.fx(c.action, c.position, c.count, c.propertyName);
|
|
852
862
|
this.propertyUpdated = delegateCombine(this.propertyUpdated, this.a8);
|
|
853
863
|
let b = this.selectedSlices;
|
|
854
|
-
b.collectionChanged = delegateCombine(b.collectionChanged, this.
|
|
855
|
-
this.
|
|
864
|
+
b.collectionChanged = delegateCombine(b.collectionChanged, this.cw);
|
|
865
|
+
this.b4 = true;
|
|
856
866
|
let c = this.explodedSlices;
|
|
857
|
-
c.collectionChanged = delegateCombine(c.collectionChanged, this.
|
|
858
|
-
this.
|
|
867
|
+
c.collectionChanged = delegateCombine(c.collectionChanged, this.cv);
|
|
868
|
+
this.b1 = true;
|
|
859
869
|
this.selectedItems = new ObjectCollection(0);
|
|
860
870
|
let d = this.selectedItems;
|
|
861
|
-
d.collectionChanged = delegateCombine(d.collectionChanged, this.
|
|
862
|
-
this.
|
|
871
|
+
d.collectionChanged = delegateCombine(d.collectionChanged, this.cx);
|
|
872
|
+
this.bx = ((() => {
|
|
863
873
|
let $ret = new Pool$1(Slice.$);
|
|
864
874
|
$ret.create = runOn(this.a4, this.a4.g);
|
|
865
875
|
$ret.activate = runOn(this.a4, this.a4.bf);
|
|
@@ -867,7 +877,7 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
867
877
|
$ret.destroy = runOn(this.a4, this.a4.bg);
|
|
868
878
|
return $ret;
|
|
869
879
|
})());
|
|
870
|
-
this.
|
|
880
|
+
this.bw = ((() => {
|
|
871
881
|
let $ret = new Pool$1(PieLabel.$);
|
|
872
882
|
$ret.create = runOn(this.a4, this.a4.d);
|
|
873
883
|
$ret.activate = runOn(this.a4, this.a4.as);
|
|
@@ -878,18 +888,18 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
878
888
|
this.a7 = new PieChartSliceSelector(this);
|
|
879
889
|
FastItemObjectColumn.m();
|
|
880
890
|
}
|
|
881
|
-
get
|
|
882
|
-
return this.
|
|
891
|
+
get bv() {
|
|
892
|
+
return this.bq;
|
|
883
893
|
}
|
|
884
|
-
set
|
|
885
|
-
if (this.
|
|
886
|
-
let b = this.
|
|
887
|
-
this.
|
|
888
|
-
this.
|
|
894
|
+
set bv(a) {
|
|
895
|
+
if (this.bq != a) {
|
|
896
|
+
let b = this.bq;
|
|
897
|
+
this.bq = a;
|
|
898
|
+
this.gu("ValueColumn", b, this.bq);
|
|
889
899
|
}
|
|
890
900
|
}
|
|
891
|
-
get
|
|
892
|
-
return Math.abs(this.
|
|
901
|
+
get c1() {
|
|
902
|
+
return Math.abs(this.da) > 1 ? this.da : this.da * 100;
|
|
893
903
|
}
|
|
894
904
|
get XSRP() {
|
|
895
905
|
if (this._xsr == null) {
|
|
@@ -897,17 +907,17 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
897
907
|
}
|
|
898
908
|
return this._xsr;
|
|
899
909
|
}
|
|
900
|
-
get
|
|
910
|
+
get d9() {
|
|
901
911
|
let a = this.XSRP.b1("InvalidLabelBinding");
|
|
902
912
|
if (stringIsNullOrWhiteSpace(a)) {
|
|
903
913
|
a = "There is no such value for the labels to bind.";
|
|
904
914
|
}
|
|
905
915
|
return a;
|
|
906
916
|
}
|
|
907
|
-
get
|
|
908
|
-
return this.c(PieChartBase.
|
|
917
|
+
get da() {
|
|
918
|
+
return this.c(PieChartBase.hp);
|
|
909
919
|
}
|
|
910
|
-
set
|
|
920
|
+
set da(a) {
|
|
911
921
|
let b = a;
|
|
912
922
|
if (isNaN_(a) || isInfinity(a)) {
|
|
913
923
|
b = 0;
|
|
@@ -918,17 +928,7 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
918
928
|
if (a > 100) {
|
|
919
929
|
b = 100;
|
|
920
930
|
}
|
|
921
|
-
this.h(PieChartBase.
|
|
922
|
-
}
|
|
923
|
-
get bq() {
|
|
924
|
-
return this.bn;
|
|
925
|
-
}
|
|
926
|
-
set bq(a) {
|
|
927
|
-
if (this.bn != a) {
|
|
928
|
-
let b = this.bq;
|
|
929
|
-
this.bn = a;
|
|
930
|
-
this.gt("LabelColumn", b, this.bq);
|
|
931
|
-
}
|
|
931
|
+
this.h(PieChartBase.hp, b);
|
|
932
932
|
}
|
|
933
933
|
get br() {
|
|
934
934
|
return this.bo;
|
|
@@ -937,11 +937,21 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
937
937
|
if (this.bo != a) {
|
|
938
938
|
let b = this.br;
|
|
939
939
|
this.bo = a;
|
|
940
|
-
this.
|
|
940
|
+
this.gu("LabelColumn", b, this.br);
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
get bs() {
|
|
944
|
+
return this.bp;
|
|
945
|
+
}
|
|
946
|
+
set bs(a) {
|
|
947
|
+
if (this.bp != a) {
|
|
948
|
+
let b = this.bs;
|
|
949
|
+
this.bp = a;
|
|
950
|
+
this.gu("LegendLabelColumn", b, this.bs);
|
|
941
951
|
}
|
|
942
952
|
}
|
|
943
|
-
get
|
|
944
|
-
let a = this.
|
|
953
|
+
get c0() {
|
|
954
|
+
let a = this.c5;
|
|
945
955
|
if (isNaN_(a) || isInfinity(a) || a < 0) {
|
|
946
956
|
return 0;
|
|
947
957
|
}
|
|
@@ -950,8 +960,8 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
950
960
|
}
|
|
951
961
|
return a;
|
|
952
962
|
}
|
|
953
|
-
get
|
|
954
|
-
let a = this.
|
|
963
|
+
get c3() {
|
|
964
|
+
let a = this.dg;
|
|
955
965
|
if (isNaN_(a) || isInfinity(a) || a < 0) {
|
|
956
966
|
return 0;
|
|
957
967
|
}
|
|
@@ -967,20 +977,20 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
967
977
|
let b = this.au;
|
|
968
978
|
if (b != null) {
|
|
969
979
|
let c = this.au;
|
|
970
|
-
c.collectionChanged = delegateRemove(c.collectionChanged, this.
|
|
980
|
+
c.collectionChanged = delegateRemove(c.collectionChanged, this.cv);
|
|
971
981
|
}
|
|
972
|
-
this.
|
|
982
|
+
this.b1 = false;
|
|
973
983
|
this.au = a;
|
|
974
984
|
if (this.au != null) {
|
|
975
985
|
let d = this.au;
|
|
976
|
-
d.collectionChanged = delegateCombine(d.collectionChanged, this.
|
|
977
|
-
this.
|
|
986
|
+
d.collectionChanged = delegateCombine(d.collectionChanged, this.cv);
|
|
987
|
+
this.b1 = true;
|
|
978
988
|
}
|
|
979
|
-
if (this.
|
|
989
|
+
if (this.b8) {
|
|
990
|
+
this.gr();
|
|
980
991
|
this.gq();
|
|
981
|
-
this.
|
|
982
|
-
this.
|
|
983
|
-
this.gw();
|
|
992
|
+
this.gz();
|
|
993
|
+
this.gx();
|
|
984
994
|
}
|
|
985
995
|
}
|
|
986
996
|
get selectedSlices() {
|
|
@@ -988,55 +998,55 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
988
998
|
}
|
|
989
999
|
set selectedSlices(a) {
|
|
990
1000
|
let b = this.av;
|
|
991
|
-
b.collectionChanged = delegateRemove(b.collectionChanged, this.
|
|
992
|
-
this.
|
|
1001
|
+
b.collectionChanged = delegateRemove(b.collectionChanged, this.cw);
|
|
1002
|
+
this.b4 = false;
|
|
993
1003
|
this.av = a;
|
|
994
1004
|
if (this.av != null) {
|
|
995
1005
|
let c = this.av;
|
|
996
|
-
c.collectionChanged = delegateCombine(c.collectionChanged, this.
|
|
997
|
-
this.
|
|
1006
|
+
c.collectionChanged = delegateCombine(c.collectionChanged, this.cw);
|
|
1007
|
+
this.b4 = true;
|
|
998
1008
|
}
|
|
999
|
-
if (this.
|
|
1009
|
+
if (this.b9) {
|
|
1010
|
+
this.gr();
|
|
1000
1011
|
this.gq();
|
|
1001
|
-
this.
|
|
1002
|
-
this.gy();
|
|
1003
|
-
this.gw();
|
|
1012
|
+
this.gz();
|
|
1004
1013
|
this.gx();
|
|
1014
|
+
this.gy();
|
|
1005
1015
|
}
|
|
1006
1016
|
}
|
|
1007
|
-
get
|
|
1008
|
-
return typeCast(DataTemplate.$, this.c(PieChartBase.
|
|
1017
|
+
get hc() {
|
|
1018
|
+
return typeCast(DataTemplate.$, this.c(PieChartBase.h0));
|
|
1009
1019
|
}
|
|
1010
|
-
set
|
|
1011
|
-
this.h(PieChartBase.
|
|
1020
|
+
set hc(a) {
|
|
1021
|
+
this.h(PieChartBase.h0, a);
|
|
1012
1022
|
}
|
|
1013
|
-
|
|
1023
|
+
cb() {
|
|
1014
1024
|
return this.a5 != null;
|
|
1015
1025
|
}
|
|
1016
|
-
|
|
1026
|
+
cc() {
|
|
1017
1027
|
return this.a6 != null;
|
|
1018
1028
|
}
|
|
1019
|
-
get
|
|
1029
|
+
get df() {
|
|
1030
|
+
return this.cz;
|
|
1031
|
+
}
|
|
1032
|
+
set df(a) {
|
|
1033
|
+
let b = this.cz;
|
|
1034
|
+
this.cz = a;
|
|
1035
|
+
this.gu("PixelScalingRatio", b, this.cz);
|
|
1036
|
+
}
|
|
1037
|
+
get c2() {
|
|
1020
1038
|
return this.cy;
|
|
1021
1039
|
}
|
|
1022
|
-
set
|
|
1040
|
+
set c2(a) {
|
|
1023
1041
|
let b = this.cy;
|
|
1024
1042
|
this.cy = a;
|
|
1025
|
-
this.
|
|
1026
|
-
}
|
|
1027
|
-
get c1() {
|
|
1028
|
-
return this.cx;
|
|
1029
|
-
}
|
|
1030
|
-
set c1(a) {
|
|
1031
|
-
let b = this.cx;
|
|
1032
|
-
this.cx = a;
|
|
1033
|
-
this.gt("ActualPixelScalingRatio", b, this.cx);
|
|
1043
|
+
this.gu("ActualPixelScalingRatio", b, this.cy);
|
|
1034
1044
|
}
|
|
1035
1045
|
get selectedItem() {
|
|
1036
|
-
return this.c(PieChartBase.
|
|
1046
|
+
return this.c(PieChartBase.io);
|
|
1037
1047
|
}
|
|
1038
1048
|
set selectedItem(a) {
|
|
1039
|
-
this.h(PieChartBase.
|
|
1049
|
+
this.h(PieChartBase.io, a);
|
|
1040
1050
|
}
|
|
1041
1051
|
get selectedItems() {
|
|
1042
1052
|
return this._selectedItems;
|
|
@@ -1044,38 +1054,38 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1044
1054
|
set selectedItems(a) {
|
|
1045
1055
|
this._selectedItems = a;
|
|
1046
1056
|
}
|
|
1047
|
-
|
|
1057
|
+
gd(a, b) {
|
|
1048
1058
|
if (this.labelClick != null) {
|
|
1049
1059
|
this.labelClick(a, b);
|
|
1050
1060
|
}
|
|
1051
1061
|
}
|
|
1052
|
-
|
|
1062
|
+
gf(a, b) {
|
|
1053
1063
|
if (this.selectedItemChanging != null) {
|
|
1054
1064
|
this.selectedItemChanging(a, b);
|
|
1055
1065
|
}
|
|
1056
1066
|
}
|
|
1057
|
-
|
|
1067
|
+
gi(a, b) {
|
|
1058
1068
|
if (this.selectedItemsChanging != null) {
|
|
1059
1069
|
this.selectedItemsChanging(a, b);
|
|
1060
1070
|
}
|
|
1061
1071
|
}
|
|
1062
|
-
|
|
1072
|
+
ge(a, b) {
|
|
1063
1073
|
if (this.selectedItemChanged != null) {
|
|
1064
1074
|
this.selectedItemChanged(a, b);
|
|
1065
1075
|
}
|
|
1066
1076
|
}
|
|
1067
|
-
|
|
1077
|
+
gg(a, b) {
|
|
1068
1078
|
if (this.selectedItemsChanged != null) {
|
|
1069
1079
|
this.selectedItemsChanged(a, b);
|
|
1070
1080
|
}
|
|
1071
1081
|
}
|
|
1072
|
-
|
|
1082
|
+
gk(a, b) {
|
|
1073
1083
|
if (this.sliceClick != null) {
|
|
1074
1084
|
this.sliceClick(a, b);
|
|
1075
1085
|
}
|
|
1076
1086
|
}
|
|
1077
|
-
|
|
1078
|
-
if (!this.
|
|
1087
|
+
fz(a, b) {
|
|
1088
|
+
if (!this.b1) {
|
|
1079
1089
|
return;
|
|
1080
1090
|
}
|
|
1081
1091
|
if (!this.explodedSlices.contains(a.a5) && b) {
|
|
@@ -1085,41 +1095,41 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1085
1095
|
this.explodedSlices.remove(a.a5);
|
|
1086
1096
|
}
|
|
1087
1097
|
}
|
|
1088
|
-
|
|
1089
|
-
this.
|
|
1098
|
+
g2(a, b) {
|
|
1099
|
+
this.b6 = true;
|
|
1090
1100
|
if (!this.selectedSlices.contains(a.a5) && b) {
|
|
1091
1101
|
this.selectedSlices.add(a.a5);
|
|
1092
1102
|
}
|
|
1093
1103
|
if (this.selectedSlices.contains(a.a5) && !b) {
|
|
1094
1104
|
this.selectedSlices.remove(a.a5);
|
|
1095
1105
|
}
|
|
1096
|
-
this.
|
|
1106
|
+
this.b6 = false;
|
|
1097
1107
|
}
|
|
1098
|
-
|
|
1108
|
+
g3(a) {
|
|
1099
1109
|
this.a4.bd(a);
|
|
1100
1110
|
}
|
|
1101
|
-
|
|
1111
|
+
dp(a) {
|
|
1102
1112
|
return this.a4.ae(a);
|
|
1103
1113
|
}
|
|
1104
|
-
|
|
1114
|
+
i8(a, b) {
|
|
1105
1115
|
let c = new Rect(0, 0, 0, 0, 0);
|
|
1106
1116
|
return c;
|
|
1107
1117
|
}
|
|
1108
|
-
|
|
1118
|
+
ca(a, b) {
|
|
1109
1119
|
let c = a.ah;
|
|
1110
1120
|
if (c == null) {
|
|
1111
1121
|
return false;
|
|
1112
1122
|
}
|
|
1113
1123
|
let d = c.b6();
|
|
1114
|
-
let e = this.
|
|
1115
|
-
let f = this.
|
|
1124
|
+
let e = this.i3 == 1 ? c.a3 : c.ax;
|
|
1125
|
+
let f = this.i3 == 1 ? c.ax : c.a3;
|
|
1116
1126
|
let g = false;
|
|
1117
1127
|
let h = false;
|
|
1118
|
-
let i = GeometryUtil.
|
|
1119
|
-
let j = GeometryUtil.
|
|
1120
|
-
e = PieChartBase.
|
|
1121
|
-
f = PieChartBase.
|
|
1122
|
-
if (this.
|
|
1128
|
+
let i = GeometryUtil.n(d, e, c.a2);
|
|
1129
|
+
let j = GeometryUtil.n(d, f, c.a2);
|
|
1130
|
+
e = PieChartBase.c6(i.x, d.x, i.y, d.y);
|
|
1131
|
+
f = PieChartBase.c6(j.x, d.x, j.y, d.y);
|
|
1132
|
+
if (this.cd(c)) {
|
|
1123
1133
|
h = true;
|
|
1124
1134
|
}
|
|
1125
1135
|
let k;
|
|
@@ -1147,28 +1157,28 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1147
1157
|
g = true;
|
|
1148
1158
|
}
|
|
1149
1159
|
let l;
|
|
1150
|
-
l = PieChartBase.
|
|
1160
|
+
l = PieChartBase.c6(a.ao.right, d.x, a.ao.top, d.y);
|
|
1151
1161
|
if (g && l > 180 && l < 360) {
|
|
1152
1162
|
l = l - 360;
|
|
1153
1163
|
}
|
|
1154
1164
|
if (l < e || l > f) {
|
|
1155
1165
|
return false;
|
|
1156
1166
|
}
|
|
1157
|
-
l = PieChartBase.
|
|
1167
|
+
l = PieChartBase.c6(a.ao.right, d.x, a.ao.bottom, d.y);
|
|
1158
1168
|
if (g && l > 180 && l < 360) {
|
|
1159
1169
|
l = l - 360;
|
|
1160
1170
|
}
|
|
1161
1171
|
if (l < e || l > f) {
|
|
1162
1172
|
return false;
|
|
1163
1173
|
}
|
|
1164
|
-
l = PieChartBase.
|
|
1174
|
+
l = PieChartBase.c6(a.ao.left, d.x, a.ao.top, d.y);
|
|
1165
1175
|
if (g && l > 180 && l < 360) {
|
|
1166
1176
|
l = l - 360;
|
|
1167
1177
|
}
|
|
1168
1178
|
if (l < e || l > f) {
|
|
1169
1179
|
return false;
|
|
1170
1180
|
}
|
|
1171
|
-
l = PieChartBase.
|
|
1181
|
+
l = PieChartBase.c6(a.ao.left, d.x, a.ao.bottom, d.y);
|
|
1172
1182
|
if (g && l > 180 && l < 360) {
|
|
1173
1183
|
l = l - 360;
|
|
1174
1184
|
}
|
|
@@ -1177,14 +1187,14 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1177
1187
|
}
|
|
1178
1188
|
return true;
|
|
1179
1189
|
}
|
|
1180
|
-
static
|
|
1190
|
+
static dh(a) {
|
|
1181
1191
|
let b = Math.round(a * Math.pow(10, 5)) / Math.pow(10, 5);
|
|
1182
1192
|
return b;
|
|
1183
1193
|
}
|
|
1184
|
-
|
|
1185
|
-
return PieChartBase.
|
|
1194
|
+
cd(a) {
|
|
1195
|
+
return PieChartBase.dh(Math.abs(a.ax - a.a3)) == 360;
|
|
1186
1196
|
}
|
|
1187
|
-
static
|
|
1197
|
+
static c6(a, b, c, d) {
|
|
1188
1198
|
let e = MathUtil.g(a - b, c - d);
|
|
1189
1199
|
let f = Math.asin((c - d) / e) * 180 / Math.PI;
|
|
1190
1200
|
if (a < b) {
|
|
@@ -1196,14 +1206,14 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1196
1206
|
if (f == 360) {
|
|
1197
1207
|
f = 0;
|
|
1198
1208
|
}
|
|
1199
|
-
return GeometryUtil.
|
|
1209
|
+
return GeometryUtil.j(f);
|
|
1200
1210
|
}
|
|
1201
|
-
static
|
|
1211
|
+
static g8(a) {
|
|
1202
1212
|
let b = new Array(a.count);
|
|
1203
1213
|
for (let c = 0; c < a.count; c++) {
|
|
1204
1214
|
let d = a._inner[c];
|
|
1205
1215
|
let e = d.ah;
|
|
1206
|
-
let f = GeometryUtil.
|
|
1216
|
+
let f = GeometryUtil.n(e.b7, d.ai, e.a2);
|
|
1207
1217
|
b[c] = f.y;
|
|
1208
1218
|
}
|
|
1209
1219
|
for (let g = 0; g < a.count; g++) {
|
|
@@ -1219,7 +1229,7 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1219
1229
|
}
|
|
1220
1230
|
}
|
|
1221
1231
|
}
|
|
1222
|
-
|
|
1232
|
+
g0(a) {
|
|
1223
1233
|
if (a.count == 0) {
|
|
1224
1234
|
return;
|
|
1225
1235
|
}
|
|
@@ -1256,10 +1266,10 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1256
1266
|
if (r.ao.intersectsWith(s.ao)) {
|
|
1257
1267
|
let t = s.ao;
|
|
1258
1268
|
t.y = Math.min(r.ao.bottom + 0.01, c - i);
|
|
1259
|
-
let u = this.
|
|
1269
|
+
let u = this.db + e;
|
|
1260
1270
|
let v = Math.abs(f.y - (t.y + i / 2));
|
|
1261
1271
|
let w = Math.sqrt(Math.abs(u * u - v * v));
|
|
1262
|
-
let x = GeometryUtil.
|
|
1272
|
+
let x = GeometryUtil.j(s.ai);
|
|
1263
1273
|
if (x > 90 && x < 270) {
|
|
1264
1274
|
w = (t.width + w) * -1;
|
|
1265
1275
|
}
|
|
@@ -1275,10 +1285,10 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1275
1285
|
if (aa.ao.intersectsWith(ab.ao)) {
|
|
1276
1286
|
let ac = ab.ao;
|
|
1277
1287
|
ac.y = Math.max(aa.ao.top - i - 0.01, 0);
|
|
1278
|
-
let ad = this.
|
|
1288
|
+
let ad = this.db + e;
|
|
1279
1289
|
let ae = Math.abs(f.y - (ac.y + i / 2));
|
|
1280
1290
|
let af = Math.sqrt(Math.abs(ad * ad - ae * ae));
|
|
1281
|
-
let ag = GeometryUtil.
|
|
1291
|
+
let ag = GeometryUtil.j(ab.ai);
|
|
1282
1292
|
if (ag > 90 && ag < 270) {
|
|
1283
1293
|
af = (ac.width + af) * -1;
|
|
1284
1294
|
}
|
|
@@ -1321,118 +1331,118 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1321
1331
|
}
|
|
1322
1332
|
}
|
|
1323
1333
|
}
|
|
1324
|
-
|
|
1325
|
-
this.
|
|
1334
|
+
fx(a, b, c, d) {
|
|
1335
|
+
this.gw();
|
|
1326
1336
|
}
|
|
1327
|
-
|
|
1328
|
-
this.go();
|
|
1329
|
-
this.gq();
|
|
1337
|
+
gw() {
|
|
1330
1338
|
this.gp();
|
|
1331
|
-
this.
|
|
1332
|
-
this.
|
|
1339
|
+
this.gr();
|
|
1340
|
+
this.gq();
|
|
1341
|
+
this.gz();
|
|
1333
1342
|
this.gx();
|
|
1343
|
+
this.gy();
|
|
1334
1344
|
this.a4.bs();
|
|
1335
1345
|
}
|
|
1336
|
-
|
|
1337
|
-
this.
|
|
1338
|
-
this.
|
|
1346
|
+
gp() {
|
|
1347
|
+
this.dj = 0;
|
|
1348
|
+
this.de = 0;
|
|
1349
|
+
this.co.clear();
|
|
1339
1350
|
this.cn.clear();
|
|
1340
1351
|
this.cm.clear();
|
|
1341
|
-
this.
|
|
1342
|
-
if (this.actualItemsSource == null || this.bl == null) {
|
|
1352
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1343
1353
|
return;
|
|
1344
1354
|
}
|
|
1345
|
-
if (this.
|
|
1355
|
+
if (this.bv == null || this.bv.count == 0) {
|
|
1346
1356
|
return;
|
|
1347
1357
|
}
|
|
1348
|
-
for (let a of fromEnum(this.
|
|
1358
|
+
for (let a of fromEnum(this.bv)) {
|
|
1349
1359
|
if (isNaN_(a) || isInfinity(a) || a <= 0) {
|
|
1350
1360
|
continue;
|
|
1351
1361
|
}
|
|
1352
|
-
this.
|
|
1362
|
+
this.dj = this.dj + a;
|
|
1353
1363
|
}
|
|
1354
|
-
for (let b = 0; b < this.
|
|
1355
|
-
let c = this.
|
|
1364
|
+
for (let b = 0; b < this.bv.count; b++) {
|
|
1365
|
+
let c = this.bv.item(b);
|
|
1356
1366
|
let d = this.a1 == 0 ? c <= 0 : c < 0;
|
|
1357
1367
|
if (isNaN_(c) || isInfinity(c) || d) {
|
|
1358
1368
|
continue;
|
|
1359
1369
|
}
|
|
1360
|
-
let e = this.a2 == 1 ? c / this.
|
|
1361
|
-
let f = this.a2 == 1 ? this.
|
|
1362
|
-
let g = c > 0 || (this.
|
|
1370
|
+
let e = this.a2 == 1 ? c / this.dj : c;
|
|
1371
|
+
let f = this.a2 == 1 ? this.dd / 100 : this.dd;
|
|
1372
|
+
let g = c > 0 || (this.dd > 0 && this.a1 != 1);
|
|
1363
1373
|
if (e <= f && g) {
|
|
1364
|
-
this.
|
|
1365
|
-
this.
|
|
1366
|
-
this.
|
|
1374
|
+
this.de = this.de + c;
|
|
1375
|
+
this.cn.add(b);
|
|
1376
|
+
this.cm.add1(this.bm.item(b));
|
|
1367
1377
|
}
|
|
1368
1378
|
else {
|
|
1369
|
-
this.
|
|
1379
|
+
this.co.add(b);
|
|
1370
1380
|
}
|
|
1371
1381
|
}
|
|
1372
1382
|
}
|
|
1373
|
-
|
|
1374
|
-
if (this.actualItemsSource == null || this.
|
|
1375
|
-
this.
|
|
1383
|
+
gr() {
|
|
1384
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1385
|
+
this.bx.count = 0;
|
|
1376
1386
|
return;
|
|
1377
1387
|
}
|
|
1378
|
-
let a = this.
|
|
1379
|
-
let b = this.
|
|
1380
|
-
let c = PieChartBase.
|
|
1381
|
-
let d = PieChartBase.
|
|
1388
|
+
let a = this.co.count;
|
|
1389
|
+
let b = this.cn.count > 0;
|
|
1390
|
+
let c = PieChartBase.dh(this.c4);
|
|
1391
|
+
let d = PieChartBase.dh(this.c4);
|
|
1382
1392
|
if (b) {
|
|
1383
1393
|
a++;
|
|
1384
1394
|
}
|
|
1385
|
-
this.
|
|
1395
|
+
this.dm = a;
|
|
1386
1396
|
for (let e = 0; e < a; e++) {
|
|
1387
1397
|
let f = false;
|
|
1388
1398
|
let g;
|
|
1389
1399
|
if (e == a - 1 && b) {
|
|
1390
|
-
g = this.
|
|
1400
|
+
g = this.de;
|
|
1391
1401
|
f = true;
|
|
1392
1402
|
}
|
|
1393
1403
|
else {
|
|
1394
|
-
g = this.
|
|
1404
|
+
g = this.bv.item(this.co._inner[e]);
|
|
1395
1405
|
}
|
|
1396
|
-
if (this.
|
|
1397
|
-
d += PieChartBase.
|
|
1406
|
+
if (this.i3 == 1) {
|
|
1407
|
+
d += PieChartBase.dh(Math.abs(g) * 360 / this.dj);
|
|
1398
1408
|
}
|
|
1399
1409
|
else {
|
|
1400
|
-
d -= PieChartBase.
|
|
1410
|
+
d -= PieChartBase.dh(Math.abs(g) * 360 / this.dj);
|
|
1401
1411
|
}
|
|
1402
|
-
let h = this.
|
|
1412
|
+
let h = this.bx.item(e);
|
|
1403
1413
|
h.aw = true;
|
|
1404
1414
|
h.a3 = c;
|
|
1405
1415
|
h.ax = d;
|
|
1406
|
-
h.a1 = this.
|
|
1407
|
-
h.a0 = this.
|
|
1416
|
+
h.a1 = this.c1;
|
|
1417
|
+
h.a0 = this.c1;
|
|
1408
1418
|
h.isOthersSlice = f;
|
|
1409
|
-
h.ay = this.
|
|
1419
|
+
h.ay = this.c0;
|
|
1410
1420
|
h.a5 = e;
|
|
1411
|
-
h.dataContext = f ? this.
|
|
1421
|
+
h.dataContext = f ? this.cm : this.bm.item(this.co._inner[e]);
|
|
1412
1422
|
this.a7.j(h);
|
|
1413
|
-
h.isExploded = this.
|
|
1423
|
+
h.isExploded = this.b1 ? this.explodedSlices.contains(e) : false;
|
|
1414
1424
|
c = d;
|
|
1415
1425
|
h.aw = false;
|
|
1416
1426
|
}
|
|
1417
|
-
this.
|
|
1427
|
+
this.bx.count = a;
|
|
1418
1428
|
}
|
|
1419
|
-
|
|
1429
|
+
fh() {
|
|
1420
1430
|
let a = this.XSRP.b7;
|
|
1421
1431
|
if (stringIsNullOrWhiteSpace(a)) {
|
|
1422
1432
|
a = "Others";
|
|
1423
1433
|
}
|
|
1424
|
-
return this.
|
|
1434
|
+
return this.e6 != null ? this.e6 : a;
|
|
1425
1435
|
}
|
|
1426
|
-
|
|
1427
|
-
if (this.actualItemsSource == null || this.
|
|
1428
|
-
this.
|
|
1436
|
+
gq() {
|
|
1437
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1438
|
+
this.bw.count = 0;
|
|
1429
1439
|
return;
|
|
1430
1440
|
}
|
|
1431
|
-
if (this.
|
|
1432
|
-
this.
|
|
1441
|
+
if (this.br == null || this.br.count == 0 || this.az == 0) {
|
|
1442
|
+
this.bw.count = 0;
|
|
1433
1443
|
}
|
|
1434
|
-
let a = this.
|
|
1435
|
-
if (this.
|
|
1444
|
+
let a = this.co.count;
|
|
1445
|
+
if (this.cn.count > 0) {
|
|
1436
1446
|
a++;
|
|
1437
1447
|
}
|
|
1438
1448
|
this.a4.av();
|
|
@@ -1442,15 +1452,15 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1442
1452
|
let e = false;
|
|
1443
1453
|
let f;
|
|
1444
1454
|
let g = null;
|
|
1445
|
-
if (c == a - 1 && this.
|
|
1446
|
-
f = this.
|
|
1455
|
+
if (c == a - 1 && this.cn.count > 0) {
|
|
1456
|
+
f = this.fh();
|
|
1447
1457
|
e = true;
|
|
1448
|
-
if (this.
|
|
1458
|
+
if (this.cb() || this.ap != null || this.as != null) {
|
|
1449
1459
|
let h = ((() => {
|
|
1450
1460
|
let $ret = new PieSliceDataContext();
|
|
1451
1461
|
$ret.series = this;
|
|
1452
|
-
$ret.item = e ? this.
|
|
1453
|
-
$ret.percentValue = this.
|
|
1462
|
+
$ret.item = e ? this.cm : this.bm.item(this.co._inner[c]);
|
|
1463
|
+
$ret.percentValue = this.c9(this.bx.item(c));
|
|
1454
1464
|
$ret.isOthersSlice = e;
|
|
1455
1465
|
return $ret;
|
|
1456
1466
|
})());
|
|
@@ -1466,7 +1476,7 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1466
1476
|
else if (this.as != null && e) {
|
|
1467
1477
|
f = this.as.i(i);
|
|
1468
1478
|
}
|
|
1469
|
-
else if (this.
|
|
1479
|
+
else if (this.cb()) {
|
|
1470
1480
|
f = this.a5(i);
|
|
1471
1481
|
}
|
|
1472
1482
|
}
|
|
@@ -1474,25 +1484,25 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1474
1484
|
d = f.toString();
|
|
1475
1485
|
}
|
|
1476
1486
|
else {
|
|
1477
|
-
d = this.
|
|
1487
|
+
d = this.fh();
|
|
1478
1488
|
}
|
|
1479
1489
|
}
|
|
1480
1490
|
else {
|
|
1481
|
-
if (this.
|
|
1482
|
-
f = this.
|
|
1491
|
+
if (this.br != null && this.br.count >= this.co.count) {
|
|
1492
|
+
f = this.br.item(this.co._inner[c]);
|
|
1483
1493
|
}
|
|
1484
1494
|
else {
|
|
1485
1495
|
f = null;
|
|
1486
1496
|
}
|
|
1487
|
-
g = (this.
|
|
1488
|
-
if (this.
|
|
1497
|
+
g = (this.bs != null && this.bs.count > 0) ? this.bs.item(this.co._inner[c]) : null;
|
|
1498
|
+
if (this.cb() || this.ap != null || this.as != null) {
|
|
1489
1499
|
let j = ((() => {
|
|
1490
1500
|
let $ret = new PieSliceDataContext();
|
|
1491
1501
|
$ret.series = this;
|
|
1492
|
-
$ret.item = e ? this.
|
|
1502
|
+
$ret.item = e ? this.cm : this.bm.item(this.co._inner[c]);
|
|
1493
1503
|
$ret.itemLabel = f != null ? f.toString() : null;
|
|
1494
1504
|
$ret.legendLabel = g != null ? g.toString() : f != null ? f.toString() : null;
|
|
1495
|
-
$ret.percentValue = this.
|
|
1505
|
+
$ret.percentValue = this.c9(this.bx.item(c));
|
|
1496
1506
|
$ret.isOthersSlice = e;
|
|
1497
1507
|
return $ret;
|
|
1498
1508
|
})());
|
|
@@ -1510,15 +1520,15 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1510
1520
|
else {
|
|
1511
1521
|
formattedLabel_ = this.a5(k);
|
|
1512
1522
|
}
|
|
1513
|
-
if (null == formattedLabel_ && this.
|
|
1514
|
-
f = this.
|
|
1523
|
+
if (null == formattedLabel_ && this.br != null && this.br.count > 0) {
|
|
1524
|
+
f = this.br.item(this.co._inner[c]);
|
|
1515
1525
|
}
|
|
1516
1526
|
else {
|
|
1517
1527
|
f = formattedLabel_;
|
|
1518
1528
|
}
|
|
1519
1529
|
}
|
|
1520
1530
|
let label_ = f;
|
|
1521
|
-
let errorMsg_ = this.
|
|
1531
|
+
let errorMsg_ = this.d9;
|
|
1522
1532
|
if (label_ === undefined) {
|
|
1523
1533
|
throw new Error(errorMsg_);
|
|
1524
1534
|
}
|
|
@@ -1530,19 +1540,19 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1530
1540
|
d = null;
|
|
1531
1541
|
}
|
|
1532
1542
|
}
|
|
1533
|
-
if (this.
|
|
1534
|
-
let l = this.
|
|
1535
|
-
let m = this.
|
|
1543
|
+
if (this.br != null && this.br.count > 0) {
|
|
1544
|
+
let l = this.bw.item(c);
|
|
1545
|
+
let m = this.bx.item(c);
|
|
1536
1546
|
m.aj = l;
|
|
1537
|
-
l.ai = GeometryUtil.
|
|
1547
|
+
l.ai = GeometryUtil.j((m.a3 + m.ax) / 2);
|
|
1538
1548
|
l.ah = m;
|
|
1539
1549
|
l.aj = ((() => {
|
|
1540
1550
|
let $ret = new TextBlock();
|
|
1541
1551
|
$ret.al = d;
|
|
1542
1552
|
return $ret;
|
|
1543
1553
|
})());
|
|
1544
|
-
if (this.
|
|
1545
|
-
l.dataContext = e ? this.
|
|
1554
|
+
if (this.hc == null) {
|
|
1555
|
+
l.dataContext = e ? this.cm : this.bm.item(this.co._inner[c]);
|
|
1546
1556
|
l.ak(this.a4);
|
|
1547
1557
|
}
|
|
1548
1558
|
else {
|
|
@@ -1551,61 +1561,61 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1551
1561
|
l.ao = this.a4.b3(l);
|
|
1552
1562
|
b++;
|
|
1553
1563
|
}
|
|
1554
|
-
if (this.
|
|
1555
|
-
let n = this.
|
|
1564
|
+
if (this.bs != null && this.bs.count > 0) {
|
|
1565
|
+
let n = this.bx.item(c);
|
|
1556
1566
|
n.bf = g != null ? g.toString() : null;
|
|
1557
1567
|
}
|
|
1558
1568
|
}
|
|
1559
|
-
this.
|
|
1569
|
+
this.bw.count = b;
|
|
1560
1570
|
}
|
|
1561
|
-
|
|
1562
|
-
if (this.actualItemsSource == null || this.
|
|
1571
|
+
gz() {
|
|
1572
|
+
if (this.actualItemsSource == null || this.bm == null) {
|
|
1563
1573
|
return;
|
|
1564
1574
|
}
|
|
1565
1575
|
let a = this.a4.b5();
|
|
1566
|
-
this.
|
|
1576
|
+
this.i9 = new Rect(0, 0, 0, a.width, a.height);
|
|
1567
1577
|
let b = this.a4.ab();
|
|
1568
|
-
let c = this.a4.aa(this.
|
|
1578
|
+
let c = this.a4.aa(this.jc);
|
|
1569
1579
|
b = isNaN_(b) ? 0 : b / 2;
|
|
1570
1580
|
c = isNaN_(c) ? 0 : c / 2;
|
|
1571
1581
|
b = Math.max(c, b);
|
|
1572
1582
|
let d = Math.min(a.width / 2, a.height / 2);
|
|
1573
1583
|
let e = { $type: Point_$type, x: a.width / 2, y: a.height / 2 };
|
|
1574
|
-
let f = d * this.
|
|
1584
|
+
let f = d * this.c3;
|
|
1575
1585
|
let g = f + b;
|
|
1576
1586
|
if (g > d) {
|
|
1577
1587
|
let h = g - d;
|
|
1578
1588
|
f = f - h;
|
|
1579
1589
|
}
|
|
1580
|
-
for (let i of fromEnum(this.
|
|
1581
|
-
let j = GeometryUtil.
|
|
1590
|
+
for (let i of fromEnum(this.bx.a)) {
|
|
1591
|
+
let j = GeometryUtil.m(a.width, a.height, true, (i.a3 + i.ax) / 2, f * this.c0);
|
|
1582
1592
|
i.aw = true;
|
|
1583
|
-
i.a1 = this.
|
|
1584
|
-
i.a0 = this.
|
|
1593
|
+
i.a1 = this.c1;
|
|
1594
|
+
i.a0 = this.c1;
|
|
1585
1595
|
i.a2 = f;
|
|
1586
|
-
i.ay = this.
|
|
1596
|
+
i.ay = this.c0;
|
|
1587
1597
|
i.b7 = e;
|
|
1588
1598
|
i.b5 = j;
|
|
1589
|
-
this.
|
|
1599
|
+
this.g3(i);
|
|
1590
1600
|
i.aw = false;
|
|
1591
1601
|
}
|
|
1592
1602
|
this.a4.bs();
|
|
1593
1603
|
}
|
|
1594
|
-
|
|
1604
|
+
gx() {
|
|
1595
1605
|
let a = this.a4.b4.width;
|
|
1596
1606
|
let b = this.a4.b4.height;
|
|
1597
1607
|
if (b == 0 || a == 0) {
|
|
1598
1608
|
return;
|
|
1599
1609
|
}
|
|
1600
|
-
if (this.
|
|
1601
|
-
this.
|
|
1610
|
+
if (this.bw.a.count == 0 || this.az == 0) {
|
|
1611
|
+
this.bw.count = 0;
|
|
1602
1612
|
return;
|
|
1603
1613
|
}
|
|
1604
1614
|
let c = new List$1(PieLabel.$, 0);
|
|
1605
1615
|
let d = new List$1(PieLabel.$, 0);
|
|
1606
1616
|
let e = new List$1(PieLabel.$, 0);
|
|
1607
1617
|
let f = new List$1(PieLabel.$, 0);
|
|
1608
|
-
for (let g of fromEnum(this.
|
|
1618
|
+
for (let g of fromEnum(this.bw.a)) {
|
|
1609
1619
|
let h = g.ah;
|
|
1610
1620
|
if (h == null) {
|
|
1611
1621
|
continue;
|
|
@@ -1615,15 +1625,15 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1615
1625
|
let k = g.ao.height;
|
|
1616
1626
|
if (this.az == 1 || this.az == 4) {
|
|
1617
1627
|
let l = h.a2 * h.a1 / 100;
|
|
1618
|
-
let m = GeometryUtil.
|
|
1628
|
+
let m = GeometryUtil.n(i, g.ai, h.a2 - (h.a2 - l) / 2);
|
|
1619
1629
|
g.ao = new Rect(0, m.x - j / 2, m.y - k / 2, j, k);
|
|
1620
|
-
let n = this.
|
|
1630
|
+
let n = this.ca(g, m);
|
|
1621
1631
|
if (n || this.az == 1) {
|
|
1622
|
-
if (this.
|
|
1632
|
+
if (this.iy == null) {
|
|
1623
1633
|
h.f(Slice.bp);
|
|
1624
1634
|
}
|
|
1625
1635
|
else {
|
|
1626
|
-
h.b2 = this.
|
|
1636
|
+
h.b2 = this.iy;
|
|
1627
1637
|
}
|
|
1628
1638
|
h.au = true;
|
|
1629
1639
|
e.add(g);
|
|
@@ -1644,16 +1654,16 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1644
1654
|
}
|
|
1645
1655
|
}
|
|
1646
1656
|
if (this.az == 2 || this.az == 4) {
|
|
1647
|
-
let o = PieChartBase.
|
|
1648
|
-
let p = GeometryUtil.
|
|
1657
|
+
let o = PieChartBase.c7(i, h.a2, g);
|
|
1658
|
+
let p = GeometryUtil.n(i, g.ai, o);
|
|
1649
1659
|
g.ao = new Rect(0, p.x - j / 2, p.y - k / 2, j, k);
|
|
1650
|
-
let q = this.
|
|
1660
|
+
let q = this.ca(g, p);
|
|
1651
1661
|
if (q || this.az == 2) {
|
|
1652
|
-
if (this.
|
|
1662
|
+
if (this.iy == null) {
|
|
1653
1663
|
h.f(Slice.bp);
|
|
1654
1664
|
}
|
|
1655
1665
|
else {
|
|
1656
|
-
h.b2 = this.
|
|
1666
|
+
h.b2 = this.iy;
|
|
1657
1667
|
}
|
|
1658
1668
|
h.au = true;
|
|
1659
1669
|
f.add(g);
|
|
@@ -1673,14 +1683,14 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1673
1683
|
continue;
|
|
1674
1684
|
}
|
|
1675
1685
|
}
|
|
1676
|
-
if (this.
|
|
1686
|
+
if (this.iz == null) {
|
|
1677
1687
|
h.f(Slice.bp);
|
|
1678
1688
|
}
|
|
1679
1689
|
else {
|
|
1680
|
-
h.b2 = this.
|
|
1690
|
+
h.b2 = this.iz;
|
|
1681
1691
|
}
|
|
1682
1692
|
h.au = false;
|
|
1683
|
-
let r = GeometryUtil.
|
|
1693
|
+
let r = GeometryUtil.n(i, g.ai, h.a2 + this.db);
|
|
1684
1694
|
g.ag = 3;
|
|
1685
1695
|
g._visibility = 0;
|
|
1686
1696
|
g.al();
|
|
@@ -1707,10 +1717,10 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1707
1717
|
g.ao = new Rect(0, g.ao.x, b - g.ao.height, g.ao.width, g.ao.height);
|
|
1708
1718
|
}
|
|
1709
1719
|
}
|
|
1710
|
-
PieChartBase.
|
|
1711
|
-
this.
|
|
1712
|
-
PieChartBase.
|
|
1713
|
-
this.
|
|
1720
|
+
PieChartBase.g8(c);
|
|
1721
|
+
this.g0(c);
|
|
1722
|
+
PieChartBase.g8(d);
|
|
1723
|
+
this.g0(d);
|
|
1714
1724
|
for (let s of fromEnum(e)) {
|
|
1715
1725
|
this.a4.bn(s, s.ao.x, s.ao.y);
|
|
1716
1726
|
}
|
|
@@ -1737,14 +1747,14 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1737
1747
|
}
|
|
1738
1748
|
this.a4.bs();
|
|
1739
1749
|
}
|
|
1740
|
-
static
|
|
1750
|
+
static c7(a, b, c) {
|
|
1741
1751
|
let d = c.ai * Math.PI / 180;
|
|
1742
1752
|
let e = 1;
|
|
1743
|
-
let f = GeometryUtil.
|
|
1744
|
-
let g = PieChartBase.
|
|
1753
|
+
let f = GeometryUtil.n({ $type: Point_$type, x: 0, y: 0 }, c.ai, e);
|
|
1754
|
+
let g = PieChartBase.i5(c);
|
|
1745
1755
|
let h = Math.sqrt(g.x * g.x + g.y * g.y);
|
|
1746
1756
|
let i = { $type: Point_$type, x: g.x / h, y: g.y / h };
|
|
1747
|
-
let j = PieChartBase.
|
|
1757
|
+
let j = PieChartBase.c8(f, i);
|
|
1748
1758
|
let k = h / b;
|
|
1749
1759
|
let l = j * k;
|
|
1750
1760
|
let m = l;
|
|
@@ -1753,14 +1763,14 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1753
1763
|
if (o < n) {
|
|
1754
1764
|
m = -m;
|
|
1755
1765
|
}
|
|
1756
|
-
let p = GeometryUtil.
|
|
1757
|
-
let q = PieChartBase.
|
|
1766
|
+
let p = GeometryUtil.n(a, (d + m) * 180 / Math.PI, b);
|
|
1767
|
+
let q = PieChartBase.i4(c, p);
|
|
1758
1768
|
let r = Math.sqrt((q.x - a.x) * (q.x - a.x) + (q.y - a.y) * (q.y - a.y));
|
|
1759
1769
|
let s = r - 5;
|
|
1760
1770
|
return s;
|
|
1761
1771
|
}
|
|
1762
|
-
static
|
|
1763
|
-
let c = GeometryUtil.
|
|
1772
|
+
static i4(a, b) {
|
|
1773
|
+
let c = GeometryUtil.j(a.ai);
|
|
1764
1774
|
let d = a.ao.width / 2;
|
|
1765
1775
|
let e = a.ao.height / 2;
|
|
1766
1776
|
if (c >= 0 && c <= 90) {
|
|
@@ -1774,15 +1784,15 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1774
1784
|
}
|
|
1775
1785
|
return { $type: Point_$type, x: b.x - d, y: b.y + e };
|
|
1776
1786
|
}
|
|
1777
|
-
static
|
|
1787
|
+
static c8(a, b) {
|
|
1778
1788
|
let c = a.x * b.x + a.y * b.y;
|
|
1779
1789
|
let d = Math.sqrt(a.x * a.x + a.y * a.y);
|
|
1780
1790
|
let e = Math.sqrt(b.x * b.x + b.y * b.y);
|
|
1781
1791
|
let f = Math.acos(c / (d * e));
|
|
1782
1792
|
return f;
|
|
1783
1793
|
}
|
|
1784
|
-
static
|
|
1785
|
-
let b = GeometryUtil.
|
|
1794
|
+
static i5(a) {
|
|
1795
|
+
let b = GeometryUtil.j(a.ai);
|
|
1786
1796
|
let c = a.ao.width / 2;
|
|
1787
1797
|
let d = a.ao.height / 2;
|
|
1788
1798
|
if (b >= 0 && b <= 90) {
|
|
@@ -1796,18 +1806,18 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1796
1806
|
}
|
|
1797
1807
|
return { $type: Point_$type, x: c, y: -d };
|
|
1798
1808
|
}
|
|
1799
|
-
|
|
1809
|
+
gy() {
|
|
1800
1810
|
if (this.legend == null || !this.legend.isItemwise) {
|
|
1801
1811
|
return;
|
|
1802
1812
|
}
|
|
1803
|
-
if ((this.
|
|
1813
|
+
if ((this.br == null || this.br.count == 0) && (this.bs == null || this.bs.count == 0)) {
|
|
1804
1814
|
this.legend.clearLegendItemsForSeries(this);
|
|
1805
1815
|
return;
|
|
1806
1816
|
}
|
|
1807
|
-
this.
|
|
1808
|
-
for (let a of fromEnum(this.
|
|
1817
|
+
this.cl = new List$1(UIElement.$, 0);
|
|
1818
|
+
for (let a of fromEnum(this.bx.a)) {
|
|
1809
1819
|
let b = new ContentControl();
|
|
1810
|
-
let c = this.
|
|
1820
|
+
let c = this.dp(a);
|
|
1811
1821
|
let d = this.a4.bu(a);
|
|
1812
1822
|
let e = this.a4.bv(a);
|
|
1813
1823
|
b.content = ((() => {
|
|
@@ -1819,15 +1829,15 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1819
1829
|
$ret.outline = e;
|
|
1820
1830
|
$ret.thickness = a.a4;
|
|
1821
1831
|
$ret.itemLabel = c != null ? c.toString() : null;
|
|
1822
|
-
$ret.legendLabel = a.isOthersSlice ? this.
|
|
1823
|
-
$ret.percentValue = this.
|
|
1832
|
+
$ret.legendLabel = a.isOthersSlice ? this.fh() : a.bf != null ? a.bf : (c != null ? c.toString() : null);
|
|
1833
|
+
$ret.percentValue = this.c9(a);
|
|
1824
1834
|
$ret.isOthersSlice = a.isOthersSlice;
|
|
1825
1835
|
return $ret;
|
|
1826
1836
|
})());
|
|
1827
1837
|
let f = b.content;
|
|
1828
|
-
if (this.
|
|
1838
|
+
if (this.cc() || this.aq != null || this.ar != null) {
|
|
1829
1839
|
let g = null;
|
|
1830
|
-
if (this.
|
|
1840
|
+
if (this.cc()) {
|
|
1831
1841
|
g = this.a6(b.content);
|
|
1832
1842
|
}
|
|
1833
1843
|
if (this.aq != null && !f.isOthersSlice) {
|
|
@@ -1843,64 +1853,64 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1843
1853
|
if (this.legendItemTemplate != null) {
|
|
1844
1854
|
b.ah = this.legendItemTemplate;
|
|
1845
1855
|
}
|
|
1846
|
-
this.
|
|
1856
|
+
this.cl.add(b);
|
|
1847
1857
|
}
|
|
1848
1858
|
if (this.legend.isItemwise) {
|
|
1849
1859
|
let h = this.legend;
|
|
1850
|
-
h.createItemwiseLegendItems(this.
|
|
1860
|
+
h.createItemwiseLegendItems(this.cl, this);
|
|
1851
1861
|
}
|
|
1852
1862
|
}
|
|
1853
|
-
|
|
1863
|
+
bl() {
|
|
1854
1864
|
let a = new PieChartVisualData();
|
|
1855
|
-
a.viewport = RectData.b(this.
|
|
1865
|
+
a.viewport = RectData.b(this.i9);
|
|
1856
1866
|
this.a4.ao(a);
|
|
1857
|
-
for (let b = 0; b < this.
|
|
1858
|
-
let c = this.
|
|
1867
|
+
for (let b = 0; b < this.bx.count; b++) {
|
|
1868
|
+
let c = this.bx.item(b).am();
|
|
1859
1869
|
a.slices.add(c);
|
|
1860
|
-
if (this.
|
|
1861
|
-
a.othersSlice = this.
|
|
1870
|
+
if (this.bx.item(b).isOthersSlice) {
|
|
1871
|
+
a.othersSlice = this.bx.item(b).am();
|
|
1862
1872
|
}
|
|
1863
1873
|
}
|
|
1864
|
-
a.others = this.
|
|
1874
|
+
a.others = this.cm;
|
|
1865
1875
|
a.name = this.name;
|
|
1866
|
-
a.radiusFactor = this.
|
|
1867
|
-
a.leaderLineMargin = this.
|
|
1876
|
+
a.radiusFactor = this.c3;
|
|
1877
|
+
a.leaderLineMargin = this.dc;
|
|
1868
1878
|
return a;
|
|
1869
1879
|
}
|
|
1870
|
-
|
|
1871
|
-
let a = this.
|
|
1880
|
+
d4() {
|
|
1881
|
+
let a = this.bl();
|
|
1872
1882
|
a.scaleByViewport();
|
|
1873
1883
|
return a.serialize();
|
|
1874
1884
|
}
|
|
1875
|
-
|
|
1885
|
+
bt(a) {
|
|
1876
1886
|
let b = null;
|
|
1877
|
-
return this.
|
|
1887
|
+
return this.bm.registerColumn(a, b, false);
|
|
1878
1888
|
}
|
|
1879
|
-
|
|
1889
|
+
bu(a) {
|
|
1880
1890
|
let b = null;
|
|
1881
|
-
return this.
|
|
1891
|
+
return this.bm.registerColumnObject(a, b, false);
|
|
1882
1892
|
}
|
|
1883
|
-
|
|
1893
|
+
gs(a, b, c, d) {
|
|
1884
1894
|
switch (b) {
|
|
1885
1895
|
case PieChartBase.$$p[14]:
|
|
1886
|
-
this.actualItemsSource = this.
|
|
1896
|
+
this.actualItemsSource = this.cs();
|
|
1887
1897
|
break;
|
|
1888
1898
|
case PieChartBase.$$p[45]:
|
|
1889
1899
|
case PieChartBase.$$p[46]:
|
|
1890
|
-
this.
|
|
1891
|
-
this.
|
|
1900
|
+
this.iy = this.i2(this.i0);
|
|
1901
|
+
this.iz = this.i2(this.i1);
|
|
1892
1902
|
this.ak = this.ao(this.am);
|
|
1893
1903
|
this.al = this.ao(this.al);
|
|
1894
|
-
this.actualItemsSource = this.
|
|
1904
|
+
this.actualItemsSource = this.cs();
|
|
1895
1905
|
break;
|
|
1896
1906
|
case PieChartBase.$$p[1]:
|
|
1897
|
-
if (this.
|
|
1907
|
+
if (this.ch) {
|
|
1898
1908
|
this.ak = this.ao(this.am);
|
|
1899
1909
|
this.al = this.ao(this.al);
|
|
1900
|
-
this.
|
|
1901
|
-
this.
|
|
1910
|
+
this.iy = this.i2(this.i0);
|
|
1911
|
+
this.iz = this.i2(this.i1);
|
|
1902
1912
|
}
|
|
1903
|
-
this.
|
|
1913
|
+
this.bm = ((() => {
|
|
1904
1914
|
let $ret = new FastItemsSource();
|
|
1905
1915
|
$ret.e = d;
|
|
1906
1916
|
return $ret;
|
|
@@ -1908,9 +1918,9 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1908
1918
|
break;
|
|
1909
1919
|
case PieChartBase.$$p[16]:
|
|
1910
1920
|
case PieChartBase.$$p[17]:
|
|
1911
|
-
if (this.
|
|
1921
|
+
if (this.ef != null) {
|
|
1912
1922
|
this.ap = new BindingFormatter();
|
|
1913
|
-
this.ap.j = this.
|
|
1923
|
+
this.ap.j = this.ef;
|
|
1914
1924
|
this.ap.d = this.ag;
|
|
1915
1925
|
}
|
|
1916
1926
|
else {
|
|
@@ -1919,9 +1929,9 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1919
1929
|
break;
|
|
1920
1930
|
case PieChartBase.$$p[39]:
|
|
1921
1931
|
case PieChartBase.$$p[40]:
|
|
1922
|
-
if (this.
|
|
1932
|
+
if (this.fa != null) {
|
|
1923
1933
|
this.as = new BindingFormatter();
|
|
1924
|
-
this.as.j = this.
|
|
1934
|
+
this.as.j = this.fa;
|
|
1925
1935
|
this.as.d = this.aj;
|
|
1926
1936
|
}
|
|
1927
1937
|
else {
|
|
@@ -1930,9 +1940,9 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1930
1940
|
break;
|
|
1931
1941
|
case PieChartBase.$$p[29]:
|
|
1932
1942
|
case PieChartBase.$$p[30]:
|
|
1933
|
-
if (this.
|
|
1943
|
+
if (this.ew != null) {
|
|
1934
1944
|
this.aq = new BindingFormatter();
|
|
1935
|
-
this.aq.j = this.
|
|
1945
|
+
this.aq.j = this.ew;
|
|
1936
1946
|
this.aq.d = this.ah;
|
|
1937
1947
|
}
|
|
1938
1948
|
else {
|
|
@@ -1941,9 +1951,9 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1941
1951
|
break;
|
|
1942
1952
|
case PieChartBase.$$p[32]:
|
|
1943
1953
|
case PieChartBase.$$p[33]:
|
|
1944
|
-
if (this.
|
|
1954
|
+
if (this.e1 != null) {
|
|
1945
1955
|
this.ar = new BindingFormatter();
|
|
1946
|
-
this.ar.j = this.
|
|
1956
|
+
this.ar.j = this.e1;
|
|
1947
1957
|
this.ar.d = this.ai;
|
|
1948
1958
|
}
|
|
1949
1959
|
else {
|
|
@@ -1953,98 +1963,98 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
1953
1963
|
case PieChartBase.$$p[9]:
|
|
1954
1964
|
if (typeCast(FastItemsSource.$, c) != null) {
|
|
1955
1965
|
let e = c;
|
|
1956
|
-
e.event = delegateRemove(e.event, this.
|
|
1957
|
-
this.
|
|
1958
|
-
c.deregisterColumn(this.
|
|
1959
|
-
c.deregisterColumn(this.
|
|
1960
|
-
this.
|
|
1961
|
-
this.
|
|
1966
|
+
e.event = delegateRemove(e.event, this.dk);
|
|
1967
|
+
this.b2 = false;
|
|
1968
|
+
c.deregisterColumn(this.bv);
|
|
1969
|
+
c.deregisterColumn(this.br);
|
|
1970
|
+
this.bv = null;
|
|
1971
|
+
this.br = null;
|
|
1962
1972
|
this.selectedItem = null;
|
|
1963
1973
|
this.selectedItems.clear();
|
|
1964
1974
|
if (this.selectedSlices != null) {
|
|
1965
1975
|
this.selectedSlices.clear();
|
|
1966
1976
|
}
|
|
1967
|
-
(typeCast(FastItemsSource.$, c)).deregisterColumn(this.
|
|
1968
|
-
this.
|
|
1977
|
+
(typeCast(FastItemsSource.$, c)).deregisterColumn(this.bs);
|
|
1978
|
+
this.bs = null;
|
|
1969
1979
|
}
|
|
1970
1980
|
if (typeCast(FastItemsSource.$, d) != null) {
|
|
1971
1981
|
let f = d;
|
|
1972
|
-
f.event = delegateCombine(f.event, this.
|
|
1973
|
-
this.
|
|
1974
|
-
this.
|
|
1975
|
-
this.
|
|
1976
|
-
this.
|
|
1977
|
-
this.
|
|
1982
|
+
f.event = delegateCombine(f.event, this.dk);
|
|
1983
|
+
this.b2 = true;
|
|
1984
|
+
this.bv = this.bt(this.fi(this.fv));
|
|
1985
|
+
this.br = this.bu(this.fg(this.ej));
|
|
1986
|
+
this.bs = this.bu(this.ez);
|
|
1987
|
+
this.gr();
|
|
1978
1988
|
if (this.selectedItem != null || this.selectedItems.count > 0) {
|
|
1979
|
-
this.
|
|
1989
|
+
this.ha();
|
|
1980
1990
|
}
|
|
1981
1991
|
else if (this.selectedSlices != null && this.selectedSlices.count > 0) {
|
|
1982
|
-
this.
|
|
1992
|
+
this.hb();
|
|
1983
1993
|
}
|
|
1984
1994
|
}
|
|
1985
|
-
this.
|
|
1995
|
+
this.gw();
|
|
1986
1996
|
break;
|
|
1987
1997
|
case PieChartBase.$$p[51]:
|
|
1988
|
-
if (this.
|
|
1989
|
-
this.
|
|
1990
|
-
this.
|
|
1998
|
+
if (this.bm != null) {
|
|
1999
|
+
this.bm.deregisterColumn(this.bv);
|
|
2000
|
+
this.bv = this.bt(this.fi(this.fv));
|
|
1991
2001
|
}
|
|
1992
2002
|
break;
|
|
1993
2003
|
case PieChartBase.$$p[31]:
|
|
1994
|
-
if (this.
|
|
1995
|
-
this.
|
|
1996
|
-
this.
|
|
1997
|
-
this.
|
|
1998
|
-
this.gw();
|
|
2004
|
+
if (this.bm != null) {
|
|
2005
|
+
this.bm.deregisterColumn(this.bs);
|
|
2006
|
+
this.bs = this.bu(this.ez);
|
|
2007
|
+
this.gq();
|
|
1999
2008
|
this.gx();
|
|
2009
|
+
this.gy();
|
|
2000
2010
|
}
|
|
2001
2011
|
break;
|
|
2002
2012
|
case PieChartBase.$$p[11]:
|
|
2003
|
-
this.
|
|
2013
|
+
this.gy();
|
|
2004
2014
|
break;
|
|
2005
2015
|
case PieChartBase.$$p[10]:
|
|
2006
2016
|
case PieChartBase.$$p[19]:
|
|
2007
|
-
if (this.
|
|
2008
|
-
this.
|
|
2009
|
-
this.
|
|
2010
|
-
this.
|
|
2011
|
-
this.gw();
|
|
2017
|
+
if (this.bm != null) {
|
|
2018
|
+
this.bm.deregisterColumn(this.br);
|
|
2019
|
+
this.br = this.bu(this.fg(this.ej));
|
|
2020
|
+
this.gq();
|
|
2012
2021
|
this.gx();
|
|
2022
|
+
this.gy();
|
|
2013
2023
|
}
|
|
2014
2024
|
break;
|
|
2015
2025
|
case PieChartBase.$$p[47]:
|
|
2016
|
-
this.
|
|
2026
|
+
this.c4 = d;
|
|
2027
|
+
this.gr();
|
|
2017
2028
|
this.gq();
|
|
2018
|
-
this.
|
|
2019
|
-
this.
|
|
2020
|
-
this.gw();
|
|
2029
|
+
this.gz();
|
|
2030
|
+
this.gx();
|
|
2021
2031
|
break;
|
|
2022
2032
|
case PieChartBase.$$p[49]:
|
|
2023
|
-
this.a4.bq(this.
|
|
2033
|
+
this.a4.bq(this.dr);
|
|
2024
2034
|
break;
|
|
2025
2035
|
case PieChartBase.$$p[34]:
|
|
2026
2036
|
let g = typeCast(IChartLegend_$type, c);
|
|
2027
2037
|
if (g != null) {
|
|
2028
2038
|
g.clearLegendItemsForSeries(this);
|
|
2029
2039
|
}
|
|
2030
|
-
this.
|
|
2040
|
+
this.gy();
|
|
2031
2041
|
break;
|
|
2032
2042
|
case PieChartBase.$$p[27]:
|
|
2033
2043
|
case PieChartBase.$$p[28]:
|
|
2034
|
-
this.
|
|
2044
|
+
this.gy();
|
|
2035
2045
|
break;
|
|
2036
2046
|
case PieChartBase.$$p[42]:
|
|
2037
2047
|
case PieChartBase.$$p[8]:
|
|
2038
2048
|
case PieChartBase.$$p[48]:
|
|
2049
|
+
this.gr();
|
|
2039
2050
|
this.gq();
|
|
2040
|
-
this.
|
|
2041
|
-
this.
|
|
2042
|
-
this.gw();
|
|
2051
|
+
this.gz();
|
|
2052
|
+
this.gx();
|
|
2043
2053
|
break;
|
|
2044
2054
|
case PieChartBase.$$p[35]:
|
|
2045
2055
|
case PieChartBase.$$p[43]:
|
|
2056
|
+
this.gz();
|
|
2046
2057
|
this.gy();
|
|
2047
|
-
this.gx();
|
|
2048
2058
|
break;
|
|
2049
2059
|
case PieChartBase.$$p[7]:
|
|
2050
2060
|
this.ak = this.ao(this.am);
|
|
@@ -2055,107 +2065,107 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2055
2065
|
case PieChartBase.$$p[0]:
|
|
2056
2066
|
if (c != null) {
|
|
2057
2067
|
let h = c;
|
|
2058
|
-
h.collectionChanged = delegateRemove(h.collectionChanged, this.
|
|
2059
|
-
this.
|
|
2068
|
+
h.collectionChanged = delegateRemove(h.collectionChanged, this.cu);
|
|
2069
|
+
this.b0 = false;
|
|
2060
2070
|
}
|
|
2061
2071
|
if (d != null) {
|
|
2062
2072
|
let i = d;
|
|
2063
|
-
i.collectionChanged = delegateCombine(i.collectionChanged, this.
|
|
2064
|
-
this.
|
|
2073
|
+
i.collectionChanged = delegateCombine(i.collectionChanged, this.cu);
|
|
2074
|
+
this.b0 = true;
|
|
2065
2075
|
}
|
|
2076
|
+
this.gz();
|
|
2066
2077
|
this.gy();
|
|
2067
|
-
this.gx();
|
|
2068
2078
|
break;
|
|
2069
2079
|
case PieChartBase.$$p[4]:
|
|
2070
2080
|
if (c != null) {
|
|
2071
2081
|
let j = c;
|
|
2072
|
-
j.collectionChanged = delegateRemove(j.collectionChanged, this.
|
|
2073
|
-
this.
|
|
2082
|
+
j.collectionChanged = delegateRemove(j.collectionChanged, this.cu);
|
|
2083
|
+
this.b3 = false;
|
|
2074
2084
|
}
|
|
2075
2085
|
if (d != null) {
|
|
2076
2086
|
let k = d;
|
|
2077
|
-
k.collectionChanged = delegateCombine(k.collectionChanged, this.
|
|
2078
|
-
this.
|
|
2087
|
+
k.collectionChanged = delegateCombine(k.collectionChanged, this.cu);
|
|
2088
|
+
this.b3 = true;
|
|
2079
2089
|
}
|
|
2090
|
+
this.gz();
|
|
2080
2091
|
this.gy();
|
|
2081
|
-
this.gx();
|
|
2082
2092
|
break;
|
|
2083
2093
|
case "ValueColumn":
|
|
2084
2094
|
case PieChartBase.$$p[37]:
|
|
2085
2095
|
case PieChartBase.$$p[38]:
|
|
2086
|
-
this.
|
|
2087
|
-
this.g9();
|
|
2096
|
+
this.gw();
|
|
2088
2097
|
this.ha();
|
|
2098
|
+
this.hb();
|
|
2089
2099
|
break;
|
|
2090
2100
|
case PieChartBase.$$p[5]:
|
|
2091
2101
|
case PieChartBase.$$p[6]:
|
|
2092
|
-
this.
|
|
2102
|
+
this.gw();
|
|
2093
2103
|
break;
|
|
2094
2104
|
case PieChartBase.$$p[21]:
|
|
2095
|
-
this.
|
|
2096
|
-
this.
|
|
2105
|
+
this.gq();
|
|
2106
|
+
this.gx();
|
|
2097
2107
|
this.a4.bs();
|
|
2098
2108
|
break;
|
|
2099
2109
|
case PieChartBase.$$p[18]:
|
|
2100
|
-
this.
|
|
2110
|
+
this.iy = this.i2(this.i0);
|
|
2101
2111
|
break;
|
|
2102
2112
|
case PieChartBase.$$p[20]:
|
|
2103
|
-
this.
|
|
2113
|
+
this.iz = this.i2(this.i1);
|
|
2104
2114
|
break;
|
|
2105
2115
|
case PieChartBase.$$p[2]:
|
|
2106
2116
|
case PieChartBase.$$p[3]:
|
|
2107
2117
|
case PieChartBase.$$p[15]:
|
|
2108
|
-
this.
|
|
2109
|
-
this.
|
|
2118
|
+
this.gq();
|
|
2119
|
+
this.gx();
|
|
2110
2120
|
break;
|
|
2111
2121
|
case PieChartBase.$$p[36]:
|
|
2112
|
-
this.
|
|
2113
|
-
this.gw();
|
|
2122
|
+
this.gq();
|
|
2114
2123
|
this.gx();
|
|
2124
|
+
this.gy();
|
|
2115
2125
|
break;
|
|
2116
2126
|
case PieChartBase.$$p[25]:
|
|
2117
|
-
this.
|
|
2127
|
+
this.gx();
|
|
2118
2128
|
break;
|
|
2119
2129
|
case PieChartBase.$$p[23]:
|
|
2120
|
-
this.
|
|
2130
|
+
this.gx();
|
|
2121
2131
|
break;
|
|
2122
2132
|
case "TextStyle":
|
|
2123
2133
|
this.a4.bi();
|
|
2124
2134
|
break;
|
|
2125
2135
|
case "PixelScalingRatio":
|
|
2126
|
-
if (isNaN_(DeviceUtils.a(this.
|
|
2127
|
-
this.
|
|
2136
|
+
if (isNaN_(DeviceUtils.a(this.df))) {
|
|
2137
|
+
this.c2 = 1;
|
|
2128
2138
|
}
|
|
2129
2139
|
else {
|
|
2130
|
-
this.
|
|
2140
|
+
this.c2 = DeviceUtils.a(this.df);
|
|
2131
2141
|
}
|
|
2132
2142
|
break;
|
|
2133
2143
|
case "ActualPixelScalingRatio":
|
|
2134
2144
|
this.a4.a4();
|
|
2135
2145
|
break;
|
|
2136
2146
|
case "LabelTemplate":
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2147
|
+
this.gq();
|
|
2148
|
+
this.gx();
|
|
2139
2149
|
break;
|
|
2140
2150
|
case PieChartBase.$$p[24]:
|
|
2141
2151
|
case PieChartBase.$$p[22]:
|
|
2142
|
-
this.
|
|
2143
|
-
this.
|
|
2152
|
+
this.bw.c(runOn(this.a4, this.a4.bm));
|
|
2153
|
+
this.gx();
|
|
2144
2154
|
break;
|
|
2145
2155
|
case PieChartBase.$$p[13]:
|
|
2146
2156
|
this.a4.a3();
|
|
2147
2157
|
break;
|
|
2148
2158
|
case "InnerExtent":
|
|
2149
|
-
this.
|
|
2159
|
+
this.gw();
|
|
2150
2160
|
break;
|
|
2151
2161
|
case PieChartBase.$$p[26]:
|
|
2152
|
-
this.
|
|
2162
|
+
this.gw();
|
|
2153
2163
|
break;
|
|
2154
2164
|
case "SelectedItem":
|
|
2155
|
-
if (!this.
|
|
2156
|
-
this.
|
|
2165
|
+
if (!this.b6) {
|
|
2166
|
+
this.gr();
|
|
2167
|
+
this.gz();
|
|
2157
2168
|
this.gy();
|
|
2158
|
-
this.gx();
|
|
2159
2169
|
}
|
|
2160
2170
|
break;
|
|
2161
2171
|
case PieChartBase.$$p[44]:
|
|
@@ -2173,17 +2183,17 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2173
2183
|
else {
|
|
2174
2184
|
this.selectedItems.add1(this.selectedItem);
|
|
2175
2185
|
}
|
|
2176
|
-
this.
|
|
2186
|
+
this.hb();
|
|
2177
2187
|
}
|
|
2178
2188
|
}
|
|
2179
|
-
this.
|
|
2180
|
-
this.
|
|
2181
|
-
this.
|
|
2189
|
+
this.ha();
|
|
2190
|
+
this.gr();
|
|
2191
|
+
this.gz();
|
|
2182
2192
|
break;
|
|
2183
2193
|
}
|
|
2184
2194
|
}
|
|
2185
2195
|
ao(a) {
|
|
2186
|
-
if (!this.
|
|
2196
|
+
if (!this.ch || !this.ci || this.itemsSource != null) {
|
|
2187
2197
|
return a;
|
|
2188
2198
|
}
|
|
2189
2199
|
if (a == null) {
|
|
@@ -2196,60 +2206,60 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2196
2206
|
}
|
|
2197
2207
|
return b;
|
|
2198
2208
|
}
|
|
2199
|
-
|
|
2200
|
-
if (!this.
|
|
2209
|
+
i2(a) {
|
|
2210
|
+
if (!this.ch || !this.ci || this.itemsSource != null) {
|
|
2201
2211
|
return a;
|
|
2202
2212
|
}
|
|
2203
2213
|
let b = BrushUtil.h(0, 0, 0, 0);
|
|
2204
2214
|
return b;
|
|
2205
2215
|
}
|
|
2206
|
-
|
|
2207
|
-
if (this.
|
|
2216
|
+
fg(a) {
|
|
2217
|
+
if (this.ch && this.itemsSource == null) {
|
|
2208
2218
|
return "Label";
|
|
2209
2219
|
}
|
|
2210
2220
|
return a;
|
|
2211
2221
|
}
|
|
2212
|
-
|
|
2213
|
-
if (this.
|
|
2222
|
+
fi(a) {
|
|
2223
|
+
if (this.ch && this.itemsSource == null) {
|
|
2214
2224
|
return "Value";
|
|
2215
2225
|
}
|
|
2216
2226
|
return a;
|
|
2217
2227
|
}
|
|
2218
|
-
|
|
2228
|
+
cs() {
|
|
2219
2229
|
if (this.itemsSource != null) {
|
|
2220
2230
|
return this.itemsSource;
|
|
2221
2231
|
}
|
|
2222
|
-
if (!this.
|
|
2232
|
+
if (!this.ch) {
|
|
2223
2233
|
return null;
|
|
2224
2234
|
}
|
|
2225
|
-
if (this.
|
|
2226
|
-
this.
|
|
2235
|
+
if (this.cp == null) {
|
|
2236
|
+
this.cp = PieChartMockDataGenerator.a();
|
|
2227
2237
|
}
|
|
2228
|
-
return this.
|
|
2238
|
+
return this.cp;
|
|
2229
2239
|
}
|
|
2230
|
-
|
|
2231
|
-
if (this.
|
|
2240
|
+
g1(a) {
|
|
2241
|
+
if (this.b7) {
|
|
2232
2242
|
return;
|
|
2233
2243
|
}
|
|
2234
|
-
this.
|
|
2235
|
-
if (this.
|
|
2236
|
-
this.
|
|
2244
|
+
this.hb();
|
|
2245
|
+
if (this.b9) {
|
|
2246
|
+
this.gr();
|
|
2247
|
+
this.gz();
|
|
2237
2248
|
this.gy();
|
|
2238
|
-
this.gx();
|
|
2239
2249
|
}
|
|
2240
2250
|
}
|
|
2241
|
-
|
|
2251
|
+
gh(a) {
|
|
2242
2252
|
if (a.action == 4 && a.newItems == null && a.oldItems == null) {
|
|
2243
2253
|
return;
|
|
2244
2254
|
}
|
|
2245
|
-
if (this.
|
|
2255
|
+
if (this.b6) {
|
|
2246
2256
|
return;
|
|
2247
2257
|
}
|
|
2248
|
-
this.
|
|
2249
|
-
if (this.
|
|
2250
|
-
this.
|
|
2258
|
+
this.ha();
|
|
2259
|
+
if (this.b9) {
|
|
2260
|
+
this.gr();
|
|
2261
|
+
this.gz();
|
|
2251
2262
|
this.gy();
|
|
2252
|
-
this.gx();
|
|
2253
2263
|
}
|
|
2254
2264
|
let b = new ObjectCollection(0);
|
|
2255
2265
|
if (a.oldItems != null) {
|
|
@@ -2264,9 +2274,9 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2264
2274
|
}
|
|
2265
2275
|
}
|
|
2266
2276
|
let f = this.selectedItems;
|
|
2267
|
-
this.
|
|
2277
|
+
this.gg(this, new SelectedItemsChangedEventArgs(b, d, f));
|
|
2268
2278
|
}
|
|
2269
|
-
|
|
2279
|
+
gu(a, b, c) {
|
|
2270
2280
|
if (this.propertyChanged != null) {
|
|
2271
2281
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
2272
2282
|
}
|
|
@@ -2274,11 +2284,11 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2274
2284
|
this.propertyUpdated(this, new PropertyUpdatedEventArgs(a, b, c));
|
|
2275
2285
|
}
|
|
2276
2286
|
}
|
|
2277
|
-
|
|
2278
|
-
if (this.actualItemsSource == null || this.
|
|
2287
|
+
hb() {
|
|
2288
|
+
if (this.actualItemsSource == null || this.bx.a.count == 0) {
|
|
2279
2289
|
return;
|
|
2280
2290
|
}
|
|
2281
|
-
this.
|
|
2291
|
+
this.b6 = true;
|
|
2282
2292
|
let a = this.selectedSlices.count;
|
|
2283
2293
|
if (a == 0) {
|
|
2284
2294
|
if (this.selectedItems.count > 0) {
|
|
@@ -2288,9 +2298,9 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2288
2298
|
this.selectedItem = null;
|
|
2289
2299
|
}
|
|
2290
2300
|
}
|
|
2291
|
-
if (this.
|
|
2301
|
+
if (this.bk == 1) {
|
|
2292
2302
|
if (a != 0) {
|
|
2293
|
-
let b = this.
|
|
2303
|
+
let b = this.bx.a._inner[this.selectedSlices._inner[a - 1]];
|
|
2294
2304
|
if (b.isOthersSlice) {
|
|
2295
2305
|
this.selectedItem = ((() => {
|
|
2296
2306
|
let $ret = new PieSliceOthersContext();
|
|
@@ -2304,11 +2314,11 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2304
2314
|
}
|
|
2305
2315
|
}
|
|
2306
2316
|
}
|
|
2307
|
-
else if (this.
|
|
2317
|
+
else if (this.bk == 2) {
|
|
2308
2318
|
if (a != 0) {
|
|
2309
2319
|
this.selectedItems.clear();
|
|
2310
2320
|
for (let c of fromEnum(this.selectedSlices)) {
|
|
2311
|
-
let d = this.
|
|
2321
|
+
let d = this.bx.a._inner[c];
|
|
2312
2322
|
if (d.isOthersSlice) {
|
|
2313
2323
|
let e = typeCast(IEnumerable_$type, d.dataContext);
|
|
2314
2324
|
for (let f of fromEn(e)) {
|
|
@@ -2319,55 +2329,55 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2319
2329
|
this.a7.e(d.dataContext);
|
|
2320
2330
|
}
|
|
2321
2331
|
}
|
|
2322
|
-
this.selectedItem = this.
|
|
2332
|
+
this.selectedItem = this.bx.a._inner[this.selectedSlices._inner[a - 1]].dataContext;
|
|
2323
2333
|
}
|
|
2324
2334
|
}
|
|
2325
|
-
this.
|
|
2335
|
+
this.b6 = false;
|
|
2326
2336
|
}
|
|
2327
|
-
|
|
2328
|
-
if (this.actualItemsSource == null || this.
|
|
2337
|
+
ha() {
|
|
2338
|
+
if (this.actualItemsSource == null || this.bx.a.count == 0) {
|
|
2329
2339
|
return;
|
|
2330
2340
|
}
|
|
2331
|
-
this.
|
|
2341
|
+
this.b7 = true;
|
|
2332
2342
|
this.selectedSlices.clear();
|
|
2333
|
-
for (let a of fromEnum(this.
|
|
2343
|
+
for (let a of fromEnum(this.bx.a)) {
|
|
2334
2344
|
if (this.a7.d(a)) {
|
|
2335
2345
|
this.selectedSlices.add(a.a5);
|
|
2336
2346
|
}
|
|
2337
2347
|
}
|
|
2338
|
-
this.
|
|
2348
|
+
this.b7 = false;
|
|
2339
2349
|
}
|
|
2340
|
-
|
|
2341
|
-
this.
|
|
2350
|
+
g6(a, b) {
|
|
2351
|
+
this.g7(a, b, false);
|
|
2342
2352
|
}
|
|
2343
|
-
|
|
2344
|
-
if (this.
|
|
2345
|
-
if (this.
|
|
2353
|
+
g7(a, b, c) {
|
|
2354
|
+
if (this.b9) {
|
|
2355
|
+
if (this.bk == 1) {
|
|
2346
2356
|
this.a7.k(a);
|
|
2347
2357
|
}
|
|
2348
|
-
else if (this.
|
|
2358
|
+
else if (this.bk == 2) {
|
|
2349
2359
|
this.a7.i(a);
|
|
2350
2360
|
}
|
|
2351
2361
|
}
|
|
2352
2362
|
let d = new SliceClickEventArgs(a, this.a4.af(b));
|
|
2353
|
-
this.
|
|
2363
|
+
this.gk(this, d);
|
|
2354
2364
|
if (!c) {
|
|
2355
2365
|
this.a4.bo(a, b);
|
|
2356
2366
|
}
|
|
2357
2367
|
}
|
|
2358
|
-
|
|
2368
|
+
g5(a) {
|
|
2359
2369
|
this.a4.al(a);
|
|
2360
2370
|
}
|
|
2361
|
-
|
|
2371
|
+
cg(a, b) {
|
|
2362
2372
|
let c = new LabelClickEventArgs(a, this.a4.af(b));
|
|
2363
|
-
this.
|
|
2373
|
+
this.gd(this, c);
|
|
2364
2374
|
return c.allowSliceClick;
|
|
2365
2375
|
}
|
|
2366
|
-
|
|
2367
|
-
if (a != this.
|
|
2368
|
-
this.
|
|
2376
|
+
f1(a, b) {
|
|
2377
|
+
if (a != this.dn) {
|
|
2378
|
+
this.dn = a;
|
|
2369
2379
|
if (a != null) {
|
|
2370
|
-
this.
|
|
2380
|
+
this.gl(a, b);
|
|
2371
2381
|
}
|
|
2372
2382
|
}
|
|
2373
2383
|
this.a4.bo(a, b);
|
|
@@ -2375,83 +2385,85 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2375
2385
|
bf(a, b) {
|
|
2376
2386
|
return new SliceEventArgs(a, b);
|
|
2377
2387
|
}
|
|
2378
|
-
|
|
2388
|
+
bg(a, b, c) {
|
|
2389
|
+
let d = new SliceEventArgs(a, b);
|
|
2390
|
+
d.position = c;
|
|
2391
|
+
return d;
|
|
2392
|
+
}
|
|
2393
|
+
gl(a, b) {
|
|
2379
2394
|
if (this.sliceEnter != null) {
|
|
2380
2395
|
this.sliceEnter(a, this.bf(a, b));
|
|
2381
2396
|
}
|
|
2382
2397
|
}
|
|
2383
|
-
|
|
2398
|
+
gm(a, b) {
|
|
2384
2399
|
if (this.sliceLeave != null) {
|
|
2385
2400
|
this.sliceLeave(a, this.bf(a, b));
|
|
2386
2401
|
}
|
|
2387
2402
|
}
|
|
2388
|
-
|
|
2403
|
+
gn(a, b, c) {
|
|
2389
2404
|
if (this.sliceHover != null) {
|
|
2390
|
-
this.sliceHover(a, this.
|
|
2405
|
+
this.sliceHover(a, this.bg(a, b, c));
|
|
2391
2406
|
}
|
|
2392
2407
|
}
|
|
2393
|
-
|
|
2394
|
-
if (a != this.
|
|
2395
|
-
let d = this.
|
|
2408
|
+
f4(a, b, c) {
|
|
2409
|
+
if (a != this.dn) {
|
|
2410
|
+
let d = this.dn;
|
|
2396
2411
|
if (d != null) {
|
|
2397
|
-
this.
|
|
2412
|
+
this.gm(d, b);
|
|
2398
2413
|
}
|
|
2399
|
-
this.
|
|
2400
|
-
if (this.
|
|
2401
|
-
this.
|
|
2414
|
+
this.dn = a;
|
|
2415
|
+
if (this.dn != null) {
|
|
2416
|
+
this.gl(a, b);
|
|
2402
2417
|
}
|
|
2403
2418
|
}
|
|
2404
2419
|
else {
|
|
2405
|
-
if (this.
|
|
2406
|
-
this.
|
|
2420
|
+
if (this.dn != null) {
|
|
2421
|
+
this.gn(a, b, b.getPosition(this));
|
|
2407
2422
|
}
|
|
2408
2423
|
}
|
|
2409
2424
|
this.a4.bo(a, b);
|
|
2410
2425
|
}
|
|
2411
|
-
|
|
2412
|
-
this.
|
|
2426
|
+
f3(a, b) {
|
|
2427
|
+
this.f4(a, b, false);
|
|
2413
2428
|
}
|
|
2414
|
-
|
|
2429
|
+
f2(a, b) {
|
|
2415
2430
|
this.a4.am();
|
|
2416
|
-
if (this.
|
|
2417
|
-
if (this.
|
|
2418
|
-
this.
|
|
2431
|
+
if (this.dn != null) {
|
|
2432
|
+
if (this.dn != null) {
|
|
2433
|
+
this.gm(this.dn, b);
|
|
2419
2434
|
}
|
|
2420
|
-
this.
|
|
2435
|
+
this.dn = null;
|
|
2421
2436
|
}
|
|
2422
2437
|
}
|
|
2423
|
-
|
|
2424
|
-
this.
|
|
2438
|
+
gj() {
|
|
2439
|
+
this.gw();
|
|
2425
2440
|
}
|
|
2426
2441
|
provideContainer(a) {
|
|
2427
2442
|
this.a4.az(a);
|
|
2428
2443
|
}
|
|
2429
|
-
|
|
2444
|
+
gb(a, b) {
|
|
2430
2445
|
this.a4.a0(a, b);
|
|
2431
2446
|
}
|
|
2432
2447
|
notifyContainerResized() {
|
|
2433
2448
|
this.a4.ax();
|
|
2434
2449
|
}
|
|
2435
|
-
|
|
2450
|
+
i7() {
|
|
2436
2451
|
return this.a4.b2();
|
|
2437
2452
|
}
|
|
2438
|
-
|
|
2453
|
+
i6() {
|
|
2439
2454
|
return this.a4.bz();
|
|
2440
2455
|
}
|
|
2441
2456
|
destroy() {
|
|
2442
|
-
this.
|
|
2457
|
+
this.gv();
|
|
2443
2458
|
this.a4.az(null);
|
|
2444
2459
|
}
|
|
2445
|
-
|
|
2446
|
-
this.
|
|
2447
|
-
}
|
|
2448
|
-
get fp() {
|
|
2449
|
-
return this.dr;
|
|
2460
|
+
get fq() {
|
|
2461
|
+
return this.ds;
|
|
2450
2462
|
}
|
|
2451
|
-
set
|
|
2452
|
-
let b = this.
|
|
2453
|
-
this.
|
|
2454
|
-
this.
|
|
2463
|
+
set fq(a) {
|
|
2464
|
+
let b = this.ds;
|
|
2465
|
+
this.ds = a;
|
|
2466
|
+
this.gu("TextStyle", b, a);
|
|
2455
2467
|
}
|
|
2456
2468
|
get container() {
|
|
2457
2469
|
return this;
|
|
@@ -2471,91 +2483,91 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2471
2483
|
get hasSubItems() {
|
|
2472
2484
|
return false;
|
|
2473
2485
|
}
|
|
2474
|
-
|
|
2475
|
-
if (a == null || this.
|
|
2486
|
+
c9(a) {
|
|
2487
|
+
if (a == null || this.bv == null || this.co == null) {
|
|
2476
2488
|
return NaN;
|
|
2477
2489
|
}
|
|
2478
2490
|
if (a.isOthersSlice) {
|
|
2479
|
-
return this.
|
|
2491
|
+
return this.de / this.dj * 100;
|
|
2480
2492
|
}
|
|
2481
2493
|
else {
|
|
2482
|
-
return this.
|
|
2494
|
+
return this.bv.item(this.co._inner[a.a5]) / this.dj * 100;
|
|
2483
2495
|
}
|
|
2484
2496
|
}
|
|
2485
|
-
|
|
2497
|
+
f9(source_, a, b, c) {
|
|
2486
2498
|
if (source_.dataView && source_.dataSource) {
|
|
2487
2499
|
source_ = source_.dataView();
|
|
2488
2500
|
}
|
|
2489
2501
|
;
|
|
2490
|
-
if (!this.
|
|
2502
|
+
if (!this.cj(source_)) {
|
|
2491
2503
|
return;
|
|
2492
2504
|
}
|
|
2493
|
-
let d = this.
|
|
2505
|
+
let d = this.bm;
|
|
2494
2506
|
if (d == null) {
|
|
2495
2507
|
return;
|
|
2496
2508
|
}
|
|
2497
2509
|
d.handleCollectionChanged(new NotifyCollectionChangedEventArgs(2, 2, c, b, a));
|
|
2498
2510
|
}
|
|
2499
|
-
|
|
2511
|
+
f5(source_) {
|
|
2500
2512
|
if (source_.dataView && source_.dataSource) {
|
|
2501
2513
|
source_ = source_.dataView();
|
|
2502
2514
|
}
|
|
2503
2515
|
;
|
|
2504
|
-
if (!this.
|
|
2516
|
+
if (!this.cj(source_)) {
|
|
2505
2517
|
return;
|
|
2506
2518
|
}
|
|
2507
|
-
let a = this.
|
|
2519
|
+
let a = this.bm;
|
|
2508
2520
|
a.handleCollectionChanged(new NotifyCollectionChangedEventArgs(0, 4));
|
|
2509
2521
|
}
|
|
2510
|
-
|
|
2511
|
-
return PieChartBase.
|
|
2522
|
+
cj(a) {
|
|
2523
|
+
return PieChartBase.ck(a, this.itemsSource);
|
|
2512
2524
|
}
|
|
2513
|
-
static
|
|
2525
|
+
static ck(a, b) {
|
|
2514
2526
|
return a == b;
|
|
2515
2527
|
}
|
|
2516
|
-
|
|
2528
|
+
f7(source_, a, b) {
|
|
2517
2529
|
if (source_.dataView && source_.dataSource) {
|
|
2518
2530
|
source_ = source_.dataView();
|
|
2519
2531
|
}
|
|
2520
2532
|
;
|
|
2521
|
-
if (!this.
|
|
2533
|
+
if (!this.cj(source_)) {
|
|
2522
2534
|
return;
|
|
2523
2535
|
}
|
|
2524
|
-
let c = this.
|
|
2536
|
+
let c = this.bm;
|
|
2525
2537
|
if (c == null) {
|
|
2526
2538
|
return;
|
|
2527
2539
|
}
|
|
2528
2540
|
c.handleCollectionChanged(new NotifyCollectionChangedEventArgs(1, 0, b, a));
|
|
2529
2541
|
}
|
|
2530
|
-
|
|
2542
|
+
f8(source_, a, b) {
|
|
2531
2543
|
if (source_.dataView && source_.dataSource) {
|
|
2532
2544
|
source_ = source_.dataView();
|
|
2533
2545
|
}
|
|
2534
2546
|
;
|
|
2535
|
-
if (!this.
|
|
2547
|
+
if (!this.cj(source_)) {
|
|
2536
2548
|
return;
|
|
2537
2549
|
}
|
|
2538
|
-
let c = this.
|
|
2550
|
+
let c = this.bm;
|
|
2539
2551
|
if (c == null) {
|
|
2540
2552
|
return;
|
|
2541
2553
|
}
|
|
2542
2554
|
c.handleCollectionChanged(new NotifyCollectionChangedEventArgs(1, 1, b, a));
|
|
2543
2555
|
}
|
|
2544
|
-
|
|
2556
|
+
g4(source_) {
|
|
2545
2557
|
if (source_.dataView && source_.dataSource) {
|
|
2546
2558
|
source_ = source_.dataView();
|
|
2547
2559
|
}
|
|
2548
2560
|
;
|
|
2549
2561
|
this.itemsSource = source_;
|
|
2550
2562
|
}
|
|
2551
|
-
|
|
2563
|
+
gv() {
|
|
2552
2564
|
this.itemsSource = null;
|
|
2553
2565
|
}
|
|
2554
|
-
|
|
2566
|
+
g9() {
|
|
2555
2567
|
this.a4.bi();
|
|
2556
2568
|
}
|
|
2557
|
-
|
|
2558
|
-
return FontUtil.toFontInfo(this.a4.c.n, this.
|
|
2569
|
+
bn() {
|
|
2570
|
+
return FontUtil.toFontInfo(this.a4.c.n, this.fq);
|
|
2559
2571
|
}
|
|
2560
2572
|
resolveLegendIndex() {
|
|
2561
2573
|
return -1;
|
|
@@ -2564,29 +2576,29 @@ export let PieChartBase = /*@__PURE__*/ (() => {
|
|
|
2564
2576
|
}
|
|
2565
2577
|
}
|
|
2566
2578
|
PieChartBase.$t = /*@__PURE__*/ markType(PieChartBase, 'PieChartBase', Control.$, [INotifyPropertyChanged_$type, ILegendOwner_$type, ILegendSeries_$type, ILegendTemplateProvider_$type]);
|
|
2567
|
-
PieChartBase.
|
|
2568
|
-
PieChartBase.
|
|
2569
|
-
PieChartBase.
|
|
2579
|
+
PieChartBase.hp = /*@__PURE__*/ DependencyProperty.i("InnerExtent", Number_$type, PieChartBase.$, /*@__PURE__*/ new PropertyMetadata(2, 0, (a, b) => a.gu("InnerExtent", b.oldValue, b.newValue)));
|
|
2580
|
+
PieChartBase.h0 = /*@__PURE__*/ DependencyProperty.i("LabelTemplate", DataTemplate.$, PieChartBase.$, /*@__PURE__*/ new PropertyMetadata(2, null, (a, b) => a.gu("LabelTemplate", b.oldValue, b.newValue)));
|
|
2581
|
+
PieChartBase.io = /*@__PURE__*/ DependencyProperty.i("SelectedItem", Base.$, PieChartBase.$, /*@__PURE__*/ new PropertyMetadata(1, (a, b) => {
|
|
2570
2582
|
let c = typeCast(PieChartBase.$, a);
|
|
2571
|
-
if (c.
|
|
2583
|
+
if (c.b5) {
|
|
2572
2584
|
return;
|
|
2573
2585
|
}
|
|
2574
2586
|
let d = new SelectedItemChangingEventArgs(b.oldValue, b.newValue);
|
|
2575
|
-
c.
|
|
2587
|
+
c.gf(c, d);
|
|
2576
2588
|
if (!d.cancel) {
|
|
2577
|
-
if (!c.
|
|
2578
|
-
c.
|
|
2589
|
+
if (!c.b6) {
|
|
2590
|
+
c.ha();
|
|
2579
2591
|
}
|
|
2580
|
-
c.
|
|
2581
|
-
c.
|
|
2592
|
+
c.gu("SelectedItem", b.oldValue, b.newValue);
|
|
2593
|
+
c.ge(a, new SelectedItemChangedEventArgs(b.oldValue, b.newValue));
|
|
2582
2594
|
}
|
|
2583
2595
|
else {
|
|
2584
|
-
c.
|
|
2596
|
+
c.b5 = true;
|
|
2585
2597
|
c.selectedItem = b.oldValue;
|
|
2586
|
-
c.
|
|
2598
|
+
c.b5 = false;
|
|
2587
2599
|
}
|
|
2588
2600
|
}));
|
|
2589
|
-
PieChartBase.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, PieChartBase, '
|
|
2601
|
+
PieChartBase.$$p = /*@__PURE__*/ 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, /*@__PURE__*/ enumGetBox(LabelsPosition_$type, 1)], 'LeaderLineMargin:dc:h1', [1, 6], 'LeaderLineStyle:ja:h2', [Style.$, null], 'LeaderLineType:a0:h3', [LeaderLineType_$type, /*@__PURE__*/ enumGetBox(LeaderLineType_$type, 0)], 'LeaderLineVisibility:je:h4', [Visibility_$type, /*@__PURE__*/ enumGetBox(Visibility_$type, 0)], 'LegendEmptyValuesMode:a1:h5', [LegendEmptyValuesMode_$type, /*@__PURE__*/ 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, /*@__PURE__*/ 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, /*@__PURE__*/ enumGetBox(SliceSelectionMode_$type, 1)], 'ShouldDisplayMockData:ch:ir', [0, false], 'ShouldUseSkeletonStyleForMockData:ci:is', [0, false], 'StartAngle:di:it', [1, 0], 'SweepDirection:i3:iu', [SweepDirection_$type, /*@__PURE__*/ enumGetBox(SweepDirection_$type, 1)], 'ToolTip:dr:iv', [4, null], 'ToolTipStyle:jd:iw', [Style.$, null], 'ValueMemberPath:fv:ix', [2, null]]);
|
|
2590
2602
|
return PieChartBase;
|
|
2591
2603
|
})();
|
|
2592
2604
|
/**
|
|
@@ -2601,7 +2613,7 @@ export let PieChartSliceSelector = /*@__PURE__*/ (() => {
|
|
|
2601
2613
|
}
|
|
2602
2614
|
d(a) {
|
|
2603
2615
|
let b = a.dataContext;
|
|
2604
|
-
if (this.a.
|
|
2616
|
+
if (this.a.bk == 1) {
|
|
2605
2617
|
if (a.isOthersSlice) {
|
|
2606
2618
|
let c = typeCast(IList_$type, b);
|
|
2607
2619
|
if (c != null && c.contains(this.a.selectedItem)) {
|
|
@@ -2615,12 +2627,12 @@ export let PieChartSliceSelector = /*@__PURE__*/ (() => {
|
|
|
2615
2627
|
return true;
|
|
2616
2628
|
}
|
|
2617
2629
|
}
|
|
2618
|
-
else if (this.a.
|
|
2630
|
+
else if (this.a.bk == 2) {
|
|
2619
2631
|
if (this.c(a)) {
|
|
2620
2632
|
return true;
|
|
2621
2633
|
}
|
|
2622
2634
|
}
|
|
2623
|
-
else if (this.a.
|
|
2635
|
+
else if (this.a.bk == 0) {
|
|
2624
2636
|
if (this.a.selectedSlices.contains(a.a5)) {
|
|
2625
2637
|
return true;
|
|
2626
2638
|
}
|
|
@@ -2689,7 +2701,7 @@ export let PieChartSliceSelector = /*@__PURE__*/ (() => {
|
|
|
2689
2701
|
}
|
|
2690
2702
|
g(a) {
|
|
2691
2703
|
let b = new SelectedItemsChangingEventArgs(this.a.selectedItems, new ObjectCollection(0), this.a.selectedItems);
|
|
2692
|
-
this.a.
|
|
2704
|
+
this.a.gi(this, b);
|
|
2693
2705
|
if (!b.cancel) {
|
|
2694
2706
|
this.a.selectedItems.remove1(a);
|
|
2695
2707
|
}
|
|
@@ -2701,7 +2713,7 @@ export let PieChartSliceSelector = /*@__PURE__*/ (() => {
|
|
|
2701
2713
|
$ret.add1(a);
|
|
2702
2714
|
return $ret;
|
|
2703
2715
|
})()), this.a.selectedItems);
|
|
2704
|
-
this.a.
|
|
2716
|
+
this.a.gi(this, b);
|
|
2705
2717
|
if (!b.cancel) {
|
|
2706
2718
|
this.a.selectedItems.add1(a);
|
|
2707
2719
|
}
|
|
@@ -2839,23 +2851,23 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
2839
2851
|
this.al.c();
|
|
2840
2852
|
}
|
|
2841
2853
|
az() {
|
|
2842
|
-
let a = Math.abs(PieChartBase.
|
|
2854
|
+
let a = Math.abs(PieChartBase.dh(this.ax - this.a3)) == 360;
|
|
2843
2855
|
if (a) {
|
|
2844
2856
|
return this.a2;
|
|
2845
2857
|
}
|
|
2846
2858
|
return this.a2;
|
|
2847
2859
|
}
|
|
2848
2860
|
cb() {
|
|
2849
|
-
let a = (this.ai != null && this.ai.
|
|
2861
|
+
let a = (this.ai != null && this.ai.b8) ? true : false;
|
|
2850
2862
|
let b = this.az();
|
|
2851
|
-
if (this.isExploded && a && this.ai.
|
|
2863
|
+
if (this.isExploded && a && this.ai.dm > 1) {
|
|
2852
2864
|
let c = new Rect(0, this.b5.x - b, this.b5.y - b, b * 2, b * 2);
|
|
2853
2865
|
return c;
|
|
2854
2866
|
}
|
|
2855
2867
|
return new Rect(0, this.b7.x - b, this.b7.y - b, b * 2, b * 2);
|
|
2856
2868
|
}
|
|
2857
2869
|
b6() {
|
|
2858
|
-
if (this.isExploded && this.ai != null && this.ai.
|
|
2870
|
+
if (this.isExploded && this.ai != null && this.ai.b8 && this.ai.dm > 1) {
|
|
2859
2871
|
if (this.aq) {
|
|
2860
2872
|
return this.b3;
|
|
2861
2873
|
}
|
|
@@ -2878,7 +2890,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
2878
2890
|
return;
|
|
2879
2891
|
}
|
|
2880
2892
|
let a = this.al.f();
|
|
2881
|
-
let b = this.ai.
|
|
2893
|
+
let b = this.ai.i9;
|
|
2882
2894
|
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) {
|
|
2883
2895
|
return;
|
|
2884
2896
|
}
|
|
@@ -2891,7 +2903,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
2891
2903
|
let h = Slice.b4(MathUtil.o(this.ax), c, f, d, 100);
|
|
2892
2904
|
let i = Slice.b4(MathUtil.o(this.ax), c, f, this.a2, this.a0);
|
|
2893
2905
|
let j = Slice.b4(MathUtil.o(this.a3), c, f, this.a2, this.a1);
|
|
2894
|
-
let k = Math.abs(PieChartBase.
|
|
2906
|
+
let k = Math.abs(PieChartBase.dh(this.ax - this.a3)) == 360;
|
|
2895
2907
|
if (k) {
|
|
2896
2908
|
this.cc = this.b8;
|
|
2897
2909
|
if (this.a0 == 0) {
|
|
@@ -3078,7 +3090,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3078
3090
|
let as = aq;
|
|
3079
3091
|
let at = new Rect(0, 0, 0, b.width, b.height);
|
|
3080
3092
|
at.intersect(as);
|
|
3081
|
-
let au = GeometryUtil.
|
|
3093
|
+
let au = GeometryUtil.j((this.a3 + this.ax) / 2);
|
|
3082
3094
|
let av = au / 180 * Math.PI;
|
|
3083
3095
|
let aw = Math.abs((as.height - at.height) / Math.sin(av));
|
|
3084
3096
|
let ax = Math.abs((as.width - at.width) / Math.cos(av));
|
|
@@ -3089,7 +3101,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3089
3101
|
ax = 0;
|
|
3090
3102
|
}
|
|
3091
3103
|
let ay = Math.max(aw, ax);
|
|
3092
|
-
let az = GeometryUtil.
|
|
3104
|
+
let az = GeometryUtil.m(this.ai.i9.width, this.ai.i9.height, true, au, this.a2 * this.ai.c0 - ay);
|
|
3093
3105
|
this.al.d(az.x - this.b5.x, az.y - this.b5.y);
|
|
3094
3106
|
this.aq = true;
|
|
3095
3107
|
this.b3 = az;
|
|
@@ -3101,7 +3113,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3101
3113
|
}
|
|
3102
3114
|
}
|
|
3103
3115
|
ap(a) {
|
|
3104
|
-
let b = this.ai.
|
|
3116
|
+
let b = this.ai.i9;
|
|
3105
3117
|
if (this._visibility == 1) {
|
|
3106
3118
|
return false;
|
|
3107
3119
|
}
|
|
@@ -3112,7 +3124,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3112
3124
|
let d = ((this.a0 / 100) * c);
|
|
3113
3125
|
let e = c;
|
|
3114
3126
|
let f = this.b7;
|
|
3115
|
-
if (this.isExploded && this.ai.
|
|
3127
|
+
if (this.isExploded && this.ai.b8 && this.ai.dm > 1) {
|
|
3116
3128
|
f = this.b5;
|
|
3117
3129
|
if (this.aq) {
|
|
3118
3130
|
f = this.b3;
|
|
@@ -3129,7 +3141,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3129
3141
|
return this.ao(j);
|
|
3130
3142
|
}
|
|
3131
3143
|
ao(a) {
|
|
3132
|
-
a = GeometryUtil.
|
|
3144
|
+
a = GeometryUtil.j(a);
|
|
3133
3145
|
let b = Math.min(this.a3, this.ax);
|
|
3134
3146
|
let c = Math.max(this.a3, this.ax);
|
|
3135
3147
|
return (a > b && a < c) || (a - 360 > b && a - 360 < c) || (a + 360 > b && a + 360 < c);
|
|
@@ -3139,19 +3151,19 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3139
3151
|
h.add(b);
|
|
3140
3152
|
h.add(c);
|
|
3141
3153
|
h.add(f);
|
|
3142
|
-
d = GeometryUtil.
|
|
3143
|
-
e = GeometryUtil.
|
|
3154
|
+
d = GeometryUtil.j(d);
|
|
3155
|
+
e = GeometryUtil.j(e);
|
|
3144
3156
|
if ((0 > d && 0 < e) || (360 > d && 360 < e) || (e < d)) {
|
|
3145
|
-
h.add(GeometryUtil.
|
|
3157
|
+
h.add(GeometryUtil.n(f, 0, g));
|
|
3146
3158
|
}
|
|
3147
3159
|
if (90 > d && 90 < e) {
|
|
3148
|
-
h.add(GeometryUtil.
|
|
3160
|
+
h.add(GeometryUtil.n(f, 90, g));
|
|
3149
3161
|
}
|
|
3150
3162
|
if (180 > d && 180 < e) {
|
|
3151
|
-
h.add(GeometryUtil.
|
|
3163
|
+
h.add(GeometryUtil.n(f, 180, g));
|
|
3152
3164
|
}
|
|
3153
3165
|
if (270 > d && 270 < e) {
|
|
3154
|
-
h.add(GeometryUtil.
|
|
3166
|
+
h.add(GeometryUtil.n(f, 270, g));
|
|
3155
3167
|
}
|
|
3156
3168
|
let i = 1.7976931348623157E+308;
|
|
3157
3169
|
let j = 1.7976931348623157E+308;
|
|
@@ -3193,7 +3205,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3193
3205
|
a.labelAppearance.labelBrush = AppearanceHelper.b(b.ao);
|
|
3194
3206
|
a.labelAppearance.text = b.al;
|
|
3195
3207
|
if (this.ai != null) {
|
|
3196
|
-
c = this.ai.
|
|
3208
|
+
c = this.ai.bn();
|
|
3197
3209
|
if (c == null) {
|
|
3198
3210
|
c = this.ai.a4.b.c;
|
|
3199
3211
|
}
|
|
@@ -3249,7 +3261,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3249
3261
|
if (!c.av) {
|
|
3250
3262
|
let d = b.newValue;
|
|
3251
3263
|
if (c.ai != null) {
|
|
3252
|
-
c.ai.
|
|
3264
|
+
c.ai.g2(c, d);
|
|
3253
3265
|
}
|
|
3254
3266
|
}
|
|
3255
3267
|
}));
|
|
@@ -3257,7 +3269,7 @@ export let Slice = /*@__PURE__*/ (() => {
|
|
|
3257
3269
|
let c = typeCast(Slice.$, a);
|
|
3258
3270
|
let d = b.newValue;
|
|
3259
3271
|
if (c.ai != null) {
|
|
3260
|
-
c.ai.
|
|
3272
|
+
c.ai.fz(c, d);
|
|
3261
3273
|
}
|
|
3262
3274
|
}));
|
|
3263
3275
|
Slice.bu = /*@__PURE__*/ DependencyProperty.i("IsOtherSlice", Boolean_$type, Slice.$, /*@__PURE__*/ new PropertyMetadata(2, false, (a, b) => a.bk()));
|
|
@@ -3324,8 +3336,8 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3324
3336
|
if (this.a.an == null) {
|
|
3325
3337
|
this.a.an = a.b;
|
|
3326
3338
|
}
|
|
3327
|
-
if (this.a.
|
|
3328
|
-
this.a.
|
|
3339
|
+
if (this.a.jc == null) {
|
|
3340
|
+
this.a.jc = ((() => {
|
|
3329
3341
|
let $ret = new Style();
|
|
3330
3342
|
$ret.fill = a.h != null ? a.h.color.colorString : null;
|
|
3331
3343
|
$ret.stroke = a.i != null ? a.i.color.colorString : null;
|
|
@@ -3335,8 +3347,8 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3335
3347
|
})());
|
|
3336
3348
|
}
|
|
3337
3349
|
this.b = a;
|
|
3338
|
-
if (this.a.
|
|
3339
|
-
this.b.c = this.a.
|
|
3350
|
+
if (this.a.fq != null) {
|
|
3351
|
+
this.b.c = this.a.bn();
|
|
3340
3352
|
}
|
|
3341
3353
|
}
|
|
3342
3354
|
ay() {
|
|
@@ -3369,7 +3381,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3369
3381
|
}
|
|
3370
3382
|
bb() {
|
|
3371
3383
|
this.b4 = this.c.ao();
|
|
3372
|
-
this.a.
|
|
3384
|
+
this.a.gj();
|
|
3373
3385
|
}
|
|
3374
3386
|
aw() {
|
|
3375
3387
|
if (!this.l) {
|
|
@@ -3388,9 +3400,9 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3388
3400
|
this.c.w(this.b4.width, this.b4.height);
|
|
3389
3401
|
let a = this.k == this.j;
|
|
3390
3402
|
if (this.k != null && this.k.d && !a) {
|
|
3391
|
-
if (this.a.
|
|
3403
|
+
if (this.a.c2 != 1) {
|
|
3392
3404
|
this.k.aa();
|
|
3393
|
-
this.k.ab(this.a.
|
|
3405
|
+
this.k.ab(this.a.c2, this.a.c2);
|
|
3394
3406
|
}
|
|
3395
3407
|
if (!this.b1.isEmpty) {
|
|
3396
3408
|
if (!this.k.e) {
|
|
@@ -3399,9 +3411,9 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3399
3411
|
}
|
|
3400
3412
|
}
|
|
3401
3413
|
if (this.i != null && this.i.d && !a) {
|
|
3402
|
-
if (this.a.
|
|
3414
|
+
if (this.a.c2 != 1) {
|
|
3403
3415
|
this.i.aa();
|
|
3404
|
-
this.i.ab(this.a.
|
|
3416
|
+
this.i.ab(this.a.c2, this.a.c2);
|
|
3405
3417
|
}
|
|
3406
3418
|
if (!this.b1.isEmpty) {
|
|
3407
3419
|
if (!this.i.e) {
|
|
@@ -3410,9 +3422,9 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3410
3422
|
}
|
|
3411
3423
|
}
|
|
3412
3424
|
if (this.j != null && this.j.d) {
|
|
3413
|
-
if (this.a.
|
|
3425
|
+
if (this.a.c2 != 1) {
|
|
3414
3426
|
this.j.aa();
|
|
3415
|
-
this.j.ab(this.a.
|
|
3427
|
+
this.j.ab(this.a.c2, this.a.c2);
|
|
3416
3428
|
}
|
|
3417
3429
|
if (!this.b1.isEmpty) {
|
|
3418
3430
|
if (!this.j.e) {
|
|
@@ -3421,9 +3433,9 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3421
3433
|
}
|
|
3422
3434
|
}
|
|
3423
3435
|
if (this.h != null && this.h.d && !a) {
|
|
3424
|
-
if (this.a.
|
|
3436
|
+
if (this.a.c2 != 1) {
|
|
3425
3437
|
this.h.aa();
|
|
3426
|
-
this.h.ab(this.a.
|
|
3438
|
+
this.h.ab(this.a.c2, this.a.c2);
|
|
3427
3439
|
}
|
|
3428
3440
|
if (!this.b1.isEmpty) {
|
|
3429
3441
|
if (!this.h.e) {
|
|
@@ -3432,7 +3444,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3432
3444
|
}
|
|
3433
3445
|
}
|
|
3434
3446
|
this.a7();
|
|
3435
|
-
if (!this.b1.isEmpty && this.a.
|
|
3447
|
+
if (!this.b1.isEmpty && this.a.c2 != 1) {
|
|
3436
3448
|
if (this.k != null && this.k.d && !a) {
|
|
3437
3449
|
this.k.z();
|
|
3438
3450
|
}
|
|
@@ -3455,8 +3467,8 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3455
3467
|
}
|
|
3456
3468
|
if (this.i != null && this.i.d) {
|
|
3457
3469
|
let a = this.b.c;
|
|
3458
|
-
if (this.a.
|
|
3459
|
-
a = this.a.
|
|
3470
|
+
if (this.a.fq != null) {
|
|
3471
|
+
a = this.a.bn();
|
|
3460
3472
|
}
|
|
3461
3473
|
this.i.ad(a);
|
|
3462
3474
|
for (let b of fromEnum(this.u)) {
|
|
@@ -3489,16 +3501,16 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3489
3501
|
if (this.a.a0 != 0 && b.aq != null) {
|
|
3490
3502
|
b.aq._stroke = d;
|
|
3491
3503
|
b.aq.ad = 1;
|
|
3492
|
-
if (this.a.
|
|
3493
|
-
this.i.j(b.aq, this.a.
|
|
3504
|
+
if (this.a.ja != null) {
|
|
3505
|
+
this.i.j(b.aq, this.a.ja);
|
|
3494
3506
|
}
|
|
3495
3507
|
this.i.t(b.aq);
|
|
3496
3508
|
}
|
|
3497
3509
|
if (this.a.a0 == 0 && b.ap != null) {
|
|
3498
3510
|
b.ap._stroke = d;
|
|
3499
3511
|
b.ap.ad = 1;
|
|
3500
|
-
if (this.a.
|
|
3501
|
-
this.i.j(b.ap, this.a.
|
|
3512
|
+
if (this.a.ja != null) {
|
|
3513
|
+
this.i.j(b.ap, this.a.ja);
|
|
3502
3514
|
}
|
|
3503
3515
|
this.i.s(b.ap);
|
|
3504
3516
|
}
|
|
@@ -3570,7 +3582,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3570
3582
|
$ret.position = a;
|
|
3571
3583
|
return $ret;
|
|
3572
3584
|
})());
|
|
3573
|
-
this.a.
|
|
3585
|
+
this.a.f2(this.f, e);
|
|
3574
3586
|
}
|
|
3575
3587
|
else if (this.f != null) {
|
|
3576
3588
|
let f = ((() => {
|
|
@@ -3578,7 +3590,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3578
3590
|
$ret.position = a;
|
|
3579
3591
|
return $ret;
|
|
3580
3592
|
})());
|
|
3581
|
-
this.a.
|
|
3593
|
+
this.a.f3(this.f, f);
|
|
3582
3594
|
}
|
|
3583
3595
|
}
|
|
3584
3596
|
aj(a) {
|
|
@@ -3589,7 +3601,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3589
3601
|
$ret.position = a;
|
|
3590
3602
|
return $ret;
|
|
3591
3603
|
})());
|
|
3592
|
-
this.a.
|
|
3604
|
+
this.a.f2(b, c);
|
|
3593
3605
|
}
|
|
3594
3606
|
ai(a) {
|
|
3595
3607
|
this.m = false;
|
|
@@ -3597,10 +3609,10 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3597
3609
|
this.bk(a);
|
|
3598
3610
|
}
|
|
3599
3611
|
al(a) {
|
|
3600
|
-
if (!this.a.
|
|
3612
|
+
if (!this.a.ce || !this.m) {
|
|
3601
3613
|
this.aq(a);
|
|
3602
3614
|
}
|
|
3603
|
-
if (this.a.
|
|
3615
|
+
if (this.a.ce && this.m) {
|
|
3604
3616
|
let b = this.f;
|
|
3605
3617
|
this.f = null;
|
|
3606
3618
|
let c = ((() => {
|
|
@@ -3608,7 +3620,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3608
3620
|
$ret.position = a;
|
|
3609
3621
|
return $ret;
|
|
3610
3622
|
})());
|
|
3611
|
-
this.a.
|
|
3623
|
+
this.a.f2(b, c);
|
|
3612
3624
|
}
|
|
3613
3625
|
this.m = false;
|
|
3614
3626
|
this.by = { $type: Point_$type, x: NaN, y: NaN };
|
|
@@ -3625,16 +3637,16 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3625
3637
|
let f = e.ao.containsPoint(a);
|
|
3626
3638
|
if (f) {
|
|
3627
3639
|
d = e;
|
|
3628
|
-
c = this.a.
|
|
3640
|
+
c = this.a.cg(e.ah, b);
|
|
3629
3641
|
break;
|
|
3630
3642
|
}
|
|
3631
3643
|
}
|
|
3632
3644
|
this.bk(a);
|
|
3633
3645
|
if (this.f == null && c && d != null) {
|
|
3634
|
-
this.a.
|
|
3646
|
+
this.a.g6(d.ah, b);
|
|
3635
3647
|
}
|
|
3636
3648
|
else if (this.f != null && c) {
|
|
3637
|
-
this.a.
|
|
3649
|
+
this.a.g6(this.f, b);
|
|
3638
3650
|
}
|
|
3639
3651
|
}
|
|
3640
3652
|
bk(a) {
|
|
@@ -3667,7 +3679,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3667
3679
|
return this.o(a) || this.q(a);
|
|
3668
3680
|
}
|
|
3669
3681
|
be() {
|
|
3670
|
-
this.a.
|
|
3682
|
+
this.a.gj();
|
|
3671
3683
|
}
|
|
3672
3684
|
am() {
|
|
3673
3685
|
this.ar();
|
|
@@ -3736,14 +3748,14 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3736
3748
|
}
|
|
3737
3749
|
}
|
|
3738
3750
|
bd(a) {
|
|
3739
|
-
if (this.a.
|
|
3751
|
+
if (this.a.jb != null && a.isOthersSlice) {
|
|
3740
3752
|
a.b0 = this.bw(a.a5);
|
|
3741
3753
|
a.b1 = this.bx(a.a5);
|
|
3742
|
-
a.y = this.a.ja;
|
|
3743
|
-
}
|
|
3744
|
-
else if (a.isSelected && this.a.b8 && this.a.jb != null) {
|
|
3745
3754
|
a.y = this.a.jb;
|
|
3746
3755
|
}
|
|
3756
|
+
else if (a.isSelected && this.a.b9 && this.a.jc != null) {
|
|
3757
|
+
a.y = this.a.jc;
|
|
3758
|
+
}
|
|
3747
3759
|
else {
|
|
3748
3760
|
a.y = null;
|
|
3749
3761
|
a.b0 = this.bw(a.a5);
|
|
@@ -3764,7 +3776,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3764
3776
|
}
|
|
3765
3777
|
ae(a) {
|
|
3766
3778
|
if (a == null || a.aj == null) {
|
|
3767
|
-
return this.a.
|
|
3779
|
+
return this.a.ej;
|
|
3768
3780
|
}
|
|
3769
3781
|
let b = a.aj;
|
|
3770
3782
|
let c = b.aj;
|
|
@@ -3817,8 +3829,8 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3817
3829
|
}
|
|
3818
3830
|
an() {
|
|
3819
3831
|
let a = this.b.c;
|
|
3820
|
-
if (this.a.
|
|
3821
|
-
a = this.a.
|
|
3832
|
+
if (this.a.fq != null) {
|
|
3833
|
+
a = this.a.bn();
|
|
3822
3834
|
}
|
|
3823
3835
|
if (this.i != null) {
|
|
3824
3836
|
this.i.ad(a);
|
|
@@ -3854,7 +3866,7 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3854
3866
|
this.e.item = b.dataContext;
|
|
3855
3867
|
this.e.slice = b;
|
|
3856
3868
|
}
|
|
3857
|
-
let d = this.a.
|
|
3869
|
+
let d = this.a.i6();
|
|
3858
3870
|
let pos_ = { $type: Point_$type, x: a.x + 15 + d.x, y: a.y + 15 + d.y };
|
|
3859
3871
|
let context_ = this.e;
|
|
3860
3872
|
this.c.aj(pos_, context_);
|
|
@@ -3862,10 +3874,10 @@ export let PieChartBaseView = /*@__PURE__*/ (() => {
|
|
|
3862
3874
|
bi() {
|
|
3863
3875
|
this.bc();
|
|
3864
3876
|
this.bl();
|
|
3865
|
-
this.a.
|
|
3877
|
+
this.a.gw();
|
|
3866
3878
|
}
|
|
3867
3879
|
a3() {
|
|
3868
|
-
this.c.af(this.a.
|
|
3880
|
+
this.c.af(this.a.cf);
|
|
3869
3881
|
}
|
|
3870
3882
|
ad() {
|
|
3871
3883
|
return this.c.t();
|