@fluentui/react-charting 5.12.23 → 5.12.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 +22 -1
- package/CHANGELOG.md +12 -2
- package/config/tests.js +1 -1
- package/package.json +4 -4
- package/dist/react-charting.js +0 -2
- package/dist/react-charting.js.map +0 -1
- package/dist/react-charting.min.js +0 -2
- package/dist/react-charting.min.js.map +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 -73
- package/lib/components/AreaChart/AreaChart.base.js +0 -489
- 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 -36
- 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 -323
- 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 -400
- 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 -19
- package/lib/components/DonutChart/Arc/Arc.js +0 -77
- 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 -32
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -112
- 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 -44
- package/lib/components/DonutChart/DonutChart.base.js +0 -209
- 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 -29
- package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +0 -53
- 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 -12
- package/lib/components/DonutChart/Pie/Pie.js +0 -47
- 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 -6
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -78
- 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 -49
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -351
- 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 -11
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
- 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 -145
- 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 -22
- 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 -34
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -194
- 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 -49
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -2
- 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 -42
- package/lib/components/Legends/Legends.base.js +0 -311
- 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 -69
- package/lib/components/LineChart/LineChart.base.js +0 -768
- 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 -18
- package/lib/components/SankeyChart/SankeyChart.base.js +0 -108
- 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 -21
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -63
- 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 -41
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -293
- 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 -61
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -2
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
- package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -297
- 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 -94
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
- 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 -303
- 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 -28
- package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.types.d.ts +0 -185
- 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 -57
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -482
- 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 -22
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
- 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 -71
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -607
- 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 -12
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
- 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 -18
- package/lib/index.js +0 -19
- package/lib/index.js.map +0 -1
- package/lib/types/IDataPoint.d.ts +0 -541
- 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/index.d.ts +0 -2
- package/lib/utilities/index.js +0 -3
- package/lib/utilities/index.js.map +0 -1
- package/lib/utilities/utilities.d.ts +0 -374
- package/lib/utilities/utilities.js +0 -819
- 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 -73
- package/lib-amd/components/AreaChart/AreaChart.base.js +0 -482
- 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 -36
- 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 -321
- 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 -400
- 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 -19
- package/lib-amd/components/DonutChart/Arc/Arc.js +0 -76
- 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 -37
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -112
- 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 -44
- package/lib-amd/components/DonutChart/DonutChart.base.js +0 -206
- 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 -35
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -53
- 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 -12
- package/lib-amd/components/DonutChart/Pie/Pie.js +0 -48
- 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 -12
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -78
- 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 -49
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -346
- 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 -16
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
- 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 -145
- 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 -28
- 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 -34
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -193
- 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 -53
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -5
- 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 -42
- package/lib-amd/components/Legends/Legends.base.js +0 -307
- 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 -69
- package/lib-amd/components/LineChart/LineChart.base.js +0 -762
- 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 -18
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -109
- 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 -27
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -63
- 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 -41
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -291
- 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 -66
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -5
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -295
- 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 -98
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
- 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 -301
- 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 -33
- package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -185
- 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 -57
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -476
- 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 -27
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
- 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 -71
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -601
- 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 -17
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
- 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 -18
- package/lib-amd/index.js +0 -22
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/types/IDataPoint.d.ts +0 -541
- 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/index.d.ts +0 -2
- package/lib-amd/utilities/index.js +0 -7
- package/lib-amd/utilities/index.js.map +0 -1
- package/lib-amd/utilities/utilities.d.ts +0 -374
- package/lib-amd/utilities/utilities.js +0 -844
- 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
- package/lib-commonjs/AreaChart.d.ts +0 -1
- package/lib-commonjs/AreaChart.js +0 -5
- package/lib-commonjs/AreaChart.js.map +0 -1
- package/lib-commonjs/CartesianChart.d.ts +0 -1
- package/lib-commonjs/CartesianChart.js +0 -5
- package/lib-commonjs/CartesianChart.js.map +0 -1
- package/lib-commonjs/DonutChart.d.ts +0 -1
- package/lib-commonjs/DonutChart.js +0 -5
- package/lib-commonjs/DonutChart.js.map +0 -1
- package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
- package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
- package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
- package/lib-commonjs/HeatMapChart.d.ts +0 -1
- package/lib-commonjs/HeatMapChart.js +0 -5
- package/lib-commonjs/HeatMapChart.js.map +0 -1
- package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
- package/lib-commonjs/HorizontalBarChart.js +0 -5
- package/lib-commonjs/HorizontalBarChart.js.map +0 -1
- package/lib-commonjs/Legends.d.ts +0 -1
- package/lib-commonjs/Legends.js +0 -5
- package/lib-commonjs/Legends.js.map +0 -1
- package/lib-commonjs/LineChart.d.ts +0 -1
- package/lib-commonjs/LineChart.js +0 -5
- package/lib-commonjs/LineChart.js.map +0 -1
- package/lib-commonjs/PieChart.d.ts +0 -1
- package/lib-commonjs/PieChart.js +0 -5
- package/lib-commonjs/PieChart.js.map +0 -1
- package/lib-commonjs/SankeyChart.d.ts +0 -1
- package/lib-commonjs/SankeyChart.js +0 -5
- package/lib-commonjs/SankeyChart.js.map +0 -1
- package/lib-commonjs/Sparkline.d.ts +0 -1
- package/lib-commonjs/Sparkline.js +0 -5
- package/lib-commonjs/Sparkline.js.map +0 -1
- package/lib-commonjs/StackedBarChart.d.ts +0 -1
- package/lib-commonjs/StackedBarChart.js +0 -5
- package/lib-commonjs/StackedBarChart.js.map +0 -1
- package/lib-commonjs/Styling.d.ts +0 -2
- package/lib-commonjs/Styling.js +0 -75
- package/lib-commonjs/Styling.js.map +0 -1
- package/lib-commonjs/TreeChart.d.ts +0 -1
- package/lib-commonjs/TreeChart.js +0 -5
- package/lib-commonjs/TreeChart.js.map +0 -1
- package/lib-commonjs/Utilities.d.ts +0 -2
- package/lib-commonjs/Utilities.js +0 -185
- package/lib-commonjs/Utilities.js.map +0 -1
- package/lib-commonjs/VerticalBarChart.d.ts +0 -1
- package/lib-commonjs/VerticalBarChart.js +0 -5
- package/lib-commonjs/VerticalBarChart.js.map +0 -1
- package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
- package/lib-commonjs/VerticalStackedBarChart.js +0 -5
- package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -73
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -492
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -3
- package/lib-commonjs/components/AreaChart/AreaChart.js +0 -9
- package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -36
- package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
- package/lib-commonjs/components/AreaChart/index.js +0 -6
- package/lib-commonjs/components/AreaChart/index.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -43
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -326
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -3
- package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -8
- package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -167
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -400
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
- package/lib-commonjs/components/CommonComponents/index.js +0 -6
- package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -19
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -80
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -36
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -112
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
- package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -44
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -212
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -3
- package/lib-commonjs/components/DonutChart/DonutChart.js +0 -9
- package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -33
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -53
- package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -12
- package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -50
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -10
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -78
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
- package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
- package/lib-commonjs/components/DonutChart/index.js +0 -7
- package/lib-commonjs/components/DonutChart/index.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -354
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -9
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -15
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -501
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -3
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -8
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -26
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
- package/lib-commonjs/components/HeatMapChart/index.js +0 -6
- package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -197
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -9
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -53
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -3
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
- package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -42
- package/lib-commonjs/components/Legends/Legends.base.js +0 -314
- package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.d.ts +0 -3
- package/lib-commonjs/components/Legends/Legends.js +0 -8
- package/lib-commonjs/components/Legends/Legends.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -2
- package/lib-commonjs/components/Legends/Legends.styles.js +0 -107
- package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -169
- package/lib-commonjs/components/Legends/Legends.types.js +0 -3
- package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
- package/lib-commonjs/components/Legends/index.d.ts +0 -3
- package/lib-commonjs/components/Legends/index.js +0 -7
- package/lib-commonjs/components/Legends/index.js.map +0 -1
- package/lib-commonjs/components/Legends/shape.d.ts +0 -9
- package/lib-commonjs/components/Legends/shape.js +0 -28
- package/lib-commonjs/components/Legends/shape.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -69
- package/lib-commonjs/components/LineChart/LineChart.base.js +0 -771
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -3
- package/lib-commonjs/components/LineChart/LineChart.js +0 -9
- package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
- package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -72
- package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -41
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -41
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib-commonjs/components/LineChart/index.d.ts +0 -3
- package/lib-commonjs/components/LineChart/index.js +0 -7
- package/lib-commonjs/components/LineChart/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -12
- package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -60
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -12
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -60
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
- package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -38
- package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -46
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
- package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -7
- package/lib-commonjs/components/PieChart/PieChart.base.js +0 -37
- package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -3
- package/lib-commonjs/components/PieChart/PieChart.js +0 -9
- package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
- package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -63
- package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
- package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/index.js +0 -6
- package/lib-commonjs/components/PieChart/index.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -18
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -111
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -3
- package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -9
- package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -25
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -63
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
- package/lib-commonjs/components/SankeyChart/index.js +0 -6
- package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -20
- package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -79
- package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -3
- package/lib-commonjs/components/Sparkline/Sparkline.js +0 -9
- package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -51
- package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
- package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
- package/lib-commonjs/components/Sparkline/index.js +0 -6
- package/lib-commonjs/components/Sparkline/index.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -296
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -9
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -65
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -3
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -300
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -3
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -9
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -98
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
- package/lib-commonjs/components/StackedBarChart/index.js +0 -9
- package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -306
- package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -3
- package/lib-commonjs/components/TreeChart/TreeChart.js +0 -8
- package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -32
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -185
- package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -26
- package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
- package/lib-commonjs/components/TreeChart/index.js +0 -6
- package/lib-commonjs/components/TreeChart/index.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -485
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -9
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -26
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
- package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -610
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -9
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -16
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
- package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib-commonjs/index.d.ts +0 -18
- package/lib-commonjs/index.js +0 -22
- package/lib-commonjs/index.js.map +0 -1
- package/lib-commonjs/types/IDataPoint.d.ts +0 -541
- package/lib-commonjs/types/IDataPoint.js +0 -3
- package/lib-commonjs/types/IDataPoint.js.map +0 -1
- package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
- package/lib-commonjs/types/IEventAnnotation.js +0 -3
- package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
- package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
- package/lib-commonjs/types/ILegendDataItem.js +0 -3
- package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
- package/lib-commonjs/types/index.d.ts +0 -2
- package/lib-commonjs/types/index.js +0 -6
- package/lib-commonjs/types/index.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -86
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
- package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib-commonjs/utilities/index.d.ts +0 -2
- package/lib-commonjs/utilities/index.js +0 -6
- package/lib-commonjs/utilities/index.js.map +0 -1
- package/lib-commonjs/utilities/utilities.d.ts +0 -374
- package/lib-commonjs/utilities/utilities.js +0 -849
- package/lib-commonjs/utilities/utilities.js.map +0 -1
- package/lib-commonjs/version.d.ts +0 -1
- package/lib-commonjs/version.js +0 -7
- package/lib-commonjs/version.js.map +0 -1
|
@@ -1,762 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib", "react", "d3-selection", "d3-array", "../Legends/index", "d3-shape", "@fluentui/react/lib/Utilities", "../../index", "@fluentui/react/lib/Callout", "./eventAnnotation/EventAnnotation", "../../utilities/index"], function (require, exports, tslib_1, React, d3_selection_1, d3_array_1, index_1, d3_shape_1, Utilities_1, index_2, Callout_1, EventAnnotation_1, index_3) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.LineChartBase = void 0;
|
|
5
|
-
var getClassNames = Utilities_1.classNamesFunction();
|
|
6
|
-
var PointSize;
|
|
7
|
-
(function (PointSize) {
|
|
8
|
-
PointSize[PointSize["hoverSize"] = 11] = "hoverSize";
|
|
9
|
-
PointSize[PointSize["invisibleSize"] = 1] = "invisibleSize";
|
|
10
|
-
})(PointSize || (PointSize = {}));
|
|
11
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
12
|
-
var bisect = d3_array_1.bisector(function (d) { return d.x; }).left;
|
|
13
|
-
var DEFAULT_LINE_STROKE_SIZE = 4;
|
|
14
|
-
// The given shape of a icon must be 2.5 times bigger than line width (known as stroke width)
|
|
15
|
-
var PATH_MULTIPLY_SIZE = 2.5;
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @param x units from origin
|
|
19
|
-
* @param y units from origin
|
|
20
|
-
* @param w is the legnth of the each side of a shape
|
|
21
|
-
* @param index index to get the shape path
|
|
22
|
-
*/
|
|
23
|
-
var _getPointPath = function (x, y, w, index) {
|
|
24
|
-
var allPointPaths = [
|
|
25
|
-
// circle path
|
|
26
|
-
"M" + (x - w / 2) + " " + y + "\n A" + w / 2 + " " + w / 2 + " 0 1 0 " + (x + w / 2) + " " + y + "\n M" + (x - w / 2) + " " + y + "\n A " + w / 2 + " " + w / 2 + " 0 1 1 " + (x + w / 2) + " " + y + "\n ",
|
|
27
|
-
//square
|
|
28
|
-
"M" + (x - w / 2) + " " + (y - w / 2) + "\n L" + (x + w / 2) + " " + (y - w / 2) + "\n L" + (x + w / 2) + " " + (y + w / 2) + "\n L" + (x - w / 2) + " " + (y + w / 2) + "\n Z",
|
|
29
|
-
//triangle
|
|
30
|
-
"M" + (x - w / 2) + " " + (y - 0.2886 * w) + "\n H " + (x + w / 2) + "\n L" + x + " " + (y + 0.5774 * w) + " Z",
|
|
31
|
-
//diamond
|
|
32
|
-
"M" + x + " " + (y - w / 2) + "\n L" + (x + w / 2) + " " + y + "\n L" + x + " " + (y + w / 2) + "\n L" + (x - w / 2) + " " + y + "\n Z",
|
|
33
|
-
//pyramid
|
|
34
|
-
"M" + x + " " + (y - 0.5774 * w) + "\n L" + (x + w / 2) + " " + (y + 0.2886 * w) + "\n L" + (x - w / 2) + " " + (y + 0.2886 * w) + " Z",
|
|
35
|
-
//hexagon
|
|
36
|
-
"M" + (x - 0.5 * w) + " " + (y - 0.866 * w) + "\n L" + (x + 0.5 * w) + " " + (y - 0.866 * w) + "\n L" + (x + w) + " " + y + "\n L" + (x + 0.5 * w) + " " + (y + 0.866 * w) + "\n L" + (x - 0.5 * w) + " " + (y + 0.866 * w) + "\n L" + (x - w) + " " + y + "\n Z",
|
|
37
|
-
//pentagon
|
|
38
|
-
"M" + x + " " + (y - 0.851 * w) + "\n L" + (x + 0.6884 * w) + " " + (y - 0.2633 * w) + "\n L" + (x + 0.5001 * w) + " " + (y + 0.6884 * w) + "\n L" + (x - 0.5001 * w) + " " + (y + 0.6884 * w) + "\n L" + (x - 0.6884 * w) + " " + (y - 0.2633 * w) + "\n Z",
|
|
39
|
-
//octagon
|
|
40
|
-
"M" + (x - 0.5001 * w) + " " + (y - 1.207 * w) + "\n L" + (x + 0.5001 * w) + " " + (y - 1.207 * w) + "\n L" + (x + 1.207 * w) + " " + (y - 0.5001 * w) + "\n L" + (x + 1.207 * w) + " " + (y + 0.5001 * w) + "\n L" + (x + 0.5001 * w) + " " + (y + 1.207 * w) + "\n L" + (x - 0.5001 * w) + " " + (y + 1.207 * w) + "\n L" + (x - 1.207 * w) + " " + (y + 0.5001 * w) + "\n L" + (x - 1.207 * w) + " " + (y - 0.5001 * w) + "\n Z",
|
|
41
|
-
];
|
|
42
|
-
return allPointPaths[index];
|
|
43
|
-
};
|
|
44
|
-
var LineChartBase = /** @class */ (function (_super) {
|
|
45
|
-
tslib_1.__extends(LineChartBase, _super);
|
|
46
|
-
function LineChartBase(props) {
|
|
47
|
-
var _this_1 = _super.call(this, props) || this;
|
|
48
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
49
|
-
_this_1._xAxisScale = '';
|
|
50
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
51
|
-
_this_1._yAxisScale = '';
|
|
52
|
-
_this_1.eventLabelHeight = 36;
|
|
53
|
-
_this_1._injectIndexPropertyInLineChartData = function (lineChartData) {
|
|
54
|
-
var _a = _this_1.props.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _a === void 0 ? false : _a;
|
|
55
|
-
return lineChartData
|
|
56
|
-
? lineChartData.map(function (item, index) { return (tslib_1.__assign(tslib_1.__assign({}, item), { index: allowMultipleShapesForPoints ? index : -1 })); })
|
|
57
|
-
: [];
|
|
58
|
-
};
|
|
59
|
-
_this_1._getCustomizedCallout = function () {
|
|
60
|
-
return _this_1.props.onRenderCalloutPerStack
|
|
61
|
-
? _this_1.props.onRenderCalloutPerStack(_this_1.state.stackCalloutProps)
|
|
62
|
-
: _this_1.props.onRenderCalloutPerDataPoint
|
|
63
|
-
? _this_1.props.onRenderCalloutPerDataPoint(_this_1.state.dataPointCalloutProps)
|
|
64
|
-
: null;
|
|
65
|
-
};
|
|
66
|
-
_this_1._getMargins = function (margins) {
|
|
67
|
-
_this_1.margins = margins;
|
|
68
|
-
};
|
|
69
|
-
_this_1._initializeLineChartData = function (xScale, yScale, containerHeight, containerWidth, xElement) {
|
|
70
|
-
_this_1._xAxisScale = xScale;
|
|
71
|
-
_this_1._yAxisScale = yScale;
|
|
72
|
-
_this_1._renderedColorFillBars = _this_1.props.colorFillBars ? _this_1._createColorFillBars(containerHeight) : [];
|
|
73
|
-
_this_1.lines = _this_1._createLines(xElement, containerHeight);
|
|
74
|
-
};
|
|
75
|
-
_this_1._handleSingleLegendSelectionAction = function (lineChartItem) {
|
|
76
|
-
if (_this_1.state.selectedLegend === lineChartItem.legend) {
|
|
77
|
-
_this_1.setState({ selectedLegend: '', activeLegend: lineChartItem.legend });
|
|
78
|
-
_this_1._handleLegendClick(lineChartItem, null);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
_this_1.setState({
|
|
82
|
-
selectedLegend: lineChartItem.legend,
|
|
83
|
-
activeLegend: lineChartItem.legend,
|
|
84
|
-
});
|
|
85
|
-
_this_1._handleLegendClick(lineChartItem, lineChartItem.legend);
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
_this_1._onHoverCardHide = function () {
|
|
89
|
-
_this_1.setState({
|
|
90
|
-
selectedLegendPoints: [],
|
|
91
|
-
selectedColorBarLegend: [],
|
|
92
|
-
isSelectedLegend: false,
|
|
93
|
-
});
|
|
94
|
-
};
|
|
95
|
-
_this_1._closeCallout = function () {
|
|
96
|
-
_this_1.setState({
|
|
97
|
-
isCalloutVisible: false,
|
|
98
|
-
});
|
|
99
|
-
};
|
|
100
|
-
_this_1._getBoxWidthOfShape = function (pointId, pointIndex, isLastPoint) {
|
|
101
|
-
var _a = _this_1.props, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b, _c = _a.strokeWidth, strokeWidth = _c === void 0 ? DEFAULT_LINE_STROKE_SIZE : _c;
|
|
102
|
-
var activePoint = _this_1.state.activePoint;
|
|
103
|
-
if (allowMultipleShapesForPoints) {
|
|
104
|
-
if (activePoint === pointId) {
|
|
105
|
-
return PointSize.hoverSize;
|
|
106
|
-
}
|
|
107
|
-
else if (pointIndex === 1 || isLastPoint) {
|
|
108
|
-
return strokeWidth * PATH_MULTIPLY_SIZE;
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return PointSize.invisibleSize;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
else {
|
|
115
|
-
if (activePoint === pointId) {
|
|
116
|
-
return PointSize.hoverSize;
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
return PointSize.invisibleSize;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
_this_1._getPath = function (xPos, yPos, pointId, pointIndex, isLastPoint, pointOftheLine) {
|
|
124
|
-
var _a = _this_1.props.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _a === void 0 ? false : _a;
|
|
125
|
-
var w = _this_1._getBoxWidthOfShape(pointId, pointIndex, isLastPoint);
|
|
126
|
-
var index = allowMultipleShapesForPoints ? pointOftheLine % Object.keys(index_3.pointTypes).length : 0;
|
|
127
|
-
var widthRatio = index_3.pointTypes[index].widthRatio;
|
|
128
|
-
w = widthRatio > 1 ? w / widthRatio : w;
|
|
129
|
-
return _getPointPath(xPos, yPos, w, index);
|
|
130
|
-
};
|
|
131
|
-
_this_1._getPointFill = function (lineColor, pointId, pointIndex, isLastPoint) {
|
|
132
|
-
var activePoint = _this_1.state.activePoint;
|
|
133
|
-
var _a = _this_1.props, theme = _a.theme, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b;
|
|
134
|
-
if (allowMultipleShapesForPoints) {
|
|
135
|
-
if (pointIndex === 1 || isLastPoint) {
|
|
136
|
-
if (activePoint === pointId) {
|
|
137
|
-
return theme.palette.white;
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return lineColor;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
if (activePoint === pointId) {
|
|
145
|
-
return theme.palette.white;
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
return lineColor;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
if (activePoint === pointId) {
|
|
154
|
-
return theme.palette.white;
|
|
155
|
-
}
|
|
156
|
-
else {
|
|
157
|
-
return lineColor;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
_this_1._createColorFillBars = function (containerHeight) {
|
|
162
|
-
var colorFillBars = [];
|
|
163
|
-
if (_this_1.state.isSelectedLegend) {
|
|
164
|
-
_this_1._colorFillBars = _this_1.state.selectedColorBarLegend;
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
_this_1._colorFillBars = _this_1.props.colorFillBars;
|
|
168
|
-
}
|
|
169
|
-
var yMinMaxValues = index_3.getMinMaxOfYAxis(_this_1._points, index_3.ChartTypes.LineChart);
|
|
170
|
-
var FILL_Y_PADDING = 3;
|
|
171
|
-
for (var i = 0; i < _this_1._colorFillBars.length; i++) {
|
|
172
|
-
var colorFillBar = _this_1._colorFillBars[i];
|
|
173
|
-
var colorFillBarId = Utilities_1.getId(colorFillBar.legend.replace(/\W/g, ''));
|
|
174
|
-
if (colorFillBar.applyPattern) {
|
|
175
|
-
// Using a pattern element because CSS was unable to render diagonal stripes for rect elements
|
|
176
|
-
colorFillBars.push(_this_1._getStripePattern(colorFillBar.color, i));
|
|
177
|
-
}
|
|
178
|
-
for (var j = 0; j < colorFillBar.data.length; j++) {
|
|
179
|
-
var startX = colorFillBar.data[j].startX;
|
|
180
|
-
var endX = colorFillBar.data[j].endX;
|
|
181
|
-
var opacity = _this_1.state.activeLegend === colorFillBar.legend ||
|
|
182
|
-
_this_1.state.activeLegend === '' ||
|
|
183
|
-
_this_1.state.isSelectedLegend
|
|
184
|
-
? _this_1._colorFillBarsOpacity
|
|
185
|
-
: 0.1;
|
|
186
|
-
colorFillBars.push(React.createElement("rect", { fill: colorFillBar.applyPattern ? "url(#" + _this_1._colorFillBarPatternId + i + ")" : colorFillBar.color, fillOpacity: opacity, x: _this_1._xAxisScale(startX), y: _this_1._yAxisScale(yMinMaxValues.endValue) - FILL_Y_PADDING, width: Math.abs(_this_1._xAxisScale(endX) - _this_1._xAxisScale(startX)), height: _this_1._yAxisScale(_this_1.props.yMinValue || 0) - _this_1._yAxisScale(yMinMaxValues.endValue) + FILL_Y_PADDING, key: "" + colorFillBarId + j }));
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
return colorFillBars;
|
|
190
|
-
};
|
|
191
|
-
_this_1._getStripePattern = function (color, id) {
|
|
192
|
-
// This describes a tile pattern that resembles diagonal stripes
|
|
193
|
-
// For more information: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d
|
|
194
|
-
var stripePath = 'M-4,4 l8,-8 M0,16 l16,-16 M12,20 l8,-8';
|
|
195
|
-
return (React.createElement("pattern", { id: "" + _this_1._colorFillBarPatternId + id, width: 16, height: 16, key: "" + _this_1._colorFillBarPatternId + id, patternUnits: 'userSpaceOnUse' },
|
|
196
|
-
React.createElement("path", { d: stripePath, stroke: color, strokeWidth: 1.25 })));
|
|
197
|
-
};
|
|
198
|
-
_this_1._checkInGap = function (pointIndex, gaps, currentGapIndex) {
|
|
199
|
-
var gapIndex = currentGapIndex;
|
|
200
|
-
var isInGap = false;
|
|
201
|
-
while (gapIndex < gaps.length && pointIndex > gaps[gapIndex].endIndex) {
|
|
202
|
-
gapIndex++;
|
|
203
|
-
}
|
|
204
|
-
if (gapIndex < gaps.length && pointIndex > gaps[gapIndex].startIndex && pointIndex <= gaps[gapIndex].endIndex) {
|
|
205
|
-
isInGap = true;
|
|
206
|
-
}
|
|
207
|
-
return { isInGap: isInGap, gapIndex: gapIndex };
|
|
208
|
-
};
|
|
209
|
-
_this_1._onMouseOverLargeDataset = function (linenumber, lineHeight, mouseEvent) {
|
|
210
|
-
mouseEvent.persist();
|
|
211
|
-
var data = _this_1.props.data;
|
|
212
|
-
var lineChartData = data.lineChartData;
|
|
213
|
-
// This will get the value of the X when mouse is on the chart
|
|
214
|
-
var xOffset = _this_1._xAxisScale.invert(d3_selection_1.clientPoint(document.getElementById(_this_1._rectId), mouseEvent)[0]);
|
|
215
|
-
var i = bisect(lineChartData[linenumber].data, xOffset);
|
|
216
|
-
var d0 = lineChartData[linenumber].data[i - 1];
|
|
217
|
-
var d1 = lineChartData[linenumber].data[i];
|
|
218
|
-
var axisType = null;
|
|
219
|
-
var xPointToHighlight = null;
|
|
220
|
-
var index = null;
|
|
221
|
-
if (d0 === undefined && d1 !== undefined) {
|
|
222
|
-
xPointToHighlight = d1.x;
|
|
223
|
-
index = i;
|
|
224
|
-
}
|
|
225
|
-
else if (d0 !== undefined && d1 === undefined) {
|
|
226
|
-
xPointToHighlight = d0.x;
|
|
227
|
-
index = i - 1;
|
|
228
|
-
}
|
|
229
|
-
else {
|
|
230
|
-
axisType = index_3.getTypeOfAxis(lineChartData[linenumber].data[0].x, true);
|
|
231
|
-
var x0 = void 0;
|
|
232
|
-
var point0 = void 0;
|
|
233
|
-
var point1 = void 0;
|
|
234
|
-
switch (axisType) {
|
|
235
|
-
case index_3.XAxisTypes.DateAxis:
|
|
236
|
-
x0 = new Date(xOffset).getTime();
|
|
237
|
-
point0 = d0.x.getTime();
|
|
238
|
-
point1 = d1.x.getTime();
|
|
239
|
-
xPointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;
|
|
240
|
-
index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;
|
|
241
|
-
break;
|
|
242
|
-
case index_3.XAxisTypes.NumericAxis:
|
|
243
|
-
x0 = xOffset;
|
|
244
|
-
point0 = d0.x;
|
|
245
|
-
point1 = d1.x;
|
|
246
|
-
xPointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;
|
|
247
|
-
index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;
|
|
248
|
-
break;
|
|
249
|
-
default:
|
|
250
|
-
break;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
var _a = lineChartData[linenumber].data[index], xAxisCalloutData = _a.xAxisCalloutData, xAxisCalloutAccessibilityData = _a.xAxisCalloutAccessibilityData;
|
|
254
|
-
var formattedDate = xPointToHighlight instanceof Date ? xPointToHighlight.toLocaleString() : xPointToHighlight;
|
|
255
|
-
var modifiedXVal = xPointToHighlight instanceof Date ? xPointToHighlight.getTime() : xPointToHighlight;
|
|
256
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
257
|
-
var found = Utilities_1.find(_this_1._calloutPoints, function (element) {
|
|
258
|
-
return element.x === modifiedXVal;
|
|
259
|
-
});
|
|
260
|
-
var pointToHighlight = lineChartData[linenumber].data[index];
|
|
261
|
-
var pointToHighlightUpdated = _this_1.state.nearestCircleToHighlight === null ||
|
|
262
|
-
(_this_1.state.nearestCircleToHighlight !== null &&
|
|
263
|
-
pointToHighlight !== null &&
|
|
264
|
-
(_this_1.state.nearestCircleToHighlight.x !== pointToHighlight.x ||
|
|
265
|
-
_this_1.state.nearestCircleToHighlight.y !== pointToHighlight.y));
|
|
266
|
-
// if no points need to be called out then don't show vertical line and callout card
|
|
267
|
-
if (found && pointToHighlightUpdated) {
|
|
268
|
-
_this_1._uniqueCallOutID = "#" + _this_1._staticHighlightCircle + "_" + linenumber;
|
|
269
|
-
d3_selection_1.select("#" + _this_1._staticHighlightCircle + "_" + linenumber)
|
|
270
|
-
.attr('cx', "" + _this_1._xAxisScale(pointToHighlight.x))
|
|
271
|
-
.attr('cy', "" + _this_1._yAxisScale(pointToHighlight.y))
|
|
272
|
-
.attr('visibility', 'visibility');
|
|
273
|
-
d3_selection_1.select("#" + _this_1._verticalLine)
|
|
274
|
-
.attr('transform', function () { return "translate(" + _this_1._xAxisScale(pointToHighlight.x) + ", " + _this_1._yAxisScale(pointToHighlight.y) + ")"; })
|
|
275
|
-
.attr('visibility', 'visibility')
|
|
276
|
-
.attr('y2', "" + (lineHeight - _this_1._yAxisScale(pointToHighlight.y)));
|
|
277
|
-
_this_1.setState({
|
|
278
|
-
nearestCircleToHighlight: pointToHighlight,
|
|
279
|
-
isCalloutVisible: true,
|
|
280
|
-
refSelected: "#" + _this_1._staticHighlightCircle + "_" + linenumber,
|
|
281
|
-
stackCalloutProps: found,
|
|
282
|
-
YValueHover: found.values,
|
|
283
|
-
dataPointCalloutProps: found,
|
|
284
|
-
hoverXValue: xAxisCalloutData ? xAxisCalloutData : formattedDate,
|
|
285
|
-
xAxisCalloutAccessibilityData: xAxisCalloutAccessibilityData,
|
|
286
|
-
activePoint: '',
|
|
287
|
-
activeLine: linenumber,
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
if (!found) {
|
|
291
|
-
_this_1.setState({
|
|
292
|
-
isCalloutVisible: false,
|
|
293
|
-
nearestCircleToHighlight: pointToHighlight,
|
|
294
|
-
activePoint: '',
|
|
295
|
-
activeLine: linenumber,
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
_this_1._handleFocus = function (lineId, x, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData) {
|
|
300
|
-
_this_1._uniqueCallOutID = circleId;
|
|
301
|
-
var formattedData = x instanceof Date ? x.toLocaleDateString() : x;
|
|
302
|
-
var xVal = x instanceof Date ? x.getTime() : x;
|
|
303
|
-
var found = Utilities_1.find(_this_1._calloutPoints, function (element) { return element.x === xVal; });
|
|
304
|
-
// if no points need to be called out then don't show vertical line and callout card
|
|
305
|
-
if (found) {
|
|
306
|
-
var _this_2 = _this_1;
|
|
307
|
-
d3_selection_1.select('#' + circleId).attr('aria-labelledby', "toolTip" + _this_1._uniqueCallOutID);
|
|
308
|
-
d3_selection_1.select("#" + _this_1._verticalLine)
|
|
309
|
-
.attr('transform', function () { return "translate(" + _this_2._xAxisScale(x) + ", 0)"; })
|
|
310
|
-
.attr('visibility', 'visibility');
|
|
311
|
-
_this_1._refArray.forEach(function (obj) {
|
|
312
|
-
if (obj.index === lineId) {
|
|
313
|
-
_this_1.setState({
|
|
314
|
-
isCalloutVisible: true,
|
|
315
|
-
refSelected: obj.refElement,
|
|
316
|
-
hoverXValue: xAxisCalloutData ? xAxisCalloutData : '' + formattedData,
|
|
317
|
-
YValueHover: found.values,
|
|
318
|
-
stackCalloutProps: found,
|
|
319
|
-
dataPointCalloutProps: found,
|
|
320
|
-
activePoint: circleId,
|
|
321
|
-
xAxisCalloutAccessibilityData: xAxisCalloutAccessibilityData,
|
|
322
|
-
});
|
|
323
|
-
}
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
else {
|
|
327
|
-
_this_1.setState({
|
|
328
|
-
activePoint: circleId,
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
|
-
};
|
|
332
|
-
_this_1._handleHover = function (x, y, lineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData, mouseEvent) {
|
|
333
|
-
mouseEvent.persist();
|
|
334
|
-
var formattedData = x instanceof Date ? x.toLocaleDateString() : x;
|
|
335
|
-
var xVal = x instanceof Date ? x.getTime() : x;
|
|
336
|
-
var _this = _this_1;
|
|
337
|
-
var found = Utilities_1.find(_this_1._calloutPoints, function (element) { return element.x === xVal; });
|
|
338
|
-
// if no points need to be called out then don't show vertical line and callout card
|
|
339
|
-
if (found) {
|
|
340
|
-
d3_selection_1.select("#" + _this_1._verticalLine)
|
|
341
|
-
.attr('transform', function () { return "translate(" + _this._xAxisScale(x) + ", " + _this._yAxisScale(y) + ")"; })
|
|
342
|
-
.attr('visibility', 'visibility')
|
|
343
|
-
.attr('y2', "" + (lineHeight - _this._yAxisScale(y)));
|
|
344
|
-
if (_this_1._uniqueCallOutID !== circleId) {
|
|
345
|
-
_this_1._uniqueCallOutID = circleId;
|
|
346
|
-
_this_1.setState({
|
|
347
|
-
isCalloutVisible: true,
|
|
348
|
-
refSelected: "#" + circleId,
|
|
349
|
-
hoverXValue: xAxisCalloutData ? xAxisCalloutData : '' + formattedData,
|
|
350
|
-
YValueHover: found.values,
|
|
351
|
-
stackCalloutProps: found,
|
|
352
|
-
dataPointCalloutProps: found,
|
|
353
|
-
activePoint: circleId,
|
|
354
|
-
xAxisCalloutAccessibilityData: xAxisCalloutAccessibilityData,
|
|
355
|
-
nearestCircleToHighlight: null,
|
|
356
|
-
activeLine: null,
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
else {
|
|
361
|
-
_this_1.setState({
|
|
362
|
-
activePoint: circleId,
|
|
363
|
-
nearestCircleToHighlight: null,
|
|
364
|
-
activeLine: null,
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
|
-
};
|
|
368
|
-
_this_1._onLineClick = function (func) {
|
|
369
|
-
if (func) {
|
|
370
|
-
func();
|
|
371
|
-
}
|
|
372
|
-
};
|
|
373
|
-
_this_1._onDataPointClick = function (func) {
|
|
374
|
-
if (func) {
|
|
375
|
-
func();
|
|
376
|
-
}
|
|
377
|
-
};
|
|
378
|
-
_this_1._handleMouseOut = function () {
|
|
379
|
-
d3_selection_1.select("#" + _this_1._verticalLine).attr('visibility', 'hidden');
|
|
380
|
-
};
|
|
381
|
-
_this_1._handleChartMouseLeave = function () {
|
|
382
|
-
_this_1._uniqueCallOutID = null;
|
|
383
|
-
_this_1.setState({
|
|
384
|
-
isCalloutVisible: false,
|
|
385
|
-
activePoint: '',
|
|
386
|
-
activeLine: null,
|
|
387
|
-
});
|
|
388
|
-
};
|
|
389
|
-
_this_1._handleLegendClick = function (lineChartItem, selectedLegend) {
|
|
390
|
-
if (lineChartItem.onLegendClick) {
|
|
391
|
-
lineChartItem.onLegendClick(selectedLegend);
|
|
392
|
-
}
|
|
393
|
-
};
|
|
394
|
-
_this_1._handleMultipleLineLegendSelectionAction = function (selectedLine) {
|
|
395
|
-
var selectedLineIndex = _this_1.state.selectedLegendPoints.reduce(function (acc, line, index) {
|
|
396
|
-
if (acc > -1 || line.legend !== selectedLine.legend) {
|
|
397
|
-
return acc;
|
|
398
|
-
}
|
|
399
|
-
else {
|
|
400
|
-
return index;
|
|
401
|
-
}
|
|
402
|
-
}, -1);
|
|
403
|
-
var selectedLines;
|
|
404
|
-
if (selectedLineIndex === -1) {
|
|
405
|
-
selectedLines = tslib_1.__spreadArray(tslib_1.__spreadArray([], _this_1.state.selectedLegendPoints), [selectedLine]);
|
|
406
|
-
}
|
|
407
|
-
else {
|
|
408
|
-
selectedLines = _this_1.state.selectedLegendPoints
|
|
409
|
-
.slice(0, selectedLineIndex)
|
|
410
|
-
.concat(_this_1.state.selectedLegendPoints.slice(selectedLineIndex + 1));
|
|
411
|
-
}
|
|
412
|
-
var areAllLineLegendsSelected = _this_1.props.data && selectedLines.length === _this_1.props.data.lineChartData.length;
|
|
413
|
-
if (areAllLineLegendsSelected &&
|
|
414
|
-
((_this_1.props.colorFillBars && _this_1.props.colorFillBars.length === _this_1.state.selectedColorBarLegend.length) ||
|
|
415
|
-
!_this_1.props.colorFillBars)) {
|
|
416
|
-
// Clear all legends if all legends including color fill bar legends are selected
|
|
417
|
-
// Or clear all legends if all legends are selected and there are no color fill bars
|
|
418
|
-
_this_1._clearMultipleLegendSelections();
|
|
419
|
-
}
|
|
420
|
-
else if (!selectedLines.length && !_this_1.state.selectedColorBarLegend.length) {
|
|
421
|
-
// Clear all legends if no legends including color fill bar legends are selected
|
|
422
|
-
_this_1._clearMultipleLegendSelections();
|
|
423
|
-
}
|
|
424
|
-
else {
|
|
425
|
-
// Otherwise, set state when one or more legends are selected, including color fill bar legends
|
|
426
|
-
_this_1.setState({
|
|
427
|
-
selectedLegendPoints: selectedLines,
|
|
428
|
-
isSelectedLegend: true,
|
|
429
|
-
});
|
|
430
|
-
}
|
|
431
|
-
var selectedLegendTitlesToPass = selectedLines.map(function (line) { return line.legend; });
|
|
432
|
-
_this_1._handleLegendClick(selectedLine, selectedLegendTitlesToPass);
|
|
433
|
-
};
|
|
434
|
-
_this_1._handleMultipleColorFillBarLegendSelectionAction = function (selectedColorFillBar) {
|
|
435
|
-
var selectedColorFillBarIndex = _this_1.state.selectedColorBarLegend.reduce(function (acc, colorFillBar, index) {
|
|
436
|
-
if (acc > -1 || colorFillBar.legend !== selectedColorFillBar.legend) {
|
|
437
|
-
return acc;
|
|
438
|
-
}
|
|
439
|
-
else {
|
|
440
|
-
return index;
|
|
441
|
-
}
|
|
442
|
-
}, -1);
|
|
443
|
-
var selectedColorFillBars;
|
|
444
|
-
if (selectedColorFillBarIndex === -1) {
|
|
445
|
-
selectedColorFillBars = tslib_1.__spreadArray(tslib_1.__spreadArray([], _this_1.state.selectedColorBarLegend), [selectedColorFillBar]);
|
|
446
|
-
}
|
|
447
|
-
else {
|
|
448
|
-
selectedColorFillBars = _this_1.state.selectedColorBarLegend
|
|
449
|
-
.slice(0, selectedColorFillBarIndex)
|
|
450
|
-
.concat(_this_1.state.selectedColorBarLegend.slice(selectedColorFillBarIndex + 1));
|
|
451
|
-
}
|
|
452
|
-
var areAllColorFillBarLegendsSelected = selectedColorFillBars.length === (_this_1.props.colorFillBars && _this_1.props.colorFillBars.length);
|
|
453
|
-
if (areAllColorFillBarLegendsSelected &&
|
|
454
|
-
((_this_1.props.data && _this_1.props.data.lineChartData.length === _this_1.state.selectedLegendPoints.length) ||
|
|
455
|
-
!_this_1.props.data)) {
|
|
456
|
-
// Clear all legends if all legends, including line legends, are selected
|
|
457
|
-
// Or clear all legends if all legends are selected and there is no line data
|
|
458
|
-
_this_1._clearMultipleLegendSelections();
|
|
459
|
-
}
|
|
460
|
-
else if (!selectedColorFillBars.length && !_this_1.state.selectedLegendPoints.length) {
|
|
461
|
-
// Clear all legends if no legends are selected, including line legends
|
|
462
|
-
_this_1._clearMultipleLegendSelections();
|
|
463
|
-
}
|
|
464
|
-
else {
|
|
465
|
-
// set state when one or more legends are selected, including line legends
|
|
466
|
-
_this_1.setState({
|
|
467
|
-
selectedColorBarLegend: selectedColorFillBars,
|
|
468
|
-
isSelectedLegend: true,
|
|
469
|
-
});
|
|
470
|
-
}
|
|
471
|
-
var selectedLegendTitlesToPass = selectedColorFillBars.map(function (colorFillBar) { return colorFillBar.legend; });
|
|
472
|
-
_this_1._handleLegendClick(selectedColorFillBar, selectedLegendTitlesToPass);
|
|
473
|
-
};
|
|
474
|
-
_this_1._clearMultipleLegendSelections = function () {
|
|
475
|
-
_this_1.setState({
|
|
476
|
-
selectedColorBarLegend: [],
|
|
477
|
-
selectedLegendPoints: [],
|
|
478
|
-
isSelectedLegend: false,
|
|
479
|
-
});
|
|
480
|
-
};
|
|
481
|
-
_this_1.state = {
|
|
482
|
-
hoverXValue: '',
|
|
483
|
-
activeLegend: '',
|
|
484
|
-
YValueHover: [],
|
|
485
|
-
refSelected: '',
|
|
486
|
-
selectedLegend: '',
|
|
487
|
-
isCalloutVisible: false,
|
|
488
|
-
selectedLegendPoints: [],
|
|
489
|
-
selectedColorBarLegend: [],
|
|
490
|
-
isSelectedLegend: false,
|
|
491
|
-
activePoint: '',
|
|
492
|
-
nearestCircleToHighlight: null,
|
|
493
|
-
activeLine: null,
|
|
494
|
-
};
|
|
495
|
-
_this_1._refArray = [];
|
|
496
|
-
_this_1._points = _this_1._injectIndexPropertyInLineChartData(_this_1.props.data.lineChartData);
|
|
497
|
-
_this_1._colorFillBars = [];
|
|
498
|
-
_this_1._colorFillBarsOpacity = 0.5;
|
|
499
|
-
_this_1._calloutPoints = index_3.calloutData(_this_1._points) || [];
|
|
500
|
-
_this_1._circleId = Utilities_1.getId('circle');
|
|
501
|
-
_this_1._lineId = Utilities_1.getId('lineID');
|
|
502
|
-
_this_1._borderId = Utilities_1.getId('borderID');
|
|
503
|
-
_this_1._verticalLine = Utilities_1.getId('verticalLine');
|
|
504
|
-
_this_1._colorFillBarPatternId = Utilities_1.getId('colorFillBarPattern');
|
|
505
|
-
_this_1._tooltipId = Utilities_1.getId('LineChartTooltipId_');
|
|
506
|
-
_this_1._rectId = Utilities_1.getId('containerRectLD');
|
|
507
|
-
_this_1._staticHighlightCircle = Utilities_1.getId('staticHighlightCircle');
|
|
508
|
-
props.eventAnnotationProps &&
|
|
509
|
-
props.eventAnnotationProps.labelHeight &&
|
|
510
|
-
(_this_1.eventLabelHeight = props.eventAnnotationProps.labelHeight);
|
|
511
|
-
return _this_1;
|
|
512
|
-
}
|
|
513
|
-
LineChartBase.prototype.componentDidUpdate = function (prevProps) {
|
|
514
|
-
/** note that height and width are not used to resize or set as dimesions of the chart,
|
|
515
|
-
* fitParentContainer is responisble for setting the height and width or resizing of the svg/chart
|
|
516
|
-
*/
|
|
517
|
-
if (prevProps.height !== this.props.height ||
|
|
518
|
-
prevProps.width !== this.props.width ||
|
|
519
|
-
prevProps.data !== this.props.data) {
|
|
520
|
-
this._points = this._injectIndexPropertyInLineChartData(this.props.data.lineChartData);
|
|
521
|
-
this._calloutPoints = index_3.calloutData(this._points) || [];
|
|
522
|
-
}
|
|
523
|
-
};
|
|
524
|
-
LineChartBase.prototype.render = function () {
|
|
525
|
-
var _this_1 = this;
|
|
526
|
-
var _a = this.props, tickValues = _a.tickValues, tickFormat = _a.tickFormat, eventAnnotationProps = _a.eventAnnotationProps, legendProps = _a.legendProps, data = _a.data;
|
|
527
|
-
this._points = this._injectIndexPropertyInLineChartData(data.lineChartData);
|
|
528
|
-
var isXAxisDateType = index_3.getXAxisType(this._points);
|
|
529
|
-
var points = this._points;
|
|
530
|
-
if (legendProps && !!legendProps.canSelectMultipleLegends) {
|
|
531
|
-
points = this.state.selectedLegendPoints.length >= 1 ? this.state.selectedLegendPoints : this._points;
|
|
532
|
-
this._calloutPoints = index_3.calloutData(points);
|
|
533
|
-
}
|
|
534
|
-
var legendBars = this._createLegends(this._points);
|
|
535
|
-
var calloutProps = tslib_1.__assign({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: Callout_1.DirectionalHint.topAutoEdge, YValueHover: this.state.YValueHover, hoverXValue: this.state.hoverXValue, id: "toolTip" + this._uniqueCallOutID, target: this.state.refSelected, isBeakVisible: false, gapSpace: 15, onDismiss: this._closeCallout, preventDismissOnEvent: function () { return true; }, hidden: !(!this.props.hideTooltip && this.state.isCalloutVisible), descriptionMessage: this.props.getCalloutDescriptionMessage && this.state.stackCalloutProps
|
|
536
|
-
? this.props.getCalloutDescriptionMessage(this.state.stackCalloutProps)
|
|
537
|
-
: undefined, 'data-is-focusable': true, xAxisCalloutAccessibilityData: this.state.xAxisCalloutAccessibilityData }, this.props.calloutProps);
|
|
538
|
-
var tickParams = {
|
|
539
|
-
tickValues: tickValues,
|
|
540
|
-
tickFormat: tickFormat,
|
|
541
|
-
};
|
|
542
|
-
return (React.createElement(index_2.CartesianChart, tslib_1.__assign({}, this.props, { chartTitle: data.chartTitle, points: points, chartType: index_3.ChartTypes.LineChart, isCalloutForStack: true, calloutProps: calloutProps, tickParams: tickParams, legendBars: legendBars, getmargins: this._getMargins, getGraphData: this._initializeLineChartData, xAxisType: isXAxisDateType ? index_3.XAxisTypes.DateAxis : index_3.XAxisTypes.NumericAxis, customizedCallout: this._getCustomizedCallout(), onChartMouseLeave: this._handleChartMouseLeave,
|
|
543
|
-
/* eslint-disable react/jsx-no-bind */
|
|
544
|
-
// eslint-disable-next-line react/no-children-prop
|
|
545
|
-
children: function (props) {
|
|
546
|
-
_this_1._xAxisScale = props.xScale;
|
|
547
|
-
_this_1._yAxisScale = props.yScale;
|
|
548
|
-
return (React.createElement(React.Fragment, null,
|
|
549
|
-
React.createElement("g", null,
|
|
550
|
-
React.createElement("line", { x1: 0, y1: 0, x2: 0, y2: props.containerHeight, stroke: '#C8C8C8', id: _this_1._verticalLine, visibility: 'hidden', strokeDasharray: '5,5' }),
|
|
551
|
-
_this_1.props.optimizeLargeData ? (React.createElement("rect", { id: _this_1._rectId, width: props.containerWidth, height: props.containerHeight, fill: 'transparent' })) : (React.createElement(React.Fragment, null)),
|
|
552
|
-
React.createElement("g", null,
|
|
553
|
-
_this_1._renderedColorFillBars,
|
|
554
|
-
_this_1.lines),
|
|
555
|
-
eventAnnotationProps && (React.createElement(EventAnnotation_1.EventsAnnotation, tslib_1.__assign({}, eventAnnotationProps, { scale: props.xScale, chartYTop: _this_1.margins.top + _this_1.eventLabelHeight, chartYBottom: props.containerHeight - 35 }))))));
|
|
556
|
-
} })));
|
|
557
|
-
};
|
|
558
|
-
LineChartBase.prototype._createLegends = function (data) {
|
|
559
|
-
var _this_1 = this;
|
|
560
|
-
var _a = this.props, legendProps = _a.legendProps, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b;
|
|
561
|
-
var isLegendMultiSelectEnabled = !!(legendProps && !!legendProps.canSelectMultipleLegends);
|
|
562
|
-
var legendDataItems = data.map(function (point) {
|
|
563
|
-
var color = point.color;
|
|
564
|
-
// mapping data to the format Legends component needs
|
|
565
|
-
var legend = tslib_1.__assign(tslib_1.__assign({ title: point.legend, color: color, action: function () {
|
|
566
|
-
if (isLegendMultiSelectEnabled) {
|
|
567
|
-
_this_1._handleMultipleLineLegendSelectionAction(point);
|
|
568
|
-
}
|
|
569
|
-
else {
|
|
570
|
-
_this_1._handleSingleLegendSelectionAction(point);
|
|
571
|
-
}
|
|
572
|
-
}, onMouseOutAction: function () {
|
|
573
|
-
_this_1.setState({ activeLegend: '' });
|
|
574
|
-
}, hoverAction: function () {
|
|
575
|
-
_this_1.setState({ activeLegend: point.legend });
|
|
576
|
-
} }, (point.legendShape && {
|
|
577
|
-
shape: point.legendShape,
|
|
578
|
-
})), (allowMultipleShapesForPoints && {
|
|
579
|
-
shape: index_3.Points[point.index % Object.keys(index_3.pointTypes).length],
|
|
580
|
-
}));
|
|
581
|
-
return legend;
|
|
582
|
-
});
|
|
583
|
-
var colorFillBarsLegendDataItems = this.props.colorFillBars
|
|
584
|
-
? this.props.colorFillBars.map(function (colorFillBar, index) {
|
|
585
|
-
var title = colorFillBar.legend;
|
|
586
|
-
var legend = {
|
|
587
|
-
title: title,
|
|
588
|
-
color: colorFillBar.color,
|
|
589
|
-
action: function () {
|
|
590
|
-
if (isLegendMultiSelectEnabled) {
|
|
591
|
-
_this_1._handleMultipleColorFillBarLegendSelectionAction(colorFillBar);
|
|
592
|
-
}
|
|
593
|
-
else {
|
|
594
|
-
_this_1._handleSingleLegendSelectionAction(colorFillBar);
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
|
-
onMouseOutAction: function () {
|
|
598
|
-
_this_1.setState({ activeLegend: '' });
|
|
599
|
-
},
|
|
600
|
-
hoverAction: function () {
|
|
601
|
-
_this_1.setState({ activeLegend: title });
|
|
602
|
-
},
|
|
603
|
-
opacity: _this_1._colorFillBarsOpacity,
|
|
604
|
-
stripePattern: colorFillBar.applyPattern,
|
|
605
|
-
};
|
|
606
|
-
return legend;
|
|
607
|
-
})
|
|
608
|
-
: [];
|
|
609
|
-
var legends = (React.createElement(index_1.Legends, tslib_1.__assign({ legends: tslib_1.__spreadArray(tslib_1.__spreadArray([], legendDataItems), colorFillBarsLegendDataItems), enabledWrapLines: this.props.enabledLegendsWrapLines, overflowProps: this.props.legendsOverflowProps, focusZonePropsInHoverCard: this.props.focusZonePropsForLegendsInHoverCard, overflowText: this.props.legendsOverflowText }, (isLegendMultiSelectEnabled && { onLegendHoverCardLeave: this._onHoverCardHide }), this.props.legendProps)));
|
|
610
|
-
return legends;
|
|
611
|
-
};
|
|
612
|
-
LineChartBase.prototype._createLines = function (xElement, containerHeight) {
|
|
613
|
-
var _this_1 = this;
|
|
614
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
615
|
-
var lines = [];
|
|
616
|
-
if (this.state.isSelectedLegend) {
|
|
617
|
-
this._points = this.state.selectedLegendPoints;
|
|
618
|
-
}
|
|
619
|
-
else {
|
|
620
|
-
this._points = this._injectIndexPropertyInLineChartData(this.props.data.lineChartData);
|
|
621
|
-
}
|
|
622
|
-
for (var i = this._points.length - 1; i >= 0; i--) {
|
|
623
|
-
var linesForLine = [];
|
|
624
|
-
var bordersForLine = [];
|
|
625
|
-
var pointsForLine = [];
|
|
626
|
-
var legendVal = this._points[i].legend;
|
|
627
|
-
var lineColor = this._points[i].color;
|
|
628
|
-
var activePoint = this.state.activePoint;
|
|
629
|
-
var theme = this.props.theme;
|
|
630
|
-
var verticaLineHeight = containerHeight - this.margins.bottom + 6;
|
|
631
|
-
if (this._points[i].data.length === 1) {
|
|
632
|
-
var _0 = this._points[i].data[0], x1 = _0.x, y1 = _0.y, xAxisCalloutData = _0.xAxisCalloutData, xAxisCalloutAccessibilityData = _0.xAxisCalloutAccessibilityData;
|
|
633
|
-
var circleId = "" + this._circleId + i;
|
|
634
|
-
pointsForLine.push(React.createElement("circle", { id: "" + this._circleId + i, key: "" + this._circleId + i, r: activePoint === circleId ? 5.5 : 3.5, cx: this._xAxisScale(x1), cy: this._yAxisScale(y1), fill: activePoint === circleId ? theme.palette.white : lineColor, onMouseOver: this._handleHover.bind(this, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this._handleHover.bind(this, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this._handleMouseOut, strokeWidth: activePoint === circleId ? DEFAULT_LINE_STROKE_SIZE : 0, stroke: activePoint === circleId ? lineColor : '' }));
|
|
635
|
-
}
|
|
636
|
-
var gapIndex = 0;
|
|
637
|
-
var gaps = (_b = (_a = this._points[i].gaps) === null || _a === void 0 ? void 0 : _a.sort(function (a, b) { return a.startIndex - b.startIndex; })) !== null && _b !== void 0 ? _b : [];
|
|
638
|
-
// Use path rendering technique for larger datasets to optimize performance.
|
|
639
|
-
if (this.props.optimizeLargeData) {
|
|
640
|
-
var line = d3_shape_1.line()
|
|
641
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
642
|
-
.x(function (d) { return _this_1._xAxisScale(d[0]); })
|
|
643
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
644
|
-
.y(function (d) { return _this_1._yAxisScale(d[1]); })
|
|
645
|
-
.curve(d3_shape_1.curveLinear);
|
|
646
|
-
var lineId = "" + this._lineId + i;
|
|
647
|
-
var borderId = "" + this._borderId + i;
|
|
648
|
-
var strokeWidth = ((_c = this._points[i].lineOptions) === null || _c === void 0 ? void 0 : _c.strokeWidth) || this.props.strokeWidth || DEFAULT_LINE_STROKE_SIZE;
|
|
649
|
-
var isLegendSelected = this.state.activeLegend === legendVal || this.state.activeLegend === '' || this.state.isSelectedLegend;
|
|
650
|
-
var lineData = [];
|
|
651
|
-
for (var k = 0; k < this._points[i].data.length; k++) {
|
|
652
|
-
lineData.push([
|
|
653
|
-
this._points[i].data[k].x instanceof Date
|
|
654
|
-
? this._points[i].data[k].x.getTime()
|
|
655
|
-
: this._points[i].data[k].x,
|
|
656
|
-
this._points[i].data[k].y,
|
|
657
|
-
]);
|
|
658
|
-
}
|
|
659
|
-
if (isLegendSelected) {
|
|
660
|
-
var lineBorderWidth = ((_d = this._points[i].lineOptions) === null || _d === void 0 ? void 0 : _d.lineBorderWidth)
|
|
661
|
-
? Number.parseFloat(this._points[i].lineOptions.lineBorderWidth.toString())
|
|
662
|
-
: 0;
|
|
663
|
-
if (lineBorderWidth > 0) {
|
|
664
|
-
bordersForLine.push(React.createElement("path", { id: borderId, key: borderId, d: line(lineData), fill: "transparent", strokeLinecap: (_f = (_e = this._points[i].lineOptions) === null || _e === void 0 ? void 0 : _e.strokeLinecap) !== null && _f !== void 0 ? _f : 'round', strokeWidth: Number.parseFloat(strokeWidth.toString()) + lineBorderWidth, stroke: ((_g = this._points[i].lineOptions) === null || _g === void 0 ? void 0 : _g.lineBorderColor) || theme.palette.white, opacity: 1 }));
|
|
665
|
-
}
|
|
666
|
-
linesForLine.push(React.createElement("path", { id: lineId, key: lineId, d: line(lineData), fill: "transparent", "data-is-focusable": true, stroke: lineColor, strokeWidth: strokeWidth, strokeLinecap: (_j = (_h = this._points[i].lineOptions) === null || _h === void 0 ? void 0 : _h.strokeLinecap) !== null && _j !== void 0 ? _j : 'round', onMouseMove: this._onMouseOverLargeDataset.bind(this, i, verticaLineHeight), onMouseOver: this._onMouseOverLargeDataset.bind(this, i, verticaLineHeight), onMouseOut: this._handleMouseOut, onClick: this._onLineClick.bind(this, this._points[i].onLineClick), opacity: 1 }));
|
|
667
|
-
}
|
|
668
|
-
else {
|
|
669
|
-
linesForLine.push(React.createElement("path", { id: lineId, key: lineId, d: line(lineData), fill: "transparent", "data-is-focusable": true, stroke: lineColor, strokeWidth: strokeWidth, strokeLinecap: (_l = (_k = this._points[i].lineOptions) === null || _k === void 0 ? void 0 : _k.strokeLinecap) !== null && _l !== void 0 ? _l : 'round', opacity: 0.1 }));
|
|
670
|
-
}
|
|
671
|
-
var isPointHighlighted = this.state.activeLine !== null && this.state.activeLine === i;
|
|
672
|
-
pointsForLine.push(React.createElement("circle", { id: this._staticHighlightCircle + "_" + i, key: this._staticHighlightCircle + "_" + i, r: 5.5, cx: 0, cy: 0, fill: theme.palette.white, "data-is-focusable": true, strokeWidth: DEFAULT_LINE_STROKE_SIZE, stroke: lineColor, visibility: isPointHighlighted ? 'visibility' : 'hidden', onMouseMove: this._onMouseOverLargeDataset.bind(this, i, verticaLineHeight), onMouseOver: this._onMouseOverLargeDataset.bind(this, i, verticaLineHeight), onMouseOut: this._handleMouseOut }));
|
|
673
|
-
}
|
|
674
|
-
else {
|
|
675
|
-
var _loop_1 = function (j) {
|
|
676
|
-
var gapResult = this_1._checkInGap(j, gaps, gapIndex);
|
|
677
|
-
var isInGap = gapResult.isInGap;
|
|
678
|
-
gapIndex = gapResult.gapIndex;
|
|
679
|
-
var lineId = "" + this_1._lineId + i + j;
|
|
680
|
-
var borderId = "" + this_1._borderId + i + j;
|
|
681
|
-
var circleId = "" + this_1._circleId + i + j;
|
|
682
|
-
var _1 = this_1._points[i].data[j - 1], x1 = _1.x, y1 = _1.y, xAxisCalloutData = _1.xAxisCalloutData, xAxisCalloutAccessibilityData = _1.xAxisCalloutAccessibilityData;
|
|
683
|
-
var _2 = this_1._points[i].data[j], x2 = _2.x, y2 = _2.y;
|
|
684
|
-
var path = this_1._getPath(this_1._xAxisScale(x1), this_1._yAxisScale(y1), circleId, j, false, this_1._points[i].index);
|
|
685
|
-
var strokeWidth = ((_m = this_1._points[i].lineOptions) === null || _m === void 0 ? void 0 : _m.strokeWidth) || this_1.props.strokeWidth || DEFAULT_LINE_STROKE_SIZE;
|
|
686
|
-
var isLegendSelected = this_1.state.activeLegend === legendVal || this_1.state.activeLegend === '' || this_1.state.isSelectedLegend;
|
|
687
|
-
var currentPointHidden = this_1._points[i].hideNonActiveDots && activePoint !== circleId;
|
|
688
|
-
pointsForLine.push(React.createElement("path", { id: circleId, key: circleId, d: path, "data-is-focusable": true, onMouseOver: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this_1._handleMouseOut, onFocus: function () { return _this_1._handleFocus(lineId, x1, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData); }, onBlur: this_1._handleMouseOut, onClick: this_1._onDataPointClick.bind(this_1, this_1._points[i].data[j - 1].onDataPointClick), opacity: isLegendSelected && !currentPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, circleId, j, false), stroke: lineColor, strokeWidth: strokeWidth }));
|
|
689
|
-
if (j + 1 === this_1._points[i].data.length) {
|
|
690
|
-
// If this is last point of the line segment.
|
|
691
|
-
var lastCircleId_1 = "" + circleId + j + "L";
|
|
692
|
-
var lastPointHidden = this_1._points[i].hideNonActiveDots && activePoint !== lastCircleId_1;
|
|
693
|
-
path = this_1._getPath(this_1._xAxisScale(x2), this_1._yAxisScale(y2), lastCircleId_1, j, true, this_1._points[i].index);
|
|
694
|
-
var _3 = this_1._points[i].data[j], lastCirlceXCallout_1 = _3.xAxisCalloutData, lastCirlceXCalloutAccessibilityData_1 = _3.xAxisCalloutAccessibilityData;
|
|
695
|
-
pointsForLine.push(React.createElement("path", { id: lastCircleId_1, key: lastCircleId_1, d: path, "data-is-focusable": true, onMouseOver: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, onFocus: function () {
|
|
696
|
-
return _this_1._handleFocus(lineId, x2, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1);
|
|
697
|
-
}, onBlur: this_1._handleMouseOut, onClick: this_1._onDataPointClick.bind(this_1, this_1._points[i].data[j].onDataPointClick), opacity: isLegendSelected && !lastPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, lastCircleId_1, j, true), stroke: lineColor, strokeWidth: strokeWidth }));
|
|
698
|
-
/* eslint-enable react/jsx-no-bind */
|
|
699
|
-
}
|
|
700
|
-
if (isLegendSelected) {
|
|
701
|
-
// don't draw line if it is in a gap
|
|
702
|
-
if (!isInGap) {
|
|
703
|
-
var lineBorderWidth = ((_o = this_1._points[i].lineOptions) === null || _o === void 0 ? void 0 : _o.lineBorderWidth)
|
|
704
|
-
? Number.parseFloat(this_1._points[i].lineOptions.lineBorderWidth.toString())
|
|
705
|
-
: 0;
|
|
706
|
-
if (lineBorderWidth > 0) {
|
|
707
|
-
bordersForLine.push(React.createElement("line", { id: borderId, key: borderId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeLinecap: (_q = (_p = this_1._points[i].lineOptions) === null || _p === void 0 ? void 0 : _p.strokeLinecap) !== null && _q !== void 0 ? _q : 'round', strokeWidth: Number.parseFloat(strokeWidth.toString()) + lineBorderWidth, stroke: ((_r = this_1._points[i].lineOptions) === null || _r === void 0 ? void 0 : _r.lineBorderColor) || theme.palette.white, opacity: 1 }));
|
|
708
|
-
}
|
|
709
|
-
linesForLine.push(React.createElement("line", { id: lineId, key: lineId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeWidth: strokeWidth, ref: function (e) {
|
|
710
|
-
_this_1._refCallback(e, lineId);
|
|
711
|
-
}, onMouseOver: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this_1._handleMouseOut, stroke: lineColor, strokeLinecap: (_t = (_s = this_1._points[i].lineOptions) === null || _s === void 0 ? void 0 : _s.strokeLinecap) !== null && _t !== void 0 ? _t : 'round', strokeDasharray: (_u = this_1._points[i].lineOptions) === null || _u === void 0 ? void 0 : _u.strokeDasharray, strokeDashoffset: (_v = this_1._points[i].lineOptions) === null || _v === void 0 ? void 0 : _v.strokeDashoffset, opacity: 1, onClick: this_1._onLineClick.bind(this_1, this_1._points[i].onLineClick) }));
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
else {
|
|
715
|
-
if (!isInGap) {
|
|
716
|
-
linesForLine.push(React.createElement("line", { id: lineId, key: lineId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeWidth: strokeWidth, stroke: lineColor, strokeLinecap: (_x = (_w = this_1._points[i].lineOptions) === null || _w === void 0 ? void 0 : _w.strokeLinecap) !== null && _x !== void 0 ? _x : 'round', strokeDasharray: (_y = this_1._points[i].lineOptions) === null || _y === void 0 ? void 0 : _y.strokeDasharray, strokeDashoffset: (_z = this_1._points[i].lineOptions) === null || _z === void 0 ? void 0 : _z.strokeDashoffset, opacity: 0.1 }));
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
};
|
|
720
|
-
var this_1 = this;
|
|
721
|
-
for (var j = 1; j < this._points[i].data.length; j++) {
|
|
722
|
-
_loop_1(j);
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
lines.push.apply(lines, tslib_1.__spreadArray(tslib_1.__spreadArray(tslib_1.__spreadArray([], bordersForLine), linesForLine), pointsForLine));
|
|
726
|
-
}
|
|
727
|
-
var classNames = getClassNames(this.props.styles, {
|
|
728
|
-
theme: this.props.theme,
|
|
729
|
-
});
|
|
730
|
-
// Removing un wanted tooltip div from DOM, when prop not provided.
|
|
731
|
-
if (!this.props.showXAxisLablesTooltip) {
|
|
732
|
-
try {
|
|
733
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
734
|
-
// eslint-disable-next-line no-empty
|
|
735
|
-
}
|
|
736
|
-
catch (e) { }
|
|
737
|
-
}
|
|
738
|
-
// Used to display tooltip at x axis labels.
|
|
739
|
-
if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
|
|
740
|
-
var xAxisElement = d3_selection_1.select(xElement).call(this._xAxisScale);
|
|
741
|
-
try {
|
|
742
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
743
|
-
// eslint-disable-next-line no-empty
|
|
744
|
-
}
|
|
745
|
-
catch (e) { }
|
|
746
|
-
var tooltipProps = {
|
|
747
|
-
tooltipCls: classNames.tooltip,
|
|
748
|
-
id: this._tooltipId,
|
|
749
|
-
xAxis: xAxisElement,
|
|
750
|
-
};
|
|
751
|
-
xAxisElement && index_3.tooltipOfXAxislabels(tooltipProps);
|
|
752
|
-
}
|
|
753
|
-
return lines;
|
|
754
|
-
};
|
|
755
|
-
LineChartBase.prototype._refCallback = function (element, legendTitle) {
|
|
756
|
-
this._refArray.push({ index: legendTitle, refElement: element });
|
|
757
|
-
};
|
|
758
|
-
return LineChartBase;
|
|
759
|
-
}(React.Component));
|
|
760
|
-
exports.LineChartBase = LineChartBase;
|
|
761
|
-
});
|
|
762
|
-
//# sourceMappingURL=LineChart.base.js.map
|