@fluentui/react-charting 5.23.61 → 5.23.62
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/package.json +2 -1
- package/dist/react-charting.d.ts +0 -4557
- package/dist/react-charting.js +0 -1
- package/dist/react-charting.min.js +0 -1
- package/lib/AreaChart.d.ts +0 -1
- package/lib/AreaChart.js +0 -2
- package/lib/AreaChart.js.map +0 -1
- package/lib/CartesianChart.d.ts +0 -1
- package/lib/CartesianChart.js +0 -2
- package/lib/CartesianChart.js.map +0 -1
- package/lib/DeclarativeChart.d.ts +0 -1
- package/lib/DeclarativeChart.js +0 -2
- package/lib/DeclarativeChart.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/GaugeChart.d.ts +0 -1
- package/lib/GaugeChart.js +0 -2
- package/lib/GaugeChart.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/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib/HorizontalBarChartWithAxis.js +0 -2
- package/lib/HorizontalBarChartWithAxis.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/ResponsiveContainer.d.ts +0 -1
- package/lib/ResponsiveContainer.js +0 -2
- package/lib/ResponsiveContainer.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 -2
- 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 -111
- package/lib/components/AreaChart/AreaChart.base.js +0 -722
- package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib/components/AreaChart/AreaChart.js +0 -10
- 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 -64
- 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 -65
- package/lib/components/CommonComponents/CartesianChart.base.js +0 -609
- package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib/components/CommonComponents/CartesianChart.js +0 -9
- 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 -175
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- 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/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib/components/DeclarativeChart/DeclarativeChart.js +0 -180
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib/components/DeclarativeChart/PlotlySchema.js +0 -4
- package/lib/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -739
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib/components/DeclarativeChart/index.d.ts +0 -1
- package/lib/components/DeclarativeChart/index.js +0 -2
- package/lib/components/DeclarativeChart/index.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib/components/DonutChart/Arc/Arc.js +0 -107
- 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 -35
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- 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 -61
- package/lib/components/DonutChart/DonutChart.base.js +0 -301
- package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib/components/DonutChart/DonutChart.js +0 -10
- package/lib/components/DonutChart/DonutChart.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib/components/DonutChart/DonutChart.styles.js +0 -30
- package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +0 -90
- package/lib/components/DonutChart/DonutChart.types.js +0 -2
- package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib/components/DonutChart/Pie/Pie.js +0 -75
- package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- 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/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib/components/GaugeChart/GaugeChart.base.js +0 -472
- package/lib/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib/components/GaugeChart/GaugeChart.js +0 -9
- package/lib/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib/components/GaugeChart/GaugeChart.styles.js +0 -129
- package/lib/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib/components/GaugeChart/GaugeChart.types.js +0 -17
- package/lib/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib/components/GaugeChart/index.d.ts +0 -2
- package/lib/components/GaugeChart/index.js +0 -3
- package/lib/components/GaugeChart/index.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -495
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -10
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- 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 -160
- package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -597
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib/components/HeatMapChart/HeatMapChart.js +0 -9
- 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 -23
- package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
- 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 -47
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -293
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -10
- 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 -66
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -9
- 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/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -601
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -10
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -12
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib/components/HorizontalBarChartWithAxis/index.js +0 -3
- package/lib/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib/components/Legends/Legends.base.d.ts +0 -50
- package/lib/components/Legends/Legends.base.js +0 -329
- package/lib/components/Legends/Legends.base.js.map +0 -1
- package/lib/components/Legends/Legends.d.ts +0 -7
- package/lib/components/Legends/Legends.js +0 -9
- package/lib/components/Legends/Legends.js.map +0 -1
- package/lib/components/Legends/Legends.styles.d.ts +0 -10
- package/lib/components/Legends/Legends.styles.js +0 -120
- package/lib/components/Legends/Legends.styles.js.map +0 -1
- package/lib/components/Legends/Legends.types.d.ts +0 -259
- 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 -105
- package/lib/components/LineChart/LineChart.base.js +0 -966
- package/lib/components/LineChart/LineChart.base.js.map +0 -1
- package/lib/components/LineChart/LineChart.d.ts +0 -7
- package/lib/components/LineChart/LineChart.js +0 -10
- 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 -103
- 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 -12
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -90
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -40
- 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 -38
- 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 -17
- package/lib/components/PieChart/Arc/Arc.js +0 -89
- package/lib/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib/components/PieChart/Arc/Arc.styles.js +0 -11
- package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -73
- 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 -45
- 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 -47
- 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 -10
- package/lib/components/PieChart/PieChart.base.js +0 -46
- package/lib/components/PieChart/PieChart.base.js.map +0 -1
- package/lib/components/PieChart/PieChart.d.ts +0 -7
- package/lib/components/PieChart/PieChart.js +0 -10
- 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 -75
- 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/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js +0 -83
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -2
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib/components/ResponsiveContainer/index.js +0 -4
- package/lib/components/ResponsiveContainer/index.js.map +0 -1
- package/lib/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js +0 -17
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib/components/SankeyChart/SankeyChart.base.js +0 -919
- package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib/components/SankeyChart/SankeyChart.js +0 -10
- 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 -59
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- 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 -23
- package/lib/components/Sparkline/Sparkline.base.js +0 -86
- package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib/components/Sparkline/Sparkline.js +0 -10
- 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 -59
- 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 -70
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -437
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -10
- 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 -86
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -9
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -366
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib/components/StackedBarChart/StackedBarChart.js +0 -10
- 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 -103
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- 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 -321
- package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib/components/TreeChart/TreeChart.js +0 -9
- package/lib/components/TreeChart/TreeChart.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib/components/TreeChart/TreeChart.styles.js +0 -29
- package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib/components/TreeChart/TreeChart.types.js +0 -29
- 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 -94
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -880
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -10
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- 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 -99
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -816
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -10
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- 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 -44
- package/lib/index.js +0 -24
- package/lib/index.js.map +0 -1
- package/lib/types/IDataPoint.d.ts +0 -736
- 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 -98
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/index.js +0 -4
- package/lib/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib/utilities/FocusableTooltipText.js +0 -54
- package/lib/utilities/FocusableTooltipText.js.map +0 -1
- package/lib/utilities/SVGTooltipText.d.ts +0 -110
- package/lib/utilities/SVGTooltipText.js +0 -192
- package/lib/utilities/SVGTooltipText.js.map +0 -1
- package/lib/utilities/colors.d.ts +0 -52
- package/lib/utilities/colors.js +0 -154
- package/lib/utilities/colors.js.map +0 -1
- package/lib/utilities/gradients.d.ts +0 -30
- package/lib/utilities/gradients.js +0 -173
- package/lib/utilities/gradients.js.map +0 -1
- package/lib/utilities/image-export-utils.d.ts +0 -13
- package/lib/utilities/image-export-utils.js +0 -238
- package/lib/utilities/image-export-utils.js.map +0 -1
- package/lib/utilities/index.d.ts +0 -5
- package/lib/utilities/index.js +0 -6
- package/lib/utilities/index.js.map +0 -1
- package/lib/utilities/locale-util.d.ts +0 -3
- package/lib/utilities/locale-util.js +0 -18
- package/lib/utilities/locale-util.js.map +0 -1
- package/lib/utilities/test-data.d.ts +0 -43
- package/lib/utilities/test-data.js +0 -262
- package/lib/utilities/test-data.js.map +0 -1
- package/lib/utilities/utilities.d.ts +0 -418
- package/lib/utilities/utilities.js +0 -1224
- package/lib/utilities/utilities.js.map +0 -1
- package/lib/utilities/vbc-utils.d.ts +0 -2
- package/lib/utilities/vbc-utils.js +0 -31
- package/lib/utilities/vbc-utils.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/DeclarativeChart.d.ts +0 -1
- package/lib-amd/DeclarativeChart.js +0 -6
- package/lib-amd/DeclarativeChart.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/GaugeChart.d.ts +0 -1
- package/lib-amd/GaugeChart.js +0 -6
- package/lib-amd/GaugeChart.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/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
- package/lib-amd/HorizontalBarChartWithAxis.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/ResponsiveContainer.d.ts +0 -1
- package/lib-amd/ResponsiveContainer.js +0 -6
- package/lib-amd/ResponsiveContainer.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 -174
- 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 -111
- package/lib-amd/components/AreaChart/AreaChart.base.js +0 -714
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib-amd/components/AreaChart/AreaChart.js +0 -12
- 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 -64
- 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 -65
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -605
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
- 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 -178
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- 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/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +0 -169
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib-amd/components/DeclarativeChart/PlotlySchema.js +0 -7
- package/lib-amd/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -754
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/index.d.ts +0 -1
- package/lib-amd/components/DeclarativeChart/index.js +0 -6
- package/lib-amd/components/DeclarativeChart/index.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib-amd/components/DonutChart/Arc/Arc.js +0 -105
- 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 -40
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- 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 -61
- package/lib-amd/components/DonutChart/DonutChart.base.js +0 -296
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib-amd/components/DonutChart/DonutChart.js +0 -12
- package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -90
- package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib-amd/components/DonutChart/Pie/Pie.js +0 -73
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- 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/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -467
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
- package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -133
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib-amd/components/GaugeChart/index.d.ts +0 -2
- package/lib-amd/components/GaugeChart/index.js +0 -7
- package/lib-amd/components/GaugeChart/index.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -489
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- 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 -160
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -588
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
- 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 -130
- 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 -47
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -289
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
- 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 -69
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
- 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/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -594
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib-amd/components/Legends/Legends.base.d.ts +0 -50
- package/lib-amd/components/Legends/Legends.base.js +0 -325
- package/lib-amd/components/Legends/Legends.base.js.map +0 -1
- package/lib-amd/components/Legends/Legends.d.ts +0 -7
- package/lib-amd/components/Legends/Legends.js +0 -11
- package/lib-amd/components/Legends/Legends.js.map +0 -1
- package/lib-amd/components/Legends/Legends.styles.d.ts +0 -10
- package/lib-amd/components/Legends/Legends.styles.js +0 -124
- package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +0 -259
- 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 -105
- package/lib-amd/components/LineChart/LineChart.base.js +0 -958
- package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
- package/lib-amd/components/LineChart/LineChart.js +0 -12
- 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 -103
- 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 -12
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -91
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
- 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 -17
- package/lib-amd/components/PieChart/Arc/Arc.js +0 -86
- package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
- package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
- 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 -43
- 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 -47
- 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 -10
- package/lib-amd/components/PieChart/PieChart.base.js +0 -47
- package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
- package/lib-amd/components/PieChart/PieChart.js +0 -12
- 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 -75
- 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/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +0 -86
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -5
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib-amd/components/ResponsiveContainer/index.js +0 -8
- package/lib-amd/components/ResponsiveContainer/index.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +0 -19
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -916
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
- 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 -63
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- 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 -23
- package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
- package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib-amd/components/Sparkline/Sparkline.js +0 -12
- 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 -59
- 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 -70
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -432
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
- 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 -89
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -362
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
- 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 -107
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- 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 -319
- package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib-amd/components/TreeChart/TreeChart.js +0 -11
- package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
- package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
- 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 -94
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -873
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- 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 -99
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -809
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- 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 -44
- package/lib-amd/index.js +0 -43
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/types/IDataPoint.d.ts +0 -736
- 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 -103
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib-amd/utilities/FocusableTooltipText.js +0 -54
- package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
- package/lib-amd/utilities/SVGTooltipText.d.ts +0 -110
- package/lib-amd/utilities/SVGTooltipText.js +0 -192
- package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
- package/lib-amd/utilities/colors.d.ts +0 -52
- package/lib-amd/utilities/colors.js +0 -161
- package/lib-amd/utilities/colors.js.map +0 -1
- package/lib-amd/utilities/gradients.d.ts +0 -30
- package/lib-amd/utilities/gradients.js +0 -180
- package/lib-amd/utilities/gradients.js.map +0 -1
- package/lib-amd/utilities/image-export-utils.d.ts +0 -13
- package/lib-amd/utilities/image-export-utils.js +0 -241
- package/lib-amd/utilities/image-export-utils.js.map +0 -1
- package/lib-amd/utilities/index.d.ts +0 -5
- package/lib-amd/utilities/index.js +0 -10
- package/lib-amd/utilities/index.js.map +0 -1
- package/lib-amd/utilities/locale-util.d.ts +0 -3
- package/lib-amd/utilities/locale-util.js +0 -24
- package/lib-amd/utilities/locale-util.js.map +0 -1
- package/lib-amd/utilities/test-data.d.ts +0 -43
- package/lib-amd/utilities/test-data.js +0 -266
- package/lib-amd/utilities/test-data.js.map +0 -1
- package/lib-amd/utilities/utilities.d.ts +0 -418
- package/lib-amd/utilities/utilities.js +0 -1261
- package/lib-amd/utilities/utilities.js.map +0 -1
- package/lib-amd/utilities/vbc-utils.d.ts +0 -2
- package/lib-amd/utilities/vbc-utils.js +0 -38
- package/lib-amd/utilities/vbc-utils.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/DeclarativeChart.d.ts +0 -1
- package/lib-commonjs/DeclarativeChart.js +0 -5
- package/lib-commonjs/DeclarativeChart.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/GaugeChart.d.ts +0 -1
- package/lib-commonjs/GaugeChart.js +0 -5
- package/lib-commonjs/GaugeChart.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/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib-commonjs/HorizontalBarChartWithAxis.js +0 -5
- package/lib-commonjs/HorizontalBarChartWithAxis.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/ResponsiveContainer.d.ts +0 -1
- package/lib-commonjs/ResponsiveContainer.js +0 -5
- package/lib-commonjs/ResponsiveContainer.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 -176
- 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 -111
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -725
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib-commonjs/components/AreaChart/AreaChart.js +0 -13
- 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 -64
- 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 -65
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -612
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -12
- 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 -179
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- 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/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +0 -183
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js +0 -5
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -760
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/index.d.ts +0 -1
- package/lib-commonjs/components/DeclarativeChart/index.js +0 -5
- package/lib-commonjs/components/DeclarativeChart/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -110
- 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 -39
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- 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 -61
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -304
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib-commonjs/components/DonutChart/DonutChart.js +0 -13
- 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 -34
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -90
- 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 -15
- package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -78
- 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 -23
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- 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/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +0 -478
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib-commonjs/components/GaugeChart/GaugeChart.js +0 -12
- package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +0 -133
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +0 -20
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/index.d.ts +0 -2
- package/lib-commonjs/components/GaugeChart/index.js +0 -6
- package/lib-commonjs/components/GaugeChart/index.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -498
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -13
- 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 -21
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- 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 -160
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -600
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -12
- 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 -27
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
- 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 -47
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -296
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -13
- 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 -70
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -12
- 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/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -604
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -13
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -16
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -3
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +0 -6
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -50
- package/lib-commonjs/components/Legends/Legends.base.js +0 -332
- package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.d.ts +0 -7
- package/lib-commonjs/components/Legends/Legends.js +0 -12
- package/lib-commonjs/components/Legends/Legends.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -10
- package/lib-commonjs/components/Legends/Legends.styles.js +0 -124
- package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -259
- 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 -105
- package/lib-commonjs/components/LineChart/LineChart.base.js +0 -969
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -7
- package/lib-commonjs/components/LineChart/LineChart.js +0 -13
- 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 -103
- 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 -12
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -94
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -44
- 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 -42
- 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 -17
- package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -92
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -15
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -73
- 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 -48
- 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 -47
- 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 -10
- package/lib-commonjs/components/PieChart/PieChart.base.js +0 -49
- package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -7
- package/lib-commonjs/components/PieChart/PieChart.js +0 -13
- 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 -75
- 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/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +0 -87
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -3
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib-commonjs/components/ResponsiveContainer/index.js +0 -7
- package/lib-commonjs/components/ResponsiveContainer/index.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +0 -21
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -925
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -13
- 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 -63
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- 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 -23
- package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -89
- package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib-commonjs/components/Sparkline/Sparkline.js +0 -13
- 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 -59
- 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 -70
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -440
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -13
- 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 -90
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -12
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -369
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -13
- 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 -107
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- 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 -324
- package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib-commonjs/components/TreeChart/TreeChart.js +0 -12
- 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 -33
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -32
- 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 -94
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -883
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -13
- 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 -32
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- 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 -99
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -819
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -13
- 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 -22
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- 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 -44
- package/lib-commonjs/index.js +0 -64
- package/lib-commonjs/index.js.map +0 -1
- package/lib-commonjs/types/IDataPoint.d.ts +0 -736
- 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 -102
- 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/FocusableTooltipText.d.ts +0 -27
- package/lib-commonjs/utilities/FocusableTooltipText.js +0 -57
- package/lib-commonjs/utilities/FocusableTooltipText.js.map +0 -1
- package/lib-commonjs/utilities/SVGTooltipText.d.ts +0 -110
- package/lib-commonjs/utilities/SVGTooltipText.js +0 -195
- package/lib-commonjs/utilities/SVGTooltipText.js.map +0 -1
- package/lib-commonjs/utilities/colors.d.ts +0 -52
- package/lib-commonjs/utilities/colors.js +0 -160
- package/lib-commonjs/utilities/colors.js.map +0 -1
- package/lib-commonjs/utilities/gradients.d.ts +0 -30
- package/lib-commonjs/utilities/gradients.js +0 -178
- package/lib-commonjs/utilities/gradients.js.map +0 -1
- package/lib-commonjs/utilities/image-export-utils.d.ts +0 -13
- package/lib-commonjs/utilities/image-export-utils.js +0 -243
- package/lib-commonjs/utilities/image-export-utils.js.map +0 -1
- package/lib-commonjs/utilities/index.d.ts +0 -5
- package/lib-commonjs/utilities/index.js +0 -9
- package/lib-commonjs/utilities/index.js.map +0 -1
- package/lib-commonjs/utilities/locale-util.d.ts +0 -3
- package/lib-commonjs/utilities/locale-util.js +0 -22
- package/lib-commonjs/utilities/locale-util.js.map +0 -1
- package/lib-commonjs/utilities/test-data.d.ts +0 -43
- package/lib-commonjs/utilities/test-data.js +0 -265
- package/lib-commonjs/utilities/test-data.js.map +0 -1
- package/lib-commonjs/utilities/utilities.d.ts +0 -418
- package/lib-commonjs/utilities/utilities.js +0 -1269
- package/lib-commonjs/utilities/utilities.js.map +0 -1
- package/lib-commonjs/utilities/vbc-utils.d.ts +0 -2
- package/lib-commonjs/utilities/vbc-utils.js +0 -36
- package/lib-commonjs/utilities/vbc-utils.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,919 +0,0 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
|
-
import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';
|
|
3
|
-
import { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';
|
|
4
|
-
import { classNamesFunction, format, getId, getRTL, initializeComponentRef, memoizeFunction, } from '@fluentui/react/lib/Utilities';
|
|
5
|
-
import { sum as d3Sum } from 'd3-array';
|
|
6
|
-
import { sankey as d3Sankey, sankeyJustify, sankeyRight } from 'd3-sankey';
|
|
7
|
-
import { select, selectAll } from 'd3-selection';
|
|
8
|
-
import { area as d3Area, curveBumpX as d3CurveBasis } from 'd3-shape';
|
|
9
|
-
import * as React from 'react';
|
|
10
|
-
import { ChartHoverCard } from '../../utilities/ChartHoverCard/ChartHoverCard';
|
|
11
|
-
import { toImage } from '../../utilities/image-export-utils';
|
|
12
|
-
var getClassNames = classNamesFunction();
|
|
13
|
-
var PADDING_PERCENTAGE = 0.3;
|
|
14
|
-
var NON_SELECTED_NODE_AND_STREAM_COLOR = '#757575';
|
|
15
|
-
var DEFAULT_NODE_COLORS = [
|
|
16
|
-
{ fillColor: '#00758F', borderColor: '#002E39' },
|
|
17
|
-
{ fillColor: '#77004D', borderColor: '#43002C' },
|
|
18
|
-
{ fillColor: '#4F6BED', borderColor: '#3B52B4' },
|
|
19
|
-
{ fillColor: '#937600', borderColor: '#6D5700' },
|
|
20
|
-
{ fillColor: '#286EA8', borderColor: '#00457E' },
|
|
21
|
-
{ fillColor: '#A43FB1', borderColor: '#7C158A' },
|
|
22
|
-
{ fillColor: '#CC3595', borderColor: '#7F215D' },
|
|
23
|
-
{ fillColor: '#0E7878', borderColor: '#004E4E' },
|
|
24
|
-
{ fillColor: '#8764B8', borderColor: '#4B3867' },
|
|
25
|
-
{ fillColor: '#9C663F', borderColor: '#6D4123' },
|
|
26
|
-
];
|
|
27
|
-
var MIN_HEIGHT_FOR_DOUBLINE_TYPE = 36;
|
|
28
|
-
var MIN_HEIGHT_FOR_TYPE = 24;
|
|
29
|
-
var REST_STREAM_OPACITY = 1;
|
|
30
|
-
var NON_SELECTED_OPACITY = 1;
|
|
31
|
-
var SELECTED_STREAM_OPACITY = 0.3;
|
|
32
|
-
var NON_SELECTED_STREAM_BORDER_OPACITY = 0.5;
|
|
33
|
-
var DEFAULT_TEXT_COLOR = '#323130';
|
|
34
|
-
var NON_SELECTED_TEXT_COLOR = '#FFFFFF';
|
|
35
|
-
var NODE_WIDTH = 124;
|
|
36
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
37
|
-
function getSelectedNodes(selectedLinks) {
|
|
38
|
-
var nodes = [];
|
|
39
|
-
selectedLinks.forEach(function (link) {
|
|
40
|
-
nodes.push(link.target);
|
|
41
|
-
if (nodes.indexOf(link.source) === -1) {
|
|
42
|
-
nodes.push(link.source);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
return nodes;
|
|
46
|
-
}
|
|
47
|
-
function getSelectedLinks(singleNode) {
|
|
48
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, no-array-constructor
|
|
49
|
-
var q = new Array();
|
|
50
|
-
var finalLinks = new Set();
|
|
51
|
-
singleNode.sourceLinks.forEach(function (link) {
|
|
52
|
-
q.push(link);
|
|
53
|
-
finalLinks.add(link);
|
|
54
|
-
});
|
|
55
|
-
while (q.length > 0) {
|
|
56
|
-
var poppedLink = q.shift();
|
|
57
|
-
var node = poppedLink.target;
|
|
58
|
-
if (node && node.sourceLinks) {
|
|
59
|
-
node.sourceLinks.forEach(function (link) {
|
|
60
|
-
finalLinks.add(link);
|
|
61
|
-
q.push(link);
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
if (singleNode.targetLinks) {
|
|
66
|
-
singleNode.targetLinks.forEach(function (link) {
|
|
67
|
-
q.push(link);
|
|
68
|
-
finalLinks.add(link);
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
while (q.length > 0) {
|
|
72
|
-
var poppedLink = q.shift();
|
|
73
|
-
var node = poppedLink.source;
|
|
74
|
-
if (node && node.targetLinks) {
|
|
75
|
-
node.targetLinks.forEach(function (link) {
|
|
76
|
-
finalLinks.add(link);
|
|
77
|
-
q.push(link);
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
return finalLinks;
|
|
82
|
-
}
|
|
83
|
-
function getSelectedLinksforStreamHover(singleLink) {
|
|
84
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, no-array-constructor
|
|
85
|
-
var q = new Array();
|
|
86
|
-
var finalLinks = new Set();
|
|
87
|
-
var finalNodes = new Set();
|
|
88
|
-
q.push(singleLink.source);
|
|
89
|
-
finalLinks.add(singleLink);
|
|
90
|
-
while (q.length > 0) {
|
|
91
|
-
var poppedNode = q.shift();
|
|
92
|
-
finalNodes.add(poppedNode);
|
|
93
|
-
if (poppedNode.targetLinks && poppedNode.targetLinks.length > 0) {
|
|
94
|
-
poppedNode.targetLinks.forEach(function (link) {
|
|
95
|
-
q.push(link.source);
|
|
96
|
-
finalLinks.add(link);
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
q.push(singleLink.target);
|
|
101
|
-
while (q.length > 0) {
|
|
102
|
-
var poppedNode = q.shift();
|
|
103
|
-
finalNodes.add(poppedNode);
|
|
104
|
-
if (poppedNode.sourceLinks && poppedNode.sourceLinks.length > 0) {
|
|
105
|
-
poppedNode.sourceLinks.forEach(function (link) {
|
|
106
|
-
q.push(link.target);
|
|
107
|
-
finalLinks.add(link);
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
return {
|
|
112
|
-
selectedLinks: finalLinks,
|
|
113
|
-
selectedNodes: finalNodes,
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* This is used to group nodes by column index.
|
|
118
|
-
*/
|
|
119
|
-
// This is exported for unit tests.
|
|
120
|
-
export function groupNodesByColumn(graph) {
|
|
121
|
-
var nodesInColumn = {};
|
|
122
|
-
graph.nodes.forEach(function (node) {
|
|
123
|
-
var columnId = node.layer;
|
|
124
|
-
if (nodesInColumn[columnId]) {
|
|
125
|
-
nodesInColumn[columnId].push(node);
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
nodesInColumn[columnId] = [node];
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
return nodesInColumn;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* This is used to normalize the nodes value whose value is less than 1% of the total column value.
|
|
135
|
-
*/
|
|
136
|
-
function adjustOnePercentHeightNodes(nodesInColumn, computedNodes, originalLinks) {
|
|
137
|
-
var totalColumnValue = Object.values(nodesInColumn).map(function (column) {
|
|
138
|
-
return d3Sum(column, function (node) { return node.value; });
|
|
139
|
-
});
|
|
140
|
-
totalColumnValue.forEach(function (columnValue, index) {
|
|
141
|
-
var totalPercentage = 0;
|
|
142
|
-
var onePercent = 0.01 * columnValue;
|
|
143
|
-
var columnNodes = nodesInColumn[index];
|
|
144
|
-
columnNodes.forEach(function (node) {
|
|
145
|
-
var value = computedNodes[node.nodeId];
|
|
146
|
-
var nodePercentage = (value / columnValue) * 100;
|
|
147
|
-
node.actualValue = value;
|
|
148
|
-
//if the value is less than 1% then we are making it as 1% of total .
|
|
149
|
-
if (nodePercentage < 1) {
|
|
150
|
-
node.value = onePercent;
|
|
151
|
-
totalPercentage = totalPercentage + 1;
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
totalPercentage = totalPercentage + nodePercentage;
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
//since we have adjusted the value to be 1% but we need to keep the sum of the percentage value under 100.
|
|
158
|
-
var scalingRatio = totalPercentage !== 0 ? totalPercentage / 100 : 1;
|
|
159
|
-
if (scalingRatio > 1) {
|
|
160
|
-
// Loop through each node in that column and scale that node--and its incoming and outgoing links--by the
|
|
161
|
-
// scaling ratio. We need the sankey diagram to re-layout the nodes and links after we do this.
|
|
162
|
-
columnNodes.forEach(function (node) {
|
|
163
|
-
var normalized = (node.value = node.value / scalingRatio);
|
|
164
|
-
// Which Original Value? and Which Normalized Value is needed, here? The Node? The Link? Both?
|
|
165
|
-
changeColumnValue(node, computedNodes[node.nodeId], normalized, originalLinks);
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* This is used for normalizing each link's value to reflect the normalized node value.
|
|
172
|
-
*/
|
|
173
|
-
function changeColumnValue(node, originalNodeValue, normalizedNodeValue, linkValues) {
|
|
174
|
-
// For each link in the source and target, compute the proportion that this link contributes to the total
|
|
175
|
-
// then adjust the link's value to reflect its proportion of the normalized node value.
|
|
176
|
-
var updateLinkValue = function (link) {
|
|
177
|
-
var value = linkValue(linkValues, link);
|
|
178
|
-
link.unnormalizedValue = value;
|
|
179
|
-
var linkRatio = value / originalNodeValue;
|
|
180
|
-
link.value = Math.max(normalizedNodeValue * linkRatio, link.value);
|
|
181
|
-
};
|
|
182
|
-
node.sourceLinks.forEach(updateLinkValue);
|
|
183
|
-
node.targetLinks.forEach(updateLinkValue);
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* This is used for calculating the node non normalized value based on link non normalized value.
|
|
187
|
-
* The links have the original weights. Computed nodes have the total weight of all incoming and outgoing links.
|
|
188
|
-
*/
|
|
189
|
-
function populateNodeActualValue(data, computedNodes, originalLinks) {
|
|
190
|
-
data.links.forEach(function (link) {
|
|
191
|
-
if (!link.unnormalizedValue) {
|
|
192
|
-
link.unnormalizedValue = linkValue(originalLinks, link);
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
data.nodes.forEach(function (node) {
|
|
196
|
-
node.actualValue = computedNodes[node.nodeId];
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* This is used to introduce dynamic padding for cases where the number of nodes in a column is huge
|
|
201
|
-
* so that we maintain a node to space ratio for such columns as if we fail to do so the
|
|
202
|
-
* chart is devoid of nodes and only shows links.
|
|
203
|
-
*/
|
|
204
|
-
// This is exported for unit tests
|
|
205
|
-
export function adjustPadding(sankey, height, nodesInColumn) {
|
|
206
|
-
var padding = sankey.nodePadding();
|
|
207
|
-
var minPadding = PADDING_PERCENTAGE * height;
|
|
208
|
-
Object.values(nodesInColumn).forEach(function (column) {
|
|
209
|
-
var totalPaddingInColumn = height - d3Sum(column, function (node) { return node.y1 - node.y0; });
|
|
210
|
-
if (minPadding < totalPaddingInColumn) {
|
|
211
|
-
// Here we are calculating the min of default and calculated padding, we will not increase the padding
|
|
212
|
-
// in any scenario.
|
|
213
|
-
padding = Math.min(padding, minPadding / (column.length - 1));
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
sankey.nodePadding(padding);
|
|
217
|
-
}
|
|
218
|
-
function idFromNumberOrSNode(node) {
|
|
219
|
-
if (typeof node === 'number') {
|
|
220
|
-
return node;
|
|
221
|
-
}
|
|
222
|
-
return node.nodeId;
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* Duplicates the supplied chart data so that we do not alter the original.
|
|
226
|
-
* @param data The data to duplicate.
|
|
227
|
-
* @returns The duplicated data.
|
|
228
|
-
*/
|
|
229
|
-
function duplicateData(data) {
|
|
230
|
-
return {
|
|
231
|
-
nodes: data.nodes.map(function (node) { return (__assign({}, node)); }),
|
|
232
|
-
links: data.links.map(function (link) { return (__assign({}, link)); }),
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
function valuesOfNodes(nodes) {
|
|
236
|
-
var result = {};
|
|
237
|
-
nodes.forEach(function (node) {
|
|
238
|
-
result[node.nodeId] = node.value;
|
|
239
|
-
});
|
|
240
|
-
return result;
|
|
241
|
-
}
|
|
242
|
-
function valuesOfLinks(links) {
|
|
243
|
-
var result = {};
|
|
244
|
-
links.forEach(function (link) {
|
|
245
|
-
var sourceId = idFromNumberOrSNode(link.source);
|
|
246
|
-
var sourceToTarget = result[sourceId];
|
|
247
|
-
if (!sourceToTarget) {
|
|
248
|
-
sourceToTarget = {};
|
|
249
|
-
result[sourceId] = sourceToTarget;
|
|
250
|
-
}
|
|
251
|
-
sourceToTarget[idFromNumberOrSNode(link.target)] = link.value;
|
|
252
|
-
});
|
|
253
|
-
return result;
|
|
254
|
-
}
|
|
255
|
-
function linkValue(originalLinks, link) {
|
|
256
|
-
return originalLinks[idFromNumberOrSNode(link.source)][idFromNumberOrSNode(link.target)];
|
|
257
|
-
}
|
|
258
|
-
// This is exported for unit tests.
|
|
259
|
-
export function preRenderLayout(margins, containerWidth, containerHeight, isRtl) {
|
|
260
|
-
var left = margins.left, right = margins.right, top = margins.top, bottom = margins.bottom;
|
|
261
|
-
var width = containerWidth - right;
|
|
262
|
-
var height = containerHeight - bottom > 0 ? containerHeight - bottom : 0;
|
|
263
|
-
var sankey = d3Sankey()
|
|
264
|
-
.nodeWidth(NODE_WIDTH)
|
|
265
|
-
.extent([
|
|
266
|
-
[left, top],
|
|
267
|
-
[width - 1, height - 6],
|
|
268
|
-
])
|
|
269
|
-
.nodeAlign(isRtl ? sankeyRight : sankeyJustify);
|
|
270
|
-
return { sankey: sankey, height: height, width: width };
|
|
271
|
-
}
|
|
272
|
-
var elipsis = '...';
|
|
273
|
-
/**
|
|
274
|
-
* This is used to assign node fillcolors and borderColor cyclically when the user doesnt
|
|
275
|
-
* provide color to individual node.
|
|
276
|
-
*/
|
|
277
|
-
function assignNodeColors(nodes, colorsForNodes, borderColorsForNodes) {
|
|
278
|
-
var colors;
|
|
279
|
-
var borders;
|
|
280
|
-
if (colorsForNodes && borderColorsForNodes) {
|
|
281
|
-
colors = colorsForNodes;
|
|
282
|
-
borders = borderColorsForNodes;
|
|
283
|
-
}
|
|
284
|
-
else {
|
|
285
|
-
colors = DEFAULT_NODE_COLORS.map(function (color) { return color.fillColor; });
|
|
286
|
-
borders = DEFAULT_NODE_COLORS.map(function (color) { return color.borderColor; });
|
|
287
|
-
}
|
|
288
|
-
var currentIndex = 0;
|
|
289
|
-
nodes.forEach(function (node) {
|
|
290
|
-
if (!node.color && !node.borderColor) {
|
|
291
|
-
node.color = colors[currentIndex];
|
|
292
|
-
node.borderColor = borders[currentIndex];
|
|
293
|
-
}
|
|
294
|
-
else if (node.color && !node.borderColor) {
|
|
295
|
-
node.borderColor = '#757575';
|
|
296
|
-
}
|
|
297
|
-
else if (node.borderColor && !node.color) {
|
|
298
|
-
node.color = '#F5F5F5';
|
|
299
|
-
}
|
|
300
|
-
currentIndex = (currentIndex + 1) % colors.length;
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
* Takes in the display name for the node and potentially returns a trimmed version of the name.
|
|
305
|
-
* @param tspan the `tspan` element to use for text visual length measurement
|
|
306
|
-
* @param text is the text which we will potentially truncate
|
|
307
|
-
* @param rectangleWidth is the width of the rectangle which will contain the text
|
|
308
|
-
* @param padding is the space we need to leave between the rect lines and other text
|
|
309
|
-
* @returns the name to show on the node which might be the truncated `text` if the `text` is too long
|
|
310
|
-
*/
|
|
311
|
-
function truncateText(tspan, text, rectangleWidth, padding) {
|
|
312
|
-
// NOTE: This method is the most-expensive in terms of rerendering components.
|
|
313
|
-
var textLengthForNodeName = rectangleWidth - padding; // This can likely be computed once and passed in.
|
|
314
|
-
// The following `select` statement injects a `tempText` element into the DOM. This injection
|
|
315
|
-
// (and subsequent removal) is causing a layout recalculation. This is a performance issue.
|
|
316
|
-
// Note that this code will always inject a `tempText` element, but doesn't always remove it. This is a bug.
|
|
317
|
-
if (fitsWithinNode(tspan, text, textLengthForNodeName)) {
|
|
318
|
-
return text;
|
|
319
|
-
}
|
|
320
|
-
// Computing the size of elipsis is performed with each node. This should be computed once and used everywhere.
|
|
321
|
-
// TODO: Compute the size of the elipsis once and use it everywhere.
|
|
322
|
-
var elipsisLength = computeElipsisLength(tspan);
|
|
323
|
-
var line = '';
|
|
324
|
-
// Calculate how much of the original text to show.
|
|
325
|
-
// TODO: The folllowing is O(n). We could use a binary search to make this faster: O(log(n)).
|
|
326
|
-
for (var i = 0; i < text.length; i++) {
|
|
327
|
-
line += text[i];
|
|
328
|
-
tspan.text(line);
|
|
329
|
-
var currentNode = tspan.node();
|
|
330
|
-
if (currentNode !== null) {
|
|
331
|
-
var w = currentNode.getComputedTextLength();
|
|
332
|
-
if (w >= textLengthForNodeName - elipsisLength) {
|
|
333
|
-
line = line.slice(0, -1);
|
|
334
|
-
line += elipsis;
|
|
335
|
-
break;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
tspan.text(null);
|
|
340
|
-
return line;
|
|
341
|
-
}
|
|
342
|
-
function fitsWithinNode(tspan, text, textLengthForNodeName) {
|
|
343
|
-
var measurement = measureText(tspan, text);
|
|
344
|
-
if (measurement === undefined) {
|
|
345
|
-
return false;
|
|
346
|
-
}
|
|
347
|
-
return measurement <= textLengthForNodeName;
|
|
348
|
-
}
|
|
349
|
-
function measureText(tspan, text) {
|
|
350
|
-
var _a;
|
|
351
|
-
try {
|
|
352
|
-
tspan.text(text);
|
|
353
|
-
return (_a = tspan.node()) === null || _a === void 0 ? void 0 : _a.getComputedTextLength();
|
|
354
|
-
}
|
|
355
|
-
finally {
|
|
356
|
-
tspan.text(null);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
function computeElipsisLength(tspan) {
|
|
360
|
-
var measurement = measureText(tspan, elipsis);
|
|
361
|
-
return measurement === undefined ? 0 : measurement;
|
|
362
|
-
}
|
|
363
|
-
function computeLinkAttributes(links, linkFrom, linkAriaLabel) {
|
|
364
|
-
var result = {};
|
|
365
|
-
links.forEach(function (link) {
|
|
366
|
-
var sourceId = idFromNumberOrSNode(link.source);
|
|
367
|
-
var sourceToTarget = result[sourceId];
|
|
368
|
-
if (!sourceToTarget) {
|
|
369
|
-
sourceToTarget = {};
|
|
370
|
-
result[sourceId] = sourceToTarget;
|
|
371
|
-
}
|
|
372
|
-
sourceToTarget[idFromNumberOrSNode(link.target)] = {
|
|
373
|
-
reactId: getId('link'),
|
|
374
|
-
from: linkFrom(link.source),
|
|
375
|
-
aria: linkAriaLabel(link),
|
|
376
|
-
};
|
|
377
|
-
});
|
|
378
|
-
return result;
|
|
379
|
-
}
|
|
380
|
-
var linkToDataPoints = function (d) {
|
|
381
|
-
var halfWidth = d.width * 0.5;
|
|
382
|
-
var y0 = d.y0;
|
|
383
|
-
var y1 = d.y1;
|
|
384
|
-
return [
|
|
385
|
-
{ x: d.source.x1, y0: y0 + halfWidth, y1: y0 - halfWidth },
|
|
386
|
-
{ x: d.target.x0, y0: y1 + halfWidth, y1: y1 - halfWidth },
|
|
387
|
-
];
|
|
388
|
-
};
|
|
389
|
-
var linkArea = d3Area()
|
|
390
|
-
.x(function (p) { return p.x; })
|
|
391
|
-
.y0(function (p) { return p.y0; })
|
|
392
|
-
.y1(function (p) { return p.y1; })
|
|
393
|
-
.curve(d3CurveBasis);
|
|
394
|
-
function nodeTextColor(state, singleNode) {
|
|
395
|
-
return !(!state.selectedState ||
|
|
396
|
-
(state.selectedNodes.has(singleNode.index) && state.selectedNode) ||
|
|
397
|
-
!state.selectedNode)
|
|
398
|
-
? DEFAULT_TEXT_COLOR
|
|
399
|
-
: NON_SELECTED_TEXT_COLOR;
|
|
400
|
-
}
|
|
401
|
-
// NOTE: To start employing React.useMemo properly, we need to convert this code from a React.Component
|
|
402
|
-
// to a function component. This will require a significant refactor of the code in this file.
|
|
403
|
-
// https://stackoverflow.com/questions/60223362/fast-way-to-convert-react-class-component-to-functional-component
|
|
404
|
-
// I am concerned that doing so would break this contract, making it difficult for consuming code.
|
|
405
|
-
var SankeyChartBase = /** @class */ (function (_super) {
|
|
406
|
-
__extends(SankeyChartBase, _super);
|
|
407
|
-
function SankeyChartBase(props) {
|
|
408
|
-
var _this = _super.call(this, props) || this;
|
|
409
|
-
_this._isRtl = getRTL();
|
|
410
|
-
_this._numColumns = 0;
|
|
411
|
-
_this.toImage = function (opts) {
|
|
412
|
-
return toImage(_this.chartContainer, undefined, _this._isRtl, opts);
|
|
413
|
-
};
|
|
414
|
-
_this._onCloseCallout = function () {
|
|
415
|
-
_this.setState({
|
|
416
|
-
isCalloutVisible: false,
|
|
417
|
-
refSelected: undefined,
|
|
418
|
-
descriptionMessage: '',
|
|
419
|
-
});
|
|
420
|
-
};
|
|
421
|
-
_this._onBlur = function () {
|
|
422
|
-
/**/
|
|
423
|
-
};
|
|
424
|
-
_this._fillNodeColors = function (singleNode) {
|
|
425
|
-
var state = _this.state;
|
|
426
|
-
if (!state.selectedState) {
|
|
427
|
-
return singleNode.color;
|
|
428
|
-
}
|
|
429
|
-
else {
|
|
430
|
-
var selectedNode = state.selectedNode;
|
|
431
|
-
if (selectedNode && state.selectedNodes.has(singleNode.index)) {
|
|
432
|
-
return selectedNode.color;
|
|
433
|
-
}
|
|
434
|
-
else if (!selectedNode) {
|
|
435
|
-
return singleNode.color;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
};
|
|
439
|
-
_this._fillNodeBorder = function (singleNode) {
|
|
440
|
-
var state = _this.state;
|
|
441
|
-
if (!state.selectedState) {
|
|
442
|
-
return singleNode.borderColor;
|
|
443
|
-
}
|
|
444
|
-
else {
|
|
445
|
-
if (state.selectedNodes.has(singleNode.index)) {
|
|
446
|
-
var selectedNode = state.selectedNode;
|
|
447
|
-
return selectedNode ? selectedNode.borderColor : singleNode.borderColor;
|
|
448
|
-
}
|
|
449
|
-
return singleNode.borderColor;
|
|
450
|
-
}
|
|
451
|
-
};
|
|
452
|
-
_this._calculateChartMinWidth = function () {
|
|
453
|
-
return (_this._margins.left +
|
|
454
|
-
_this._margins.right +
|
|
455
|
-
// total width of all node columns
|
|
456
|
-
_this._numColumns * NODE_WIDTH +
|
|
457
|
-
// minimum total width of all column gaps
|
|
458
|
-
(_this._numColumns - 1) * (NODE_WIDTH / 2));
|
|
459
|
-
};
|
|
460
|
-
initializeComponentRef(_this);
|
|
461
|
-
_this.state = {
|
|
462
|
-
containerHeight: 468,
|
|
463
|
-
containerWidth: 912,
|
|
464
|
-
selectedState: false,
|
|
465
|
-
selectedLinks: new Set(),
|
|
466
|
-
selectedNodes: new Set(),
|
|
467
|
-
shouldOverflow: false,
|
|
468
|
-
isCalloutVisible: false,
|
|
469
|
-
};
|
|
470
|
-
_this._calloutId = getId('callout');
|
|
471
|
-
_this._linkId = getId('link');
|
|
472
|
-
_this._chartId = getId('sankeyChart');
|
|
473
|
-
_this._emptyChartId = getId('_SankeyChart_empty');
|
|
474
|
-
_this._labelTooltipId = getId('tooltip');
|
|
475
|
-
_this._margins = { top: 36, right: 48, bottom: 32, left: 48 };
|
|
476
|
-
// We memo-ize creation so that we only create a new object when any of the fields change.
|
|
477
|
-
_this._computeClassNamesProps = memoizeFunction(function (theme, pathColor, className, containerWidth, containerHeight, enableReflow) { return ({
|
|
478
|
-
theme: theme,
|
|
479
|
-
width: containerWidth,
|
|
480
|
-
height: containerHeight,
|
|
481
|
-
pathColor: pathColor,
|
|
482
|
-
className: className,
|
|
483
|
-
enableReflow: enableReflow,
|
|
484
|
-
}); });
|
|
485
|
-
// `getClassNames` is memoized underneath, so it only recomputes when the `styles` or `classNamesProps` change.
|
|
486
|
-
// We memoize `classNamesProps` so that we only create new class names when absolutely necessary,
|
|
487
|
-
// and so that we can memoize the `_createNodes` method.
|
|
488
|
-
_this._computeClassNames = memoizeFunction(function (styles, classNamesProps) { return getClassNames(styles, classNamesProps); });
|
|
489
|
-
_this._normalizeData = memoizeFunction(function (data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes) { return _this._normalizeSankeyData(data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes); });
|
|
490
|
-
_this._fetchTooltip = memoizeFunction(function (classNames) {
|
|
491
|
-
return _this._labelTooltipDiv(classNames);
|
|
492
|
-
});
|
|
493
|
-
// Prepare the localization utilities
|
|
494
|
-
_this._strings = memoizeFunction(function (strings) {
|
|
495
|
-
var fromString = (strings === null || strings === void 0 ? void 0 : strings.linkFrom) || 'From {0}';
|
|
496
|
-
// NOTE: The `node` parameter is the sankey-generated node on the link, and not the original `node` supplied
|
|
497
|
-
// by the caller.
|
|
498
|
-
return {
|
|
499
|
-
linkFrom: function (node) { return format(fromString, node.name); },
|
|
500
|
-
};
|
|
501
|
-
})(props.strings);
|
|
502
|
-
_this._accessibility = memoizeFunction(function (accessibility) {
|
|
503
|
-
var linkString = (accessibility === null || accessibility === void 0 ? void 0 : accessibility.linkAriaLabel) || 'link from {0} to {1} with weight {2}';
|
|
504
|
-
var nodeString = (accessibility === null || accessibility === void 0 ? void 0 : accessibility.nodeAriaLabel) || 'node {0} with weight {1}';
|
|
505
|
-
return {
|
|
506
|
-
emptyAriaLabel: (accessibility === null || accessibility === void 0 ? void 0 : accessibility.emptyAriaLabel) || 'Graph has no data to display',
|
|
507
|
-
linkAriaLabel: function (link) {
|
|
508
|
-
return format(linkString, link.source.name, link.target.name, link.unnormalizedValue ? _this._formatNumber(link.unnormalizedValue) : link.unnormalizedValue);
|
|
509
|
-
},
|
|
510
|
-
nodeAriaLabel: function (node, weight) { return format(nodeString, node.name, _this._formatNumber(weight)); },
|
|
511
|
-
};
|
|
512
|
-
})(props.accessibility);
|
|
513
|
-
// NOTE: Memoizing the `_createNodes` and `_createLinks` methods would break the hoverability of the chart
|
|
514
|
-
// because the nodes are currently created differently based on the layout information. Hence why we do not
|
|
515
|
-
// memoize these methods (but have stubs for memoizing as the `_fetchNodes` and `_fetchLinks` methods).
|
|
516
|
-
_this._nodeAttributes = memoizeFunction(function (nodes, nodeAriaLabel) {
|
|
517
|
-
return _this._computeNodeAttributes(nodes, nodeAriaLabel);
|
|
518
|
-
});
|
|
519
|
-
_this._fetchNodes = function (classNames, nodes, nodeAttributes, tooltipDiv) { return _this._createNodes(classNames, nodes, nodeAttributes, tooltipDiv); };
|
|
520
|
-
_this._linkAttributes = memoizeFunction(function (links, linkFrom, linkAriaLabel) {
|
|
521
|
-
return computeLinkAttributes(links, linkFrom, linkAriaLabel);
|
|
522
|
-
});
|
|
523
|
-
_this._fetchLinks = function (links, linkAttributes) {
|
|
524
|
-
return _this._createLinks(links, linkAttributes);
|
|
525
|
-
};
|
|
526
|
-
return _this;
|
|
527
|
-
// Our shorter path to performance is to pre-compute the truncated labels of each node because
|
|
528
|
-
// that should not change based on the position of the mouse. This is a shorter path becase the code which
|
|
529
|
-
// computes the truncated labels creates and destroys a `tempText` element in the DOM. This is causing a
|
|
530
|
-
// reflow and repaint of the entire chart. This is a performance issue, and so computing the truncated labels
|
|
531
|
-
// once will help to mitigate this issue.
|
|
532
|
-
}
|
|
533
|
-
SankeyChartBase.prototype.componentDidMount = function () {
|
|
534
|
-
this._fitParentContainer();
|
|
535
|
-
};
|
|
536
|
-
SankeyChartBase.prototype.componentDidUpdate = function (prevProps) {
|
|
537
|
-
if (prevProps.shouldResize !== this.props.shouldResize) {
|
|
538
|
-
this._fitParentContainer();
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
SankeyChartBase.prototype.componentWillUnmount = function () {
|
|
542
|
-
cancelAnimationFrame(this._reqID);
|
|
543
|
-
};
|
|
544
|
-
SankeyChartBase.prototype.render = function () {
|
|
545
|
-
var _this = this;
|
|
546
|
-
if (!this._isChartEmpty()) {
|
|
547
|
-
var _a = this.props, theme = _a.theme, className = _a.className, styles = _a.styles, pathColor = _a.pathColor, colorsForNodes = _a.colorsForNodes, borderColorsForNodes = _a.borderColorsForNodes;
|
|
548
|
-
var state = this.state;
|
|
549
|
-
var classNamesProps = this._computeClassNamesProps(theme, pathColor, className, state.containerWidth, state.containerHeight, this.props.enableReflow);
|
|
550
|
-
var classNames_1 = this._computeClassNames(styles, classNamesProps);
|
|
551
|
-
// Compute the position of each node and link
|
|
552
|
-
var _b = this._normalizeData(this.props.data.SankeyChartData, state.containerWidth, state.containerHeight, colorsForNodes, borderColorsForNodes), nodes_1 = _b.nodes, links_1 = _b.links, width = _b.width, height = _b.height;
|
|
553
|
-
// In FocusZone, the focus order is determined by the rendering order of the elements. We need to find
|
|
554
|
-
// a rendering order such that the focus moves through the nodes and links in a logical sequence.
|
|
555
|
-
// Rendering the nodes and links layer by layer in a vertical order seems to be the most effective solution
|
|
556
|
-
// with FocusZone. Although this focus order may not be entirely logical, it ensures that the focus moves
|
|
557
|
-
// sequentially and prevents links (especially skip layer links) from being rendered over the nodes.
|
|
558
|
-
var nodeLinkDomOrderArray_1 = [];
|
|
559
|
-
nodes_1.sort(function (a, b) {
|
|
560
|
-
if (a.x0 !== b.x0) {
|
|
561
|
-
return a.x0 - b.x0;
|
|
562
|
-
}
|
|
563
|
-
return a.y0 - b.y0;
|
|
564
|
-
});
|
|
565
|
-
nodes_1.forEach(function (item, index) {
|
|
566
|
-
nodeLinkDomOrderArray_1.push({ layer: item.layer, type: 'node', index: index });
|
|
567
|
-
});
|
|
568
|
-
links_1.sort(function (a, b) {
|
|
569
|
-
var asx0 = a.source.x0;
|
|
570
|
-
var bsx0 = b.source.x0;
|
|
571
|
-
if (asx0 !== bsx0) {
|
|
572
|
-
return asx0 - bsx0;
|
|
573
|
-
}
|
|
574
|
-
return a.y0 - b.y0;
|
|
575
|
-
});
|
|
576
|
-
links_1.forEach(function (item, index) {
|
|
577
|
-
nodeLinkDomOrderArray_1.push({ layer: item.source.layer, type: 'link', index: index });
|
|
578
|
-
});
|
|
579
|
-
nodeLinkDomOrderArray_1.sort(function (a, b) {
|
|
580
|
-
if (a.layer !== b.layer) {
|
|
581
|
-
return a.layer - b.layer;
|
|
582
|
-
}
|
|
583
|
-
if (a.type > b.type) {
|
|
584
|
-
return -1;
|
|
585
|
-
}
|
|
586
|
-
if (a.type < b.type) {
|
|
587
|
-
return 1;
|
|
588
|
-
}
|
|
589
|
-
return 0;
|
|
590
|
-
});
|
|
591
|
-
// NOTE: I don't love this approach to caching the "select" result. Is it still valid from render-to-render?
|
|
592
|
-
// although local testing seems to indicate so, I do not trust that React will always support that instance.
|
|
593
|
-
// It might be better to perform this `fetch` within the `_showTooltip` and `_hideTooltip` methods.
|
|
594
|
-
var tooltipDiv = this._fetchTooltip(classNames_1);
|
|
595
|
-
// Pre-compute some important attributes about nodes, specifically text
|
|
596
|
-
var nodeAttributes = this._nodeAttributes(nodes_1, this._accessibility.nodeAriaLabel);
|
|
597
|
-
// Build the nodes and links as rendered in the UX.
|
|
598
|
-
var nodeData_1 = this._fetchNodes(classNames_1, nodes_1, nodeAttributes, tooltipDiv);
|
|
599
|
-
var linkAttributes = this._linkAttributes(links_1, this._strings.linkFrom, this._accessibility.linkAriaLabel);
|
|
600
|
-
var linkData_1 = this._fetchLinks(links_1, linkAttributes);
|
|
601
|
-
var calloutProps = __assign({ isCalloutVisible: state.isCalloutVisible, directionalHint: DirectionalHint.topAutoEdge, id: "toolTip".concat(this._calloutId), target: state.refSelected, color: state.color, XValue: state.xCalloutValue, YValue: state.yCalloutValue ? state.yCalloutValue : state.dataForHoverCard, descriptionMessage: state.descriptionMessage, isBeakVisible: false, gapSpace: 15, onDismiss: this._onCloseCallout, className: classNames_1.calloutContentRoot, preventDismissOnLostFocus: true }, this.props.calloutProps);
|
|
602
|
-
return (React.createElement("div", { className: classNames_1.root, role: 'presentation', ref: function (rootElem) { return (_this.chartContainer = rootElem); }, onMouseLeave: this._onCloseCallout },
|
|
603
|
-
React.createElement(FocusZone, { direction: FocusZoneDirection.vertical, className: classNames_1.chartWrapper },
|
|
604
|
-
React.createElement("svg", { width: width, height: height, id: this._chartId },
|
|
605
|
-
nodeLinkDomOrderArray_1.map(function (item) {
|
|
606
|
-
if (item.type === 'node') {
|
|
607
|
-
return (React.createElement("g", { key: nodes_1[item.index].nodeId, className: classNames_1.nodes }, nodeData_1[item.index]));
|
|
608
|
-
}
|
|
609
|
-
else {
|
|
610
|
-
return (React.createElement("g", { key: "".concat(links_1[item.index].source.nodeId, "-").concat(links_1[item.index].target.nodeId), className: classNames_1.links, strokeOpacity: 1 }, linkData_1[item.index]));
|
|
611
|
-
}
|
|
612
|
-
}),
|
|
613
|
-
calloutProps.isCalloutVisible && (React.createElement(Callout, __assign({}, calloutProps),
|
|
614
|
-
React.createElement(ChartHoverCard, { XValue: calloutProps.XValue, YValue: calloutProps.YValue, color: calloutProps.color, descriptionMessage: calloutProps.descriptionMessage ? calloutProps.descriptionMessage : '' })))))));
|
|
615
|
-
}
|
|
616
|
-
return (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": this._accessibility.emptyAriaLabel }));
|
|
617
|
-
};
|
|
618
|
-
SankeyChartBase.prototype._computeNodeAttributes = function (nodes, nodeAriaLabel) {
|
|
619
|
-
var _this = this;
|
|
620
|
-
var result = {};
|
|
621
|
-
var weightSpan = select('.nodeName').append('text').attr('class', 'tempText').append('tspan').text(null);
|
|
622
|
-
var nameSpan = select('.nodeName')
|
|
623
|
-
.append('text')
|
|
624
|
-
.attr('class', 'tempText')
|
|
625
|
-
.attr('font-size', '10')
|
|
626
|
-
.append('tspan')
|
|
627
|
-
.text(null);
|
|
628
|
-
nodes.forEach(function (singleNode) {
|
|
629
|
-
var height = Math.max(singleNode.y1 - singleNode.y0, 0);
|
|
630
|
-
var padding = 8;
|
|
631
|
-
var textLengthForNodeWeight = 0;
|
|
632
|
-
var nodeValue = singleNode.actualValue;
|
|
633
|
-
// If the nodeWeight is in the same line as node description an extra padding
|
|
634
|
-
// of 6 px is required between node description and node weight.
|
|
635
|
-
if (height < MIN_HEIGHT_FOR_DOUBLINE_TYPE) {
|
|
636
|
-
padding = padding + 6;
|
|
637
|
-
// The following `select` statement injects a `tempText` element into the DOM. This injection
|
|
638
|
-
// (and subsequent removal) is causing a layout recalculation. This is a performance issue.
|
|
639
|
-
var measurement = measureText(weightSpan, _this._formatNumber(nodeValue));
|
|
640
|
-
if (measurement !== undefined) {
|
|
641
|
-
textLengthForNodeWeight = measurement;
|
|
642
|
-
padding = padding + textLengthForNodeWeight;
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
// Since the total width of the node is 124 and we are giving margin of 8px from the left .
|
|
646
|
-
// So the actual value on which it will be truncated is 124-8=116.
|
|
647
|
-
var truncatedname = truncateText(nameSpan, singleNode.name, NODE_WIDTH - 8, padding);
|
|
648
|
-
var isTruncated = truncatedname.slice(-3) === elipsis;
|
|
649
|
-
result[singleNode.nodeId] = {
|
|
650
|
-
reactId: getId('nodeBar'),
|
|
651
|
-
gElementId: getId('nodeGElement'),
|
|
652
|
-
name: truncatedname,
|
|
653
|
-
aria: nodeAriaLabel(singleNode, nodeValue),
|
|
654
|
-
trimmed: isTruncated,
|
|
655
|
-
height: height,
|
|
656
|
-
weightOffset: textLengthForNodeWeight,
|
|
657
|
-
};
|
|
658
|
-
});
|
|
659
|
-
selectAll('.tempText').remove();
|
|
660
|
-
return result;
|
|
661
|
-
};
|
|
662
|
-
SankeyChartBase.prototype._linkCalloutAttributes = function (singleLink, from) {
|
|
663
|
-
return {
|
|
664
|
-
selectedLink: singleLink,
|
|
665
|
-
isCalloutVisible: true,
|
|
666
|
-
color: singleLink.source.color,
|
|
667
|
-
xCalloutValue: singleLink.target.name,
|
|
668
|
-
yCalloutValue: this._formatNumber(singleLink.unnormalizedValue),
|
|
669
|
-
descriptionMessage: from,
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
SankeyChartBase.prototype._normalizeSankeyData = function (data, containerWidth, containerHeight, colorsForNodes, borderColorsForNodes) {
|
|
673
|
-
var _a = preRenderLayout(this._margins, containerWidth, containerHeight, this._isRtl), sankey = _a.sankey, height = _a.height, width = _a.width;
|
|
674
|
-
// Clone the data before mutating it (via the SankeyLayoutGenerator) so that we don't mutate the original data.
|
|
675
|
-
var transformed = duplicateData(data);
|
|
676
|
-
sankey(transformed);
|
|
677
|
-
// NOTE: After the prior line, `transformed` is now a more-complex object than the incoming `ISankeyChartData`.
|
|
678
|
-
// `transformed` should be cast to a more-specific type. This is a breaking change because we would be eliminating
|
|
679
|
-
// fields from `ISankeyChartData` and putting those fields on a now-local type. But doing so makes it clearer what
|
|
680
|
-
// the caller needs to supply and why. For example, the `actualValue` and `layer` fields of `ISNodeExtra` should
|
|
681
|
-
// both be moved. Similarly for `unnormalizedValue` in `ISLinkExtra`.
|
|
682
|
-
// `SankeyNodeMinimal` and `SankeyLinkMinimal` are both the types after `sankey(transformed)`, but have almost no
|
|
683
|
-
// bearing on the data before `sankey(transformed)` (which is basically nodes with ids and names along with links
|
|
684
|
-
// with source index, target index, and value).
|
|
685
|
-
var nodesInColumn = groupNodesByColumn(transformed);
|
|
686
|
-
this._numColumns = Object.keys(nodesInColumn).length;
|
|
687
|
-
// Keep track of the original values of the links and their acccumulated values in the nodes
|
|
688
|
-
// Setting these in external objects so they cannot be mutated by other code.
|
|
689
|
-
// The IDs of nodes can be numbers or strings. But, the IDs of links are always the index into the "nodes" array.
|
|
690
|
-
// After the sankey layout is computed, the each link's `source` and `target` will have the ID of the node in the
|
|
691
|
-
// type originally specified in the Nodes array. Consequently, we get the values of those links after the sankey
|
|
692
|
-
// transformation.
|
|
693
|
-
var nodeValues = valuesOfNodes(transformed.nodes);
|
|
694
|
-
var linkValues = valuesOfLinks(transformed.links);
|
|
695
|
-
adjustOnePercentHeightNodes(nodesInColumn, nodeValues, linkValues);
|
|
696
|
-
adjustPadding(sankey, height - 6, nodesInColumn);
|
|
697
|
-
// `sankey` is called a second time, probably to re-layout the nodes with the one-percent adjusted weights.
|
|
698
|
-
// NOTE: The second call to `sankey` is required to allow links to be hoverable.
|
|
699
|
-
// Without the second call, the links are not hoverable.
|
|
700
|
-
sankey(transformed);
|
|
701
|
-
populateNodeActualValue(transformed, nodeValues, linkValues);
|
|
702
|
-
assignNodeColors(transformed.nodes, colorsForNodes, borderColorsForNodes);
|
|
703
|
-
return {
|
|
704
|
-
width: width,
|
|
705
|
-
height: height,
|
|
706
|
-
nodes: transformed.nodes,
|
|
707
|
-
links: transformed.links,
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
|
-
SankeyChartBase.prototype._labelTooltipDiv = function (classNames) {
|
|
711
|
-
// find the tooltip div. If it doesn't exist, then create it.
|
|
712
|
-
var tooltipDiv = select("#".concat(this._labelTooltipId));
|
|
713
|
-
if (tooltipDiv.empty()) {
|
|
714
|
-
tooltipDiv = select('body')
|
|
715
|
-
.append('div')
|
|
716
|
-
.attr('id', this._labelTooltipId)
|
|
717
|
-
.attr('class', classNames.toolTip)
|
|
718
|
-
.style('opacity', 0);
|
|
719
|
-
}
|
|
720
|
-
// If the div exists, then `classNames` has changed; update the `class` on the `div`.
|
|
721
|
-
tooltipDiv.attr('class', classNames.toolTip);
|
|
722
|
-
return tooltipDiv;
|
|
723
|
-
};
|
|
724
|
-
SankeyChartBase.prototype._createLinks = function (dataLinks, linkAttributes) {
|
|
725
|
-
var _this = this;
|
|
726
|
-
if (dataLinks) {
|
|
727
|
-
var linkId_1 = this._linkId;
|
|
728
|
-
return dataLinks.map(function (singleLink, index) {
|
|
729
|
-
var onMouseOut = function () {
|
|
730
|
-
_this._onStreamLeave(singleLink);
|
|
731
|
-
};
|
|
732
|
-
var _a = linkValue(linkAttributes, singleLink), reactId = _a.reactId, from = _a.from, aria = _a.aria;
|
|
733
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
734
|
-
var dataPoints = linkToDataPoints(singleLink);
|
|
735
|
-
var key = "".concat(linkId_1, "-").concat(index);
|
|
736
|
-
var gradientId = "gradient-".concat(key);
|
|
737
|
-
var gradientUrl = "url(#".concat(gradientId, ")");
|
|
738
|
-
var source = singleLink.source;
|
|
739
|
-
var target = singleLink.target;
|
|
740
|
-
// TODO: localize the aria-label string
|
|
741
|
-
return (React.createElement("g", { key: key },
|
|
742
|
-
React.createElement("defs", null,
|
|
743
|
-
React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "0%" },
|
|
744
|
-
React.createElement("stop", { offset: "0", stopColor: source.color }),
|
|
745
|
-
React.createElement("stop", { offset: "100%", stopColor: target.color }))),
|
|
746
|
-
React.createElement("path", { d: linkArea(dataPoints), id: reactId, fill: _this._fillStreamColors(singleLink, gradientUrl), stroke: _this._fillStreamBorder(singleLink, gradientUrl), strokeWidth: "2", strokeOpacity: _this._getOpacityStreamBorder(singleLink), onMouseOver: function (event) { return _this._onStreamHover(event, singleLink, from); }, onMouseOut: onMouseOut, onFocus: function (event) { return _this._onFocusLink(event, singleLink, from); }, onBlur: _this._onBlur, fillOpacity: _this._getOpacityStream(singleLink), "data-is-focusable": true, "aria-label": aria, role: "img" })));
|
|
747
|
-
});
|
|
748
|
-
}
|
|
749
|
-
return [];
|
|
750
|
-
};
|
|
751
|
-
SankeyChartBase.prototype._createNodes = function (classNames, dataNodes, nodeAttributes, tooltipDiv) {
|
|
752
|
-
var _this = this;
|
|
753
|
-
if (dataNodes) {
|
|
754
|
-
var state_1 = this.state;
|
|
755
|
-
var textAnchor_1 = this._isRtl ? 'end' : 'start';
|
|
756
|
-
return dataNodes.map(function (singleNode, index) {
|
|
757
|
-
var onMouseOut = function () {
|
|
758
|
-
_this._onLeave(singleNode);
|
|
759
|
-
};
|
|
760
|
-
var _a = nodeAttributes[singleNode.nodeId], nodeId = _a.reactId, gElementId = _a.gElementId, height = _a.height, isTruncated = _a.trimmed, truncatedName = _a.name, textLengthForNodeWeight = _a.weightOffset, aria = _a.aria;
|
|
761
|
-
var tooTall = height > MIN_HEIGHT_FOR_DOUBLINE_TYPE;
|
|
762
|
-
var name = singleNode.name, actualValue = singleNode.actualValue, x0 = singleNode.x0, x1 = singleNode.x1, y0 = singleNode.y0;
|
|
763
|
-
var textColor = nodeTextColor(state_1, singleNode);
|
|
764
|
-
return (React.createElement("g", { key: index, id: gElementId },
|
|
765
|
-
React.createElement("rect", { x: x0, y: y0, height: height, width: x1 - x0, fill: _this._fillNodeColors(singleNode), id: nodeId, onMouseOver: _this._onHover.bind(_this, singleNode), onMouseOut: onMouseOut, onFocus: _this._onCloseCallout.bind(_this), stroke: _this._fillNodeBorder(singleNode), strokeWidth: "2", opacity: "1", "data-is-focusable": true, "aria-label": aria, role: "img" }),
|
|
766
|
-
height > MIN_HEIGHT_FOR_TYPE && (React.createElement("g", { className: classNames.nodeTextContainer },
|
|
767
|
-
React.createElement("g", { className: "nodeName" },
|
|
768
|
-
React.createElement("text", { id: "".concat(nodeId, "-name"), x: x0, y: y0, dy: '1.2em', dx: '0.4em', textAnchor: textAnchor_1, fontWeight: "regular", "aria-hidden": "true", fill: textColor, fontSize: 10, onMouseOver: _this._showTooltip.bind(_this, name, isTruncated, tooltipDiv), onMouseOut: _this._hideTooltip.bind(_this, tooltipDiv) }, truncatedName)),
|
|
769
|
-
React.createElement("text", { x: tooTall ? x0 : x1 - textLengthForNodeWeight - 8, y: y0, dy: tooTall ? '2em' : '1em', dx: tooTall ? '0.4em' : '0em', textAnchor: textAnchor_1, fontWeight: "bold", "aria-hidden": "true", fill: textColor, fontSize: 14 }, actualValue ? _this._formatNumber(actualValue) : actualValue)))));
|
|
770
|
-
});
|
|
771
|
-
}
|
|
772
|
-
};
|
|
773
|
-
SankeyChartBase.prototype._onLeave = function (singleNode) {
|
|
774
|
-
if (this.state.selectedState) {
|
|
775
|
-
this.setState({
|
|
776
|
-
selectedState: false,
|
|
777
|
-
selectedNodes: new Set(),
|
|
778
|
-
selectedLinks: new Set(),
|
|
779
|
-
selectedNode: undefined,
|
|
780
|
-
});
|
|
781
|
-
}
|
|
782
|
-
};
|
|
783
|
-
SankeyChartBase.prototype._onHover = function (singleNode, mouseEvent) {
|
|
784
|
-
mouseEvent.persist();
|
|
785
|
-
this._onCloseCallout();
|
|
786
|
-
if (!this.state.selectedState) {
|
|
787
|
-
var selectedLinks = getSelectedLinks(singleNode);
|
|
788
|
-
var selectedNodes = getSelectedNodes(selectedLinks);
|
|
789
|
-
selectedNodes.push(singleNode);
|
|
790
|
-
this.setState({
|
|
791
|
-
selectedState: true,
|
|
792
|
-
selectedNodes: new Set(Array.from(selectedNodes).map(function (node) { return node.index; })),
|
|
793
|
-
selectedLinks: new Set(Array.from(selectedLinks).map(function (link) { return link.index; })),
|
|
794
|
-
selectedNode: singleNode,
|
|
795
|
-
refSelected: mouseEvent, //this._refArray.get(index),
|
|
796
|
-
isCalloutVisible: singleNode.y1 - singleNode.y0 < MIN_HEIGHT_FOR_TYPE,
|
|
797
|
-
color: singleNode.color,
|
|
798
|
-
xCalloutValue: singleNode.name,
|
|
799
|
-
yCalloutValue: this._formatNumber(singleNode.actualValue),
|
|
800
|
-
});
|
|
801
|
-
}
|
|
802
|
-
};
|
|
803
|
-
SankeyChartBase.prototype._formatNumber = function (value) {
|
|
804
|
-
return this.props.formatNumberOptions
|
|
805
|
-
? value.toLocaleString(undefined, this.props.formatNumberOptions)
|
|
806
|
-
: value.toString();
|
|
807
|
-
};
|
|
808
|
-
SankeyChartBase.prototype._onStreamHover = function (mouseEvent, singleLink, from) {
|
|
809
|
-
mouseEvent.persist();
|
|
810
|
-
this._onCloseCallout();
|
|
811
|
-
if (!this.state.selectedState) {
|
|
812
|
-
var _a = getSelectedLinksforStreamHover(singleLink), selectedLinks = _a.selectedLinks, selectedNodes = _a.selectedNodes;
|
|
813
|
-
this.setState(__assign({ selectedState: true, selectedNodes: new Set(Array.from(selectedNodes).map(function (node) { return node.index; })), selectedLinks: new Set(Array.from(selectedLinks).map(function (link) { return link.index; })), refSelected: mouseEvent }, this._linkCalloutAttributes(singleLink, from)));
|
|
814
|
-
}
|
|
815
|
-
};
|
|
816
|
-
SankeyChartBase.prototype._onStreamLeave = function (singleLink) {
|
|
817
|
-
if (this.state.selectedState) {
|
|
818
|
-
this.setState({
|
|
819
|
-
selectedState: false,
|
|
820
|
-
selectedNodes: new Set(),
|
|
821
|
-
selectedLinks: new Set(),
|
|
822
|
-
selectedLink: undefined,
|
|
823
|
-
});
|
|
824
|
-
}
|
|
825
|
-
};
|
|
826
|
-
SankeyChartBase.prototype._onFocusLink = function (element, singleLink, from) {
|
|
827
|
-
// There is a big difference in how "Tab" and the "Arrow keys" are handled in this diagram.
|
|
828
|
-
// In particular, I would expect the "Down" key to be like "Tab", but it jumps a little wildly. I'm not sure
|
|
829
|
-
// if this behavior is an accessiblity violation, but it we might want to investigate it.
|
|
830
|
-
element.persist();
|
|
831
|
-
this._onCloseCallout();
|
|
832
|
-
this.setState(__assign({ refSelected: element.currentTarget }, this._linkCalloutAttributes(singleLink, from)));
|
|
833
|
-
};
|
|
834
|
-
SankeyChartBase.prototype._fillStreamColors = function (singleLink, gradientUrl) {
|
|
835
|
-
var state = this.state;
|
|
836
|
-
if (state.selectedState && state.selectedLinks.has(singleLink.index)) {
|
|
837
|
-
var selectedNode = state.selectedNode;
|
|
838
|
-
return selectedNode ? selectedNode.color : gradientUrl;
|
|
839
|
-
}
|
|
840
|
-
};
|
|
841
|
-
SankeyChartBase.prototype._fillStreamBorder = function (singleLink, gradientUrl) {
|
|
842
|
-
var state = this.state;
|
|
843
|
-
if (!state.selectedState) {
|
|
844
|
-
return NON_SELECTED_NODE_AND_STREAM_COLOR;
|
|
845
|
-
}
|
|
846
|
-
else {
|
|
847
|
-
if (state.selectedLinks.has(singleLink.index)) {
|
|
848
|
-
var selectedNode = state.selectedNode;
|
|
849
|
-
return selectedNode ? selectedNode.borderColor : gradientUrl;
|
|
850
|
-
}
|
|
851
|
-
return NON_SELECTED_NODE_AND_STREAM_COLOR;
|
|
852
|
-
}
|
|
853
|
-
};
|
|
854
|
-
SankeyChartBase.prototype._getOpacityStream = function (singleLink) {
|
|
855
|
-
var state = this.state;
|
|
856
|
-
if (state.selectedState) {
|
|
857
|
-
if (!state.selectedLinks.has(singleLink.index)) {
|
|
858
|
-
return NON_SELECTED_OPACITY;
|
|
859
|
-
}
|
|
860
|
-
else if (!state.selectedNode) {
|
|
861
|
-
return SELECTED_STREAM_OPACITY;
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
return REST_STREAM_OPACITY;
|
|
865
|
-
};
|
|
866
|
-
SankeyChartBase.prototype._getOpacityStreamBorder = function (singleLink) {
|
|
867
|
-
var state = this.state;
|
|
868
|
-
if (state.selectedState && !state.selectedLinks.has(singleLink.index) && !state.selectedNode) {
|
|
869
|
-
return NON_SELECTED_STREAM_BORDER_OPACITY;
|
|
870
|
-
}
|
|
871
|
-
return NON_SELECTED_OPACITY;
|
|
872
|
-
};
|
|
873
|
-
SankeyChartBase.prototype._fitParentContainer = function () {
|
|
874
|
-
var _this = this;
|
|
875
|
-
var _a = this.state, containerWidth = _a.containerWidth, containerHeight = _a.containerHeight;
|
|
876
|
-
this._reqID = requestAnimationFrame(function () {
|
|
877
|
-
// NOTE: Calls to this method trigger a re-render.
|
|
878
|
-
var container = _this.props.parentRef ? _this.props.parentRef : _this.chartContainer;
|
|
879
|
-
var currentContainerWidth = container &&
|
|
880
|
-
(_this.props.enableReflow
|
|
881
|
-
? Math.max(container.getBoundingClientRect().width, _this._calculateChartMinWidth())
|
|
882
|
-
: container.getBoundingClientRect().width);
|
|
883
|
-
var currentContainerHeight = container && container.getBoundingClientRect().height;
|
|
884
|
-
var shouldResize = containerWidth !== currentContainerWidth || containerHeight !== currentContainerHeight;
|
|
885
|
-
if (shouldResize) {
|
|
886
|
-
_this.setState({
|
|
887
|
-
containerWidth: currentContainerWidth,
|
|
888
|
-
containerHeight: currentContainerHeight,
|
|
889
|
-
});
|
|
890
|
-
}
|
|
891
|
-
});
|
|
892
|
-
};
|
|
893
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
894
|
-
SankeyChartBase.prototype._showTooltip = function (text, checkTrcuncated, div, evt) {
|
|
895
|
-
if (checkTrcuncated) {
|
|
896
|
-
//Fixing tooltip position by attaching it to the element rather than page
|
|
897
|
-
div.style('opacity', 0.9).style('color', this.props.theme.palette.neutralPrimary);
|
|
898
|
-
div
|
|
899
|
-
.html(text)
|
|
900
|
-
.style('left', evt.pageX + 'px')
|
|
901
|
-
.style('top', evt.pageY - 28 + 'px');
|
|
902
|
-
}
|
|
903
|
-
};
|
|
904
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
905
|
-
SankeyChartBase.prototype._hideTooltip = function (div) {
|
|
906
|
-
div.style('opacity', 0);
|
|
907
|
-
};
|
|
908
|
-
SankeyChartBase.prototype._isChartEmpty = function () {
|
|
909
|
-
var _a;
|
|
910
|
-
var sankeyChartData = (_a = this.props.data) === null || _a === void 0 ? void 0 : _a.SankeyChartData;
|
|
911
|
-
return !(sankeyChartData && sankeyChartData.nodes.length > 0 && sankeyChartData.links.length > 0);
|
|
912
|
-
};
|
|
913
|
-
SankeyChartBase.defaultProps = {
|
|
914
|
-
enableReflow: true,
|
|
915
|
-
};
|
|
916
|
-
return SankeyChartBase;
|
|
917
|
-
}(React.Component));
|
|
918
|
-
export { SankeyChartBase };
|
|
919
|
-
//# sourceMappingURL=SankeyChart.base.js.map
|