@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,883 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VerticalBarChartBase = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var React = require("react");
|
|
6
|
-
var d3_array_1 = require("d3-array");
|
|
7
|
-
var d3_shape_1 = require("d3-shape");
|
|
8
|
-
var d3_selection_1 = require("d3-selection");
|
|
9
|
-
var d3_scale_1 = require("d3-scale");
|
|
10
|
-
var Utilities_1 = require("@fluentui/react/lib/Utilities");
|
|
11
|
-
var Callout_1 = require("@fluentui/react/lib/Callout");
|
|
12
|
-
var index_1 = require("../../index");
|
|
13
|
-
var react_focus_1 = require("@fluentui/react-focus");
|
|
14
|
-
var index_2 = require("../../utilities/index");
|
|
15
|
-
var image_export_utils_1 = require("../../utilities/image-export-utils");
|
|
16
|
-
var CircleVisbility;
|
|
17
|
-
(function (CircleVisbility) {
|
|
18
|
-
CircleVisbility["show"] = "visibility";
|
|
19
|
-
CircleVisbility["hide"] = "hidden";
|
|
20
|
-
})(CircleVisbility || (CircleVisbility = {}));
|
|
21
|
-
var getClassNames = (0, Utilities_1.classNamesFunction)();
|
|
22
|
-
var MIN_DOMAIN_MARGIN = 8;
|
|
23
|
-
var VerticalBarChartBase = /** @class */ (function (_super) {
|
|
24
|
-
tslib_1.__extends(VerticalBarChartBase, _super);
|
|
25
|
-
function VerticalBarChartBase(props) {
|
|
26
|
-
var _a;
|
|
27
|
-
var _this = _super.call(this, props) || this;
|
|
28
|
-
_this._isRtl = (0, Utilities_1.getRTL)();
|
|
29
|
-
_this.toImage = function (opts) {
|
|
30
|
-
var _a, _b;
|
|
31
|
-
return (0, image_export_utils_1.toImage)((_a = _this._cartesianChartRef.current) === null || _a === void 0 ? void 0 : _a.chartContainer, (_b = _this._legendsRef.current) === null || _b === void 0 ? void 0 : _b.toSVG, _this._isRtl, opts);
|
|
32
|
-
};
|
|
33
|
-
_this._getDomainNRangeValues = function (points, margins, width, chartType, isRTL, xAxisType, barWidth, tickValues, shiftX) {
|
|
34
|
-
var domainNRangeValue;
|
|
35
|
-
if (xAxisType === index_2.XAxisTypes.NumericAxis) {
|
|
36
|
-
domainNRangeValue = (0, index_2.domainRageOfVerticalNumeric)(points, margins, width, isRTL, barWidth);
|
|
37
|
-
}
|
|
38
|
-
else if (xAxisType === index_2.XAxisTypes.DateAxis) {
|
|
39
|
-
domainNRangeValue = (0, index_2.domainRangeOfDateForAreaLineVerticalBarChart)(points, margins, width, isRTL, tickValues, chartType, barWidth);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
domainNRangeValue = (0, index_2.domainRangeOfXStringAxis)(margins, width, isRTL);
|
|
43
|
-
}
|
|
44
|
-
return domainNRangeValue;
|
|
45
|
-
};
|
|
46
|
-
_this._createLine = function (
|
|
47
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
48
|
-
xScale,
|
|
49
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
50
|
-
yScale, containerHeight, containerWidth,
|
|
51
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
52
|
-
yScaleSecondary) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (containerHeight === void 0) { containerHeight = 0; }
|
|
55
|
-
if (containerWidth === void 0) { containerWidth = 0; }
|
|
56
|
-
var isStringAxis = _this._xAxisType === index_2.XAxisTypes.StringAxis;
|
|
57
|
-
var xBarScale = _this._getScales(containerHeight, containerWidth).xBarScale;
|
|
58
|
-
var colorScale = _this._createColors();
|
|
59
|
-
var theme = _this.props.theme;
|
|
60
|
-
var _b = _this.props, data = _b.data, _c = _b.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c, lineLegendText = _b.lineLegendText;
|
|
61
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
62
|
-
var lineData = [];
|
|
63
|
-
var line = [];
|
|
64
|
-
data &&
|
|
65
|
-
data.forEach(function (item, index) {
|
|
66
|
-
var _a;
|
|
67
|
-
if (item.lineData && item.lineData.y) {
|
|
68
|
-
lineData.push({
|
|
69
|
-
x: item.x,
|
|
70
|
-
y: item.lineData.y,
|
|
71
|
-
useSecondaryYScale: (_a = item.lineData.useSecondaryYScale) !== null && _a !== void 0 ? _a : false,
|
|
72
|
-
point: item,
|
|
73
|
-
index: index,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
var linePath = (0, d3_shape_1.line)()
|
|
78
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
79
|
-
.x(function (d) { return (isStringAxis ? xBarScale(d.x) + 0.5 * xBarScale.bandwidth() : xScale(d.x)); })
|
|
80
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
81
|
-
.y(function (d) { return (d.useSecondaryYScale && yScaleSecondary ? yScaleSecondary(d.y) : yScale(d.y)); });
|
|
82
|
-
var shouldHighlight = _this._legendHighlighted(lineLegendText) || _this._noLegendHighlighted() ? true : false;
|
|
83
|
-
var lineBorderWidth = ((_a = _this.props.lineOptions) === null || _a === void 0 ? void 0 : _a.lineBorderWidth)
|
|
84
|
-
? Number.parseFloat(_this.props.lineOptions.lineBorderWidth.toString())
|
|
85
|
-
: 0;
|
|
86
|
-
if (lineBorderWidth > 0) {
|
|
87
|
-
line.push(React.createElement("path", { key: (0, Utilities_1.getId)('_VBC_line_'), id: (0, Utilities_1.getId)('_VBC_line_'), opacity: shouldHighlight ? 1 : 0.1, d: linePath(lineData), fill: "transparent", strokeLinecap: "square", strokeWidth: 3 + lineBorderWidth * 2, stroke: theme.semanticColors.bodyBackground }));
|
|
88
|
-
}
|
|
89
|
-
line.push(React.createElement("path", { key: (0, Utilities_1.getId)('_VBC_line_'), id: (0, Utilities_1.getId)('_VBC_line_'), opacity: shouldHighlight ? 1 : 0.1, d: linePath(lineData), fill: "transparent", strokeLinecap: "square", strokeWidth: 3, stroke: lineLegendColor }));
|
|
90
|
-
var dots = lineData.map(function (item, index) {
|
|
91
|
-
var _a;
|
|
92
|
-
// Create an object to store line point ref so that the object can be passed by reference to the focus handler
|
|
93
|
-
var circleRef = { refElement: null };
|
|
94
|
-
return (React.createElement("circle", { key: index, id: (0, Utilities_1.getId)('_VBC_point_'), cx: isStringAxis ? xBarScale(item.x) + 0.5 * xBarScale.bandwidth() : xScale(item.x), cy: item.useSecondaryYScale && yScaleSecondary ? yScaleSecondary(item.y) : yScale(item.y), onMouseOver: _this._legendHighlighted(lineLegendText)
|
|
95
|
-
? _this._lineHover.bind(_this, item.point)
|
|
96
|
-
: _this._onBarHover.bind(_this, item.point, colorScale(item.y)), onMouseOut: _this._onBarLeave, r: _this._getCircleVisibilityAndRadius(item.x, lineLegendText).radius, stroke: lineLegendColor, fill: _this.props.theme.semanticColors.bodyBackground, strokeWidth: 3, visibility: _this._getCircleVisibilityAndRadius(item.x, lineLegendText).visibility, onClick: (_a = item.point.lineData) === null || _a === void 0 ? void 0 : _a.onClick, "data-is-focusable": _this._legendHighlighted(lineLegendText), ref: function (e) { return (circleRef.refElement = e); }, onFocus: _this._lineFocus.bind(_this, item.point, circleRef), onBlur: _this._handleChartMouseLeave }));
|
|
97
|
-
});
|
|
98
|
-
return (React.createElement(React.Fragment, null,
|
|
99
|
-
line,
|
|
100
|
-
dots));
|
|
101
|
-
};
|
|
102
|
-
_this._getCircleVisibilityAndRadius = function (xAxisPoint, legend) {
|
|
103
|
-
var activeXdataPoint = _this.state.activeXdataPoint;
|
|
104
|
-
if (!_this._noLegendHighlighted()) {
|
|
105
|
-
if (xAxisPoint === activeXdataPoint && _this._legendHighlighted(legend)) {
|
|
106
|
-
return { visibility: CircleVisbility.show, radius: 8 };
|
|
107
|
-
}
|
|
108
|
-
else if (_this._legendHighlighted(legend)) {
|
|
109
|
-
// Don't hide the circle to keep it focusable. For more information,
|
|
110
|
-
// see https://fuzzbomb.github.io/accessibility-demos/visually-hidden-focus-test.html
|
|
111
|
-
return { visibility: CircleVisbility.show, radius: 0.3 };
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
return { visibility: CircleVisbility.hide, radius: 0 };
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
else {
|
|
118
|
-
return {
|
|
119
|
-
visibility: activeXdataPoint === xAxisPoint ? CircleVisbility.show : CircleVisbility.hide,
|
|
120
|
-
radius: 8,
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
_this._checkForLine = function () {
|
|
125
|
-
var data = _this.props.data;
|
|
126
|
-
return data.some(function (item) { var _a; return ((_a = item === null || item === void 0 ? void 0 : item.lineData) === null || _a === void 0 ? void 0 : _a.y) !== undefined; });
|
|
127
|
-
};
|
|
128
|
-
_this._getMargins = function (margins) {
|
|
129
|
-
_this.margins = margins;
|
|
130
|
-
};
|
|
131
|
-
_this._renderContentForBothLineAndBars = function (point) {
|
|
132
|
-
var _a = _this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
|
|
133
|
-
var content = YValueHover.map(function (item, index) {
|
|
134
|
-
return (React.createElement(index_1.ChartHoverCard, tslib_1.__assign({ key: index, Legend: item.legend }, (index === 0 && { XValue: "".concat(hoverXValue || item.data) }), { color: item.color, YValue: item.data || item.y, culture: _this.props.culture })));
|
|
135
|
-
});
|
|
136
|
-
return React.createElement(React.Fragment, null, content);
|
|
137
|
-
};
|
|
138
|
-
_this._renderContentForOnlyBars = function (props) {
|
|
139
|
-
var _a = _this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
|
|
140
|
-
return (React.createElement(React.Fragment, null,
|
|
141
|
-
React.createElement(index_1.ChartHoverCard, { XValue: props.xAxisCalloutData || props.x, Legend: props.legend, YValue: props.yAxisCalloutData || props.y, color: !useSingleColor && props.color ? props.color : _this._createColors()(props.y), culture: _this.props.culture })));
|
|
142
|
-
};
|
|
143
|
-
_this._renderCallout = function (props) {
|
|
144
|
-
return props
|
|
145
|
-
? _this._isHavingLine
|
|
146
|
-
? _this._renderContentForBothLineAndBars(props)
|
|
147
|
-
: _this._renderContentForOnlyBars(props)
|
|
148
|
-
: null;
|
|
149
|
-
};
|
|
150
|
-
_this._getCustomizedCallout = function () {
|
|
151
|
-
return _this.props.onRenderCalloutPerDataPoint
|
|
152
|
-
? _this.props.onRenderCalloutPerDataPoint(_this.state.dataPointCalloutProps, _this._renderCallout)
|
|
153
|
-
: null;
|
|
154
|
-
};
|
|
155
|
-
_this._getGraphData = function (
|
|
156
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
157
|
-
xScale, yScale, containerHeight, containerWidth, xElement) {
|
|
158
|
-
return (_this._bars =
|
|
159
|
-
_this._xAxisType === index_2.XAxisTypes.NumericAxis
|
|
160
|
-
? _this._createNumericBars(containerHeight, containerWidth, xElement)
|
|
161
|
-
: _this._xAxisType === index_2.XAxisTypes.DateAxis
|
|
162
|
-
? _this._createDateBars(containerHeight, containerWidth, xElement)
|
|
163
|
-
: _this._createStringBars(containerHeight, containerWidth, xElement));
|
|
164
|
-
};
|
|
165
|
-
_this._refCallback = function (element, legendTitle) {
|
|
166
|
-
_this._refArray.push({ index: legendTitle, refElement: element });
|
|
167
|
-
};
|
|
168
|
-
_this._getCalloutContentForLineAndBar = function (point) {
|
|
169
|
-
var _a, _b, _c, _d, _e;
|
|
170
|
-
var YValueHover = [];
|
|
171
|
-
var _f = _this.props, theme = _f.theme, _g = _f.useSingleColor, useSingleColor = _g === void 0 ? false : _g, enableGradient = _f.enableGradient;
|
|
172
|
-
var _h = _this.props, data = _h.data, lineLegendText = _h.lineLegendText, _j = _h.lineLegendColor, lineLegendColor = _j === void 0 ? theme.palette.yellow : _j;
|
|
173
|
-
var selectedPoint = data.filter(function (xDataPoint) { return xDataPoint.x === point.x; });
|
|
174
|
-
var pointIndex = data.indexOf(selectedPoint[0]);
|
|
175
|
-
var calloutColor = !useSingleColor
|
|
176
|
-
? selectedPoint[0].color
|
|
177
|
-
? selectedPoint[0].color
|
|
178
|
-
: _this._createColors()(selectedPoint[0].y)
|
|
179
|
-
: _this._createColors()(1);
|
|
180
|
-
// there might be no y value of the line for the hovered bar. so we need to check this condition
|
|
181
|
-
if (_this._isHavingLine &&
|
|
182
|
-
((_a = selectedPoint[0].lineData) === null || _a === void 0 ? void 0 : _a.y) !== undefined &&
|
|
183
|
-
(_this._legendHighlighted(lineLegendText) || _this._noLegendHighlighted())) {
|
|
184
|
-
// callout data for the line
|
|
185
|
-
YValueHover.push({
|
|
186
|
-
legend: lineLegendText,
|
|
187
|
-
color: lineLegendColor,
|
|
188
|
-
y: (_b = selectedPoint[0].lineData) === null || _b === void 0 ? void 0 : _b.y,
|
|
189
|
-
data: (_c = selectedPoint[0].lineData) === null || _c === void 0 ? void 0 : _c.yAxisCalloutData,
|
|
190
|
-
yAxisCalloutData: (_d = selectedPoint[0].lineData) === null || _d === void 0 ? void 0 : _d.yAxisCalloutData,
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
if (_this._legendHighlighted(selectedPoint[0].legend) || _this._noLegendHighlighted()) {
|
|
194
|
-
// callout data for the bar
|
|
195
|
-
YValueHover.push({
|
|
196
|
-
legend: selectedPoint[0].legend,
|
|
197
|
-
y: selectedPoint[0].y,
|
|
198
|
-
color: enableGradient
|
|
199
|
-
? useSingleColor
|
|
200
|
-
? (0, index_2.getNextGradient)(0, 0)[0]
|
|
201
|
-
: ((_e = selectedPoint[0].gradient) === null || _e === void 0 ? void 0 : _e[0]) || (0, index_2.getNextGradient)(pointIndex, 0)[0]
|
|
202
|
-
: calloutColor,
|
|
203
|
-
data: selectedPoint[0].yAxisCalloutData,
|
|
204
|
-
yAxisCalloutData: selectedPoint[0].yAxisCalloutData,
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
var hoverXValue = point.x instanceof Date ? (0, index_2.formatDate)(point.x, _this.props.useUTC) : point.x.toString();
|
|
208
|
-
return {
|
|
209
|
-
YValueHover: YValueHover,
|
|
210
|
-
hoverXValue: point.xAxisCalloutData || hoverXValue,
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
_this._onBarLeave = function () {
|
|
214
|
-
/**/
|
|
215
|
-
};
|
|
216
|
-
_this._handleChartMouseLeave = function () {
|
|
217
|
-
_this._calloutAnchorPoint = null;
|
|
218
|
-
_this.setState({
|
|
219
|
-
isCalloutVisible: false,
|
|
220
|
-
activeXdataPoint: null,
|
|
221
|
-
YValueHover: [],
|
|
222
|
-
hoverXValue: '',
|
|
223
|
-
});
|
|
224
|
-
};
|
|
225
|
-
_this._onBarFocus = function (point, refArrayIndexNumber, color) {
|
|
226
|
-
var _a = _this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
|
|
227
|
-
_this._refArray.forEach(function (obj, index) {
|
|
228
|
-
if (obj.index === point.legend && refArrayIndexNumber === index) {
|
|
229
|
-
_this.setState({
|
|
230
|
-
refSelected: obj.refElement,
|
|
231
|
-
/** Show the callout if highlighted bar is focused and Hide it if unhighlighted bar is focused */
|
|
232
|
-
isCalloutVisible: _this._noLegendHighlighted() || _this._legendHighlighted(point.legend),
|
|
233
|
-
calloutLegend: point.legend,
|
|
234
|
-
dataForHoverCard: point.y,
|
|
235
|
-
color: point.color || color,
|
|
236
|
-
xCalloutValue: point.xAxisCalloutData ||
|
|
237
|
-
(point.x instanceof Date ? (0, index_2.formatDate)(point.x, _this.props.useUTC) : point.x.toString()),
|
|
238
|
-
yCalloutValue: point.yAxisCalloutData,
|
|
239
|
-
dataPointCalloutProps: point,
|
|
240
|
-
activeXdataPoint: point.x,
|
|
241
|
-
YValueHover: YValueHover,
|
|
242
|
-
hoverXValue: hoverXValue,
|
|
243
|
-
callOutAccessibilityData: point.callOutAccessibilityData,
|
|
244
|
-
});
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
};
|
|
248
|
-
_this._lineHover = function (point, mouseEvent) {
|
|
249
|
-
mouseEvent.persist();
|
|
250
|
-
_this._lineHoverFocus(point, mouseEvent);
|
|
251
|
-
};
|
|
252
|
-
_this._lineFocus = function (point, ref) {
|
|
253
|
-
if (ref.refElement) {
|
|
254
|
-
_this._lineHoverFocus(point, ref.refElement);
|
|
255
|
-
}
|
|
256
|
-
};
|
|
257
|
-
_this._lineHoverFocus = function (point, refSelected) {
|
|
258
|
-
var theme = _this.props.theme;
|
|
259
|
-
var _a = _this.props, _b = _a.lineLegendText, lineLegendText = _b === void 0 ? '' : _b, _c = _a.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c;
|
|
260
|
-
_this.setState({
|
|
261
|
-
refSelected: refSelected,
|
|
262
|
-
isCalloutVisible: true,
|
|
263
|
-
calloutLegend: lineLegendText,
|
|
264
|
-
dataForHoverCard: point.lineData.y,
|
|
265
|
-
color: lineLegendColor,
|
|
266
|
-
xCalloutValue: point.xAxisCalloutData ||
|
|
267
|
-
(point.x instanceof Date ? (0, index_2.formatDate)(point.x, _this.props.useUTC) : point.x.toString()),
|
|
268
|
-
yCalloutValue: point.lineData.yAxisCalloutData,
|
|
269
|
-
dataPointCalloutProps: point,
|
|
270
|
-
activeXdataPoint: point.x,
|
|
271
|
-
});
|
|
272
|
-
};
|
|
273
|
-
_this._getScales = function (containerHeight, containerWidth) {
|
|
274
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
275
|
-
var xBarScale;
|
|
276
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
277
|
-
var yBarScale = (0, d3_scale_1.scaleLinear)()
|
|
278
|
-
.domain([_this.props.supportNegativeData ? _this._yMin : 0, _this._yMax])
|
|
279
|
-
.range([0, containerHeight - _this.margins.bottom - _this.margins.top]);
|
|
280
|
-
if (_this._xAxisType === index_2.XAxisTypes.NumericAxis) {
|
|
281
|
-
var xMax = (0, d3_array_1.max)(_this._points, function (point) { return point.x; });
|
|
282
|
-
var xMin = (0, d3_array_1.min)(_this._points, function (point) { return point.x; });
|
|
283
|
-
xBarScale = (0, d3_scale_1.scaleLinear)()
|
|
284
|
-
.domain(_this._isRtl ? [xMax, xMin] : [xMin, xMax])
|
|
285
|
-
.nice()
|
|
286
|
-
.range([_this.margins.left + _this._domainMargin, containerWidth - _this.margins.right - _this._domainMargin]);
|
|
287
|
-
}
|
|
288
|
-
else if (_this._xAxisType === index_2.XAxisTypes.DateAxis) {
|
|
289
|
-
var sDate = (0, d3_array_1.min)(_this._points, function (point) { return point.x; });
|
|
290
|
-
var lDate = (0, d3_array_1.max)(_this._points, function (point) { return point.x; });
|
|
291
|
-
xBarScale = _this.props.useUTC ? (0, d3_scale_1.scaleUtc)() : (0, d3_scale_1.scaleTime)();
|
|
292
|
-
xBarScale
|
|
293
|
-
.domain([sDate, lDate])
|
|
294
|
-
.range(_this._isRtl
|
|
295
|
-
? [containerWidth - _this.margins.right - _this._domainMargin, _this.margins.left + _this._domainMargin]
|
|
296
|
-
: [_this.margins.left + _this._domainMargin, containerWidth - _this.margins.right - _this._domainMargin]);
|
|
297
|
-
}
|
|
298
|
-
else {
|
|
299
|
-
xBarScale = (0, d3_scale_1.scaleBand)()
|
|
300
|
-
.domain(_this._xAxisLabels)
|
|
301
|
-
.range(_this._isRtl
|
|
302
|
-
? [containerWidth - _this.margins.right - _this._domainMargin, _this.margins.left + _this._domainMargin]
|
|
303
|
-
: [_this.margins.left + _this._domainMargin, containerWidth - _this.margins.right - _this._domainMargin])
|
|
304
|
-
.paddingInner(_this._xAxisInnerPadding)
|
|
305
|
-
.paddingOuter(_this._xAxisOuterPadding);
|
|
306
|
-
}
|
|
307
|
-
return { xBarScale: xBarScale, yBarScale: yBarScale };
|
|
308
|
-
};
|
|
309
|
-
_this._closeCallout = function () {
|
|
310
|
-
_this.setState({
|
|
311
|
-
isCalloutVisible: false,
|
|
312
|
-
});
|
|
313
|
-
};
|
|
314
|
-
_this._getLegendData = function (data, palette) {
|
|
315
|
-
var _a = _this.props, theme = _a.theme, useSingleColor = _a.useSingleColor;
|
|
316
|
-
var _b = _this.props, lineLegendText = _b.lineLegendText, _c = _b.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c;
|
|
317
|
-
var actions = [];
|
|
318
|
-
var mapLegendToColor = {};
|
|
319
|
-
data.forEach(function (point, _index) {
|
|
320
|
-
var _a, _b, _c;
|
|
321
|
-
var color = !useSingleColor ? point.color : _this._createColors()(1);
|
|
322
|
-
if (_this.props.enableGradient) {
|
|
323
|
-
var pointIndex = Math.max(((_a = _this.props.data) === null || _a === void 0 ? void 0 : _a.findIndex(function (item) { return item.legend === point.legend; })) || 0, 0);
|
|
324
|
-
color = ((_b = point.gradient) === null || _b === void 0 ? void 0 : _b[0]) || (0, index_2.getNextGradient)(pointIndex, 0, theme === null || theme === void 0 ? void 0 : theme.isInverted)[0];
|
|
325
|
-
if (useSingleColor) {
|
|
326
|
-
color = (0, index_2.getNextGradient)(0, 0, (_c = _this.props.theme) === null || _c === void 0 ? void 0 : _c.isInverted)[0];
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
mapLegendToColor[point.legend] = color;
|
|
330
|
-
});
|
|
331
|
-
Object.entries(mapLegendToColor).forEach(function (_a) {
|
|
332
|
-
var legendTitle = _a[0], color = _a[1];
|
|
333
|
-
// mapping data to the format Legends component needs
|
|
334
|
-
var legend = {
|
|
335
|
-
title: legendTitle,
|
|
336
|
-
color: color,
|
|
337
|
-
hoverAction: function () {
|
|
338
|
-
_this._handleChartMouseLeave();
|
|
339
|
-
_this._onLegendHover(legendTitle);
|
|
340
|
-
},
|
|
341
|
-
onMouseOutAction: function () {
|
|
342
|
-
_this._onLegendLeave();
|
|
343
|
-
},
|
|
344
|
-
};
|
|
345
|
-
actions.push(legend);
|
|
346
|
-
});
|
|
347
|
-
if (_this._isHavingLine && lineLegendText && lineLegendColor) {
|
|
348
|
-
var lineLegend = {
|
|
349
|
-
title: lineLegendText,
|
|
350
|
-
color: lineLegendColor,
|
|
351
|
-
hoverAction: function () {
|
|
352
|
-
_this._handleChartMouseLeave();
|
|
353
|
-
_this._onLegendHover(lineLegendText);
|
|
354
|
-
},
|
|
355
|
-
onMouseOutAction: function () {
|
|
356
|
-
_this._onLegendLeave();
|
|
357
|
-
},
|
|
358
|
-
isLineLegendInBarChart: true,
|
|
359
|
-
};
|
|
360
|
-
actions.unshift(lineLegend);
|
|
361
|
-
}
|
|
362
|
-
var legends = (React.createElement(index_1.Legends, tslib_1.__assign({ legends: actions, enabledWrapLines: _this.props.enabledLegendsWrapLines, overflowProps: _this.props.legendsOverflowProps, focusZonePropsInHoverCard: _this.props.focusZonePropsForLegendsInHoverCard, overflowText: _this.props.legendsOverflowText }, _this.props.legendProps, { onChange: _this._onLegendSelectionChange.bind(_this), ref: _this._legendsRef })));
|
|
363
|
-
return legends;
|
|
364
|
-
};
|
|
365
|
-
_this._getAxisData = function (yAxisData) {
|
|
366
|
-
if (yAxisData && yAxisData.yAxisDomainValues.length) {
|
|
367
|
-
var domainValue = yAxisData.yAxisDomainValues;
|
|
368
|
-
_this._yMax = Math.max(domainValue[domainValue.length - 1], _this.props.yMaxValue || 0);
|
|
369
|
-
_this._yMin = Math.min(domainValue[0], _this.props.yMinValue || 0);
|
|
370
|
-
}
|
|
371
|
-
};
|
|
372
|
-
/**
|
|
373
|
-
* This function checks if the given legend is highlighted or not.
|
|
374
|
-
* A legend can be highlighted in 2 ways:
|
|
375
|
-
* 1. selection: if the user clicks on it
|
|
376
|
-
* 2. hovering: if there is no selected legend and the user hovers over it
|
|
377
|
-
*/
|
|
378
|
-
_this._legendHighlighted = function (legendTitle) {
|
|
379
|
-
return _this._getHighlightedLegend().includes(legendTitle);
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* This function checks if none of the legends is selected or hovered.
|
|
383
|
-
*/
|
|
384
|
-
_this._noLegendHighlighted = function () {
|
|
385
|
-
return _this._getHighlightedLegend().length === 0;
|
|
386
|
-
};
|
|
387
|
-
_this._getAriaLabel = function (point) {
|
|
388
|
-
var _a, _b, _c;
|
|
389
|
-
var xValue = point.xAxisCalloutData
|
|
390
|
-
? point.xAxisCalloutData
|
|
391
|
-
: point.x instanceof Date
|
|
392
|
-
? (0, index_2.formatDate)(point.x, _this.props.useUTC)
|
|
393
|
-
: point.x;
|
|
394
|
-
var legend = point.legend;
|
|
395
|
-
var yValue = point.yAxisCalloutData || point.y;
|
|
396
|
-
var lineLegend = _this.props.lineLegendText || 'Line';
|
|
397
|
-
var lineYValue = ((_a = point.lineData) === null || _a === void 0 ? void 0 : _a.yAxisCalloutData) || ((_b = point.lineData) === null || _b === void 0 ? void 0 : _b.y);
|
|
398
|
-
return (((_c = point.callOutAccessibilityData) === null || _c === void 0 ? void 0 : _c.ariaLabel) ||
|
|
399
|
-
"".concat(xValue, ". ") +
|
|
400
|
-
(legend ? "".concat(legend, ", ") : '') +
|
|
401
|
-
"".concat(yValue, ".") +
|
|
402
|
-
(typeof lineYValue !== 'undefined' ? " ".concat(lineLegend, ", ").concat(lineYValue, ".") : ''));
|
|
403
|
-
};
|
|
404
|
-
_this._getDomainMargins = function (containerWidth) {
|
|
405
|
-
var _a;
|
|
406
|
-
_this._domainMargin = MIN_DOMAIN_MARGIN;
|
|
407
|
-
/** Total width available to render the bars */
|
|
408
|
-
var totalWidth = containerWidth - (_this.margins.left + MIN_DOMAIN_MARGIN) - (_this.margins.right + MIN_DOMAIN_MARGIN);
|
|
409
|
-
/** Rate at which the space between the bars changes wrt the bar width */
|
|
410
|
-
var barGapRate = _this._xAxisInnerPadding / (1 - _this._xAxisInnerPadding);
|
|
411
|
-
if (_this._xAxisType === index_2.XAxisTypes.StringAxis) {
|
|
412
|
-
if ((0, index_2.isScalePaddingDefined)(_this.props.xAxisOuterPadding, _this.props.xAxisPadding)) {
|
|
413
|
-
// Setting the domain margin for string x-axis to 0 because the xAxisOuterPadding prop is now available
|
|
414
|
-
// to adjust the space before the first bar and after the last bar.
|
|
415
|
-
_this._domainMargin = 0;
|
|
416
|
-
}
|
|
417
|
-
else if (_this.props.barWidth !== 'auto') {
|
|
418
|
-
// Update the bar width so that when CartesianChart rerenders,
|
|
419
|
-
// the following calculations don't use the previous bar width.
|
|
420
|
-
_this._barWidth = (0, index_2.getBarWidth)(_this.props.barWidth, _this.props.maxBarWidth);
|
|
421
|
-
/** Total width required to render the bars. Directly proportional to bar width */
|
|
422
|
-
var reqWidth = (_this._xAxisLabels.length + (_this._xAxisLabels.length - 1) * barGapRate) * _this._barWidth;
|
|
423
|
-
if (totalWidth >= reqWidth) {
|
|
424
|
-
// Center align the chart by setting equal left and right margins for domain
|
|
425
|
-
_this._domainMargin = MIN_DOMAIN_MARGIN + (totalWidth - reqWidth) / 2;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
else if (_this.props.mode === 'plotly' && _this._xAxisLabels.length > 1) {
|
|
429
|
-
// Calculate the remaining width after rendering bars at their maximum allowable width
|
|
430
|
-
var bandwidth = totalWidth / (_this._xAxisLabels.length + (_this._xAxisLabels.length - 1) * barGapRate);
|
|
431
|
-
var barWidth = (0, index_2.getBarWidth)(_this.props.barWidth, _this.props.maxBarWidth, bandwidth);
|
|
432
|
-
var reqWidth = (_this._xAxisLabels.length + (_this._xAxisLabels.length - 1) * barGapRate) * barWidth;
|
|
433
|
-
var margin1 = (totalWidth - reqWidth) / 2;
|
|
434
|
-
// Calculate the remaining width after accounting for the space required to render x-axis labels
|
|
435
|
-
var step = (0, index_2.calculateLongestLabelWidth)(_this._xAxisLabels) + 20;
|
|
436
|
-
reqWidth = (_this._xAxisLabels.length - _this._xAxisInnerPadding) * step;
|
|
437
|
-
var margin2 = (totalWidth - reqWidth) / 2;
|
|
438
|
-
_this._domainMargin = MIN_DOMAIN_MARGIN + Math.max(0, Math.min(margin1, margin2));
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
else {
|
|
442
|
-
var uniqueX_1 = {};
|
|
443
|
-
(_a = _this.props.data) === null || _a === void 0 ? void 0 : _a.forEach(function (point) {
|
|
444
|
-
if (point.x instanceof Date) {
|
|
445
|
-
uniqueX_1[point.x.getTime()] = point.x;
|
|
446
|
-
}
|
|
447
|
-
else {
|
|
448
|
-
uniqueX_1[point.x] = point.x;
|
|
449
|
-
}
|
|
450
|
-
});
|
|
451
|
-
var data = Object.values(uniqueX_1);
|
|
452
|
-
_this._barWidth = (0, index_2.getBarWidth)(_this.props.barWidth, _this.props.maxBarWidth, (0, index_2.calculateAppropriateBarWidth)(data, totalWidth));
|
|
453
|
-
_this._domainMargin = MIN_DOMAIN_MARGIN + _this._barWidth / 2;
|
|
454
|
-
}
|
|
455
|
-
return tslib_1.__assign(tslib_1.__assign({}, _this.margins), { left: _this.margins.left + _this._domainMargin, right: _this.margins.right + _this._domainMargin });
|
|
456
|
-
};
|
|
457
|
-
_this._getChartTitle = function () {
|
|
458
|
-
var _a = _this.props, chartTitle = _a.chartTitle, data = _a.data;
|
|
459
|
-
return ((chartTitle ? "".concat(chartTitle, ". ") : '') +
|
|
460
|
-
"Vertical bar chart with ".concat((data === null || data === void 0 ? void 0 : data.length) || 0, " bars") +
|
|
461
|
-
(_this._isHavingLine ? ' and 1 line' : '') +
|
|
462
|
-
'. ');
|
|
463
|
-
};
|
|
464
|
-
(0, Utilities_1.initializeComponentRef)(_this);
|
|
465
|
-
_this.state = {
|
|
466
|
-
color: '',
|
|
467
|
-
dataForHoverCard: 0,
|
|
468
|
-
isCalloutVisible: false,
|
|
469
|
-
refSelected: null,
|
|
470
|
-
selectedLegends: ((_a = props.legendProps) === null || _a === void 0 ? void 0 : _a.selectedLegends) || [],
|
|
471
|
-
activeLegend: undefined,
|
|
472
|
-
xCalloutValue: '',
|
|
473
|
-
yCalloutValue: '',
|
|
474
|
-
activeXdataPoint: null,
|
|
475
|
-
YValueHover: [],
|
|
476
|
-
hoverXValue: '',
|
|
477
|
-
calloutLegend: '',
|
|
478
|
-
};
|
|
479
|
-
_this._isHavingLine = _this._checkForLine();
|
|
480
|
-
_this._calloutId = (0, Utilities_1.getId)('callout');
|
|
481
|
-
_this._tooltipId = (0, Utilities_1.getId)('VCTooltipID_');
|
|
482
|
-
_this._refArray = [];
|
|
483
|
-
_this._xAxisType =
|
|
484
|
-
_this.props.data && _this.props.data.length > 0
|
|
485
|
-
? (0, index_2.getTypeOfAxis)(_this.props.data[0].x, true)
|
|
486
|
-
: index_2.XAxisTypes.StringAxis;
|
|
487
|
-
_this._emptyChartId = (0, Utilities_1.getId)('_VBC_empty');
|
|
488
|
-
_this._domainMargin = MIN_DOMAIN_MARGIN;
|
|
489
|
-
_this._cartesianChartRef = React.createRef();
|
|
490
|
-
_this._legendsRef = React.createRef();
|
|
491
|
-
return _this;
|
|
492
|
-
}
|
|
493
|
-
VerticalBarChartBase.prototype.componentDidUpdate = function (prevProps) {
|
|
494
|
-
var _a, _b, _c;
|
|
495
|
-
if (!(0, index_2.areArraysEqual)((_a = prevProps.legendProps) === null || _a === void 0 ? void 0 : _a.selectedLegends, (_b = this.props.legendProps) === null || _b === void 0 ? void 0 : _b.selectedLegends)) {
|
|
496
|
-
this.setState({
|
|
497
|
-
selectedLegends: ((_c = this.props.legendProps) === null || _c === void 0 ? void 0 : _c.selectedLegends) || [],
|
|
498
|
-
});
|
|
499
|
-
}
|
|
500
|
-
};
|
|
501
|
-
VerticalBarChartBase.prototype.render = function () {
|
|
502
|
-
var _this = this;
|
|
503
|
-
this._adjustProps();
|
|
504
|
-
this._xAxisLabels = this._points.map(function (point) { return point.x; });
|
|
505
|
-
this._yMax = Math.max((0, d3_array_1.max)(this._points, function (point) { return point.y; }), this.props.yMaxValue || 0);
|
|
506
|
-
this._yMin = Math.min((0, d3_array_1.min)(this._points, function (point) { return point.y; }), this.props.yMinValue || 0);
|
|
507
|
-
var legendBars = this._getLegendData(this._points, this.props.theme.palette);
|
|
508
|
-
this._classNames = getClassNames(this.props.styles, {
|
|
509
|
-
theme: this.props.theme,
|
|
510
|
-
legendColor: this.state.color,
|
|
511
|
-
});
|
|
512
|
-
var calloutProps = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: Callout_1.DirectionalHint.topAutoEdge, id: "toolTip".concat(this._calloutId), target: this.state.refSelected, isBeakVisible: false }, (this._isHavingLine && {
|
|
513
|
-
YValueHover: this.state.YValueHover,
|
|
514
|
-
hoverXValue: this.state.hoverXValue,
|
|
515
|
-
})), { gapSpace: 15, color: this.state.color, legend: this.state.calloutLegend, XValue: this.state.xCalloutValue, YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard, onDismiss: this._closeCallout, preventDismissOnLostFocus: true }), this.props.calloutProps), (0, index_2.getAccessibleDataObject)(this.state.callOutAccessibilityData));
|
|
516
|
-
var tickParams = {
|
|
517
|
-
tickValues: this.props.tickValues,
|
|
518
|
-
tickFormat: this.props.tickFormat,
|
|
519
|
-
};
|
|
520
|
-
return !this._isChartEmpty() ? (React.createElement(index_1.CartesianChart, tslib_1.__assign({}, this.props, { chartTitle: this._getChartTitle(), points: this._points, supportNegativeData: this.props.supportNegativeData, chartType: index_2.ChartTypes.VerticalBarChart, xAxisType: this._xAxisType, createYAxis: index_2.createNumericYAxis, calloutProps: calloutProps, tickParams: tickParams }, (this._isHavingLine &&
|
|
521
|
-
(this._noLegendHighlighted() || this._getHighlightedLegend().length > 1) && { isCalloutForStack: true }), { legendBars: legendBars, datasetForXAxisDomain: this._xAxisLabels, barwidth: this._barWidth, focusZoneDirection: react_focus_1.FocusZoneDirection.horizontal, customizedCallout: this._getCustomizedCallout(), createStringYAxis: index_2.createStringYAxis, getmargins: this._getMargins, getMinMaxOfYAxis: index_2.findVerticalNumericMinMaxOfY, getGraphData: this._getGraphData, getDomainNRangeValues: this._getDomainNRangeValues, getAxisData: this._getAxisData, onChartMouseLeave: this._handleChartMouseLeave, getDomainMargins: this._getDomainMargins }, (this._xAxisType === index_2.XAxisTypes.StringAxis && {
|
|
522
|
-
xAxisInnerPadding: this._xAxisInnerPadding,
|
|
523
|
-
xAxisOuterPadding: this._xAxisOuterPadding,
|
|
524
|
-
}), { ref: this._cartesianChartRef,
|
|
525
|
-
/* eslint-disable react/jsx-no-bind */
|
|
526
|
-
children: function (props) {
|
|
527
|
-
return (React.createElement(React.Fragment, null,
|
|
528
|
-
React.createElement("g", null, _this._bars),
|
|
529
|
-
_this._isHavingLine && (React.createElement("g", null, _this._createLine(props.xScale, props.yScale, props.containerHeight, props.containerWidth, props.yScaleSecondary)))));
|
|
530
|
-
} }))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
|
|
531
|
-
};
|
|
532
|
-
Object.defineProperty(VerticalBarChartBase.prototype, "chartContainer", {
|
|
533
|
-
get: function () {
|
|
534
|
-
var _a;
|
|
535
|
-
return ((_a = this._cartesianChartRef.current) === null || _a === void 0 ? void 0 : _a.chartContainer) || null;
|
|
536
|
-
},
|
|
537
|
-
enumerable: false,
|
|
538
|
-
configurable: true
|
|
539
|
-
});
|
|
540
|
-
VerticalBarChartBase.prototype._adjustProps = function () {
|
|
541
|
-
this._points = this.props.data || [];
|
|
542
|
-
this._barWidth = (0, index_2.getBarWidth)(this.props.barWidth, this.props.maxBarWidth);
|
|
543
|
-
var palette = this.props.theme.palette;
|
|
544
|
-
this._colors = this.props.colors || [palette.blueLight, palette.blue, palette.blueMid, palette.blueDark];
|
|
545
|
-
this._isHavingLine = this._checkForLine();
|
|
546
|
-
this._xAxisInnerPadding = (0, index_2.getScalePadding)(this.props.xAxisInnerPadding, this.props.xAxisPadding, 2 / 3);
|
|
547
|
-
this._xAxisOuterPadding = (0, index_2.getScalePadding)(this.props.xAxisOuterPadding, this.props.xAxisPadding, 0);
|
|
548
|
-
};
|
|
549
|
-
VerticalBarChartBase.prototype._createColors = function () {
|
|
550
|
-
var _this = this;
|
|
551
|
-
var increment = this._colors.length <= 1 ? 1 : 1 / (this._colors.length - 1);
|
|
552
|
-
var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
|
|
553
|
-
if (useSingleColor) {
|
|
554
|
-
return function (_p) {
|
|
555
|
-
var _a = _this.props, theme = _a.theme, colors = _a.colors;
|
|
556
|
-
return colors && colors.length > 0 ? colors[0] : theme.palette.blueLight;
|
|
557
|
-
};
|
|
558
|
-
}
|
|
559
|
-
var domainValues = [];
|
|
560
|
-
for (var i = 0; i < this._colors.length; i++) {
|
|
561
|
-
domainValues.push(increment * i * this._yMax);
|
|
562
|
-
}
|
|
563
|
-
var colorScale = (0, d3_scale_1.scaleLinear)().domain(domainValues).range(this._colors);
|
|
564
|
-
return colorScale;
|
|
565
|
-
};
|
|
566
|
-
VerticalBarChartBase.prototype._onBarHover = function (point, color, mouseEvent) {
|
|
567
|
-
mouseEvent.persist();
|
|
568
|
-
var _a = this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
|
|
569
|
-
if (this._calloutAnchorPoint !== point) {
|
|
570
|
-
this._calloutAnchorPoint = point;
|
|
571
|
-
this.setState({
|
|
572
|
-
refSelected: mouseEvent,
|
|
573
|
-
/** Show the callout if highlighted bar is hovered and Hide it if unhighlighted bar is hovered */
|
|
574
|
-
isCalloutVisible: this._noLegendHighlighted() || this._legendHighlighted(point.legend),
|
|
575
|
-
dataForHoverCard: point.y,
|
|
576
|
-
calloutLegend: point.legend,
|
|
577
|
-
color: point.color || color,
|
|
578
|
-
// To display callout value, if no callout value given, taking given point.x value as a string.
|
|
579
|
-
xCalloutValue: point.xAxisCalloutData ||
|
|
580
|
-
(point.x instanceof Date ? (0, index_2.formatDate)(point.x, this.props.useUTC) : point.x.toString()),
|
|
581
|
-
yCalloutValue: point.yAxisCalloutData,
|
|
582
|
-
dataPointCalloutProps: point,
|
|
583
|
-
// Hovering over a bar should highlight corresponding line points only when no legend is selected
|
|
584
|
-
activeXdataPoint: this._noLegendHighlighted() || this._legendHighlighted(point.legend) ? point.x : null,
|
|
585
|
-
YValueHover: YValueHover,
|
|
586
|
-
hoverXValue: hoverXValue,
|
|
587
|
-
callOutAccessibilityData: point.callOutAccessibilityData,
|
|
588
|
-
});
|
|
589
|
-
}
|
|
590
|
-
};
|
|
591
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
592
|
-
VerticalBarChartBase.prototype._calculateMinBarHeight = function (yMin, yMax, yReferencePoint, yBarScale) {
|
|
593
|
-
var maxHeightFromBaseline = yMax < 0
|
|
594
|
-
? Math.abs(yMin - yReferencePoint)
|
|
595
|
-
: Math.max(Math.abs(yMax - yReferencePoint), Math.abs(yMin - yReferencePoint));
|
|
596
|
-
return Math.ceil(yBarScale(maxHeightFromBaseline) / 100.0);
|
|
597
|
-
};
|
|
598
|
-
VerticalBarChartBase.prototype._createNumericBars = function (containerHeight, containerWidth, xElement) {
|
|
599
|
-
var _this = this;
|
|
600
|
-
var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
|
|
601
|
-
var _b = this._getScales(containerHeight, containerWidth), xBarScale = _b.xBarScale, yBarScale = _b.yBarScale;
|
|
602
|
-
var colorScale = this._createColors();
|
|
603
|
-
var yReferencePoint = this._yMax < 0 ? this._yMax : 0;
|
|
604
|
-
var bars = this._points.map(function (point, index) {
|
|
605
|
-
var _a, _b, _c, _d, _e, _f;
|
|
606
|
-
var shouldHighlight = _this._legendHighlighted(point.legend) || _this._noLegendHighlighted() ? true : false;
|
|
607
|
-
_this._classNames = getClassNames(_this.props.styles, {
|
|
608
|
-
theme: _this.props.theme,
|
|
609
|
-
legendColor: _this.state.color,
|
|
610
|
-
shouldHighlight: shouldHighlight,
|
|
611
|
-
});
|
|
612
|
-
var barHeight = yBarScale(point.y) - yBarScale(yReferencePoint);
|
|
613
|
-
var isHeightNegative = barHeight < 0;
|
|
614
|
-
barHeight = Math.abs(barHeight);
|
|
615
|
-
// Calculate threshold for minimum visible bar height
|
|
616
|
-
var minBarHeight = _this._calculateMinBarHeight(_this._yMin, _this._yMax, yReferencePoint, yBarScale);
|
|
617
|
-
var adjustedBarHeight = barHeight;
|
|
618
|
-
if (barHeight === 0 || (isHeightNegative && !_this.props.supportNegativeData)) {
|
|
619
|
-
return React.createElement(React.Fragment, { key: point.x }, " ");
|
|
620
|
-
}
|
|
621
|
-
// Adjust bar height if it's smaller than the threshold
|
|
622
|
-
else if (barHeight <= minBarHeight) {
|
|
623
|
-
adjustedBarHeight = minBarHeight;
|
|
624
|
-
}
|
|
625
|
-
var xPoint = xBarScale(point.x) - _this._barWidth / 2;
|
|
626
|
-
var yPoint = containerHeight -
|
|
627
|
-
_this.margins.bottom -
|
|
628
|
-
(isHeightNegative ? -1 * adjustedBarHeight : adjustedBarHeight) -
|
|
629
|
-
yBarScale(yReferencePoint);
|
|
630
|
-
var baselineHeight = containerHeight - _this.margins.bottom - yBarScale(yReferencePoint);
|
|
631
|
-
var startColor = point.color && !useSingleColor ? point.color : colorScale(point.y);
|
|
632
|
-
var endColor = startColor;
|
|
633
|
-
if (_this.props.enableGradient) {
|
|
634
|
-
startColor = ((_a = point.gradient) === null || _a === void 0 ? void 0 : _a[0]) || (0, index_2.getNextGradient)(index, 0, (_b = _this.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted)[0];
|
|
635
|
-
endColor = ((_c = point.gradient) === null || _c === void 0 ? void 0 : _c[1]) || (0, index_2.getNextGradient)(index, 0, (_d = _this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[1];
|
|
636
|
-
if (useSingleColor) {
|
|
637
|
-
startColor = (0, index_2.getNextGradient)(0, 0, (_e = _this.props.theme) === null || _e === void 0 ? void 0 : _e.isInverted)[0];
|
|
638
|
-
endColor = (0, index_2.getNextGradient)(0, 0, (_f = _this.props.theme) === null || _f === void 0 ? void 0 : _f.isInverted)[1];
|
|
639
|
-
}
|
|
640
|
-
_this._points[index].color = startColor;
|
|
641
|
-
}
|
|
642
|
-
var gradientId = (0, Utilities_1.getId)('VBC_Gradient') + "_".concat(index, "_").concat(startColor);
|
|
643
|
-
return (React.createElement("g", { key: "".concat(point.x, "_").concat(index) },
|
|
644
|
-
_this.props.enableGradient && (React.createElement("defs", null,
|
|
645
|
-
React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "100%", x2: "0%", y2: "0%" },
|
|
646
|
-
React.createElement("stop", { offset: "0", stopColor: startColor }),
|
|
647
|
-
React.createElement("stop", { offset: "100%", stopColor: endColor })))),
|
|
648
|
-
React.createElement("rect", { id: (0, Utilities_1.getId)('_VBC_bar_'), x: xPoint, className: _this._classNames.opacityChangeOnHover, y: !isHeightNegative ? yPoint : baselineHeight, width: _this._barWidth, "data-is-focusable": !_this.props.hideTooltip && shouldHighlight, height: adjustedBarHeight, ref: function (e) {
|
|
649
|
-
_this._refCallback(e, point.legend);
|
|
650
|
-
}, onClick: point.onClick, onMouseOver: _this._onBarHover.bind(_this, point, startColor), "aria-label": _this._getAriaLabel(point), role: "img", onMouseLeave: _this._onBarLeave, onFocus: _this._onBarFocus.bind(_this, point, index, startColor), onBlur: _this._onBarLeave, fill: _this.props.enableGradient ? "url(#".concat(gradientId, ")") : startColor, rx: _this.props.roundCorners ? 3 : 0 }),
|
|
651
|
-
_this._renderBarLabel(xPoint, yPoint, point.y, point.legend, isHeightNegative)));
|
|
652
|
-
});
|
|
653
|
-
// Removing un wanted tooltip div from DOM, when prop not provided.
|
|
654
|
-
if (!this.props.showXAxisLablesTooltip) {
|
|
655
|
-
try {
|
|
656
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
657
|
-
// eslint-disable-next-line no-empty
|
|
658
|
-
}
|
|
659
|
-
catch (e) { }
|
|
660
|
-
}
|
|
661
|
-
// Used to display tooltip at x axis labels.
|
|
662
|
-
if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
|
|
663
|
-
var xAxisElement = (0, d3_selection_1.select)(xElement).call(xBarScale);
|
|
664
|
-
try {
|
|
665
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
666
|
-
// eslint-disable-next-line no-empty
|
|
667
|
-
}
|
|
668
|
-
catch (e) { }
|
|
669
|
-
var tooltipProps = {
|
|
670
|
-
tooltipCls: this._classNames.tooltip,
|
|
671
|
-
id: this._tooltipId,
|
|
672
|
-
xAxis: xAxisElement,
|
|
673
|
-
};
|
|
674
|
-
xAxisElement && (0, index_2.tooltipOfXAxislabels)(tooltipProps);
|
|
675
|
-
}
|
|
676
|
-
return bars;
|
|
677
|
-
};
|
|
678
|
-
VerticalBarChartBase.prototype._createStringBars = function (containerHeight, containerWidth, xElement) {
|
|
679
|
-
var _this = this;
|
|
680
|
-
var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
|
|
681
|
-
var _b = this._getScales(containerHeight, containerWidth), xBarScale = _b.xBarScale, yBarScale = _b.yBarScale;
|
|
682
|
-
var colorScale = this._createColors();
|
|
683
|
-
var yReferencePoint = this._yMax < 0 ? this._yMax : 0;
|
|
684
|
-
var bars = this._points.map(function (point, index) {
|
|
685
|
-
var _a, _b, _c, _d, _e, _f;
|
|
686
|
-
var barHeight = yBarScale(point.y) - yBarScale(yReferencePoint);
|
|
687
|
-
var isHeightNegative = barHeight < 0;
|
|
688
|
-
barHeight = Math.abs(barHeight);
|
|
689
|
-
// Calculate threshold for minimum visible bar height
|
|
690
|
-
var minBarHeight = _this._calculateMinBarHeight(_this._yMin, _this._yMax, yReferencePoint, yBarScale);
|
|
691
|
-
var adjustedBarHeight = barHeight;
|
|
692
|
-
if (barHeight === 0 || (isHeightNegative && !_this.props.supportNegativeData)) {
|
|
693
|
-
return React.createElement(React.Fragment, { key: point.x }, " ");
|
|
694
|
-
}
|
|
695
|
-
// Adjust bar height if it's smaller than the threshold
|
|
696
|
-
else if (barHeight <= minBarHeight) {
|
|
697
|
-
adjustedBarHeight = minBarHeight;
|
|
698
|
-
}
|
|
699
|
-
var xPoint = xBarScale(point.x);
|
|
700
|
-
var yPoint = containerHeight -
|
|
701
|
-
_this.margins.bottom -
|
|
702
|
-
(isHeightNegative ? -1 * adjustedBarHeight : adjustedBarHeight) -
|
|
703
|
-
yBarScale(yReferencePoint);
|
|
704
|
-
var baselineHeight = containerHeight - _this.margins.bottom - yBarScale(yReferencePoint);
|
|
705
|
-
// Setting the bar width here is safe because there are no dependencies earlier in the code
|
|
706
|
-
// that rely on the width of bars in vertical bar charts with string x-axis.
|
|
707
|
-
_this._barWidth = (0, index_2.getBarWidth)(_this.props.barWidth, _this.props.maxBarWidth, xBarScale.bandwidth());
|
|
708
|
-
var startColor = point.color ? point.color : colorScale(point.y);
|
|
709
|
-
var endColor = startColor;
|
|
710
|
-
if (_this.props.enableGradient) {
|
|
711
|
-
startColor = ((_a = point.gradient) === null || _a === void 0 ? void 0 : _a[0]) || (0, index_2.getNextGradient)(index, 0, (_b = _this.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted)[0];
|
|
712
|
-
endColor = ((_c = point.gradient) === null || _c === void 0 ? void 0 : _c[1]) || (0, index_2.getNextGradient)(index, 0, (_d = _this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[1];
|
|
713
|
-
if (useSingleColor) {
|
|
714
|
-
startColor = (0, index_2.getNextGradient)(0, 0, (_e = _this.props.theme) === null || _e === void 0 ? void 0 : _e.isInverted)[0];
|
|
715
|
-
endColor = (0, index_2.getNextGradient)(0, 0, (_f = _this.props.theme) === null || _f === void 0 ? void 0 : _f.isInverted)[1];
|
|
716
|
-
}
|
|
717
|
-
_this._points[index].color = startColor;
|
|
718
|
-
}
|
|
719
|
-
var gradientId = (0, Utilities_1.getId)('VBC_Gradient') + "_".concat(index, "_").concat(startColor);
|
|
720
|
-
return (React.createElement("g", { key: point.x instanceof Date ? "".concat(point.x.getTime(), "_").concat(index) : "".concat(point.x, "_").concat(index), transform: "translate(".concat(0.5 * (xBarScale.bandwidth() - _this._barWidth), ", 0)") },
|
|
721
|
-
_this.props.enableGradient && (React.createElement("defs", null,
|
|
722
|
-
React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "100%", x2: "0%", y2: "0%" },
|
|
723
|
-
React.createElement("stop", { offset: "0", stopColor: startColor }),
|
|
724
|
-
React.createElement("stop", { offset: "100%", stopColor: endColor })))),
|
|
725
|
-
React.createElement("rect", { id: (0, Utilities_1.getId)('_VBC_bar_'), x: xPoint, y: !isHeightNegative ? yPoint : baselineHeight, width: _this._barWidth, height: adjustedBarHeight, "aria-label": _this._getAriaLabel(point), role: "img", ref: function (e) {
|
|
726
|
-
_this._refCallback(e, point.legend);
|
|
727
|
-
}, onClick: point.onClick, onMouseOver: _this._onBarHover.bind(_this, point, startColor), onMouseLeave: _this._onBarLeave, onBlur: _this._onBarLeave, "data-is-focusable": !_this.props.hideTooltip, onFocus: _this._onBarFocus.bind(_this, point, index, startColor), fill: _this.props.enableGradient ? "url(#".concat(gradientId, ")") : startColor, rx: _this.props.roundCorners ? 3 : 0 }),
|
|
728
|
-
_this._renderBarLabel(xPoint, yPoint, point.y, point.legend, isHeightNegative)));
|
|
729
|
-
});
|
|
730
|
-
// Removing un wanted tooltip div from DOM, when prop not provided.
|
|
731
|
-
if (!this.props.showXAxisLablesTooltip) {
|
|
732
|
-
try {
|
|
733
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
734
|
-
// eslint-disable-next-line no-empty
|
|
735
|
-
}
|
|
736
|
-
catch (e) { }
|
|
737
|
-
}
|
|
738
|
-
// Used to display tooltip at x axis labels.
|
|
739
|
-
if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
|
|
740
|
-
var xAxisElement = (0, d3_selection_1.select)(xElement).call(xBarScale);
|
|
741
|
-
try {
|
|
742
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
743
|
-
// eslint-disable-next-line no-empty
|
|
744
|
-
}
|
|
745
|
-
catch (e) { }
|
|
746
|
-
var tooltipProps = {
|
|
747
|
-
tooltipCls: this._classNames.tooltip,
|
|
748
|
-
id: this._tooltipId,
|
|
749
|
-
xAxis: xAxisElement,
|
|
750
|
-
showTooltip: this.props.showXAxisLablesTooltip,
|
|
751
|
-
};
|
|
752
|
-
xAxisElement && (0, index_2.tooltipOfXAxislabels)(tooltipProps);
|
|
753
|
-
}
|
|
754
|
-
return bars;
|
|
755
|
-
};
|
|
756
|
-
VerticalBarChartBase.prototype._createDateBars = function (containerHeight, containerWidth, xElement) {
|
|
757
|
-
var _this = this;
|
|
758
|
-
var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
|
|
759
|
-
var _b = this._getScales(containerHeight, containerWidth), xBarScale = _b.xBarScale, yBarScale = _b.yBarScale;
|
|
760
|
-
var colorScale = this._createColors();
|
|
761
|
-
var yReferencePoint = this._yMax < 0 ? this._yMax : 0;
|
|
762
|
-
var bars = this._points.map(function (point, index) {
|
|
763
|
-
var _a, _b, _c, _d, _e, _f;
|
|
764
|
-
var shouldHighlight = _this._legendHighlighted(point.legend) || _this._noLegendHighlighted() ? true : false;
|
|
765
|
-
_this._classNames = getClassNames(_this.props.styles, {
|
|
766
|
-
theme: _this.props.theme,
|
|
767
|
-
legendColor: _this.state.color,
|
|
768
|
-
shouldHighlight: shouldHighlight,
|
|
769
|
-
});
|
|
770
|
-
var barHeight = yBarScale(point.y) - yBarScale(yReferencePoint);
|
|
771
|
-
var isHeightNegative = barHeight < 0;
|
|
772
|
-
barHeight = Math.abs(barHeight);
|
|
773
|
-
// Calculate threshold for minimum visible bar height
|
|
774
|
-
var minBarHeight = _this._calculateMinBarHeight(_this._yMin, _this._yMax, yReferencePoint, yBarScale);
|
|
775
|
-
var adjustedBarHeight = barHeight;
|
|
776
|
-
if (barHeight === 0 || (isHeightNegative && !_this.props.supportNegativeData)) {
|
|
777
|
-
return React.createElement(React.Fragment, { key: point.x }, " ");
|
|
778
|
-
}
|
|
779
|
-
// Adjust bar height if it's smaller than the threshold
|
|
780
|
-
else if (barHeight <= minBarHeight) {
|
|
781
|
-
adjustedBarHeight = minBarHeight;
|
|
782
|
-
}
|
|
783
|
-
var xPoint = xBarScale(point.x) - _this._barWidth / 2;
|
|
784
|
-
var yPoint = containerHeight -
|
|
785
|
-
_this.margins.bottom -
|
|
786
|
-
(isHeightNegative ? -1 * adjustedBarHeight : adjustedBarHeight) -
|
|
787
|
-
yBarScale(yReferencePoint);
|
|
788
|
-
var baselineHeight = containerHeight - _this.margins.bottom - yBarScale(yReferencePoint);
|
|
789
|
-
var startColor = point.color && !useSingleColor ? point.color : colorScale(point.y);
|
|
790
|
-
var endColor = startColor;
|
|
791
|
-
if (_this.props.enableGradient) {
|
|
792
|
-
startColor = ((_a = point.gradient) === null || _a === void 0 ? void 0 : _a[0]) || (0, index_2.getNextGradient)(index, 0, (_b = _this.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted)[0];
|
|
793
|
-
endColor = ((_c = point.gradient) === null || _c === void 0 ? void 0 : _c[1]) || (0, index_2.getNextGradient)(index, 0, (_d = _this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[1];
|
|
794
|
-
if (useSingleColor) {
|
|
795
|
-
startColor = (0, index_2.getNextGradient)(0, 0, (_e = _this.props.theme) === null || _e === void 0 ? void 0 : _e.isInverted)[0];
|
|
796
|
-
endColor = (0, index_2.getNextGradient)(0, 0, (_f = _this.props.theme) === null || _f === void 0 ? void 0 : _f.isInverted)[1];
|
|
797
|
-
}
|
|
798
|
-
_this._points[index].color = startColor;
|
|
799
|
-
}
|
|
800
|
-
var gradientId = (0, Utilities_1.getId)('VBC_Gradient') + "_".concat(index, "_").concat(startColor);
|
|
801
|
-
return (React.createElement("g", { key: point.x instanceof Date ? "".concat(point.x.getTime(), "_").concat(index) : "".concat(point.x, "_").concat(index) },
|
|
802
|
-
_this.props.enableGradient && (React.createElement("defs", null,
|
|
803
|
-
React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "100%", x2: "0%", y2: "0%" },
|
|
804
|
-
React.createElement("stop", { offset: "0", stopColor: startColor }),
|
|
805
|
-
React.createElement("stop", { offset: "100%", stopColor: endColor })))),
|
|
806
|
-
React.createElement("rect", { id: (0, Utilities_1.getId)('_VBC_bar_'), x: xPoint, className: _this._classNames.opacityChangeOnHover, y: !isHeightNegative ? yPoint : baselineHeight, width: _this._barWidth, "data-is-focusable": !_this.props.hideTooltip && shouldHighlight, height: adjustedBarHeight, ref: function (e) {
|
|
807
|
-
_this._refCallback(e, point.legend);
|
|
808
|
-
}, onClick: point.onClick, onMouseOver: _this._onBarHover.bind(_this, point, startColor), "aria-label": _this._getAriaLabel(point), role: "img", onMouseLeave: _this._onBarLeave, onFocus: _this._onBarFocus.bind(_this, point, index, startColor), onBlur: _this._onBarLeave, fill: _this.props.enableGradient ? "url(#".concat(gradientId, ")") : startColor, rx: _this.props.roundCorners ? 3 : 0 }),
|
|
809
|
-
_this._renderBarLabel(xPoint, yPoint, point.y, point.legend, isHeightNegative)));
|
|
810
|
-
});
|
|
811
|
-
// Removing un wanted tooltip div from DOM, when prop not provided.
|
|
812
|
-
if (!this.props.showXAxisLablesTooltip) {
|
|
813
|
-
try {
|
|
814
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
815
|
-
// eslint-disable-next-line no-empty
|
|
816
|
-
}
|
|
817
|
-
catch (e) { }
|
|
818
|
-
}
|
|
819
|
-
// Used to display tooltip at x axis labels.
|
|
820
|
-
if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
|
|
821
|
-
var xAxisElement = (0, d3_selection_1.select)(xElement).call(xBarScale);
|
|
822
|
-
try {
|
|
823
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
824
|
-
// eslint-disable-next-line no-empty
|
|
825
|
-
}
|
|
826
|
-
catch (e) { }
|
|
827
|
-
var tooltipProps = {
|
|
828
|
-
tooltipCls: this._classNames.tooltip,
|
|
829
|
-
id: this._tooltipId,
|
|
830
|
-
xAxis: xAxisElement,
|
|
831
|
-
};
|
|
832
|
-
xAxisElement && (0, index_2.tooltipOfXAxislabels)(tooltipProps);
|
|
833
|
-
}
|
|
834
|
-
return bars;
|
|
835
|
-
};
|
|
836
|
-
VerticalBarChartBase.prototype._onLegendHover = function (legendTitle) {
|
|
837
|
-
this.setState({
|
|
838
|
-
activeLegend: legendTitle,
|
|
839
|
-
});
|
|
840
|
-
};
|
|
841
|
-
VerticalBarChartBase.prototype._onLegendLeave = function () {
|
|
842
|
-
this.setState({
|
|
843
|
-
activeLegend: undefined,
|
|
844
|
-
});
|
|
845
|
-
};
|
|
846
|
-
VerticalBarChartBase.prototype._onLegendSelectionChange = function (selectedLegends, event, currentLegend) {
|
|
847
|
-
var _a, _b;
|
|
848
|
-
if ((_a = this.props.legendProps) === null || _a === void 0 ? void 0 : _a.canSelectMultipleLegends) {
|
|
849
|
-
this.setState({ selectedLegends: selectedLegends });
|
|
850
|
-
}
|
|
851
|
-
else {
|
|
852
|
-
this.setState({ selectedLegends: selectedLegends.slice(-1) });
|
|
853
|
-
}
|
|
854
|
-
if ((_b = this.props.legendProps) === null || _b === void 0 ? void 0 : _b.onChange) {
|
|
855
|
-
this.props.legendProps.onChange(selectedLegends, event, currentLegend);
|
|
856
|
-
}
|
|
857
|
-
};
|
|
858
|
-
VerticalBarChartBase.prototype._getHighlightedLegend = function () {
|
|
859
|
-
return this.state.selectedLegends.length > 0
|
|
860
|
-
? this.state.selectedLegends
|
|
861
|
-
: this.state.activeLegend
|
|
862
|
-
? [this.state.activeLegend]
|
|
863
|
-
: [];
|
|
864
|
-
};
|
|
865
|
-
VerticalBarChartBase.prototype._renderBarLabel = function (xPoint, yPoint, barValue, legend, isNegativeBar) {
|
|
866
|
-
if (this.props.hideLabels ||
|
|
867
|
-
this._barWidth < 16 ||
|
|
868
|
-
!(this._legendHighlighted(legend) || this._noLegendHighlighted())) {
|
|
869
|
-
return null;
|
|
870
|
-
}
|
|
871
|
-
return (React.createElement("text", { x: xPoint + this._barWidth / 2, y: isNegativeBar ? yPoint + 12 : yPoint - 6, textAnchor: "middle", className: this._classNames.barLabel, "aria-hidden": true }, (0, index_2.formatValueWithSIPrefix)(barValue)));
|
|
872
|
-
};
|
|
873
|
-
VerticalBarChartBase.prototype._isChartEmpty = function () {
|
|
874
|
-
return this._points.length === 0 || (this._points.every(function (point) { return point.y === 0; }) && !this._isHavingLine);
|
|
875
|
-
};
|
|
876
|
-
VerticalBarChartBase.defaultProps = {
|
|
877
|
-
maxBarWidth: 24,
|
|
878
|
-
useUTC: true,
|
|
879
|
-
};
|
|
880
|
-
return VerticalBarChartBase;
|
|
881
|
-
}(React.Component));
|
|
882
|
-
exports.VerticalBarChartBase = VerticalBarChartBase;
|
|
883
|
-
//# sourceMappingURL=VerticalBarChart.base.js.map
|