@fluentui/react-charting 5.16.22 → 5.16.24
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/CHANGELOG.json +67 -1
- package/CHANGELOG.md +26 -2
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +6 -6
- package/dist/react-charting.js +0 -1
- package/dist/react-charting.min.js +0 -1
- package/lib/AreaChart.d.ts +0 -1
- package/lib/AreaChart.js +0 -2
- package/lib/AreaChart.js.map +0 -1
- package/lib/CartesianChart.d.ts +0 -1
- package/lib/CartesianChart.js +0 -2
- package/lib/CartesianChart.js.map +0 -1
- package/lib/DonutChart.d.ts +0 -1
- package/lib/DonutChart.js +0 -2
- package/lib/DonutChart.js.map +0 -1
- package/lib/GroupedVerticalBarChart.d.ts +0 -1
- package/lib/GroupedVerticalBarChart.js +0 -2
- package/lib/GroupedVerticalBarChart.js.map +0 -1
- package/lib/HeatMapChart.d.ts +0 -1
- package/lib/HeatMapChart.js +0 -2
- package/lib/HeatMapChart.js.map +0 -1
- package/lib/HorizontalBarChart.d.ts +0 -1
- package/lib/HorizontalBarChart.js +0 -2
- package/lib/HorizontalBarChart.js.map +0 -1
- package/lib/Legends.d.ts +0 -1
- package/lib/Legends.js +0 -2
- package/lib/Legends.js.map +0 -1
- package/lib/LineChart.d.ts +0 -1
- package/lib/LineChart.js +0 -2
- package/lib/LineChart.js.map +0 -1
- package/lib/PieChart.d.ts +0 -1
- package/lib/PieChart.js +0 -2
- package/lib/PieChart.js.map +0 -1
- package/lib/SankeyChart.d.ts +0 -1
- package/lib/SankeyChart.js +0 -2
- package/lib/SankeyChart.js.map +0 -1
- package/lib/Sparkline.d.ts +0 -1
- package/lib/Sparkline.js +0 -2
- package/lib/Sparkline.js.map +0 -1
- package/lib/StackedBarChart.d.ts +0 -1
- package/lib/StackedBarChart.js +0 -2
- package/lib/StackedBarChart.js.map +0 -1
- package/lib/Styling.d.ts +0 -2
- package/lib/Styling.js +0 -8
- package/lib/Styling.js.map +0 -1
- package/lib/TreeChart.d.ts +0 -1
- package/lib/TreeChart.js +0 -2
- package/lib/TreeChart.js.map +0 -1
- package/lib/Utilities.d.ts +0 -2
- package/lib/Utilities.js +0 -20
- package/lib/Utilities.js.map +0 -1
- package/lib/VerticalBarChart.d.ts +0 -1
- package/lib/VerticalBarChart.js +0 -2
- package/lib/VerticalBarChart.js.map +0 -1
- package/lib/VerticalStackedBarChart.d.ts +0 -1
- package/lib/VerticalStackedBarChart.js +0 -2
- package/lib/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.base.d.ts +0 -92
- package/lib/components/AreaChart/AreaChart.base.js +0 -562
- package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.d.ts +0 -3
- package/lib/components/AreaChart/AreaChart.js +0 -6
- package/lib/components/AreaChart/AreaChart.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib/components/AreaChart/AreaChart.styles.js +0 -7
- package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.types.d.ts +0 -37
- package/lib/components/AreaChart/AreaChart.types.js +0 -2
- package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib/components/AreaChart/index.d.ts +0 -2
- package/lib/components/AreaChart/index.js +0 -3
- package/lib/components/AreaChart/index.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -43
- package/lib/components/CommonComponents/CartesianChart.base.js +0 -331
- package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.d.ts +0 -3
- package/lib/components/CommonComponents/CartesianChart.js +0 -5
- package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib/components/CommonComponents/CartesianChart.styles.js +0 -163
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -428
- package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib/components/CommonComponents/index.d.ts +0 -2
- package/lib/components/CommonComponents/index.js +0 -3
- package/lib/components/CommonComponents/index.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
- package/lib/components/DonutChart/Arc/Arc.js +0 -86
- package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib/components/DonutChart/Arc/Arc.styles.js +0 -28
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -124
- package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
- package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib/components/DonutChart/Arc/index.js +0 -3
- package/lib/components/DonutChart/Arc/index.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.base.d.ts +0 -50
- package/lib/components/DonutChart/DonutChart.base.js +0 -211
- package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.d.ts +0 -3
- package/lib/components/DonutChart/DonutChart.js +0 -6
- package/lib/components/DonutChart/DonutChart.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib/components/DonutChart/DonutChart.styles.js +0 -30
- package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +0 -63
- package/lib/components/DonutChart/DonutChart.types.js +0 -2
- package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib/components/DonutChart/Pie/Pie.js +0 -71
- package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -96
- package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
- package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib/components/DonutChart/Pie/index.js +0 -3
- package/lib/components/DonutChart/Pie/index.js.map +0 -1
- package/lib/components/DonutChart/index.d.ts +0 -3
- package/lib/components/DonutChart/index.js +0 -4
- package/lib/components/DonutChart/index.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -381
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -6
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/index.js +0 -3
- package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
- package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -498
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -3
- package/lib/components/HeatMapChart/HeatMapChart.js +0 -5
- package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
- package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
- package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib/components/HeatMapChart/index.d.ts +0 -2
- package/lib/components/HeatMapChart/index.js +0 -3
- package/lib/components/HeatMapChart/index.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -237
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -6
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -6
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib/components/HorizontalBarChart/index.js +0 -4
- package/lib/components/HorizontalBarChart/index.js.map +0 -1
- package/lib/components/Legends/Legends.base.d.ts +0 -44
- package/lib/components/Legends/Legends.base.js +0 -293
- package/lib/components/Legends/Legends.base.js.map +0 -1
- package/lib/components/Legends/Legends.d.ts +0 -3
- package/lib/components/Legends/Legends.js +0 -5
- package/lib/components/Legends/Legends.js.map +0 -1
- package/lib/components/Legends/Legends.styles.d.ts +0 -2
- package/lib/components/Legends/Legends.styles.js +0 -103
- package/lib/components/Legends/Legends.styles.js.map +0 -1
- package/lib/components/Legends/Legends.types.d.ts +0 -169
- package/lib/components/Legends/Legends.types.js +0 -2
- package/lib/components/Legends/Legends.types.js.map +0 -1
- package/lib/components/Legends/index.d.ts +0 -3
- package/lib/components/Legends/index.js +0 -4
- package/lib/components/Legends/index.js.map +0 -1
- package/lib/components/Legends/shape.d.ts +0 -9
- package/lib/components/Legends/shape.js +0 -24
- package/lib/components/Legends/shape.js.map +0 -1
- package/lib/components/LineChart/LineChart.base.d.ts +0 -84
- package/lib/components/LineChart/LineChart.base.js +0 -815
- package/lib/components/LineChart/LineChart.base.js.map +0 -1
- package/lib/components/LineChart/LineChart.d.ts +0 -3
- package/lib/components/LineChart/LineChart.js +0 -6
- package/lib/components/LineChart/LineChart.js.map +0 -1
- package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib/components/LineChart/LineChart.styles.js +0 -7
- package/lib/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib/components/LineChart/LineChart.types.d.ts +0 -72
- package/lib/components/LineChart/LineChart.types.js +0 -2
- package/lib/components/LineChart/LineChart.types.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -93
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
- package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -37
- package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib/components/LineChart/index.d.ts +0 -3
- package/lib/components/LineChart/index.js +0 -4
- package/lib/components/LineChart/index.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.d.ts +0 -12
- package/lib/components/PieChart/Arc/Arc.js +0 -57
- package/lib/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -2
- package/lib/components/PieChart/Arc/Arc.styles.js +0 -8
- package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -60
- package/lib/components/PieChart/Arc/Arc.types.js +0 -2
- package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib/components/PieChart/Arc/index.d.ts +0 -2
- package/lib/components/PieChart/Arc/index.js +0 -3
- package/lib/components/PieChart/Arc/index.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib/components/PieChart/Pie/Pie.js +0 -35
- package/lib/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
- package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -46
- package/lib/components/PieChart/Pie/Pie.types.js +0 -2
- package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib/components/PieChart/Pie/index.d.ts +0 -2
- package/lib/components/PieChart/Pie/index.js +0 -3
- package/lib/components/PieChart/Pie/index.js.map +0 -1
- package/lib/components/PieChart/PieChart.base.d.ts +0 -7
- package/lib/components/PieChart/PieChart.base.js +0 -34
- package/lib/components/PieChart/PieChart.base.js.map +0 -1
- package/lib/components/PieChart/PieChart.d.ts +0 -3
- package/lib/components/PieChart/PieChart.js +0 -6
- package/lib/components/PieChart/PieChart.js.map +0 -1
- package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib/components/PieChart/PieChart.styles.js +0 -29
- package/lib/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib/components/PieChart/PieChart.types.d.ts +0 -63
- package/lib/components/PieChart/PieChart.types.js +0 -2
- package/lib/components/PieChart/PieChart.types.js.map +0 -1
- package/lib/components/PieChart/index.d.ts +0 -2
- package/lib/components/PieChart/index.js +0 -3
- package/lib/components/PieChart/index.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -95
- package/lib/components/SankeyChart/SankeyChart.base.js +0 -674
- package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.d.ts +0 -3
- package/lib/components/SankeyChart/SankeyChart.js +0 -6
- package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib/components/SankeyChart/SankeyChart.styles.js +0 -58
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -83
- package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
- package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib/components/SankeyChart/index.d.ts +0 -2
- package/lib/components/SankeyChart/index.js +0 -3
- package/lib/components/SankeyChart/index.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.base.d.ts +0 -20
- package/lib/components/Sparkline/Sparkline.base.js +0 -76
- package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.d.ts +0 -3
- package/lib/components/Sparkline/Sparkline.js +0 -6
- package/lib/components/Sparkline/Sparkline.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib/components/Sparkline/Sparkline.styles.js +0 -10
- package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.types.d.ts +0 -51
- package/lib/components/Sparkline/Sparkline.types.js +0 -2
- package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib/components/Sparkline/index.d.ts +0 -2
- package/lib/components/Sparkline/index.js +0 -3
- package/lib/components/Sparkline/index.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -356
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
- package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -6
- package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -6
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
- package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -311
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -3
- package/lib/components/StackedBarChart/StackedBarChart.js +0 -6
- package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -104
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
- package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/index.d.ts +0 -5
- package/lib/components/StackedBarChart/index.js +0 -6
- package/lib/components/StackedBarChart/index.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib/components/TreeChart/TreeChart.base.js +0 -316
- package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.d.ts +0 -3
- package/lib/components/TreeChart/TreeChart.js +0 -5
- package/lib/components/TreeChart/TreeChart.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib/components/TreeChart/TreeChart.styles.js +0 -29
- package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.types.d.ts +0 -197
- package/lib/components/TreeChart/TreeChart.types.js +0 -23
- package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib/components/TreeChart/index.d.ts +0 -2
- package/lib/components/TreeChart/index.js +0 -3
- package/lib/components/TreeChart/index.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -536
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
- package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -6
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib/components/VerticalBarChart/index.d.ts +0 -2
- package/lib/components/VerticalBarChart/index.js +0 -3
- package/lib/components/VerticalBarChart/index.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -666
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -6
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/index.js +0 -3
- package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib/index.d.ts +0 -19
- package/lib/index.js +0 -20
- package/lib/index.js.map +0 -1
- package/lib/types/IDataPoint.d.ts +0 -545
- package/lib/types/IDataPoint.js +0 -2
- package/lib/types/IDataPoint.js.map +0 -1
- package/lib/types/IEventAnnotation.d.ts +0 -6
- package/lib/types/IEventAnnotation.js +0 -2
- package/lib/types/IEventAnnotation.js.map +0 -1
- package/lib/types/ILegendDataItem.d.ts +0 -10
- package/lib/types/ILegendDataItem.js +0 -2
- package/lib/types/ILegendDataItem.js.map +0 -1
- package/lib/types/index.d.ts +0 -2
- package/lib/types/index.js +0 -3
- package/lib/types/index.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -82
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/index.js +0 -4
- package/lib/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib/utilities/FocusableTooltipText.js +0 -54
- package/lib/utilities/FocusableTooltipText.js.map +0 -1
- package/lib/utilities/colors.d.ts +0 -51
- package/lib/utilities/colors.js +0 -132
- package/lib/utilities/colors.js.map +0 -1
- package/lib/utilities/index.d.ts +0 -3
- package/lib/utilities/index.js +0 -4
- package/lib/utilities/index.js.map +0 -1
- package/lib/utilities/utilities.d.ts +0 -377
- package/lib/utilities/utilities.js +0 -864
- package/lib/utilities/utilities.js.map +0 -1
- package/lib/version.d.ts +0 -1
- package/lib/version.js +0 -5
- package/lib/version.js.map +0 -1
- package/lib-amd/AreaChart.d.ts +0 -1
- package/lib-amd/AreaChart.js +0 -6
- package/lib-amd/AreaChart.js.map +0 -1
- package/lib-amd/CartesianChart.d.ts +0 -1
- package/lib-amd/CartesianChart.js +0 -6
- package/lib-amd/CartesianChart.js.map +0 -1
- package/lib-amd/DonutChart.d.ts +0 -1
- package/lib-amd/DonutChart.js +0 -6
- package/lib-amd/DonutChart.js.map +0 -1
- package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
- package/lib-amd/GroupedVerticalBarChart.js +0 -6
- package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/HeatMapChart.d.ts +0 -1
- package/lib-amd/HeatMapChart.js +0 -6
- package/lib-amd/HeatMapChart.js.map +0 -1
- package/lib-amd/HorizontalBarChart.d.ts +0 -1
- package/lib-amd/HorizontalBarChart.js +0 -6
- package/lib-amd/HorizontalBarChart.js.map +0 -1
- package/lib-amd/Legends.d.ts +0 -1
- package/lib-amd/Legends.js +0 -6
- package/lib-amd/Legends.js.map +0 -1
- package/lib-amd/LineChart.d.ts +0 -1
- package/lib-amd/LineChart.js +0 -6
- package/lib-amd/LineChart.js.map +0 -1
- package/lib-amd/PieChart.d.ts +0 -1
- package/lib-amd/PieChart.js +0 -6
- package/lib-amd/PieChart.js.map +0 -1
- package/lib-amd/SankeyChart.d.ts +0 -1
- package/lib-amd/SankeyChart.js +0 -6
- package/lib-amd/SankeyChart.js.map +0 -1
- package/lib-amd/Sparkline.d.ts +0 -1
- package/lib-amd/Sparkline.js +0 -6
- package/lib-amd/Sparkline.js.map +0 -1
- package/lib-amd/StackedBarChart.d.ts +0 -1
- package/lib-amd/StackedBarChart.js +0 -6
- package/lib-amd/StackedBarChart.js.map +0 -1
- package/lib-amd/Styling.d.ts +0 -2
- package/lib-amd/Styling.js +0 -75
- package/lib-amd/Styling.js.map +0 -1
- package/lib-amd/TreeChart.d.ts +0 -1
- package/lib-amd/TreeChart.js +0 -6
- package/lib-amd/TreeChart.js.map +0 -1
- package/lib-amd/Utilities.d.ts +0 -2
- package/lib-amd/Utilities.js +0 -183
- package/lib-amd/Utilities.js.map +0 -1
- package/lib-amd/VerticalBarChart.d.ts +0 -1
- package/lib-amd/VerticalBarChart.js +0 -6
- package/lib-amd/VerticalBarChart.js.map +0 -1
- package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
- package/lib-amd/VerticalStackedBarChart.js +0 -6
- package/lib-amd/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -92
- package/lib-amd/components/AreaChart/AreaChart.base.js +0 -555
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -3
- package/lib-amd/components/AreaChart/AreaChart.js +0 -8
- package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
- package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -37
- package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
- package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib-amd/components/AreaChart/index.d.ts +0 -2
- package/lib-amd/components/AreaChart/index.js +0 -7
- package/lib-amd/components/AreaChart/index.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -43
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -329
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -3
- package/lib-amd/components/CommonComponents/CartesianChart.js +0 -7
- package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -166
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -428
- package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib-amd/components/CommonComponents/index.d.ts +0 -2
- package/lib-amd/components/CommonComponents/index.js +0 -7
- package/lib-amd/components/CommonComponents/index.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
- package/lib-amd/components/DonutChart/Arc/Arc.js +0 -85
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -33
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -124
- package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
- package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib-amd/components/DonutChart/Arc/index.js +0 -7
- package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -50
- package/lib-amd/components/DonutChart/DonutChart.base.js +0 -208
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -3
- package/lib-amd/components/DonutChart/DonutChart.js +0 -8
- package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -63
- package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib-amd/components/DonutChart/Pie/Pie.js +0 -69
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -96
- package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
- package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/index.js +0 -7
- package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
- package/lib-amd/components/DonutChart/index.d.ts +0 -3
- package/lib-amd/components/DonutChart/index.js +0 -8
- package/lib-amd/components/DonutChart/index.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -375
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -8
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
- package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -492
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -3
- package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -7
- package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
- package/lib-amd/components/HeatMapChart/index.js +0 -7
- package/lib-amd/components/HeatMapChart/index.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -233
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -8
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -72
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -11
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib-amd/components/HorizontalBarChart/index.js +0 -8
- package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
- package/lib-amd/components/Legends/Legends.base.d.ts +0 -44
- package/lib-amd/components/Legends/Legends.base.js +0 -290
- package/lib-amd/components/Legends/Legends.base.js.map +0 -1
- package/lib-amd/components/Legends/Legends.d.ts +0 -3
- package/lib-amd/components/Legends/Legends.js +0 -7
- package/lib-amd/components/Legends/Legends.js.map +0 -1
- package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
- package/lib-amd/components/Legends/Legends.styles.js +0 -107
- package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +0 -169
- package/lib-amd/components/Legends/Legends.types.js +0 -5
- package/lib-amd/components/Legends/Legends.types.js.map +0 -1
- package/lib-amd/components/Legends/index.d.ts +0 -3
- package/lib-amd/components/Legends/index.js +0 -8
- package/lib-amd/components/Legends/index.js.map +0 -1
- package/lib-amd/components/Legends/shape.d.ts +0 -9
- package/lib-amd/components/Legends/shape.js +0 -27
- package/lib-amd/components/Legends/shape.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -84
- package/lib-amd/components/LineChart/LineChart.base.js +0 -809
- package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.d.ts +0 -3
- package/lib-amd/components/LineChart/LineChart.js +0 -8
- package/lib-amd/components/LineChart/LineChart.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
- package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -72
- package/lib-amd/components/LineChart/LineChart.types.js +0 -5
- package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -95
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -40
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib-amd/components/LineChart/index.d.ts +0 -3
- package/lib-amd/components/LineChart/index.js +0 -8
- package/lib-amd/components/LineChart/index.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -12
- package/lib-amd/components/PieChart/Arc/Arc.js +0 -56
- package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -13
- package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -60
- package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
- package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
- package/lib-amd/components/PieChart/Arc/index.js +0 -7
- package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib-amd/components/PieChart/Pie/Pie.js +0 -35
- package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
- package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -46
- package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
- package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
- package/lib-amd/components/PieChart/Pie/index.js +0 -7
- package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -7
- package/lib-amd/components/PieChart/PieChart.base.js +0 -35
- package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.d.ts +0 -3
- package/lib-amd/components/PieChart/PieChart.js +0 -8
- package/lib-amd/components/PieChart/PieChart.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
- package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -63
- package/lib-amd/components/PieChart/PieChart.types.js +0 -5
- package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
- package/lib-amd/components/PieChart/index.d.ts +0 -2
- package/lib-amd/components/PieChart/index.js +0 -7
- package/lib-amd/components/PieChart/index.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -95
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -669
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -3
- package/lib-amd/components/SankeyChart/SankeyChart.js +0 -8
- package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -62
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -83
- package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib-amd/components/SankeyChart/index.d.ts +0 -2
- package/lib-amd/components/SankeyChart/index.js +0 -7
- package/lib-amd/components/SankeyChart/index.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -20
- package/lib-amd/components/Sparkline/Sparkline.base.js +0 -74
- package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -3
- package/lib-amd/components/Sparkline/Sparkline.js +0 -8
- package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
- package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -51
- package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
- package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib-amd/components/Sparkline/index.d.ts +0 -2
- package/lib-amd/components/Sparkline/index.js +0 -7
- package/lib-amd/components/Sparkline/index.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -351
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -8
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -93
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -11
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -308
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -3
- package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -8
- package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -108
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
- package/lib-amd/components/StackedBarChart/index.js +0 -10
- package/lib-amd/components/StackedBarChart/index.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib-amd/components/TreeChart/TreeChart.base.js +0 -314
- package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -3
- package/lib-amd/components/TreeChart/TreeChart.js +0 -7
- package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
- package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -197
- package/lib-amd/components/TreeChart/TreeChart.types.js +0 -28
- package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib-amd/components/TreeChart/index.d.ts +0 -2
- package/lib-amd/components/TreeChart/index.js +0 -7
- package/lib-amd/components/TreeChart/index.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -529
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -8
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/index.js +0 -7
- package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -659
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -8
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
- package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib-amd/index.d.ts +0 -19
- package/lib-amd/index.js +0 -23
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/types/IDataPoint.d.ts +0 -545
- package/lib-amd/types/IDataPoint.js +0 -5
- package/lib-amd/types/IDataPoint.js.map +0 -1
- package/lib-amd/types/IEventAnnotation.d.ts +0 -6
- package/lib-amd/types/IEventAnnotation.js +0 -5
- package/lib-amd/types/IEventAnnotation.js.map +0 -1
- package/lib-amd/types/ILegendDataItem.d.ts +0 -10
- package/lib-amd/types/ILegendDataItem.js +0 -5
- package/lib-amd/types/ILegendDataItem.js.map +0 -1
- package/lib-amd/types/index.d.ts +0 -2
- package/lib-amd/types/index.js +0 -7
- package/lib-amd/types/index.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -87
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib-amd/utilities/FocusableTooltipText.js +0 -54
- package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
- package/lib-amd/utilities/colors.d.ts +0 -51
- package/lib-amd/utilities/colors.js +0 -139
- package/lib-amd/utilities/colors.js.map +0 -1
- package/lib-amd/utilities/index.d.ts +0 -3
- package/lib-amd/utilities/index.js +0 -8
- package/lib-amd/utilities/index.js.map +0 -1
- package/lib-amd/utilities/utilities.d.ts +0 -377
- package/lib-amd/utilities/utilities.js +0 -888
- package/lib-amd/utilities/utilities.js.map +0 -1
- package/lib-amd/version.d.ts +0 -1
- package/lib-amd/version.js +0 -6
- package/lib-amd/version.js.map +0 -1
|
@@ -1,555 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib", "react", "d3-array", "d3-selection", "d3-selection", "d3-shape", "@fluentui/react/lib/Utilities", "../../index", "@fluentui/react/lib/Utilities", "../../utilities/index", "../Legends/index", "@fluentui/react/lib/Callout"], function (require, exports, tslib_1, React, d3_array_1, d3_selection_1, d3_selection_2, d3_shape_1, Utilities_1, index_1, Utilities_2, index_2, index_3, Callout_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AreaChartBase = void 0;
|
|
5
|
-
var getClassNames = Utilities_1.classNamesFunction();
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7
|
-
var bisect = d3_array_1.bisector(function (d) { return d.x; }).left;
|
|
8
|
-
var COMPONENT_NAME = 'AREA CHART';
|
|
9
|
-
var InterceptVisibility;
|
|
10
|
-
(function (InterceptVisibility) {
|
|
11
|
-
InterceptVisibility["show"] = "visibility";
|
|
12
|
-
InterceptVisibility["hide"] = "hidden";
|
|
13
|
-
})(InterceptVisibility || (InterceptVisibility = {}));
|
|
14
|
-
var AreaChartBase = /** @class */ (function (_super) {
|
|
15
|
-
tslib_1.__extends(AreaChartBase, _super);
|
|
16
|
-
function AreaChartBase(props) {
|
|
17
|
-
var _this = _super.call(this, props) || this;
|
|
18
|
-
_this._getMargins = function (margins) {
|
|
19
|
-
_this.margins = margins;
|
|
20
|
-
};
|
|
21
|
-
_this._onRectMouseMove = function (mouseEvent) {
|
|
22
|
-
mouseEvent.persist();
|
|
23
|
-
var data = _this.props.data;
|
|
24
|
-
var lineChartData = data.lineChartData;
|
|
25
|
-
// This will get the value of the X when mouse is on the chart
|
|
26
|
-
var xOffset = _this._xAxisRectScale.invert(d3_selection_1.clientPoint(document.getElementById(_this._rectId), mouseEvent)[0]);
|
|
27
|
-
var i = bisect(lineChartData[0].data, xOffset);
|
|
28
|
-
var d0 = lineChartData[0].data[i - 1];
|
|
29
|
-
var d1 = lineChartData[0].data[i];
|
|
30
|
-
var axisType = null;
|
|
31
|
-
var pointToHighlight = null;
|
|
32
|
-
var index = null;
|
|
33
|
-
if (d0 === undefined && d1 !== undefined) {
|
|
34
|
-
pointToHighlight = d1.x;
|
|
35
|
-
index = i;
|
|
36
|
-
}
|
|
37
|
-
else if (d0 !== undefined && d1 === undefined) {
|
|
38
|
-
pointToHighlight = d0.x;
|
|
39
|
-
index = i - 1;
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
axisType = index_2.getTypeOfAxis(lineChartData[0].data[0].x, true);
|
|
43
|
-
var x0 = void 0;
|
|
44
|
-
var point0 = void 0;
|
|
45
|
-
var point1 = void 0;
|
|
46
|
-
switch (axisType) {
|
|
47
|
-
case index_2.XAxisTypes.DateAxis:
|
|
48
|
-
x0 = new Date(xOffset).getTime();
|
|
49
|
-
point0 = d0.x.getTime();
|
|
50
|
-
point1 = d1.x.getTime();
|
|
51
|
-
pointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;
|
|
52
|
-
index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;
|
|
53
|
-
break;
|
|
54
|
-
case index_2.XAxisTypes.NumericAxis:
|
|
55
|
-
x0 = xOffset;
|
|
56
|
-
point0 = d0.x;
|
|
57
|
-
point1 = d1.x;
|
|
58
|
-
pointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;
|
|
59
|
-
index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;
|
|
60
|
-
break;
|
|
61
|
-
default:
|
|
62
|
-
break;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
var _a = lineChartData[0].data[index], xAxisCalloutData = _a.xAxisCalloutData, xAxisCalloutAccessibilityData = _a.xAxisCalloutAccessibilityData;
|
|
66
|
-
var formattedDate = pointToHighlight instanceof Date ? pointToHighlight.toLocaleString() : pointToHighlight;
|
|
67
|
-
var modifiedXVal = pointToHighlight instanceof Date ? pointToHighlight.getTime() : pointToHighlight;
|
|
68
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
69
|
-
var found = Utilities_1.find(_this._calloutPoints, function (element) {
|
|
70
|
-
return element.x === modifiedXVal;
|
|
71
|
-
});
|
|
72
|
-
var nearestCircleToHighlight = axisType === index_2.XAxisTypes.DateAxis ? pointToHighlight.getTime() : pointToHighlight;
|
|
73
|
-
var pointToHighlightUpdated = _this.state.nearestCircleToHighlight !== nearestCircleToHighlight;
|
|
74
|
-
// if no points need to be called out then don't show vertical line and callout card
|
|
75
|
-
if (found && pointToHighlightUpdated && !_this.state.isShowCalloutPending) {
|
|
76
|
-
_this.setState({
|
|
77
|
-
nearestCircleToHighlight: nearestCircleToHighlight,
|
|
78
|
-
isCalloutVisible: false,
|
|
79
|
-
isShowCalloutPending: true,
|
|
80
|
-
lineXValue: _this._xAxisRectScale(pointToHighlight),
|
|
81
|
-
displayOfLine: InterceptVisibility.show,
|
|
82
|
-
isCircleClicked: false,
|
|
83
|
-
stackCalloutProps: found,
|
|
84
|
-
YValueHover: found.values,
|
|
85
|
-
dataPointCalloutProps: found,
|
|
86
|
-
hoverXValue: xAxisCalloutData ? xAxisCalloutData : formattedDate,
|
|
87
|
-
xAxisCalloutAccessibilityData: xAxisCalloutAccessibilityData,
|
|
88
|
-
activePoint: '',
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
/*
|
|
93
|
-
When above if condition is false but found=true, it means either
|
|
94
|
-
|
|
95
|
-
1). pointToHighlightUpdated is false.
|
|
96
|
-
For this case we dont need to do anything.
|
|
97
|
-
|
|
98
|
-
2). isShowCalloutPending is true.
|
|
99
|
-
For this case there will be no callout updation for the event.
|
|
100
|
-
This condition has been added to prevent repeated callout flashing.
|
|
101
|
-
Currently there is a fraction of second delay between hover event and subsequent callout refresh.
|
|
102
|
-
In the meantime if another event is received, the callout continues to flash for the set of
|
|
103
|
-
intermediate hover events.
|
|
104
|
-
|
|
105
|
-
This does not cause any issue as the user interaction takes atleast a fraction of second and the final
|
|
106
|
-
callout state is ultimately achieved.
|
|
107
|
-
If a user performs very swift mouse maneuver, the intermediate events will be lost but the callout experience
|
|
108
|
-
remains smooth.
|
|
109
|
-
*/
|
|
110
|
-
}
|
|
111
|
-
if (!found) {
|
|
112
|
-
_this.setState({
|
|
113
|
-
isCalloutVisible: false,
|
|
114
|
-
nearestCircleToHighlight: nearestCircleToHighlight,
|
|
115
|
-
displayOfLine: InterceptVisibility.hide,
|
|
116
|
-
isCircleClicked: false,
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* just cleaning up the state which we have set in the mouse move event
|
|
122
|
-
*/
|
|
123
|
-
_this._onRectMouseOut = function () {
|
|
124
|
-
/**/
|
|
125
|
-
};
|
|
126
|
-
_this._handleChartMouseLeave = function () {
|
|
127
|
-
_this.setState({
|
|
128
|
-
refSelected: null,
|
|
129
|
-
isCalloutVisible: false,
|
|
130
|
-
nearestCircleToHighlight: null,
|
|
131
|
-
lineXValue: 0,
|
|
132
|
-
displayOfLine: InterceptVisibility.hide,
|
|
133
|
-
isCircleClicked: false,
|
|
134
|
-
stackCalloutProps: undefined,
|
|
135
|
-
dataPointCalloutProps: undefined,
|
|
136
|
-
hoverXValue: undefined,
|
|
137
|
-
YValueHover: [],
|
|
138
|
-
});
|
|
139
|
-
};
|
|
140
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
141
|
-
_this._getStackedData = function (keys, dataSet) {
|
|
142
|
-
var stackedValues = d3_shape_1.stack().keys(keys)(dataSet);
|
|
143
|
-
var maxOfYVal = d3_array_1.max(stackedValues[stackedValues.length - 1], function (dp) { return dp[1]; });
|
|
144
|
-
var stackedData = [];
|
|
145
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
146
|
-
stackedValues.forEach(function (layer) {
|
|
147
|
-
var currentStack = [];
|
|
148
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
149
|
-
layer.forEach(function (d) {
|
|
150
|
-
currentStack.push({
|
|
151
|
-
values: d,
|
|
152
|
-
xVal: d.data.xVal,
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
stackedData.push(currentStack);
|
|
156
|
-
});
|
|
157
|
-
_this._isMultiStackChart = stackedData && stackedData.length > 1 ? true : false;
|
|
158
|
-
return {
|
|
159
|
-
stackedData: stackedData,
|
|
160
|
-
maxOfYVal: maxOfYVal,
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
_this._createDataSet = function (points) {
|
|
164
|
-
var allChartPoints = [];
|
|
165
|
-
var dataSet = [];
|
|
166
|
-
var colors = [];
|
|
167
|
-
var opacity = [];
|
|
168
|
-
var calloutPoints = index_2.calloutData(points);
|
|
169
|
-
points &&
|
|
170
|
-
points.length &&
|
|
171
|
-
points.forEach(function (singleChartPoint) {
|
|
172
|
-
colors.push(singleChartPoint.color);
|
|
173
|
-
opacity.push(singleChartPoint.opacity || 1);
|
|
174
|
-
allChartPoints.push.apply(allChartPoints, singleChartPoint.data);
|
|
175
|
-
});
|
|
176
|
-
var tempArr = allChartPoints;
|
|
177
|
-
var _loop_1 = function () {
|
|
178
|
-
var valToCheck = tempArr[0].x instanceof Date ? tempArr[0].x.toLocaleString() : tempArr[0].x;
|
|
179
|
-
var filteredChartPoints = tempArr.filter(function (point) { return (point.x instanceof Date ? point.x.toLocaleString() : point.x) === valToCheck; });
|
|
180
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
181
|
-
var singleDataset = {};
|
|
182
|
-
filteredChartPoints.forEach(function (singleDataPoint, index) {
|
|
183
|
-
singleDataset.xVal = singleDataPoint.x;
|
|
184
|
-
singleDataset["chart" + index] = singleDataPoint.y;
|
|
185
|
-
});
|
|
186
|
-
dataSet.push(singleDataset);
|
|
187
|
-
// removing compared objects from array
|
|
188
|
-
var val = tempArr[0].x instanceof Date ? tempArr[0].x.toLocaleString() : tempArr[0].x;
|
|
189
|
-
tempArr = tempArr.filter(function (point) { return (point.x instanceof Date ? point.x.toLocaleString() : point.x) !== val; });
|
|
190
|
-
};
|
|
191
|
-
while (tempArr.length) {
|
|
192
|
-
_loop_1();
|
|
193
|
-
}
|
|
194
|
-
// get keys from dataset, used to create stacked data
|
|
195
|
-
var keysLength = dataSet && Object.keys(dataSet[0]).length;
|
|
196
|
-
var keys = [];
|
|
197
|
-
for (var i = 0; i < keysLength - 1; i++) {
|
|
198
|
-
var keyVal = "chart" + i;
|
|
199
|
-
keys.push(keyVal);
|
|
200
|
-
}
|
|
201
|
-
// Stacked Info used to draw graph
|
|
202
|
-
var stackedInfo = _this._getStackedData(keys, dataSet);
|
|
203
|
-
return {
|
|
204
|
-
colors: colors,
|
|
205
|
-
opacity: opacity,
|
|
206
|
-
keys: keys,
|
|
207
|
-
stackedInfo: stackedInfo,
|
|
208
|
-
calloutPoints: calloutPoints,
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
_this._getCustomizedCallout = function () {
|
|
212
|
-
return _this.props.onRenderCalloutPerStack
|
|
213
|
-
? _this.props.onRenderCalloutPerStack(_this.state.stackCalloutProps)
|
|
214
|
-
: _this.props.onRenderCalloutPerDataPoint
|
|
215
|
-
? _this.props.onRenderCalloutPerDataPoint(_this.state.dataPointCalloutProps)
|
|
216
|
-
: null;
|
|
217
|
-
};
|
|
218
|
-
_this._getGraphData = function (
|
|
219
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
220
|
-
xAxis,
|
|
221
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
222
|
-
yAxis, containerHeight, containerWidth, xElement) {
|
|
223
|
-
_this._chart = _this._drawGraph(containerHeight, xAxis, yAxis, xElement);
|
|
224
|
-
};
|
|
225
|
-
_this._getLegendData = function (points) {
|
|
226
|
-
var data = points;
|
|
227
|
-
var actions = [];
|
|
228
|
-
data.forEach(function (singleChartData) {
|
|
229
|
-
var color = singleChartData.color;
|
|
230
|
-
var checkSimilarLegends = actions.filter(function (leg) { return leg.title === singleChartData.legend && leg.color === color; });
|
|
231
|
-
if (checkSimilarLegends.length > 0) {
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
var legend = {
|
|
235
|
-
title: singleChartData.legend,
|
|
236
|
-
color: color,
|
|
237
|
-
action: function () {
|
|
238
|
-
_this._onLegendClick(singleChartData.legend);
|
|
239
|
-
},
|
|
240
|
-
hoverAction: function () {
|
|
241
|
-
_this._handleChartMouseLeave();
|
|
242
|
-
_this._onLegendHover(singleChartData.legend);
|
|
243
|
-
},
|
|
244
|
-
onMouseOutAction: function () {
|
|
245
|
-
_this._onLegendLeave();
|
|
246
|
-
},
|
|
247
|
-
};
|
|
248
|
-
actions.push(legend);
|
|
249
|
-
});
|
|
250
|
-
return (React.createElement(index_3.Legends, tslib_1.__assign({ legends: actions, overflowProps: _this.props.legendsOverflowProps, enabledWrapLines: _this.props.enabledLegendsWrapLines, focusZonePropsInHoverCard: _this.props.focusZonePropsForLegendsInHoverCard }, _this.props.legendProps)));
|
|
251
|
-
};
|
|
252
|
-
_this._onDataPointClick = function (func) {
|
|
253
|
-
if (func) {
|
|
254
|
-
func();
|
|
255
|
-
}
|
|
256
|
-
_this.setState({ isCircleClicked: true });
|
|
257
|
-
};
|
|
258
|
-
_this._getOpacity = function (legend) {
|
|
259
|
-
if (!_this._isMultiStackChart) {
|
|
260
|
-
return 0.7;
|
|
261
|
-
}
|
|
262
|
-
else {
|
|
263
|
-
var opacity = _this._legendHighlighted(legend) || _this._noLegendHighlighted() ? 0.7 : 0.1;
|
|
264
|
-
return opacity;
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
_this._getLineOpacity = function (legend) {
|
|
268
|
-
if (!_this._isMultiStackChart) {
|
|
269
|
-
return 1;
|
|
270
|
-
}
|
|
271
|
-
else {
|
|
272
|
-
var opacity = 0.3;
|
|
273
|
-
if (_this.state.isCalloutVisible) {
|
|
274
|
-
opacity = 1;
|
|
275
|
-
}
|
|
276
|
-
if (!_this._noLegendHighlighted()) {
|
|
277
|
-
opacity = _this._legendHighlighted(legend) ? 0 : 0.1;
|
|
278
|
-
}
|
|
279
|
-
return opacity;
|
|
280
|
-
}
|
|
281
|
-
};
|
|
282
|
-
_this._updateCircleFillColor = function (xDataPoint, lineColor, circleId) {
|
|
283
|
-
var fillColor = lineColor;
|
|
284
|
-
if (_this.state.nearestCircleToHighlight === xDataPoint || _this.state.activePoint === circleId) {
|
|
285
|
-
_this._highlightedCircleId = circleId;
|
|
286
|
-
if (!_this.state.isCircleClicked) {
|
|
287
|
-
fillColor = _this.props.theme.palette.white;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
return fillColor;
|
|
291
|
-
};
|
|
292
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
293
|
-
_this._drawGraph = function (containerHeight, xScale, yScale, xElement) {
|
|
294
|
-
var points = _this._addDefaultColors(_this.props.data.lineChartData);
|
|
295
|
-
var _a = _this.props.data, pointOptions = _a.pointOptions, pointLineOptions = _a.pointLineOptions;
|
|
296
|
-
var area = d3_shape_1.area()
|
|
297
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
298
|
-
.x(function (d) { return xScale(d.xVal); })
|
|
299
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
300
|
-
.y0(function (d) { return yScale(d.values[0]); })
|
|
301
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
302
|
-
.y1(function (d) { return yScale(d.values[1]); })
|
|
303
|
-
.curve(d3_shape_1.curveMonotoneX);
|
|
304
|
-
var line = d3_shape_1.line()
|
|
305
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
306
|
-
.x(function (d) { return xScale(d.xVal); })
|
|
307
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
308
|
-
.y(function (d) { return yScale(d.values[1]); })
|
|
309
|
-
.curve(d3_shape_1.curveMonotoneX);
|
|
310
|
-
var graph = [];
|
|
311
|
-
var lineColor;
|
|
312
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
313
|
-
_this._stackedData.forEach(function (singleStackedData, index) {
|
|
314
|
-
graph.push(React.createElement(React.Fragment, { key: index + "-graph-" + _this._uniqueIdForGraph },
|
|
315
|
-
React.createElement("path", tslib_1.__assign({ id: index + "-line-" + _this._uniqueIdForGraph, d: line(singleStackedData), fill: 'transparent', strokeWidth: 3, stroke: _this._colors[index], opacity: _this._getLineOpacity(points[index].legend), onMouseMove: _this._onRectMouseMove, onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove }, points[index].lineOptions)),
|
|
316
|
-
singleStackedData.length === 1 ? (React.createElement("circle", { id: index + "-graph-" + _this._uniqueIdForGraph, cx: xScale(singleStackedData[0].xVal), cy: yScale(singleStackedData[0].values[1]), r: 6, stroke: _this._colors[index], strokeWidth: 3, fill: _this._colors[index], opacity: _this._opacity[index], fillOpacity: _this._getOpacity(points[index].legend), onMouseMove: _this._onRectMouseMove, onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove })) : (React.createElement("path", tslib_1.__assign({ id: index + "-graph-" + _this._uniqueIdForGraph, d: area(singleStackedData), fill: _this._colors[index], opacity: _this._opacity[index], fillOpacity: _this._getOpacity(points[index].legend), onMouseMove: _this._onRectMouseMove, onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove }, (_this.props.optimizeLargeData && {
|
|
317
|
-
'data-is-focusable': true,
|
|
318
|
-
role: 'img',
|
|
319
|
-
'aria-label': points[index].legend + ", series " + (index + 1) + " of " + points.length + " with " + points[index].data.length + " data points.",
|
|
320
|
-
}))))));
|
|
321
|
-
});
|
|
322
|
-
var circleRadius = pointOptions && pointOptions.r ? Number(pointOptions.r) : 8;
|
|
323
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
324
|
-
_this._stackedData.forEach(function (singleStackedData, index) {
|
|
325
|
-
if (points.length === index) {
|
|
326
|
-
return;
|
|
327
|
-
}
|
|
328
|
-
if (!_this.props.optimizeLargeData || singleStackedData.length === 1) {
|
|
329
|
-
// Render circles for all data points
|
|
330
|
-
graph.push(React.createElement("g", { key: index + "-dots-" + _this._uniqueIdForGraph, d: area(singleStackedData), clipPath: "url(#clip)" }, singleStackedData.map(function (singlePoint, pointIndex) {
|
|
331
|
-
var circleId = _this._circleId + "_" + (index * _this._stackedData[0].length + pointIndex);
|
|
332
|
-
var xDataPoint = singlePoint.xVal instanceof Date ? singlePoint.xVal.getTime() : singlePoint.xVal;
|
|
333
|
-
lineColor = points[index].color;
|
|
334
|
-
return (React.createElement("circle", tslib_1.__assign({ key: circleId, id: circleId, "data-is-focusable": true, cx: xScale(singlePoint.xVal), cy: yScale(singlePoint.values[1]), stroke: lineColor, strokeWidth: 3, fill: _this._updateCircleFillColor(xDataPoint, lineColor, circleId), onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove, onClick: _this._onDataPointClick.bind(_this, points[index].data[pointIndex].onDataPointClick), onFocus: function () { return _this._handleFocus(index, pointIndex, circleId); }, onBlur: _this._handleBlur }, pointOptions, { r: _this._getCircleRadius(xDataPoint, circleRadius, circleId), role: "img", "aria-label": _this._getAriaLabel(index, pointIndex) })));
|
|
335
|
-
})));
|
|
336
|
-
}
|
|
337
|
-
else {
|
|
338
|
-
// Render circles for data points close to the mouse pointer only
|
|
339
|
-
singleStackedData.forEach(function (singlePoint, pointIndex) {
|
|
340
|
-
var xDataPoint = singlePoint.xVal instanceof Date ? singlePoint.xVal.getTime() : singlePoint.xVal;
|
|
341
|
-
if (_this.state.nearestCircleToHighlight === xDataPoint) {
|
|
342
|
-
var circleId = _this._circleId + "_" + (index * _this._stackedData[0].length + pointIndex);
|
|
343
|
-
lineColor = points[index].color;
|
|
344
|
-
graph.push(React.createElement("circle", tslib_1.__assign({ key: circleId, id: circleId, cx: xScale(singlePoint.xVal), cy: yScale(singlePoint.values[1]), stroke: lineColor, strokeWidth: 3, fill: _this._updateCircleFillColor(xDataPoint, lineColor, circleId), onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove, onClick: _this._onDataPointClick.bind(_this, points[index].data[pointIndex].onDataPointClick) }, pointOptions, { r: _this._getCircleRadius(xDataPoint, circleRadius, circleId) })));
|
|
345
|
-
}
|
|
346
|
-
});
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
graph.push(React.createElement("line", tslib_1.__assign({ id: _this._verticalLineId, key: _this._verticalLineId, x1: _this.state.lineXValue, y1: 0, x2: _this.state.lineXValue, y2: containerHeight, strokeWidth: 1, strokeDasharray: 5.5, stroke: lineColor, opacity: 0.5, visibility: _this.state.displayOfLine }, pointLineOptions)));
|
|
350
|
-
var classNames = getClassNames(_this.props.styles, {
|
|
351
|
-
theme: _this.props.theme,
|
|
352
|
-
});
|
|
353
|
-
// Removing un wanted tooltip div from DOM, when prop not provided.
|
|
354
|
-
if (!_this.props.showXAxisLablesTooltip) {
|
|
355
|
-
try {
|
|
356
|
-
document.getElementById(_this._tooltipId) && document.getElementById(_this._tooltipId).remove();
|
|
357
|
-
// eslint-disable-next-line no-empty
|
|
358
|
-
}
|
|
359
|
-
catch (e) { }
|
|
360
|
-
}
|
|
361
|
-
// Used to display tooltip at x axis labels.
|
|
362
|
-
if (!_this.props.wrapXAxisLables && _this.props.showXAxisLablesTooltip) {
|
|
363
|
-
var xAxisElement = d3_selection_2.select(xElement).call(xScale);
|
|
364
|
-
try {
|
|
365
|
-
document.getElementById(_this._tooltipId) && document.getElementById(_this._tooltipId).remove();
|
|
366
|
-
// eslint-disable-next-line no-empty
|
|
367
|
-
}
|
|
368
|
-
catch (e) { }
|
|
369
|
-
var tooltipProps = {
|
|
370
|
-
tooltipCls: classNames.tooltip,
|
|
371
|
-
id: _this._tooltipId,
|
|
372
|
-
xAxis: xAxisElement,
|
|
373
|
-
};
|
|
374
|
-
xAxisElement && index_2.tooltipOfXAxislabels(tooltipProps);
|
|
375
|
-
}
|
|
376
|
-
return graph;
|
|
377
|
-
};
|
|
378
|
-
_this._getCircleRadius = function (xDataPoint, circleRadius, circleId) {
|
|
379
|
-
var _a = _this.state, isCircleClicked = _a.isCircleClicked, nearestCircleToHighlight = _a.nearestCircleToHighlight, activePoint = _a.activePoint;
|
|
380
|
-
if (isCircleClicked && nearestCircleToHighlight === xDataPoint) {
|
|
381
|
-
return 1;
|
|
382
|
-
}
|
|
383
|
-
else if (nearestCircleToHighlight === xDataPoint || activePoint === circleId) {
|
|
384
|
-
return circleRadius;
|
|
385
|
-
}
|
|
386
|
-
else {
|
|
387
|
-
return 0;
|
|
388
|
-
}
|
|
389
|
-
};
|
|
390
|
-
_this._closeCallout = function () {
|
|
391
|
-
_this.setState({
|
|
392
|
-
isCalloutVisible: false,
|
|
393
|
-
});
|
|
394
|
-
};
|
|
395
|
-
/**
|
|
396
|
-
* This function checks if the given legend is highlighted or not.
|
|
397
|
-
* A legend can be highlighted in 2 ways:
|
|
398
|
-
* 1. selection: if the user clicks on it
|
|
399
|
-
* 2. hovering: if there is no selected legend and the user hovers over it
|
|
400
|
-
*/
|
|
401
|
-
_this._legendHighlighted = function (legend) {
|
|
402
|
-
return (_this.state.selectedLegend === legend || (_this.state.selectedLegend === '' && _this.state.activeLegend === legend));
|
|
403
|
-
};
|
|
404
|
-
/**
|
|
405
|
-
* This function checks if none of the legends is selected or hovered.
|
|
406
|
-
*/
|
|
407
|
-
_this._noLegendHighlighted = function () {
|
|
408
|
-
return _this.state.selectedLegend === '' && _this.state.activeLegend === '';
|
|
409
|
-
};
|
|
410
|
-
_this._addDefaultColors = function (lineChartData) {
|
|
411
|
-
return lineChartData
|
|
412
|
-
? lineChartData.map(function (item, index) {
|
|
413
|
-
var _a, _b;
|
|
414
|
-
var color;
|
|
415
|
-
// isInverted property is applicable to v8 themes only
|
|
416
|
-
if (typeof item.color === 'undefined') {
|
|
417
|
-
color = index_2.getNextColor(index, 0, (_a = _this.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
|
|
418
|
-
}
|
|
419
|
-
else {
|
|
420
|
-
color = index_2.getColorFromToken(item.color, (_b = _this.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted);
|
|
421
|
-
}
|
|
422
|
-
return tslib_1.__assign(tslib_1.__assign({}, item), { color: color });
|
|
423
|
-
})
|
|
424
|
-
: [];
|
|
425
|
-
};
|
|
426
|
-
_this._handleFocus = function (lineIndex, pointIndex, circleId) {
|
|
427
|
-
var _a = _this.props.data.lineChartData[lineIndex].data[pointIndex], x = _a.x, y = _a.y, xAxisCalloutData = _a.xAxisCalloutData;
|
|
428
|
-
var formattedDate = x instanceof Date ? x.toLocaleString() : x;
|
|
429
|
-
var modifiedXVal = x instanceof Date ? x.getTime() : x;
|
|
430
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
431
|
-
var found = _this._calloutPoints.find(function (e) { return e.x === modifiedXVal; });
|
|
432
|
-
// Show details in the callout for the focused point only
|
|
433
|
-
found.values = found.values.filter(function (e) { return e.y === y; });
|
|
434
|
-
_this.setState({
|
|
435
|
-
refSelected: "#" + circleId,
|
|
436
|
-
isCalloutVisible: true,
|
|
437
|
-
hoverXValue: xAxisCalloutData ? xAxisCalloutData : formattedDate,
|
|
438
|
-
YValueHover: found.values,
|
|
439
|
-
stackCalloutProps: found,
|
|
440
|
-
dataPointCalloutProps: found,
|
|
441
|
-
activePoint: circleId,
|
|
442
|
-
});
|
|
443
|
-
};
|
|
444
|
-
_this._handleBlur = function () {
|
|
445
|
-
_this.setState({
|
|
446
|
-
refSelected: null,
|
|
447
|
-
isCalloutVisible: false,
|
|
448
|
-
hoverXValue: undefined,
|
|
449
|
-
YValueHover: [],
|
|
450
|
-
stackCalloutProps: undefined,
|
|
451
|
-
dataPointCalloutProps: undefined,
|
|
452
|
-
activePoint: '',
|
|
453
|
-
});
|
|
454
|
-
};
|
|
455
|
-
_this._getAriaLabel = function (lineIndex, pointIndex) {
|
|
456
|
-
var _a;
|
|
457
|
-
var line = _this.props.data.lineChartData[lineIndex];
|
|
458
|
-
var point = line.data[pointIndex];
|
|
459
|
-
var formattedDate = point.x instanceof Date ? point.x.toLocaleString() : point.x;
|
|
460
|
-
var xValue = point.xAxisCalloutData || formattedDate;
|
|
461
|
-
var legend = line.legend;
|
|
462
|
-
var yValue = point.yAxisCalloutData || point.y;
|
|
463
|
-
return ((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) || xValue + ". " + legend + ", " + yValue + ".";
|
|
464
|
-
};
|
|
465
|
-
_this._createSet = Utilities_1.memoizeFunction(_this._createDataSet);
|
|
466
|
-
_this.state = {
|
|
467
|
-
selectedLegend: '',
|
|
468
|
-
activeLegend: '',
|
|
469
|
-
hoverXValue: '',
|
|
470
|
-
isCalloutVisible: false,
|
|
471
|
-
refSelected: null,
|
|
472
|
-
YValueHover: [],
|
|
473
|
-
lineXValue: 0,
|
|
474
|
-
displayOfLine: InterceptVisibility.hide,
|
|
475
|
-
isCircleClicked: false,
|
|
476
|
-
nearestCircleToHighlight: null,
|
|
477
|
-
isShowCalloutPending: false,
|
|
478
|
-
activePoint: '',
|
|
479
|
-
};
|
|
480
|
-
Utilities_2.warnDeprecations(COMPONENT_NAME, props, {
|
|
481
|
-
showYAxisGridLines: 'Dont use this property. Lines are drawn by default',
|
|
482
|
-
});
|
|
483
|
-
_this._uniqueIdForGraph = Utilities_1.getId('areaChart_');
|
|
484
|
-
_this._verticalLineId = Utilities_1.getId('verticalLine_');
|
|
485
|
-
_this._circleId = Utilities_1.getId('circle');
|
|
486
|
-
_this._rectId = Utilities_1.getId('rectangle');
|
|
487
|
-
_this._tooltipId = Utilities_1.getId('AreaChartTooltipID');
|
|
488
|
-
return _this;
|
|
489
|
-
}
|
|
490
|
-
AreaChartBase.prototype.componentDidUpdate = function () {
|
|
491
|
-
if (this.state.isShowCalloutPending) {
|
|
492
|
-
this.setState({
|
|
493
|
-
refSelected: "#" + this._highlightedCircleId,
|
|
494
|
-
isCalloutVisible: true,
|
|
495
|
-
isShowCalloutPending: false,
|
|
496
|
-
});
|
|
497
|
-
}
|
|
498
|
-
};
|
|
499
|
-
AreaChartBase.prototype.render = function () {
|
|
500
|
-
var _this = this;
|
|
501
|
-
var _a = this.props.data, lineChartData = _a.lineChartData, chartTitle = _a.chartTitle;
|
|
502
|
-
var points = this._addDefaultColors(lineChartData);
|
|
503
|
-
var _b = this._createSet(points), colors = _b.colors, opacity = _b.opacity, stackedInfo = _b.stackedInfo, calloutPoints = _b.calloutPoints;
|
|
504
|
-
this._calloutPoints = calloutPoints;
|
|
505
|
-
var isXAxisDateType = index_2.getXAxisType(points);
|
|
506
|
-
this._colors = colors;
|
|
507
|
-
this._opacity = opacity;
|
|
508
|
-
this._stackedData = stackedInfo.stackedData;
|
|
509
|
-
var legends = this._getLegendData(points);
|
|
510
|
-
var tickParams = {
|
|
511
|
-
tickValues: this.props.tickValues,
|
|
512
|
-
tickFormat: this.props.tickFormat,
|
|
513
|
-
};
|
|
514
|
-
var calloutProps = tslib_1.__assign({ target: this.state.refSelected, isCalloutVisible: this.state.isCalloutVisible, directionalHint: Callout_1.DirectionalHint.topAutoEdge, YValueHover: this.state.YValueHover, hoverXValue: this.state.hoverXValue, id: "toolTip" + this._uniqueCallOutID, gapSpace: 15, isBeakVisible: false, onDismiss: this._closeCallout, 'data-is-focusable': true, xAxisCalloutAccessibilityData: this.state.xAxisCalloutAccessibilityData }, this.props.calloutProps);
|
|
515
|
-
return (React.createElement(index_1.CartesianChart, tslib_1.__assign({}, this.props, { chartTitle: chartTitle, points: points, chartType: index_2.ChartTypes.AreaChart, calloutProps: calloutProps, legendBars: legends, isCalloutForStack: true, xAxisType: isXAxisDateType ? index_2.XAxisTypes.DateAxis : index_2.XAxisTypes.NumericAxis, tickParams: tickParams, maxOfYVal: stackedInfo.maxOfYVal, getGraphData: this._getGraphData, getmargins: this._getMargins, customizedCallout: this._getCustomizedCallout(), onChartMouseLeave: this._handleChartMouseLeave,
|
|
516
|
-
/* eslint-disable react/jsx-no-bind */
|
|
517
|
-
// eslint-disable-next-line react/no-children-prop
|
|
518
|
-
children: function (props) {
|
|
519
|
-
_this._xAxisRectScale = props.xScale;
|
|
520
|
-
var ticks = _this._xAxisRectScale.ticks();
|
|
521
|
-
var width1 = _this._xAxisRectScale(ticks[ticks.length - 1]);
|
|
522
|
-
var rectHeight = props.containerHeight - _this.margins.top;
|
|
523
|
-
return (React.createElement(React.Fragment, null,
|
|
524
|
-
React.createElement("g", null,
|
|
525
|
-
React.createElement("rect", { id: _this._rectId, width: width1, height: rectHeight, fill: 'transparent', onMouseMove: _this._onRectMouseMove, onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove })),
|
|
526
|
-
React.createElement("g", null, _this._chart)));
|
|
527
|
-
} })));
|
|
528
|
-
};
|
|
529
|
-
AreaChartBase.prototype._onLegendClick = function (legend) {
|
|
530
|
-
if (this.state.selectedLegend === legend) {
|
|
531
|
-
this.setState({
|
|
532
|
-
selectedLegend: '',
|
|
533
|
-
});
|
|
534
|
-
}
|
|
535
|
-
else {
|
|
536
|
-
this.setState({
|
|
537
|
-
selectedLegend: legend,
|
|
538
|
-
});
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
AreaChartBase.prototype._onLegendHover = function (legend) {
|
|
542
|
-
this.setState({
|
|
543
|
-
activeLegend: legend,
|
|
544
|
-
});
|
|
545
|
-
};
|
|
546
|
-
AreaChartBase.prototype._onLegendLeave = function () {
|
|
547
|
-
this.setState({
|
|
548
|
-
activeLegend: '',
|
|
549
|
-
});
|
|
550
|
-
};
|
|
551
|
-
return AreaChartBase;
|
|
552
|
-
}(React.Component));
|
|
553
|
-
exports.AreaChartBase = AreaChartBase;
|
|
554
|
-
});
|
|
555
|
-
//# sourceMappingURL=AreaChart.base.js.map
|