@fluentui/react-charting 5.16.21 → 5.16.23
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 +55 -1
- package/CHANGELOG.md +24 -2
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +4 -5
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +5 -6
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +4 -5
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/utilities/FocusableTooltipText.d.ts +27 -0
- package/lib-commonjs/utilities/FocusableTooltipText.js +57 -0
- package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -0
- 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 -238
- 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 -357
- 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 -312
- 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/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 -234
- 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 -352
- 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 -309
- 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/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,147 +0,0 @@
|
|
|
1
|
-
import { IAccessibilityProps } from '../../index';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { IHeatMapChartProps } from './HeatMapChart.types';
|
|
4
|
-
import { Target } from '@fluentui/react';
|
|
5
|
-
export interface IHeatMapChartState {
|
|
6
|
-
/**
|
|
7
|
-
* contains the selected legend string
|
|
8
|
-
*/
|
|
9
|
-
selectedLegend: string;
|
|
10
|
-
/**
|
|
11
|
-
* contains the hovered legend string
|
|
12
|
-
*/
|
|
13
|
-
activeLegend: string;
|
|
14
|
-
/**
|
|
15
|
-
* determines wethere to show or hide the callout
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
isCalloutVisible: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* y value to be shown in callout
|
|
21
|
-
*/
|
|
22
|
-
calloutYValue: string;
|
|
23
|
-
/**
|
|
24
|
-
* legend title to be shown in callout
|
|
25
|
-
*/
|
|
26
|
-
calloutLegend: string;
|
|
27
|
-
/**
|
|
28
|
-
* color of the text in the callout
|
|
29
|
-
*/
|
|
30
|
-
calloutTextColor: string;
|
|
31
|
-
/**
|
|
32
|
-
* The target that the Callout should try to position itself based on
|
|
33
|
-
*/
|
|
34
|
-
target: Target;
|
|
35
|
-
/**
|
|
36
|
-
* ratio to show in the callout
|
|
37
|
-
*/
|
|
38
|
-
ratio: [number, number] | null;
|
|
39
|
-
/**
|
|
40
|
-
* description message to show in the callout
|
|
41
|
-
*/
|
|
42
|
-
descriptionMessage: string;
|
|
43
|
-
/**
|
|
44
|
-
* id to give to callout for accesiblity purpose
|
|
45
|
-
*/
|
|
46
|
-
calloutId: string;
|
|
47
|
-
/**
|
|
48
|
-
* Accessibility data for callout
|
|
49
|
-
*/
|
|
50
|
-
callOutAccessibilityData?: IAccessibilityProps;
|
|
51
|
-
}
|
|
52
|
-
export declare class HeatMapChartBase extends React.Component<IHeatMapChartProps, IHeatMapChartState> {
|
|
53
|
-
private _classNames;
|
|
54
|
-
private _stringXAxisDataPoints;
|
|
55
|
-
private _stringYAxisDataPoints;
|
|
56
|
-
private _createSet;
|
|
57
|
-
private _dataSet;
|
|
58
|
-
private _colorScale;
|
|
59
|
-
private _xAxisScale;
|
|
60
|
-
private _yAxisScale;
|
|
61
|
-
/**
|
|
62
|
-
* This array contains ref for all the rectangles
|
|
63
|
-
* drawn inside the chard
|
|
64
|
-
*/
|
|
65
|
-
private _rectRefArray;
|
|
66
|
-
private _xAxisType;
|
|
67
|
-
private _yAxisType;
|
|
68
|
-
private _calloutAnchorPoint;
|
|
69
|
-
constructor(props: IHeatMapChartProps);
|
|
70
|
-
render(): React.ReactNode;
|
|
71
|
-
private _getXandY;
|
|
72
|
-
private _getOpacity;
|
|
73
|
-
private _rectRefCallback;
|
|
74
|
-
private _onRectFocus;
|
|
75
|
-
private _onRectMouseOver;
|
|
76
|
-
private _onRectBlurOrMouseOut;
|
|
77
|
-
private _handleChartMouseLeave;
|
|
78
|
-
/**
|
|
79
|
-
* This is the function which is responsible for
|
|
80
|
-
* drawing the rectangle in the graph and also
|
|
81
|
-
* attaching dom events to that rectangles
|
|
82
|
-
*/
|
|
83
|
-
private _createRectangles;
|
|
84
|
-
/**
|
|
85
|
-
* when the legend is hovered we need to highlight
|
|
86
|
-
* all the rectangles which fall under that category
|
|
87
|
-
* and un-highlight the rest of them
|
|
88
|
-
* @param legendTitle
|
|
89
|
-
*/
|
|
90
|
-
private _onLegendHover;
|
|
91
|
-
/**
|
|
92
|
-
* when the mouse is out from the legend , we need
|
|
93
|
-
* to show the graph in initial mode.
|
|
94
|
-
*/
|
|
95
|
-
private _onLegendLeave;
|
|
96
|
-
/**
|
|
97
|
-
* @param legendTitle
|
|
98
|
-
* when the legend is clicked we need to highlight
|
|
99
|
-
* all the rectangles which fall under that category
|
|
100
|
-
* and un highlight the rest of them
|
|
101
|
-
*/
|
|
102
|
-
private _onLegendClick;
|
|
103
|
-
private _createLegendBars;
|
|
104
|
-
private _getColorScale;
|
|
105
|
-
private _getXIndex;
|
|
106
|
-
private _getYIndex;
|
|
107
|
-
/**
|
|
108
|
-
* This will create a new data set based on the prop
|
|
109
|
-
* @data
|
|
110
|
-
* We will be using This data set to contsruct our rectangles
|
|
111
|
-
* in the chart, we use this data set becuase, when we loop in this
|
|
112
|
-
* data and build the heat map, it will support accessibility as
|
|
113
|
-
* specified in the figma
|
|
114
|
-
*/
|
|
115
|
-
private _createNewDataSet;
|
|
116
|
-
/**
|
|
117
|
-
* This function will return the final sorted and formatted x-axis points
|
|
118
|
-
* which will be rendered on the x-axis
|
|
119
|
-
* @param points
|
|
120
|
-
* @returns x-axis points
|
|
121
|
-
*/
|
|
122
|
-
private _getXAxisDataPoints;
|
|
123
|
-
/**
|
|
124
|
-
* This function will return the final sorted and formatted y-axis points
|
|
125
|
-
* which will be rendered on the y-axis
|
|
126
|
-
* @param points
|
|
127
|
-
* @returns yaxis points
|
|
128
|
-
*/
|
|
129
|
-
private _getYAxisDataPoints;
|
|
130
|
-
private _getStringFormattedDate;
|
|
131
|
-
private _getStringFormattedNumber;
|
|
132
|
-
private _getFormattedLabelForXAxisDataPoint;
|
|
133
|
-
private _getFormattedLabelForYAxisDataPoint;
|
|
134
|
-
private _closeCallout;
|
|
135
|
-
/**
|
|
136
|
-
* This function checks if the given legend is highlighted or not.
|
|
137
|
-
* A legend can be highlighted in 2 ways:
|
|
138
|
-
* 1. selection: if the user clicks on it
|
|
139
|
-
* 2. hovering: if there is no selected legend and the user hovers over it
|
|
140
|
-
*/
|
|
141
|
-
private _legendHighlighted;
|
|
142
|
-
/**
|
|
143
|
-
* This function checks if none of the legends is selected or hovered.
|
|
144
|
-
*/
|
|
145
|
-
private _noLegendHighlighted;
|
|
146
|
-
private _getAriaLabel;
|
|
147
|
-
}
|
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
import { __assign, __extends, __spreadArray } from "tslib";
|
|
2
|
-
import { CartesianChart, } from '../../index';
|
|
3
|
-
import { scaleLinear as d3ScaleLinear } from 'd3-scale';
|
|
4
|
-
import { classNamesFunction, memoizeFunction } from '@fluentui/react/lib/Utilities';
|
|
5
|
-
import { FocusZoneDirection } from '@fluentui/react-focus';
|
|
6
|
-
import { DirectionalHint } from '@fluentui/react/lib/Callout';
|
|
7
|
-
import * as React from 'react';
|
|
8
|
-
import { Legends } from '../Legends/index';
|
|
9
|
-
import { ChartTypes, convertToLocaleString, getAccessibleDataObject, XAxisTypes, YAxisType, getTypeOfAxis, } from '../../utilities/utilities';
|
|
10
|
-
import { format as d3Format } from 'd3-format';
|
|
11
|
-
import * as d3TimeFormat from 'd3-time-format';
|
|
12
|
-
var getClassNames = classNamesFunction();
|
|
13
|
-
var HeatMapChartBase = /** @class */ (function (_super) {
|
|
14
|
-
__extends(HeatMapChartBase, _super);
|
|
15
|
-
function HeatMapChartBase(props) {
|
|
16
|
-
var _this = _super.call(this, props) || this;
|
|
17
|
-
/**
|
|
18
|
-
* This array contains ref for all the rectangles
|
|
19
|
-
* drawn inside the chard
|
|
20
|
-
*/
|
|
21
|
-
_this._rectRefArray = {};
|
|
22
|
-
_this._getXandY = function () {
|
|
23
|
-
var x = '';
|
|
24
|
-
var y = '';
|
|
25
|
-
_this.props.data.forEach(function (item) {
|
|
26
|
-
if (item.data && item.data.length > 0) {
|
|
27
|
-
x = item.data[0].x;
|
|
28
|
-
y = item.data[0].y;
|
|
29
|
-
return { x: x, y: y };
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
return { x: x, y: y };
|
|
33
|
-
};
|
|
34
|
-
_this._getOpacity = function (legendTitle) {
|
|
35
|
-
var opacity = _this._legendHighlighted(legendTitle) || _this._noLegendHighlighted() ? '1' : '0.1';
|
|
36
|
-
return opacity;
|
|
37
|
-
};
|
|
38
|
-
_this._rectRefCallback = function (rectElement, index, dataPointObject) {
|
|
39
|
-
_this._rectRefArray[index] = { data: dataPointObject, refElement: rectElement };
|
|
40
|
-
};
|
|
41
|
-
_this._onRectFocus = function (id, data) {
|
|
42
|
-
_this.setState({
|
|
43
|
-
target: _this._rectRefArray[id].refElement,
|
|
44
|
-
/** Show the callout if highlighted rectangle is focused and Hide it if unhighlighted rectangle is focused */
|
|
45
|
-
isCalloutVisible: _this.state.selectedLegend === '' || _this.state.selectedLegend === data.legend,
|
|
46
|
-
calloutYValue: "" + data.rectText,
|
|
47
|
-
calloutTextColor: _this._colorScale(data.value),
|
|
48
|
-
calloutLegend: data.legend,
|
|
49
|
-
ratio: data.ratio || null,
|
|
50
|
-
descriptionMessage: data.descriptionMessage || '',
|
|
51
|
-
calloutId: id,
|
|
52
|
-
callOutAccessibilityData: data.callOutAccessibilityData,
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
_this._onRectMouseOver = function (id, data, mouseEvent) {
|
|
56
|
-
mouseEvent.persist();
|
|
57
|
-
if (_this._calloutAnchorPoint !== data) {
|
|
58
|
-
_this._calloutAnchorPoint = data;
|
|
59
|
-
_this.setState({
|
|
60
|
-
target: _this._rectRefArray[id].refElement,
|
|
61
|
-
/** Show the callout if highlighted rectangle is hovered and Hide it if unhighlighted rectangle is hovered */
|
|
62
|
-
isCalloutVisible: _this.state.selectedLegend === '' || _this.state.selectedLegend === data.legend,
|
|
63
|
-
calloutYValue: "" + data.rectText,
|
|
64
|
-
calloutTextColor: _this._colorScale(data.value),
|
|
65
|
-
calloutLegend: data.legend,
|
|
66
|
-
ratio: data.ratio || null,
|
|
67
|
-
descriptionMessage: data.descriptionMessage || '',
|
|
68
|
-
calloutId: id,
|
|
69
|
-
callOutAccessibilityData: data.callOutAccessibilityData,
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
_this._onRectBlurOrMouseOut = function () {
|
|
74
|
-
/**/
|
|
75
|
-
};
|
|
76
|
-
_this._handleChartMouseLeave = function () {
|
|
77
|
-
_this._calloutAnchorPoint = null;
|
|
78
|
-
_this.setState({
|
|
79
|
-
isCalloutVisible: false,
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* This is the function which is responsible for
|
|
84
|
-
* drawing the rectangle in the graph and also
|
|
85
|
-
* attaching dom events to that rectangles
|
|
86
|
-
*/
|
|
87
|
-
_this._createRectangles = function () {
|
|
88
|
-
var rectangles = [];
|
|
89
|
-
var yAxisDataPoints = _this._stringYAxisDataPoints.slice().reverse();
|
|
90
|
-
/**
|
|
91
|
-
* yAxisDataPoint is noting but the DataPoint
|
|
92
|
-
* which will be rendered on the y-axis
|
|
93
|
-
*/
|
|
94
|
-
yAxisDataPoints.forEach(function (yAxisDataPoint, index1) {
|
|
95
|
-
/**
|
|
96
|
-
* dataPointObject is an object where it contains information on single
|
|
97
|
-
* data point such as x, y , value, rectText property of the rectangle
|
|
98
|
-
*/
|
|
99
|
-
_this._dataSet[yAxisDataPoint].forEach(function (dataPointObject, index2) {
|
|
100
|
-
var id = "" + index1 + index2;
|
|
101
|
-
var rectElement = (React.createElement("g", { key: id, role: "img", "aria-label": _this._getAriaLabel(dataPointObject), "data-is-focusable": true, fillOpacity: _this._getOpacity(dataPointObject.legend), transform: "translate(" + _this._xAxisScale(dataPointObject.x) + ", " + _this._yAxisScale(dataPointObject.y) + ")", ref: function (gElement) {
|
|
102
|
-
_this._rectRefCallback(gElement, id, dataPointObject);
|
|
103
|
-
}, onFocus: _this._onRectFocus.bind(_this, id, dataPointObject), onBlur: _this._onRectBlurOrMouseOut, onMouseOver: _this._onRectMouseOver.bind(_this, id, dataPointObject), onMouseOut: _this._onRectBlurOrMouseOut },
|
|
104
|
-
React.createElement("rect", { fill: _this._colorScale(dataPointObject.value), width: _this._xAxisScale.bandwidth(), height: _this._yAxisScale.bandwidth(), onClick: dataPointObject.onClick }),
|
|
105
|
-
React.createElement("text", { dominantBaseline: 'middle', textAnchor: 'middle', className: _this._classNames.text, transform: "translate(" + _this._xAxisScale.bandwidth() / 2 + ", " + _this._yAxisScale.bandwidth() / 2 + ")" }, convertToLocaleString(dataPointObject.rectText, _this.props.culture))));
|
|
106
|
-
rectangles.push(rectElement);
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
return rectangles;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* when the legend is hovered we need to highlight
|
|
113
|
-
* all the rectangles which fall under that category
|
|
114
|
-
* and un-highlight the rest of them
|
|
115
|
-
* @param legendTitle
|
|
116
|
-
*/
|
|
117
|
-
_this._onLegendHover = function (legendTitle) {
|
|
118
|
-
_this.setState({
|
|
119
|
-
activeLegend: legendTitle,
|
|
120
|
-
});
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* when the mouse is out from the legend , we need
|
|
124
|
-
* to show the graph in initial mode.
|
|
125
|
-
*/
|
|
126
|
-
_this._onLegendLeave = function () {
|
|
127
|
-
_this.setState({
|
|
128
|
-
activeLegend: '',
|
|
129
|
-
});
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* @param legendTitle
|
|
133
|
-
* when the legend is clicked we need to highlight
|
|
134
|
-
* all the rectangles which fall under that category
|
|
135
|
-
* and un highlight the rest of them
|
|
136
|
-
*/
|
|
137
|
-
_this._onLegendClick = function (legendTitle) {
|
|
138
|
-
/**
|
|
139
|
-
* check if the legend is already selceted,
|
|
140
|
-
* if yes, un-select the legend, else
|
|
141
|
-
* set the selected legend state to legendTitle
|
|
142
|
-
*/
|
|
143
|
-
if (_this.state.selectedLegend === legendTitle) {
|
|
144
|
-
_this.setState({
|
|
145
|
-
selectedLegend: '',
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
_this.setState({
|
|
150
|
-
selectedLegend: legendTitle,
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
_this._createLegendBars = function () {
|
|
155
|
-
var _a = _this.props, data = _a.data, legendProps = _a.legendProps;
|
|
156
|
-
var legends = [];
|
|
157
|
-
data.forEach(function (item) {
|
|
158
|
-
var legend = {
|
|
159
|
-
title: item.legend,
|
|
160
|
-
color: _this._colorScale(item.value),
|
|
161
|
-
action: function () {
|
|
162
|
-
_this._onLegendClick(item.legend);
|
|
163
|
-
},
|
|
164
|
-
hoverAction: function () {
|
|
165
|
-
_this._handleChartMouseLeave();
|
|
166
|
-
_this._onLegendHover(item.legend);
|
|
167
|
-
},
|
|
168
|
-
onMouseOutAction: function () {
|
|
169
|
-
_this._onLegendLeave();
|
|
170
|
-
},
|
|
171
|
-
};
|
|
172
|
-
legends.push(legend);
|
|
173
|
-
});
|
|
174
|
-
return React.createElement(Legends, __assign({}, legendProps, { legends: legends }));
|
|
175
|
-
};
|
|
176
|
-
_this._getColorScale = function () {
|
|
177
|
-
var _a = _this.props, domainValuesForColorScale = _a.domainValuesForColorScale, rangeValuesForColorScale = _a.rangeValuesForColorScale;
|
|
178
|
-
return d3ScaleLinear()
|
|
179
|
-
.domain(domainValuesForColorScale)
|
|
180
|
-
.range(rangeValuesForColorScale);
|
|
181
|
-
};
|
|
182
|
-
_this._getXIndex = function (value) {
|
|
183
|
-
if (_this._xAxisType === XAxisTypes.DateAxis) {
|
|
184
|
-
return "" + value.getTime();
|
|
185
|
-
}
|
|
186
|
-
else if (_this._xAxisType === XAxisTypes.StringAxis) {
|
|
187
|
-
return value;
|
|
188
|
-
}
|
|
189
|
-
else if (_this._xAxisType === XAxisTypes.NumericAxis) {
|
|
190
|
-
return "" + value;
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
return '';
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
_this._getYIndex = function (value) {
|
|
197
|
-
if (_this._yAxisType === YAxisType.DateAxis) {
|
|
198
|
-
return "" + value.getTime();
|
|
199
|
-
}
|
|
200
|
-
else if (_this._yAxisType === YAxisType.StringAxis) {
|
|
201
|
-
return value;
|
|
202
|
-
}
|
|
203
|
-
else if (_this._yAxisType === YAxisType.NumericAxis) {
|
|
204
|
-
return "" + value;
|
|
205
|
-
}
|
|
206
|
-
else {
|
|
207
|
-
return '';
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
/**
|
|
211
|
-
* This will create a new data set based on the prop
|
|
212
|
-
* @data
|
|
213
|
-
* We will be using This data set to contsruct our rectangles
|
|
214
|
-
* in the chart, we use this data set becuase, when we loop in this
|
|
215
|
-
* data and build the heat map, it will support accessibility as
|
|
216
|
-
* specified in the figma
|
|
217
|
-
*/
|
|
218
|
-
_this._createNewDataSet = function (data, xAxisDateFormatString, xAxisNumberFormatString, yAxisDateFormatString, yAxisNumberFormatString) {
|
|
219
|
-
/**
|
|
220
|
-
* please do not destructure any of the props here,
|
|
221
|
-
* instead send them as parameter to this functions so that
|
|
222
|
-
* this functions get called whenever the prop changes
|
|
223
|
-
*/
|
|
224
|
-
var flattenData = [];
|
|
225
|
-
/**
|
|
226
|
-
* below for each loop will store all the datapoints in the one array.
|
|
227
|
-
* basically it will flatten the nestesd array (data prop) into single array
|
|
228
|
-
* of object. where each object contains x, y, rectText , value and legend propety of single
|
|
229
|
-
* data point.
|
|
230
|
-
*/
|
|
231
|
-
data.forEach(function (item) {
|
|
232
|
-
item.data.forEach(function (point) {
|
|
233
|
-
flattenData.push(__assign(__assign({}, point), { legend: item.legend }));
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
var yPoints = {};
|
|
237
|
-
var uniqueYPoints = {};
|
|
238
|
-
var uniqueXPoints = {};
|
|
239
|
-
flattenData.forEach(function (item) {
|
|
240
|
-
var posX = _this._getXIndex(item.x);
|
|
241
|
-
var posY = _this._getYIndex(item.y);
|
|
242
|
-
uniqueXPoints[posX] = '1';
|
|
243
|
-
uniqueYPoints[posY] = '1';
|
|
244
|
-
/** we will check if the property(posY) is already there in object, if Yes,
|
|
245
|
-
* then we will append the item in the Array related to the pos, if not
|
|
246
|
-
* then we will simply append the item in the new Array and
|
|
247
|
-
* assign that array to the property (posY) in the Object
|
|
248
|
-
* and finally we will get the array of Objects associated to each
|
|
249
|
-
* property (which is nothing but y data point) and object in the
|
|
250
|
-
* array are noting but x data points associated to the property y
|
|
251
|
-
*/
|
|
252
|
-
if (yPoints[posY]) {
|
|
253
|
-
yPoints[posY] = __spreadArray(__spreadArray([], yPoints[posY]), [item]);
|
|
254
|
-
}
|
|
255
|
-
else {
|
|
256
|
-
yPoints[posY] = [item];
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
/**
|
|
260
|
-
* we will now sort(ascending) the array's of y data point based on the x value
|
|
261
|
-
* sorting is important to achive the accessibility order of the
|
|
262
|
-
* rectangles and then format the x and y datapoints respectively
|
|
263
|
-
*/
|
|
264
|
-
Object.keys(yPoints).forEach(function (item) {
|
|
265
|
-
yPoints[item]
|
|
266
|
-
.sort(function (a, b) {
|
|
267
|
-
if (_this._xAxisType === XAxisTypes.StringAxis) {
|
|
268
|
-
return a.x.toLowerCase() > b.x.toLowerCase() ? 1 : -1;
|
|
269
|
-
}
|
|
270
|
-
else if (_this._xAxisType === XAxisTypes.DateAxis) {
|
|
271
|
-
return a.x.getTime() - b.x.getTime();
|
|
272
|
-
}
|
|
273
|
-
else if (_this._xAxisType === XAxisTypes.NumericAxis) {
|
|
274
|
-
return +a.x > +b.x ? 1 : -1;
|
|
275
|
-
}
|
|
276
|
-
else {
|
|
277
|
-
return a.x > b.x ? 1 : -1;
|
|
278
|
-
}
|
|
279
|
-
})
|
|
280
|
-
.forEach(function (datapoint) {
|
|
281
|
-
if (_this._xAxisType === XAxisTypes.DateAxis) {
|
|
282
|
-
datapoint.x = _this._getStringFormattedDate(datapoint.x, xAxisDateFormatString);
|
|
283
|
-
}
|
|
284
|
-
if (_this._xAxisType === XAxisTypes.NumericAxis) {
|
|
285
|
-
datapoint.x = _this._getStringFormattedNumber(datapoint.x, xAxisNumberFormatString);
|
|
286
|
-
}
|
|
287
|
-
if (_this._xAxisType === XAxisTypes.StringAxis) {
|
|
288
|
-
datapoint.x = _this._getFormattedLabelForXAxisDataPoint(datapoint.x);
|
|
289
|
-
}
|
|
290
|
-
if (_this._yAxisType === YAxisType.DateAxis) {
|
|
291
|
-
datapoint.y = _this._getStringFormattedDate(datapoint.y, yAxisDateFormatString);
|
|
292
|
-
}
|
|
293
|
-
if (_this._yAxisType === YAxisType.NumericAxis) {
|
|
294
|
-
datapoint.y = _this._getStringFormattedNumber(datapoint.y, yAxisNumberFormatString);
|
|
295
|
-
}
|
|
296
|
-
if (_this._yAxisType === YAxisType.StringAxis) {
|
|
297
|
-
datapoint.y = _this._getFormattedLabelForYAxisDataPoint(datapoint.y);
|
|
298
|
-
}
|
|
299
|
-
});
|
|
300
|
-
});
|
|
301
|
-
/**
|
|
302
|
-
* if y-axis data points are of type date or number or if we have string formatter,
|
|
303
|
-
* then we need to change data points to their respective string
|
|
304
|
-
* format, becuase in the private variable this._stringYAxisDatapoints, points will be stored in
|
|
305
|
-
* string format. and in here `yPoint` are not so we need to change, so that
|
|
306
|
-
* function `this._createRectangles` should work perfetcly while looping, and if we don't change
|
|
307
|
-
* then `this._createRectangles` will fail while looping, causing the error
|
|
308
|
-
* Cannot read property 'forEach' of undefined
|
|
309
|
-
*/
|
|
310
|
-
Object.keys(yPoints).forEach(function (yPoint) {
|
|
311
|
-
if (_this._yAxisType === YAxisType.DateAxis) {
|
|
312
|
-
yPoints[_this._getStringFormattedDate(yPoint, yAxisDateFormatString)] = yPoints[yPoint];
|
|
313
|
-
}
|
|
314
|
-
else if (_this._yAxisType === YAxisType.NumericAxis) {
|
|
315
|
-
yPoints["" + _this._getStringFormattedNumber(yPoint, yAxisNumberFormatString)] = yPoints[yPoint];
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
yPoints[_this._getFormattedLabelForYAxisDataPoint(yPoint)] = yPoints[yPoint];
|
|
319
|
-
}
|
|
320
|
-
});
|
|
321
|
-
/**
|
|
322
|
-
* assigning new data set
|
|
323
|
-
*/
|
|
324
|
-
var dataSet = yPoints;
|
|
325
|
-
/**
|
|
326
|
-
* These are the Y axis data points which will get rendered in the
|
|
327
|
-
* Y axis in graph
|
|
328
|
-
*/
|
|
329
|
-
var yAxisPoints = _this._getYAxisDataPoints(uniqueYPoints);
|
|
330
|
-
/**
|
|
331
|
-
* These are the x axis data points which will get rendered in the
|
|
332
|
-
* x axis in the graph
|
|
333
|
-
*/
|
|
334
|
-
var xAxisPoints = _this._getXAxisDataPoints(uniqueXPoints);
|
|
335
|
-
return {
|
|
336
|
-
dataSet: dataSet,
|
|
337
|
-
yAxisPoints: yAxisPoints,
|
|
338
|
-
xAxisPoints: xAxisPoints,
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
/**
|
|
342
|
-
* This function will return the final sorted and formatted x-axis points
|
|
343
|
-
* which will be rendered on the x-axis
|
|
344
|
-
* @param points
|
|
345
|
-
* @returns x-axis points
|
|
346
|
-
*/
|
|
347
|
-
_this._getXAxisDataPoints = function (points) {
|
|
348
|
-
var xAxisPoints = [];
|
|
349
|
-
var unFormattedXAxisDataPoints = Object.keys(points).sort(function (a, b) {
|
|
350
|
-
if (_this._xAxisType === XAxisTypes.DateAxis || _this._xAxisType === XAxisTypes.NumericAxis) {
|
|
351
|
-
return +a - +b;
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
return a.toLowerCase() > b.toLowerCase() ? 1 : -1;
|
|
355
|
-
}
|
|
356
|
-
});
|
|
357
|
-
xAxisPoints = unFormattedXAxisDataPoints.map(function (xPoint) {
|
|
358
|
-
if (_this._xAxisType === XAxisTypes.DateAxis) {
|
|
359
|
-
return _this._getStringFormattedDate(xPoint, _this.props.xAxisDateFormatString);
|
|
360
|
-
}
|
|
361
|
-
else if (_this._xAxisType === XAxisTypes.NumericAxis) {
|
|
362
|
-
return _this._getStringFormattedNumber(xPoint, _this.props.xAxisNumberFormatString);
|
|
363
|
-
}
|
|
364
|
-
else {
|
|
365
|
-
return _this._getFormattedLabelForXAxisDataPoint(xPoint);
|
|
366
|
-
}
|
|
367
|
-
});
|
|
368
|
-
return xAxisPoints;
|
|
369
|
-
};
|
|
370
|
-
/**
|
|
371
|
-
* This function will return the final sorted and formatted y-axis points
|
|
372
|
-
* which will be rendered on the y-axis
|
|
373
|
-
* @param points
|
|
374
|
-
* @returns yaxis points
|
|
375
|
-
*/
|
|
376
|
-
_this._getYAxisDataPoints = function (points) {
|
|
377
|
-
var yAxisPoints = [];
|
|
378
|
-
var unFormattedYAxisDataPoints = Object.keys(points).sort(function (a, b) {
|
|
379
|
-
if (_this._yAxisType === YAxisType.DateAxis || _this._yAxisType === YAxisType.NumericAxis) {
|
|
380
|
-
return +a - +b;
|
|
381
|
-
}
|
|
382
|
-
else {
|
|
383
|
-
return a.toLowerCase() > b.toLowerCase() ? 1 : -1;
|
|
384
|
-
}
|
|
385
|
-
});
|
|
386
|
-
yAxisPoints = unFormattedYAxisDataPoints.map(function (yPoint) {
|
|
387
|
-
if (_this._yAxisType === YAxisType.DateAxis) {
|
|
388
|
-
return _this._getStringFormattedDate(yPoint, _this.props.yAxisDateFormatString);
|
|
389
|
-
}
|
|
390
|
-
else if (_this._yAxisType === YAxisType.NumericAxis) {
|
|
391
|
-
return _this._getStringFormattedNumber(yPoint, _this.props.yAxisNumberFormatString);
|
|
392
|
-
}
|
|
393
|
-
else {
|
|
394
|
-
return _this._getFormattedLabelForYAxisDataPoint(yPoint);
|
|
395
|
-
}
|
|
396
|
-
});
|
|
397
|
-
return yAxisPoints;
|
|
398
|
-
};
|
|
399
|
-
_this._getStringFormattedDate = function (point, formatString) {
|
|
400
|
-
var date = new Date();
|
|
401
|
-
date.setTime(+point);
|
|
402
|
-
return d3TimeFormat.timeFormat(formatString || '%b/%d')(date);
|
|
403
|
-
};
|
|
404
|
-
_this._getStringFormattedNumber = function (point, formatString) {
|
|
405
|
-
return d3Format(formatString || '.2~s')(+point);
|
|
406
|
-
};
|
|
407
|
-
_this._getFormattedLabelForXAxisDataPoint = function (point) {
|
|
408
|
-
var xAxisStringFormatter = _this.props.xAxisStringFormatter;
|
|
409
|
-
return xAxisStringFormatter ? xAxisStringFormatter(point) : point;
|
|
410
|
-
};
|
|
411
|
-
_this._getFormattedLabelForYAxisDataPoint = function (point) {
|
|
412
|
-
var yAxisStringFormatter = _this.props.yAxisStringFormatter;
|
|
413
|
-
return yAxisStringFormatter ? yAxisStringFormatter(point) : point;
|
|
414
|
-
};
|
|
415
|
-
_this._closeCallout = function () {
|
|
416
|
-
_this.setState({
|
|
417
|
-
isCalloutVisible: false,
|
|
418
|
-
});
|
|
419
|
-
};
|
|
420
|
-
/**
|
|
421
|
-
* This function checks if the given legend is highlighted or not.
|
|
422
|
-
* A legend can be highlighted in 2 ways:
|
|
423
|
-
* 1. selection: if the user clicks on it
|
|
424
|
-
* 2. hovering: if there is no selected legend and the user hovers over it
|
|
425
|
-
*/
|
|
426
|
-
_this._legendHighlighted = function (legendTitle) {
|
|
427
|
-
return (_this.state.selectedLegend === legendTitle ||
|
|
428
|
-
(_this.state.selectedLegend === '' && _this.state.activeLegend === legendTitle));
|
|
429
|
-
};
|
|
430
|
-
/**
|
|
431
|
-
* This function checks if none of the legends is selected or hovered.
|
|
432
|
-
*/
|
|
433
|
-
_this._noLegendHighlighted = function () {
|
|
434
|
-
return _this.state.selectedLegend === '' && _this.state.activeLegend === '';
|
|
435
|
-
};
|
|
436
|
-
_this._getAriaLabel = function (point) {
|
|
437
|
-
var _a;
|
|
438
|
-
var xValue = point.x;
|
|
439
|
-
var yValue = point.y;
|
|
440
|
-
var legend = point.legend;
|
|
441
|
-
var zValue = point.ratio ? point.ratio[0] + "/" + point.ratio[1] : point.rectText || point.value;
|
|
442
|
-
var description = point.descriptionMessage;
|
|
443
|
-
return (((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) ||
|
|
444
|
-
xValue + ", " + yValue + ". " + legend + ", " + zValue + "." + (description ? " " + description + "." : ''));
|
|
445
|
-
};
|
|
446
|
-
var _a = _this._getXandY(), x = _a.x, y = _a.y;
|
|
447
|
-
_this._xAxisType = getTypeOfAxis(x, true);
|
|
448
|
-
_this._yAxisType = getTypeOfAxis(y, false);
|
|
449
|
-
/**
|
|
450
|
-
* below funciton creates a new data set from the prop
|
|
451
|
-
* @data and also finds all the unique x-axis datapoints
|
|
452
|
-
* and y-axis datapoints(which will render in the axis in graph)
|
|
453
|
-
* we store this in a memoized function, because we want to calulate
|
|
454
|
-
* this set whenever props changes.
|
|
455
|
-
*/
|
|
456
|
-
_this._createSet = memoizeFunction(function (data, xDate, xNum, yDate, yNum) { return _this._createNewDataSet(data, xDate, xNum, yDate, yNum); });
|
|
457
|
-
_this.state = {
|
|
458
|
-
selectedLegend: '',
|
|
459
|
-
activeLegend: '',
|
|
460
|
-
isCalloutVisible: false,
|
|
461
|
-
target: null,
|
|
462
|
-
calloutLegend: '',
|
|
463
|
-
calloutTextColor: '',
|
|
464
|
-
calloutYValue: '',
|
|
465
|
-
ratio: null,
|
|
466
|
-
descriptionMessage: '',
|
|
467
|
-
calloutId: '',
|
|
468
|
-
};
|
|
469
|
-
return _this;
|
|
470
|
-
}
|
|
471
|
-
HeatMapChartBase.prototype.render = function () {
|
|
472
|
-
var _this = this;
|
|
473
|
-
var _a = this.props, data = _a.data, xAxisDateFormatString = _a.xAxisDateFormatString, xAxisNumberFormatString = _a.xAxisNumberFormatString, yAxisDateFormatString = _a.yAxisDateFormatString, yAxisNumberFormatString = _a.yAxisNumberFormatString;
|
|
474
|
-
this._colorScale = this._getColorScale();
|
|
475
|
-
var _b = this._createSet(data, xAxisDateFormatString, xAxisNumberFormatString, yAxisDateFormatString, yAxisNumberFormatString), dataSet = _b.dataSet, xAxisPoints = _b.xAxisPoints, yAxisPoints = _b.yAxisPoints;
|
|
476
|
-
this._dataSet = dataSet;
|
|
477
|
-
this._stringYAxisDataPoints = yAxisPoints;
|
|
478
|
-
this._stringXAxisDataPoints = xAxisPoints;
|
|
479
|
-
this._classNames = getClassNames(this.props.styles, { theme: this.props.theme });
|
|
480
|
-
var calloutProps = __assign(__assign(__assign(__assign({ isBeakVisible: false, gapSpace: 8 }, this.props.calloutProps), { isCalloutVisible: this.state.isCalloutVisible, id: this.state.calloutId, YValue: this.state.calloutYValue, legend: this.state.calloutLegend, color: this.state.calloutTextColor, target: this.state.target, styles: this._classNames.subComponentStyles.calloutStyles, directionalHint: DirectionalHint.topAutoEdge, onDismiss: this._closeCallout }), getAccessibleDataObject(this.state.callOutAccessibilityData, 'text', false)), { preventDismissOnLostFocus: true });
|
|
481
|
-
var chartHoverProps = __assign(__assign({}, (this.state.ratio && {
|
|
482
|
-
ratio: this.state.ratio,
|
|
483
|
-
})), { descriptionMessage: this.state.descriptionMessage });
|
|
484
|
-
return (React.createElement(CartesianChart, __assign({}, this.props, { points: data, chartType: ChartTypes.HeatMapChart, xAxisType: XAxisTypes.StringAxis, yAxisType: YAxisType.StringAxis, calloutProps: calloutProps, chartHoverProps: chartHoverProps, styles: this._classNames.subComponentStyles.cartesianStyles, datasetForXAxisDomain: this._stringXAxisDataPoints, stringDatasetForYAxisDomain: this._stringYAxisDataPoints, xAxisTickCount: this._stringXAxisDataPoints.length, xAxistickSize: 0, xAxisPadding: 0.02, yAxisPadding: 0.02, svgFocusZoneProps: {
|
|
485
|
-
direction: FocusZoneDirection.bidirectional,
|
|
486
|
-
}, legendBars: this._createLegendBars(), onChartMouseLeave: this._handleChartMouseLeave,
|
|
487
|
-
/* eslint-disable react/jsx-no-bind */
|
|
488
|
-
// eslint-disable-next-line react/no-children-prop
|
|
489
|
-
children: function (props) {
|
|
490
|
-
_this._xAxisScale = props.xScale;
|
|
491
|
-
_this._yAxisScale = props.yScale;
|
|
492
|
-
return _this._createRectangles();
|
|
493
|
-
} })));
|
|
494
|
-
};
|
|
495
|
-
return HeatMapChartBase;
|
|
496
|
-
}(React.Component));
|
|
497
|
-
export { HeatMapChartBase };
|
|
498
|
-
//# sourceMappingURL=HeatMapChart.base.js.map
|