@fluentui/react-charting 5.23.60 → 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 +37 -1
- package/CHANGELOG.md +21 -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 -174
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib/components/DeclarativeChart/PlotlySchema.d.ts +0 -1516
- 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 -163
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchema.d.ts +0 -1516
- 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 -177
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.d.ts +0 -1516
- 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,472 +0,0 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { arc as d3Arc } from 'd3-shape';
|
|
4
|
-
import { classNamesFunction, getId, getRTL, initializeComponentRef } from '@fluentui/react/lib/Utilities';
|
|
5
|
-
import { GaugeValueFormat, GaugeChartVariant, } from './GaugeChart.types';
|
|
6
|
-
import { convertToLocaleString } from '../../utilities/locale-util';
|
|
7
|
-
import { Points, areArraysEqual, formatValueWithSIPrefix, getAccessibleDataObject, getColorFromToken, getNextColor, getNextGradient, pointTypes, } from '../../utilities/index';
|
|
8
|
-
import { Legends, Shape } from '../Legends/index';
|
|
9
|
-
import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';
|
|
10
|
-
import { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';
|
|
11
|
-
import { SVGTooltipText } from '../../utilities/SVGTooltipText';
|
|
12
|
-
import { select as d3Select } from 'd3-selection';
|
|
13
|
-
import { toImage } from '../../utilities/image-export-utils';
|
|
14
|
-
var GAUGE_MARGIN = 16;
|
|
15
|
-
var LABEL_WIDTH = 36;
|
|
16
|
-
var LABEL_HEIGHT = 16;
|
|
17
|
-
var LABEL_OFFSET = 4;
|
|
18
|
-
var TITLE_OFFSET = 11;
|
|
19
|
-
var EXTRA_NEEDLE_LENGTH = 4;
|
|
20
|
-
export var ARC_PADDING = 2;
|
|
21
|
-
export var BREAKPOINTS = [
|
|
22
|
-
{ minRadius: 52, arcWidth: 12, fontSize: 20 },
|
|
23
|
-
{ minRadius: 70, arcWidth: 16, fontSize: 24 },
|
|
24
|
-
{ minRadius: 88, arcWidth: 20, fontSize: 32 },
|
|
25
|
-
{ minRadius: 106, arcWidth: 24, fontSize: 32 },
|
|
26
|
-
{ minRadius: 124, arcWidth: 28, fontSize: 40 },
|
|
27
|
-
{ minRadius: 142, arcWidth: 32, fontSize: 40 },
|
|
28
|
-
];
|
|
29
|
-
var getClassNames = classNamesFunction();
|
|
30
|
-
export var calcNeedleRotation = function (chartValue, minValue, maxValue) {
|
|
31
|
-
var needleRotation = ((chartValue - minValue) / (maxValue - minValue)) * 180;
|
|
32
|
-
if (needleRotation < 0) {
|
|
33
|
-
needleRotation = 0;
|
|
34
|
-
}
|
|
35
|
-
else if (needleRotation > 180) {
|
|
36
|
-
needleRotation = 180;
|
|
37
|
-
}
|
|
38
|
-
return needleRotation;
|
|
39
|
-
};
|
|
40
|
-
export var getSegmentLabel = function (segment, minValue, maxValue, variant, isAriaLabel) {
|
|
41
|
-
if (isAriaLabel === void 0) { isAriaLabel = false; }
|
|
42
|
-
if (isAriaLabel) {
|
|
43
|
-
return minValue === 0 && variant === GaugeChartVariant.SingleSegment
|
|
44
|
-
? "".concat(segment.legend, ", ").concat(segment.size, " out of ").concat(maxValue, " or ").concat(((segment.size / maxValue) * 100).toFixed(), "%")
|
|
45
|
-
: "".concat(segment.legend, ", ").concat(segment.start, " to ").concat(segment.end);
|
|
46
|
-
}
|
|
47
|
-
return minValue === 0 && variant === GaugeChartVariant.SingleSegment
|
|
48
|
-
? "".concat(segment.size, " (").concat(((segment.size / maxValue) * 100).toFixed(), "%)")
|
|
49
|
-
: "".concat(segment.start, " - ").concat(segment.end);
|
|
50
|
-
};
|
|
51
|
-
export var getChartValueLabel = function (chartValue, minValue, maxValue, chartValueFormat, forCallout) {
|
|
52
|
-
if (forCallout === void 0) { forCallout = false; }
|
|
53
|
-
if (forCallout) {
|
|
54
|
-
// When displaying the chart value as a percentage, use fractions in the callout, and vice versa.
|
|
55
|
-
// This helps clarify the actual value and avoid repetition.
|
|
56
|
-
return minValue !== 0
|
|
57
|
-
? chartValue.toString()
|
|
58
|
-
: chartValueFormat === GaugeValueFormat.Fraction
|
|
59
|
-
? "".concat(((chartValue / maxValue) * 100).toFixed(), "%")
|
|
60
|
-
: "".concat(chartValue, "/").concat(maxValue);
|
|
61
|
-
}
|
|
62
|
-
return typeof chartValueFormat === 'function'
|
|
63
|
-
? chartValueFormat([chartValue - minValue, maxValue - minValue])
|
|
64
|
-
: minValue !== 0
|
|
65
|
-
? chartValue.toString()
|
|
66
|
-
: chartValueFormat === GaugeValueFormat.Fraction
|
|
67
|
-
? "".concat(chartValue, "/").concat(maxValue)
|
|
68
|
-
: "".concat(((chartValue / maxValue) * 100).toFixed(), "%");
|
|
69
|
-
};
|
|
70
|
-
var GaugeChartBase = /** @class */ (function (_super) {
|
|
71
|
-
__extends(GaugeChartBase, _super);
|
|
72
|
-
function GaugeChartBase(props) {
|
|
73
|
-
var _a;
|
|
74
|
-
var _this = _super.call(this, props) || this;
|
|
75
|
-
_this.toImage = function (opts) {
|
|
76
|
-
var _a;
|
|
77
|
-
return toImage(_this._rootElem, (_a = _this._legendsRef.current) === null || _a === void 0 ? void 0 : _a.toSVG, _this._isRTL, opts);
|
|
78
|
-
};
|
|
79
|
-
_this._getMargins = function () {
|
|
80
|
-
var _a = _this.props, hideMinMax = _a.hideMinMax, chartTitle = _a.chartTitle, sublabel = _a.sublabel;
|
|
81
|
-
return {
|
|
82
|
-
left: (!hideMinMax ? LABEL_OFFSET + LABEL_WIDTH : 0) + GAUGE_MARGIN,
|
|
83
|
-
right: (!hideMinMax ? LABEL_OFFSET + LABEL_WIDTH : 0) + GAUGE_MARGIN,
|
|
84
|
-
top: (chartTitle ? TITLE_OFFSET + LABEL_HEIGHT : EXTRA_NEEDLE_LENGTH / 2) + GAUGE_MARGIN,
|
|
85
|
-
bottom: (sublabel ? LABEL_OFFSET + LABEL_HEIGHT : 0) + GAUGE_MARGIN,
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
_this._getStylesBasedOnBreakpoint = function () {
|
|
89
|
-
for (var index = BREAKPOINTS.length - 1; index >= 0; index -= 1) {
|
|
90
|
-
if (_this._outerRadius >= BREAKPOINTS[index].minRadius) {
|
|
91
|
-
return {
|
|
92
|
-
arcWidth: BREAKPOINTS[index].arcWidth,
|
|
93
|
-
chartValueSize: BREAKPOINTS[index].fontSize,
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
return {
|
|
98
|
-
arcWidth: BREAKPOINTS[0].arcWidth,
|
|
99
|
-
chartValueSize: BREAKPOINTS[0].fontSize,
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
_this._processProps = function () {
|
|
103
|
-
var _a = _this.props, _b = _a.minValue, minValue = _b === void 0 ? 0 : _b, maxValue = _a.maxValue, theme = _a.theme;
|
|
104
|
-
var total = minValue;
|
|
105
|
-
var segments = _this.props.segments.map(function (segment, index) {
|
|
106
|
-
var _a;
|
|
107
|
-
var size = Math.max(segment.size, 0);
|
|
108
|
-
total += size;
|
|
109
|
-
return {
|
|
110
|
-
legend: segment.legend,
|
|
111
|
-
size: size,
|
|
112
|
-
color: typeof segment.color !== 'undefined'
|
|
113
|
-
? getColorFromToken(segment.color, theme.isInverted)
|
|
114
|
-
: getNextColor(index, 0, theme.isInverted),
|
|
115
|
-
gradient: (_a = segment.gradient) !== null && _a !== void 0 ? _a : getNextGradient(index, 0, theme.isInverted),
|
|
116
|
-
accessibilityData: segment.accessibilityData,
|
|
117
|
-
start: total - size,
|
|
118
|
-
end: total,
|
|
119
|
-
};
|
|
120
|
-
});
|
|
121
|
-
if (typeof maxValue !== 'undefined' && total < maxValue) {
|
|
122
|
-
segments.push({
|
|
123
|
-
legend: 'Unknown',
|
|
124
|
-
size: maxValue - total,
|
|
125
|
-
color: theme.palette.neutralLight,
|
|
126
|
-
start: total,
|
|
127
|
-
end: maxValue,
|
|
128
|
-
});
|
|
129
|
-
total = maxValue;
|
|
130
|
-
}
|
|
131
|
-
var arcGenerator = d3Arc()
|
|
132
|
-
.cornerRadius(_this.props.roundCorners ? 3 : 0)
|
|
133
|
-
.padAngle(ARC_PADDING / _this._outerRadius)
|
|
134
|
-
.padRadius(_this._outerRadius);
|
|
135
|
-
var rtlSafeSegments = _this._isRTL ? Array.from(segments).reverse() : segments;
|
|
136
|
-
var prevAngle = -Math.PI / 2;
|
|
137
|
-
var arcs = rtlSafeSegments.map(function (segment, index) {
|
|
138
|
-
var endAngle = prevAngle + (segment.size / (total - minValue)) * Math.PI;
|
|
139
|
-
var d = arcGenerator({
|
|
140
|
-
innerRadius: _this._innerRadius,
|
|
141
|
-
outerRadius: _this._outerRadius,
|
|
142
|
-
startAngle: prevAngle,
|
|
143
|
-
endAngle: endAngle,
|
|
144
|
-
});
|
|
145
|
-
prevAngle = endAngle;
|
|
146
|
-
return {
|
|
147
|
-
d: d,
|
|
148
|
-
segmentIndex: _this._isRTL ? segments.length - 1 - index : index,
|
|
149
|
-
startAngle: prevAngle - (segment.size / (total - minValue)) * Math.PI,
|
|
150
|
-
endAngle: endAngle,
|
|
151
|
-
};
|
|
152
|
-
});
|
|
153
|
-
_this._minValue = minValue;
|
|
154
|
-
_this._maxValue = total;
|
|
155
|
-
_this._segments = segments;
|
|
156
|
-
return {
|
|
157
|
-
arcs: arcs,
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
_this._renderNeedle = function () {
|
|
161
|
-
var needleRotation = calcNeedleRotation(_this.props.chartValue, _this._minValue, _this._maxValue);
|
|
162
|
-
var rtlSafeNeedleRotation = _this._isRTL ? 180 - needleRotation : needleRotation;
|
|
163
|
-
var strokeWidth = 2;
|
|
164
|
-
var halfStrokeWidth = strokeWidth / 2;
|
|
165
|
-
var needleLength = _this._outerRadius - _this._innerRadius + EXTRA_NEEDLE_LENGTH;
|
|
166
|
-
return (React.createElement("g", { transform: "rotate(".concat(rtlSafeNeedleRotation, ", 0, 0)") },
|
|
167
|
-
React.createElement("path", { d: "\n M 0,".concat(-halfStrokeWidth - 3, "\n L ").concat(-needleLength, ",").concat(-halfStrokeWidth - 1, "\n A ").concat(halfStrokeWidth + 1, ",").concat(halfStrokeWidth + 1, ",0,0,0,").concat(-needleLength, ",").concat(halfStrokeWidth + 1, "\n L 0,").concat(halfStrokeWidth + 3, "\n A ").concat(halfStrokeWidth + 3, ",").concat(halfStrokeWidth + 3, ",0,0,0,0,").concat(-halfStrokeWidth - 3, "\n "), strokeWidth: strokeWidth, className: _this._classNames.needle, transform: "translate(".concat(-_this._innerRadius + EXTRA_NEEDLE_LENGTH / 2, ")"), "data-is-focusable": true, onFocus: function (e) { return _this._handleFocus(e, 'Needle'); }, onBlur: _this._handleBlur, onMouseEnter: function (e) { return _this._handleMouseOver(e, 'Needle'); }, onMouseMove: function (e) { return _this._handleMouseOver(e, 'Needle'); }, role: "img", "aria-label": 'Current value: ' +
|
|
168
|
-
getChartValueLabel(_this.props.chartValue, _this._minValue, _this._maxValue, _this.props.chartValueFormat) })));
|
|
169
|
-
};
|
|
170
|
-
_this._renderLegends = function () {
|
|
171
|
-
if (_this.props.hideLegend) {
|
|
172
|
-
return null;
|
|
173
|
-
}
|
|
174
|
-
var legends = _this._segments.map(function (segment, index) {
|
|
175
|
-
var _a;
|
|
176
|
-
var color = _this.props.enableGradient
|
|
177
|
-
? ((_a = segment.gradient) === null || _a === void 0 ? void 0 : _a[0]) || getNextGradient(index, 0, _this.props.theme.isInverted)[0]
|
|
178
|
-
: segment.color || getNextColor(index, 0, _this.props.theme.isInverted);
|
|
179
|
-
return {
|
|
180
|
-
title: segment.legend,
|
|
181
|
-
color: color,
|
|
182
|
-
hoverAction: function () {
|
|
183
|
-
_this.setState({ hoveredLegend: segment.legend });
|
|
184
|
-
},
|
|
185
|
-
onMouseOutAction: function () {
|
|
186
|
-
_this.setState({ hoveredLegend: '' });
|
|
187
|
-
},
|
|
188
|
-
};
|
|
189
|
-
});
|
|
190
|
-
return (React.createElement("div", { className: _this._classNames.legendsContainer },
|
|
191
|
-
React.createElement(Legends, __assign({ legends: legends, centerLegends: true }, _this.props.legendProps, {
|
|
192
|
-
// eslint-disable-next-line react/jsx-no-bind
|
|
193
|
-
onChange: _this._onLegendSelectionChange.bind(_this), ref: _this._legendsRef }))));
|
|
194
|
-
};
|
|
195
|
-
/**
|
|
196
|
-
* This function checks if the given legend is highlighted or not.
|
|
197
|
-
* A legend can be highlighted in 2 ways:
|
|
198
|
-
* 1. selection: if the user clicks on it
|
|
199
|
-
* 2. hovering: if there is no selected legend and the user hovers over it
|
|
200
|
-
*/
|
|
201
|
-
_this._legendHighlighted = function (legend) {
|
|
202
|
-
return _this._getHighlightedLegend().includes(legend);
|
|
203
|
-
};
|
|
204
|
-
/**
|
|
205
|
-
* This function checks if none of the legends is selected or hovered.
|
|
206
|
-
*/
|
|
207
|
-
_this._noLegendHighlighted = function () {
|
|
208
|
-
return _this._getHighlightedLegend().length === 0;
|
|
209
|
-
};
|
|
210
|
-
_this._handleFocus = function (focusEvent, focusedElement) {
|
|
211
|
-
_this._showCallout(focusEvent.target, focusedElement, true);
|
|
212
|
-
};
|
|
213
|
-
_this._handleBlur = function () {
|
|
214
|
-
_this._hideCallout(true);
|
|
215
|
-
};
|
|
216
|
-
_this._handleMouseOver = function (mouseEvent, hoveredElement) {
|
|
217
|
-
_this._showCallout(mouseEvent.target, hoveredElement, false);
|
|
218
|
-
};
|
|
219
|
-
_this._handleMouseOut = function () {
|
|
220
|
-
_this._hideCallout(false);
|
|
221
|
-
};
|
|
222
|
-
_this._handleCalloutDismiss = function () {
|
|
223
|
-
_this._hideCallout(false);
|
|
224
|
-
};
|
|
225
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
226
|
-
_this._showCallout = function (target, legend, isFocusEvent) {
|
|
227
|
-
if (_this._calloutAnchor === legend) {
|
|
228
|
-
return;
|
|
229
|
-
}
|
|
230
|
-
_this._calloutAnchor = legend;
|
|
231
|
-
var hoverXValue = 'Current value is ' +
|
|
232
|
-
getChartValueLabel(_this.props.chartValue, _this._minValue, _this._maxValue, _this.props.chartValueFormat, true);
|
|
233
|
-
var hoverYValues = _this._segments.map(function (segment) {
|
|
234
|
-
var _a;
|
|
235
|
-
var yValue = {
|
|
236
|
-
legend: segment.legend,
|
|
237
|
-
y: getSegmentLabel(segment, _this._minValue, _this._maxValue, _this.props.variant),
|
|
238
|
-
color: _this.props.enableGradient ? (_a = segment.gradient) === null || _a === void 0 ? void 0 : _a[0] : segment.color,
|
|
239
|
-
};
|
|
240
|
-
return yValue;
|
|
241
|
-
});
|
|
242
|
-
_this.setState(__assign({ calloutTarget: target,
|
|
243
|
-
/** Show the callout if highlighted arc is hovered/focused and Hide it if unhighlighted arc is hovered/focused */
|
|
244
|
-
isCalloutVisible: ['Needle', 'Chart value'].includes(legend) || _this._noLegendHighlighted() || _this._legendHighlighted(legend), hoverXValue: hoverXValue, hoverYValues: hoverYValues }, (isFocusEvent ? { focusedElement: legend } : {})));
|
|
245
|
-
};
|
|
246
|
-
_this._hideCallout = function (isBlurEvent) {
|
|
247
|
-
_this._calloutAnchor = '';
|
|
248
|
-
_this.setState(__assign({ calloutTarget: null, isCalloutVisible: false, hoverXValue: '', hoverYValues: [] }, (isBlurEvent ? { focusedElement: '' } : {})));
|
|
249
|
-
};
|
|
250
|
-
_this._wrapContent = function (content, id, maxWidth) {
|
|
251
|
-
var textElement = d3Select("#".concat(id));
|
|
252
|
-
textElement.text(content);
|
|
253
|
-
if (!textElement.node()) {
|
|
254
|
-
return false;
|
|
255
|
-
}
|
|
256
|
-
var isOverflowing = false;
|
|
257
|
-
var textLength = textElement.node().getComputedTextLength();
|
|
258
|
-
while (textLength > maxWidth && content.length > 0) {
|
|
259
|
-
content = content.slice(0, -1);
|
|
260
|
-
textElement.text(content + '...');
|
|
261
|
-
isOverflowing = true;
|
|
262
|
-
textLength = textElement.node().getComputedTextLength();
|
|
263
|
-
}
|
|
264
|
-
return isOverflowing;
|
|
265
|
-
};
|
|
266
|
-
// TO DO: Write a common functional component for Multi value callout and divide sub count method
|
|
267
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
268
|
-
_this._multiValueCallout = function (calloutProps) {
|
|
269
|
-
var yValueHoverSubCountsExists = _this._yValueHoverSubCountsExists(calloutProps.YValueHover);
|
|
270
|
-
return (React.createElement("div", { className: _this._classNames.calloutContentRoot },
|
|
271
|
-
React.createElement("div", { className: _this._classNames.calloutDateTimeContainer, style: yValueHoverSubCountsExists ? { marginBottom: '11px' } : {} },
|
|
272
|
-
React.createElement("div", __assign({ className: _this._classNames.calloutContentX }, getAccessibleDataObject(calloutProps.xAxisCalloutAccessibilityData, 'text', false)), convertToLocaleString(calloutProps.hoverXValue, _this.props.culture))),
|
|
273
|
-
React.createElement("div", { className: _this._classNames.calloutInfoContainer, style: yValueHoverSubCountsExists ? { display: 'flex' } : {} },
|
|
274
|
-
calloutProps.YValueHover &&
|
|
275
|
-
calloutProps.YValueHover.map(function (yValue, index, yValues) {
|
|
276
|
-
var isLast = index + 1 === yValues.length;
|
|
277
|
-
var _a = yValue.shouldDrawBorderBottom, shouldDrawBorderBottom = _a === void 0 ? false : _a;
|
|
278
|
-
return (React.createElement("div", __assign({}, getAccessibleDataObject(yValue.callOutAccessibilityData, 'text', false), { key: "callout-content-".concat(index), style: yValueHoverSubCountsExists
|
|
279
|
-
? __assign({ display: 'inline-block' }, (shouldDrawBorderBottom && {
|
|
280
|
-
borderBottom: "1px solid ".concat(_this.props.theme.semanticColors.menuDivider),
|
|
281
|
-
paddingBottom: '10px',
|
|
282
|
-
})) : __assign({}, (shouldDrawBorderBottom && {
|
|
283
|
-
borderBottom: "1px solid ".concat(_this.props.theme.semanticColors.menuDivider),
|
|
284
|
-
paddingBottom: '10px',
|
|
285
|
-
})) }), _this._getCalloutContent(yValue, index, yValueHoverSubCountsExists, isLast)));
|
|
286
|
-
}),
|
|
287
|
-
!!calloutProps.descriptionMessage && (React.createElement("div", { className: _this._classNames.descriptionMessage }, calloutProps.descriptionMessage)))));
|
|
288
|
-
};
|
|
289
|
-
_this._getChartTitle = function () {
|
|
290
|
-
var chartTitle = _this.props.chartTitle;
|
|
291
|
-
return (chartTitle ? "".concat(chartTitle, ". ") : '') + "Gauge chart with ".concat(_this._segments.length, " segments. ");
|
|
292
|
-
};
|
|
293
|
-
initializeComponentRef(_this);
|
|
294
|
-
_this._margins = _this._getMargins();
|
|
295
|
-
_this._legendsHeight = !props.hideLegend ? 24 : 0;
|
|
296
|
-
_this.state = {
|
|
297
|
-
hoveredLegend: '',
|
|
298
|
-
selectedLegends: ((_a = props.legendProps) === null || _a === void 0 ? void 0 : _a.selectedLegends) || [],
|
|
299
|
-
focusedElement: '',
|
|
300
|
-
calloutTarget: null,
|
|
301
|
-
isCalloutVisible: false,
|
|
302
|
-
hoverXValue: '',
|
|
303
|
-
hoverYValues: [],
|
|
304
|
-
width: 140 + _this._margins.left + _this._margins.right,
|
|
305
|
-
height: 70 + _this._margins.top + _this._margins.bottom + _this._legendsHeight,
|
|
306
|
-
};
|
|
307
|
-
_this._isRTL = getRTL(props.theme);
|
|
308
|
-
_this._calloutAnchor = '';
|
|
309
|
-
_this._legendsRef = React.createRef();
|
|
310
|
-
return _this;
|
|
311
|
-
}
|
|
312
|
-
GaugeChartBase.prototype.componentDidMount = function () {
|
|
313
|
-
if (this._rootElem) {
|
|
314
|
-
this.setState({
|
|
315
|
-
width: this._rootElem.clientWidth,
|
|
316
|
-
height: this._rootElem.clientHeight,
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
};
|
|
320
|
-
GaugeChartBase.prototype.componentDidUpdate = function (prevProps) {
|
|
321
|
-
var _a, _b, _c;
|
|
322
|
-
if (!areArraysEqual((_a = prevProps.legendProps) === null || _a === void 0 ? void 0 : _a.selectedLegends, (_b = this.props.legendProps) === null || _b === void 0 ? void 0 : _b.selectedLegends)) {
|
|
323
|
-
this.setState({
|
|
324
|
-
selectedLegends: ((_c = this.props.legendProps) === null || _c === void 0 ? void 0 : _c.selectedLegends) || [],
|
|
325
|
-
});
|
|
326
|
-
}
|
|
327
|
-
};
|
|
328
|
-
GaugeChartBase.prototype.render = function () {
|
|
329
|
-
var _this = this;
|
|
330
|
-
this._margins = this._getMargins();
|
|
331
|
-
this._legendsHeight = !this.props.hideLegend ? 24 : 0;
|
|
332
|
-
var width = this.props.width || this.state.width;
|
|
333
|
-
var height = this.props.height || this.state.height;
|
|
334
|
-
this._outerRadius = Math.min((width - (this._margins.left + this._margins.right)) / 2, height - (this._margins.top + this._margins.bottom + this._legendsHeight));
|
|
335
|
-
var _a = this._getStylesBasedOnBreakpoint(), arcWidth = _a.arcWidth, chartValueSize = _a.chartValueSize;
|
|
336
|
-
this._innerRadius = this._outerRadius - arcWidth;
|
|
337
|
-
var arcs = this._processProps().arcs;
|
|
338
|
-
this._classNames = getClassNames(this.props.styles, {
|
|
339
|
-
theme: this.props.theme,
|
|
340
|
-
className: this.props.className,
|
|
341
|
-
chartWidth: width,
|
|
342
|
-
chartHeight: height - this._legendsHeight,
|
|
343
|
-
chartValueSize: chartValueSize,
|
|
344
|
-
});
|
|
345
|
-
return (React.createElement("div", { className: this._classNames.root, ref: function (el) { return (_this._rootElem = el); } },
|
|
346
|
-
React.createElement(FocusZone, { direction: FocusZoneDirection.horizontal },
|
|
347
|
-
React.createElement("svg", { className: this._classNames.chart, role: "region", "aria-label": this._getChartTitle(), onMouseLeave: this._handleMouseOut },
|
|
348
|
-
React.createElement("g", { transform: "translate(".concat(width / 2, ", ").concat(height - (this._margins.bottom + this._legendsHeight), ")") },
|
|
349
|
-
this.props.chartTitle && (React.createElement("text", { x: 0, y: -(this._outerRadius + TITLE_OFFSET), textAnchor: "middle", className: this._classNames.chartTitle, "aria-hidden": true }, this.props.chartTitle)),
|
|
350
|
-
!this.props.hideMinMax && (React.createElement(React.Fragment, null,
|
|
351
|
-
React.createElement("text", { x: (this._isRTL ? 1 : -1) * (this._outerRadius + LABEL_OFFSET), y: 0, textAnchor: "end", className: this._classNames.limits, role: "img", "aria-label": "Min value: ".concat(this._minValue) }, formatValueWithSIPrefix(this._minValue)),
|
|
352
|
-
React.createElement("text", { x: (this._isRTL ? -1 : 1) * (this._outerRadius + LABEL_OFFSET), y: 0, textAnchor: "start", className: this._classNames.limits, role: "img", "aria-label": "Max value: ".concat(this._maxValue) }, formatValueWithSIPrefix(this._maxValue)))),
|
|
353
|
-
arcs.map(function (arc, index) {
|
|
354
|
-
var _a, _b;
|
|
355
|
-
var segment = _this._segments[arc.segmentIndex];
|
|
356
|
-
var clipId = getId('Arc_clip') + "".concat(index, "_").concat(arc.startAngle, "_").concat(arc.endAngle);
|
|
357
|
-
var arcClassNames = getClassNames(_this.props.styles, {
|
|
358
|
-
theme: _this.props.theme,
|
|
359
|
-
solidFill: _this.props.enableGradient ? 'transparent' : segment.color,
|
|
360
|
-
gradientFill: "conic-gradient(\n from ".concat(arc.startAngle, "rad at 50% 100%,\n ").concat((_a = segment.gradient) === null || _a === void 0 ? void 0 : _a[0], ",\n ").concat((_b = segment.gradient) === null || _b === void 0 ? void 0 : _b[1], " ").concat(arc.endAngle - arc.startAngle, "rad\n )"),
|
|
361
|
-
opacity: _this._legendHighlighted(segment.legend) || _this._noLegendHighlighted() ? 1 : 0.1,
|
|
362
|
-
});
|
|
363
|
-
return (React.createElement(React.Fragment, { key: index },
|
|
364
|
-
React.createElement("path", __assign({ d: arc.d, strokeWidth: _this.state.focusedElement === segment.legend ? ARC_PADDING : 0, className: arcClassNames.segment }, getAccessibleDataObject(__assign({ ariaLabel: getSegmentLabel(segment, _this._minValue, _this._maxValue, _this.props.variant, true) }, segment.accessibilityData), 'img', true), { onFocus: function (e) { return _this._handleFocus(e, segment.legend); }, onBlur: _this._handleBlur, onMouseEnter: function (e) { return _this._handleMouseOver(e, segment.legend); }, onMouseMove: function (e) { return _this._handleMouseOver(e, segment.legend); }, "data-is-focusable": _this._legendHighlighted(segment.legend) || _this._noLegendHighlighted() })),
|
|
365
|
-
_this.props.enableGradient && (React.createElement(React.Fragment, null,
|
|
366
|
-
React.createElement("clipPath", { id: clipId },
|
|
367
|
-
React.createElement("path", { d: arc.d })),
|
|
368
|
-
React.createElement("foreignObject", { x: "-50%", y: "-100%", width: "100%", height: "100%", clipPath: "url(#".concat(clipId, ")") },
|
|
369
|
-
React.createElement("div", { className: arcClassNames.gradientSegment }))))));
|
|
370
|
-
}),
|
|
371
|
-
this._renderNeedle(),
|
|
372
|
-
React.createElement("g", { onMouseEnter: function (e) { return _this._handleMouseOver(e, 'Chart value'); }, onMouseMove: function (e) { return _this._handleMouseOver(e, 'Chart value'); } },
|
|
373
|
-
React.createElement(SVGTooltipText, { content: getChartValueLabel(this.props.chartValue, this._minValue, this._maxValue, this.props.chartValueFormat), textProps: {
|
|
374
|
-
x: 0,
|
|
375
|
-
y: 0,
|
|
376
|
-
textAnchor: 'middle',
|
|
377
|
-
className: this._classNames.chartValue,
|
|
378
|
-
'aria-hidden': 'true',
|
|
379
|
-
}, maxWidth: this._innerRadius * 2 - 24, wrapContent: this._wrapContent })),
|
|
380
|
-
this.props.sublabel && (React.createElement(SVGTooltipText, { content: this.props.sublabel, textProps: {
|
|
381
|
-
x: 0,
|
|
382
|
-
y: 4,
|
|
383
|
-
textAnchor: 'middle',
|
|
384
|
-
dominantBaseline: 'hanging',
|
|
385
|
-
className: this._classNames.sublabel,
|
|
386
|
-
}, maxWidth: this._innerRadius * 2, wrapContent: this._wrapContent }))))),
|
|
387
|
-
this._renderLegends(),
|
|
388
|
-
!this.props.hideTooltip && this.state.isCalloutVisible && (React.createElement(Callout, __assign({ target: this.state.calloutTarget, directionalHint: DirectionalHint.topAutoEdge, gapSpace: 15, isBeakVisible: false, onDismiss: this._handleCalloutDismiss }, this.props.calloutProps), this._multiValueCallout({
|
|
389
|
-
hoverXValue: this.state.hoverXValue,
|
|
390
|
-
YValueHover: this.state.hoverYValues,
|
|
391
|
-
})))));
|
|
392
|
-
};
|
|
393
|
-
Object.defineProperty(GaugeChartBase.prototype, "chartContainer", {
|
|
394
|
-
get: function () {
|
|
395
|
-
return this._rootElem;
|
|
396
|
-
},
|
|
397
|
-
enumerable: false,
|
|
398
|
-
configurable: true
|
|
399
|
-
});
|
|
400
|
-
GaugeChartBase.prototype._onLegendSelectionChange = function (selectedLegends, event, currentLegend) {
|
|
401
|
-
var _a, _b;
|
|
402
|
-
if ((_a = this.props.legendProps) === null || _a === void 0 ? void 0 : _a.canSelectMultipleLegends) {
|
|
403
|
-
this.setState({ selectedLegends: selectedLegends });
|
|
404
|
-
}
|
|
405
|
-
else {
|
|
406
|
-
this.setState({ selectedLegends: selectedLegends.slice(-1) });
|
|
407
|
-
}
|
|
408
|
-
if ((_b = this.props.legendProps) === null || _b === void 0 ? void 0 : _b.onChange) {
|
|
409
|
-
this.props.legendProps.onChange(selectedLegends, event, currentLegend);
|
|
410
|
-
}
|
|
411
|
-
};
|
|
412
|
-
GaugeChartBase.prototype._getHighlightedLegend = function () {
|
|
413
|
-
return this.state.selectedLegends.length > 0
|
|
414
|
-
? this.state.selectedLegends
|
|
415
|
-
: this.state.hoveredLegend
|
|
416
|
-
? [this.state.hoveredLegend]
|
|
417
|
-
: [];
|
|
418
|
-
};
|
|
419
|
-
GaugeChartBase.prototype._yValueHoverSubCountsExists = function (yValueHover) {
|
|
420
|
-
if (yValueHover) {
|
|
421
|
-
return yValueHover.some(function (yValue) { return yValue.yAxisCalloutData && typeof yValue.yAxisCalloutData !== 'string'; });
|
|
422
|
-
}
|
|
423
|
-
return false;
|
|
424
|
-
};
|
|
425
|
-
GaugeChartBase.prototype._getCalloutContent = function (xValue, index, yValueHoverSubCountsExists, isLast) {
|
|
426
|
-
var marginStyle = isLast ? {} : { marginRight: '16px' };
|
|
427
|
-
var toDrawShape = xValue.index !== undefined && xValue.index !== -1;
|
|
428
|
-
var _classNames = getClassNames(this.props.styles, {
|
|
429
|
-
theme: this.props.theme,
|
|
430
|
-
lineColor: xValue.color,
|
|
431
|
-
toDrawShape: toDrawShape,
|
|
432
|
-
});
|
|
433
|
-
var culture = this.props.culture;
|
|
434
|
-
var yValue = convertToLocaleString(xValue.y, culture);
|
|
435
|
-
if (!xValue.yAxisCalloutData || typeof xValue.yAxisCalloutData === 'string') {
|
|
436
|
-
return (React.createElement("div", { style: yValueHoverSubCountsExists ? marginStyle : {} },
|
|
437
|
-
yValueHoverSubCountsExists && (React.createElement("div", { className: "ms-fontWeight-semibold", style: { fontSize: '12pt' } },
|
|
438
|
-
xValue.legend,
|
|
439
|
-
" (",
|
|
440
|
-
yValue,
|
|
441
|
-
")")),
|
|
442
|
-
React.createElement("div", { id: "".concat(index, "_").concat(xValue.y), className: _classNames.calloutBlockContainer },
|
|
443
|
-
toDrawShape && (React.createElement(Shape, { svgProps: {
|
|
444
|
-
className: _classNames.shapeStyles,
|
|
445
|
-
}, pathProps: { fill: xValue.color }, shape: Points[xValue.index % Object.keys(pointTypes).length] })),
|
|
446
|
-
React.createElement("div", null,
|
|
447
|
-
React.createElement("div", { className: _classNames.calloutlegendText },
|
|
448
|
-
" ",
|
|
449
|
-
xValue.legend),
|
|
450
|
-
React.createElement("div", { className: _classNames.calloutContentY }, convertToLocaleString(xValue.yAxisCalloutData ? xValue.yAxisCalloutData : xValue.y || xValue.data, culture))))));
|
|
451
|
-
}
|
|
452
|
-
else {
|
|
453
|
-
var subcounts_1 = xValue.yAxisCalloutData;
|
|
454
|
-
return (React.createElement("div", { style: marginStyle },
|
|
455
|
-
React.createElement("div", { className: "ms-fontWeight-semibold", style: { fontSize: '12pt' } },
|
|
456
|
-
xValue.legend,
|
|
457
|
-
" (",
|
|
458
|
-
yValue,
|
|
459
|
-
")"),
|
|
460
|
-
Object.keys(subcounts_1).map(function (subcountName) {
|
|
461
|
-
return (React.createElement("div", { key: subcountName, className: _classNames.calloutBlockContainer },
|
|
462
|
-
React.createElement("div", { className: _classNames.calloutlegendText },
|
|
463
|
-
" ",
|
|
464
|
-
convertToLocaleString(subcountName, culture)),
|
|
465
|
-
React.createElement("div", { className: _classNames.calloutContentY }, convertToLocaleString(subcounts_1[subcountName], culture))));
|
|
466
|
-
})));
|
|
467
|
-
}
|
|
468
|
-
};
|
|
469
|
-
return GaugeChartBase;
|
|
470
|
-
}(React.Component));
|
|
471
|
-
export { GaugeChartBase };
|
|
472
|
-
//# sourceMappingURL=GaugeChart.base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GaugeChart.base.js","sourceRoot":"../src/","sources":["components/GaugeChart/GaugeChart.base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC1G,OAAO,EAKL,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EACL,MAAM,EACN,cAAc,EACd,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,UAAU,GACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAA0C,OAAO,EAAE,KAAK,EAAE,MAA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AC,CACpD,CACF,CACP,CAAC;gBACJ,CAAC,CAAC,CACE,CACP,CAAC;QACJ,CAAC;IACH,CAAC;IAMH,qBAAC;AAAD,CAAC,AA1pBD,CAAoC,KAAK,CAAC,SAAS,GA0pBlD","sourcesContent":["import * as React from 'react';\nimport { arc as d3Arc } from 'd3-shape';\nimport { classNamesFunction, getId, getRTL, initializeComponentRef } from '@fluentui/react/lib/Utilities';\nimport {\n IGaugeChartProps,\n IGaugeChartSegment,\n IGaugeChartStyleProps,\n IGaugeChartStyles,\n GaugeValueFormat,\n GaugeChartVariant,\n} from './GaugeChart.types';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\nimport { convertToLocaleString } from '../../utilities/locale-util';\nimport {\n Points,\n areArraysEqual,\n formatValueWithSIPrefix,\n getAccessibleDataObject,\n getColorFromToken,\n getNextColor,\n getNextGradient,\n pointTypes,\n} from '../../utilities/index';\nimport { ILegend, ILegendContainer, LegendShape, Legends, Shape } from '../Legends/index';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { IYValueHover } from '../../index';\nimport { SVGTooltipText } from '../../utilities/SVGTooltipText';\nimport { select as d3Select } from 'd3-selection';\nimport { IChart, IImageExportOptions } from '../../types/index';\nimport { toImage } from '../../utilities/image-export-utils';\n\nconst GAUGE_MARGIN = 16;\nconst LABEL_WIDTH = 36;\nconst LABEL_HEIGHT = 16;\nconst LABEL_OFFSET = 4;\nconst TITLE_OFFSET = 11;\nconst EXTRA_NEEDLE_LENGTH = 4;\nexport const ARC_PADDING = 2;\nexport const BREAKPOINTS = [\n { minRadius: 52, arcWidth: 12, fontSize: 20 },\n { minRadius: 70, arcWidth: 16, fontSize: 24 },\n { minRadius: 88, arcWidth: 20, fontSize: 32 },\n { minRadius: 106, arcWidth: 24, fontSize: 32 },\n { minRadius: 124, arcWidth: 28, fontSize: 40 },\n { minRadius: 142, arcWidth: 32, fontSize: 40 },\n];\n\nconst getClassNames = classNamesFunction<IGaugeChartStyleProps, IGaugeChartStyles>();\n\nexport const calcNeedleRotation = (chartValue: number, minValue: number, maxValue: number) => {\n let needleRotation = ((chartValue - minValue) / (maxValue - minValue)) * 180;\n if (needleRotation < 0) {\n needleRotation = 0;\n } else if (needleRotation > 180) {\n needleRotation = 180;\n }\n\n return needleRotation;\n};\n\nexport const getSegmentLabel = (\n segment: IExtendedSegment,\n minValue: number,\n maxValue: number,\n variant?: GaugeChartVariant,\n isAriaLabel: boolean = false,\n) => {\n if (isAriaLabel) {\n return minValue === 0 && variant === GaugeChartVariant.SingleSegment\n ? `${segment.legend}, ${segment.size} out of ${maxValue} or ${((segment.size / maxValue) * 100).toFixed()}%`\n : `${segment.legend}, ${segment.start} to ${segment.end}`;\n }\n\n return minValue === 0 && variant === GaugeChartVariant.SingleSegment\n ? `${segment.size} (${((segment.size / maxValue) * 100).toFixed()}%)`\n : `${segment.start} - ${segment.end}`;\n};\n\nexport const getChartValueLabel = (\n chartValue: number,\n minValue: number,\n maxValue: number,\n chartValueFormat?: GaugeValueFormat | ((sweepFraction: [number, number]) => string),\n forCallout: boolean = false,\n): string => {\n if (forCallout) {\n // When displaying the chart value as a percentage, use fractions in the callout, and vice versa.\n // This helps clarify the actual value and avoid repetition.\n return minValue !== 0\n ? chartValue.toString()\n : chartValueFormat === GaugeValueFormat.Fraction\n ? `${((chartValue / maxValue) * 100).toFixed()}%`\n : `${chartValue}/${maxValue}`;\n }\n\n return typeof chartValueFormat === 'function'\n ? chartValueFormat([chartValue - minValue, maxValue - minValue])\n : minValue !== 0\n ? chartValue.toString()\n : chartValueFormat === GaugeValueFormat.Fraction\n ? `${chartValue}/${maxValue}`\n : `${((chartValue / maxValue) * 100).toFixed()}%`;\n};\n\ninterface IYValue extends Omit<IYValueHover, 'y'> {\n y?: string | number;\n}\nexport interface IGaugeChartState {\n hoveredLegend: string;\n selectedLegends: string[];\n focusedElement?: string;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n calloutTarget: any;\n isCalloutVisible: boolean;\n hoverXValue: string | number;\n hoverYValues: IYValue[];\n width: number;\n height: number;\n}\nexport interface IExtendedSegment extends IGaugeChartSegment {\n start: number;\n end: number;\n}\n\nexport class GaugeChartBase extends React.Component<IGaugeChartProps, IGaugeChartState> implements IChart {\n private _classNames: IProcessedStyleSet<IGaugeChartStyles>;\n private _isRTL: boolean;\n private _innerRadius: number;\n private _outerRadius: number;\n private _minValue: number;\n private _maxValue: number;\n private _segments: IExtendedSegment[];\n private _calloutAnchor: string;\n private _rootElem: HTMLDivElement | null;\n private _margins: { left: number; right: number; top: number; bottom: number };\n private _legendsHeight: number;\n private _legendsRef: React.RefObject<ILegendContainer>;\n\n constructor(props: IGaugeChartProps) {\n super(props);\n\n initializeComponentRef(this);\n\n this._margins = this._getMargins();\n this._legendsHeight = !props.hideLegend ? 24 : 0;\n\n this.state = {\n hoveredLegend: '',\n selectedLegends: props.legendProps?.selectedLegends || [],\n focusedElement: '',\n calloutTarget: null,\n isCalloutVisible: false,\n hoverXValue: '',\n hoverYValues: [],\n width: 140 + this._margins.left + this._margins.right,\n height: 70 + this._margins.top + this._margins.bottom + this._legendsHeight,\n };\n\n this._isRTL = getRTL(props.theme);\n this._calloutAnchor = '';\n this._legendsRef = React.createRef();\n }\n\n public componentDidMount(): void {\n if (this._rootElem) {\n this.setState({\n width: this._rootElem.clientWidth,\n height: this._rootElem.clientHeight,\n });\n }\n }\n\n public componentDidUpdate(prevProps: IGaugeChartProps): void {\n if (!areArraysEqual(prevProps.legendProps?.selectedLegends, this.props.legendProps?.selectedLegends)) {\n this.setState({\n selectedLegends: this.props.legendProps?.selectedLegends || [],\n });\n }\n }\n\n public render(): React.ReactNode {\n this._margins = this._getMargins();\n this._legendsHeight = !this.props.hideLegend ? 24 : 0;\n\n const width = this.props.width || this.state.width;\n const height = this.props.height || this.state.height;\n\n this._outerRadius = Math.min(\n (width - (this._margins.left + this._margins.right)) / 2,\n height - (this._margins.top + this._margins.bottom + this._legendsHeight),\n );\n\n const { arcWidth, chartValueSize } = this._getStylesBasedOnBreakpoint();\n this._innerRadius = this._outerRadius - arcWidth;\n\n const { arcs } = this._processProps();\n\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n className: this.props.className,\n chartWidth: width,\n chartHeight: height - this._legendsHeight,\n chartValueSize,\n });\n\n return (\n <div className={this._classNames.root} ref={el => (this._rootElem = el)}>\n <FocusZone direction={FocusZoneDirection.horizontal}>\n <svg\n className={this._classNames.chart}\n role=\"region\"\n aria-label={this._getChartTitle()}\n onMouseLeave={this._handleMouseOut}\n >\n <g transform={`translate(${width / 2}, ${height - (this._margins.bottom + this._legendsHeight)})`}>\n {this.props.chartTitle && (\n <text\n x={0}\n y={-(this._outerRadius + TITLE_OFFSET)}\n textAnchor=\"middle\"\n className={this._classNames.chartTitle}\n aria-hidden={true}\n >\n {this.props.chartTitle}\n </text>\n )}\n {!this.props.hideMinMax && (\n <>\n <text\n x={(this._isRTL ? 1 : -1) * (this._outerRadius + LABEL_OFFSET)}\n y={0}\n textAnchor=\"end\"\n className={this._classNames.limits}\n role=\"img\"\n aria-label={`Min value: ${this._minValue}`}\n >\n {formatValueWithSIPrefix(this._minValue)}\n </text>\n <text\n x={(this._isRTL ? -1 : 1) * (this._outerRadius + LABEL_OFFSET)}\n y={0}\n textAnchor=\"start\"\n className={this._classNames.limits}\n role=\"img\"\n aria-label={`Max value: ${this._maxValue}`}\n >\n {formatValueWithSIPrefix(this._maxValue)}\n </text>\n </>\n )}\n {arcs.map((arc, index) => {\n const segment = this._segments[arc.segmentIndex];\n\n const clipId = getId('Arc_clip') + `${index}_${arc.startAngle}_${arc.endAngle}`;\n\n const arcClassNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n solidFill: this.props.enableGradient ? 'transparent' : segment.color!,\n gradientFill: `conic-gradient(\n from ${arc.startAngle}rad at 50% 100%,\n ${segment.gradient?.[0]},\n ${segment.gradient?.[1]} ${arc.endAngle - arc.startAngle}rad\n )`,\n opacity: this._legendHighlighted(segment.legend) || this._noLegendHighlighted() ? 1 : 0.1,\n });\n\n return (\n <React.Fragment key={index}>\n <path\n d={arc.d}\n strokeWidth={this.state.focusedElement === segment.legend ? ARC_PADDING : 0}\n className={arcClassNames.segment}\n {...getAccessibleDataObject(\n {\n ariaLabel: getSegmentLabel(segment, this._minValue, this._maxValue, this.props.variant, true),\n ...segment.accessibilityData,\n },\n 'img',\n true,\n )}\n onFocus={e => this._handleFocus(e, segment.legend)}\n onBlur={this._handleBlur}\n onMouseEnter={e => this._handleMouseOver(e, segment.legend)}\n onMouseMove={e => this._handleMouseOver(e, segment.legend)}\n data-is-focusable={this._legendHighlighted(segment.legend) || this._noLegendHighlighted()}\n />\n\n {this.props.enableGradient && (\n <>\n <clipPath id={clipId}>\n <path d={arc.d} />\n </clipPath>\n <foreignObject x=\"-50%\" y=\"-100%\" width=\"100%\" height=\"100%\" clipPath={`url(#${clipId})`}>\n <div className={arcClassNames.gradientSegment} />\n </foreignObject>\n </>\n )}\n </React.Fragment>\n );\n })}\n {this._renderNeedle()}\n <g\n onMouseEnter={e => this._handleMouseOver(e, 'Chart value')}\n onMouseMove={e => this._handleMouseOver(e, 'Chart value')}\n >\n <SVGTooltipText\n content={getChartValueLabel(\n this.props.chartValue,\n this._minValue,\n this._maxValue,\n this.props.chartValueFormat,\n )}\n textProps={{\n x: 0,\n y: 0,\n textAnchor: 'middle',\n className: this._classNames.chartValue,\n 'aria-hidden': 'true',\n }}\n maxWidth={this._innerRadius * 2 - 24}\n wrapContent={this._wrapContent}\n />\n </g>\n {this.props.sublabel && (\n <SVGTooltipText\n content={this.props.sublabel}\n textProps={{\n x: 0,\n y: 4,\n textAnchor: 'middle',\n dominantBaseline: 'hanging',\n className: this._classNames.sublabel,\n }}\n maxWidth={this._innerRadius * 2}\n wrapContent={this._wrapContent}\n />\n )}\n </g>\n </svg>\n </FocusZone>\n {this._renderLegends()}\n {!this.props.hideTooltip && this.state.isCalloutVisible && (\n <Callout\n target={this.state.calloutTarget}\n directionalHint={DirectionalHint.topAutoEdge}\n gapSpace={15}\n isBeakVisible={false}\n onDismiss={this._handleCalloutDismiss}\n {...this.props.calloutProps}\n >\n {this._multiValueCallout({\n hoverXValue: this.state.hoverXValue,\n YValueHover: this.state.hoverYValues,\n })}\n </Callout>\n )}\n </div>\n );\n }\n\n public get chartContainer(): HTMLElement | null {\n return this._rootElem;\n }\n\n public toImage = (opts?: IImageExportOptions): Promise<string> => {\n return toImage(this._rootElem, this._legendsRef.current?.toSVG, this._isRTL, opts);\n };\n\n private _getMargins = () => {\n const { hideMinMax, chartTitle, sublabel } = this.props;\n\n return {\n left: (!hideMinMax ? LABEL_OFFSET + LABEL_WIDTH : 0) + GAUGE_MARGIN,\n right: (!hideMinMax ? LABEL_OFFSET + LABEL_WIDTH : 0) + GAUGE_MARGIN,\n top: (chartTitle ? TITLE_OFFSET + LABEL_HEIGHT : EXTRA_NEEDLE_LENGTH / 2) + GAUGE_MARGIN,\n bottom: (sublabel ? LABEL_OFFSET + LABEL_HEIGHT : 0) + GAUGE_MARGIN,\n };\n };\n\n private _getStylesBasedOnBreakpoint = () => {\n for (let index = BREAKPOINTS.length - 1; index >= 0; index -= 1) {\n if (this._outerRadius >= BREAKPOINTS[index].minRadius) {\n return {\n arcWidth: BREAKPOINTS[index].arcWidth,\n chartValueSize: BREAKPOINTS[index].fontSize,\n };\n }\n }\n return {\n arcWidth: BREAKPOINTS[0].arcWidth,\n chartValueSize: BREAKPOINTS[0].fontSize,\n };\n };\n\n private _processProps = () => {\n const { minValue = 0, maxValue, theme } = this.props;\n\n let total = minValue;\n const segments: IExtendedSegment[] = this.props.segments.map((segment, index) => {\n const size = Math.max(segment.size, 0);\n total += size;\n return {\n legend: segment.legend,\n size,\n color:\n typeof segment.color !== 'undefined'\n ? getColorFromToken(segment.color, theme!.isInverted)\n : getNextColor(index, 0, theme!.isInverted),\n gradient: segment.gradient ?? getNextGradient(index, 0, theme!.isInverted),\n accessibilityData: segment.accessibilityData,\n start: total - size,\n end: total,\n };\n });\n if (typeof maxValue !== 'undefined' && total < maxValue) {\n segments.push({\n legend: 'Unknown',\n size: maxValue - total,\n color: theme!.palette.neutralLight,\n start: total,\n end: maxValue,\n });\n total = maxValue;\n }\n\n const arcGenerator = d3Arc()\n .cornerRadius(this.props.roundCorners ? 3 : 0)\n .padAngle(ARC_PADDING / this._outerRadius)\n .padRadius(this._outerRadius);\n const rtlSafeSegments = this._isRTL ? Array.from(segments).reverse() : segments;\n let prevAngle = -Math.PI / 2;\n const arcs = rtlSafeSegments.map((segment, index) => {\n const endAngle = prevAngle + (segment.size / (total - minValue)) * Math.PI;\n const d = arcGenerator({\n innerRadius: this._innerRadius,\n outerRadius: this._outerRadius,\n startAngle: prevAngle,\n endAngle,\n })!;\n prevAngle = endAngle;\n return {\n d,\n segmentIndex: this._isRTL ? segments.length - 1 - index : index,\n startAngle: prevAngle - (segment.size / (total - minValue)) * Math.PI,\n endAngle,\n };\n });\n\n this._minValue = minValue;\n this._maxValue = total;\n this._segments = segments;\n\n return {\n arcs,\n };\n };\n\n private _renderNeedle = () => {\n const needleRotation = calcNeedleRotation(this.props.chartValue, this._minValue, this._maxValue);\n const rtlSafeNeedleRotation = this._isRTL ? 180 - needleRotation : needleRotation;\n const strokeWidth = 2;\n const halfStrokeWidth = strokeWidth / 2;\n const needleLength = this._outerRadius - this._innerRadius + EXTRA_NEEDLE_LENGTH;\n\n return (\n <g transform={`rotate(${rtlSafeNeedleRotation}, 0, 0)`}>\n <path\n d={`\n M 0,${-halfStrokeWidth - 3}\n L ${-needleLength},${-halfStrokeWidth - 1}\n A ${halfStrokeWidth + 1},${halfStrokeWidth + 1},0,0,0,${-needleLength},${halfStrokeWidth + 1}\n L 0,${halfStrokeWidth + 3}\n A ${halfStrokeWidth + 3},${halfStrokeWidth + 3},0,0,0,0,${-halfStrokeWidth - 3}\n `}\n strokeWidth={strokeWidth}\n className={this._classNames.needle}\n transform={`translate(${-this._innerRadius + EXTRA_NEEDLE_LENGTH / 2})`}\n data-is-focusable={true}\n onFocus={e => this._handleFocus(e, 'Needle')}\n onBlur={this._handleBlur}\n onMouseEnter={e => this._handleMouseOver(e, 'Needle')}\n onMouseMove={e => this._handleMouseOver(e, 'Needle')}\n role=\"img\"\n aria-label={\n 'Current value: ' +\n getChartValueLabel(this.props.chartValue, this._minValue, this._maxValue, this.props.chartValueFormat)\n }\n />\n </g>\n );\n };\n\n private _renderLegends = () => {\n if (this.props.hideLegend) {\n return null;\n }\n\n const legends: ILegend[] = this._segments.map((segment, index) => {\n const color: string = this.props.enableGradient\n ? segment.gradient?.[0] || getNextGradient(index, 0, this.props.theme!.isInverted)[0]\n : segment.color || getNextColor(index, 0, this.props.theme!.isInverted);\n\n return {\n title: segment.legend,\n color,\n hoverAction: () => {\n this.setState({ hoveredLegend: segment.legend });\n },\n onMouseOutAction: () => {\n this.setState({ hoveredLegend: '' });\n },\n };\n });\n\n return (\n <div className={this._classNames.legendsContainer}>\n <Legends\n legends={legends}\n centerLegends\n {...this.props.legendProps}\n // eslint-disable-next-line react/jsx-no-bind\n onChange={this._onLegendSelectionChange.bind(this)}\n ref={this._legendsRef}\n />\n </div>\n );\n };\n\n private _onLegendSelectionChange(\n selectedLegends: string[],\n event: React.MouseEvent<HTMLButtonElement>,\n currentLegend?: ILegend,\n ): void {\n if (this.props.legendProps?.canSelectMultipleLegends) {\n this.setState({ selectedLegends });\n } else {\n this.setState({ selectedLegends: selectedLegends.slice(-1) });\n }\n if (this.props.legendProps?.onChange) {\n this.props.legendProps.onChange(selectedLegends, event, currentLegend);\n }\n }\n\n /**\n * This function checks if the given legend is highlighted or not.\n * A legend can be highlighted in 2 ways:\n * 1. selection: if the user clicks on it\n * 2. hovering: if there is no selected legend and the user hovers over it\n */\n private _legendHighlighted = (legend: string) => {\n return this._getHighlightedLegend().includes(legend!);\n };\n\n /**\n * This function checks if none of the legends is selected or hovered.\n */\n private _noLegendHighlighted = () => {\n return this._getHighlightedLegend().length === 0;\n };\n\n private _getHighlightedLegend() {\n return this.state.selectedLegends.length > 0\n ? this.state.selectedLegends\n : this.state.hoveredLegend\n ? [this.state.hoveredLegend]\n : [];\n }\n\n private _handleFocus = (focusEvent: React.FocusEvent<SVGElement>, focusedElement: string) => {\n this._showCallout(focusEvent.target, focusedElement, true);\n };\n\n private _handleBlur = () => {\n this._hideCallout(true);\n };\n\n private _handleMouseOver = (mouseEvent: React.MouseEvent<SVGElement>, hoveredElement: string) => {\n this._showCallout(mouseEvent.target, hoveredElement, false);\n };\n\n private _handleMouseOut = () => {\n this._hideCallout(false);\n };\n\n private _handleCalloutDismiss = () => {\n this._hideCallout(false);\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _showCallout = (target: any, legend: string, isFocusEvent: boolean) => {\n if (this._calloutAnchor === legend) {\n return;\n }\n\n this._calloutAnchor = legend;\n const hoverXValue: string =\n 'Current value is ' +\n getChartValueLabel(this.props.chartValue, this._minValue, this._maxValue, this.props.chartValueFormat, true);\n const hoverYValues: IYValue[] = this._segments.map(segment => {\n const yValue: IYValue = {\n legend: segment.legend,\n y: getSegmentLabel(segment, this._minValue, this._maxValue, this.props.variant),\n color: this.props.enableGradient ? segment.gradient?.[0] : segment.color,\n };\n return yValue;\n });\n this.setState({\n calloutTarget: target,\n /** Show the callout if highlighted arc is hovered/focused and Hide it if unhighlighted arc is hovered/focused */\n isCalloutVisible:\n ['Needle', 'Chart value'].includes(legend) || this._noLegendHighlighted() || this._legendHighlighted(legend),\n hoverXValue,\n hoverYValues,\n ...(isFocusEvent ? { focusedElement: legend } : {}),\n });\n };\n\n private _hideCallout = (isBlurEvent?: boolean) => {\n this._calloutAnchor = '';\n this.setState({\n calloutTarget: null,\n isCalloutVisible: false,\n hoverXValue: '',\n hoverYValues: [],\n ...(isBlurEvent ? { focusedElement: '' } : {}),\n });\n };\n\n private _wrapContent = (content: string, id: string, maxWidth: number) => {\n const textElement = d3Select<SVGTextElement, {}>(`#${id}`);\n textElement.text(content);\n if (!textElement.node()) {\n return false;\n }\n\n let isOverflowing = false;\n let textLength = textElement.node()!.getComputedTextLength();\n while (textLength > maxWidth && content.length > 0) {\n content = content.slice(0, -1);\n textElement.text(content + '...');\n isOverflowing = true;\n textLength = textElement.node()!.getComputedTextLength();\n }\n return isOverflowing;\n };\n\n // TO DO: Write a common functional component for Multi value callout and divide sub count method\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _multiValueCallout = (calloutProps: any) => {\n const yValueHoverSubCountsExists: boolean = this._yValueHoverSubCountsExists(calloutProps.YValueHover);\n return (\n <div className={this._classNames.calloutContentRoot}>\n <div\n className={this._classNames.calloutDateTimeContainer}\n style={yValueHoverSubCountsExists ? { marginBottom: '11px' } : {}}\n >\n <div\n className={this._classNames.calloutContentX}\n {...getAccessibleDataObject(calloutProps!.xAxisCalloutAccessibilityData, 'text', false)}\n >\n {convertToLocaleString(calloutProps!.hoverXValue, this.props.culture)}\n </div>\n </div>\n <div\n className={this._classNames.calloutInfoContainer}\n style={yValueHoverSubCountsExists ? { display: 'flex' } : {}}\n >\n {calloutProps!.YValueHover &&\n calloutProps!.YValueHover.map((yValue: IYValueHover, index: number, yValues: IYValueHover[]) => {\n const isLast: boolean = index + 1 === yValues.length;\n const { shouldDrawBorderBottom = false } = yValue;\n return (\n <div\n {...getAccessibleDataObject(yValue.callOutAccessibilityData, 'text', false)}\n key={`callout-content-${index}`}\n style={\n yValueHoverSubCountsExists\n ? {\n display: 'inline-block',\n ...(shouldDrawBorderBottom && {\n borderBottom: `1px solid ${this.props.theme!.semanticColors.menuDivider}`,\n paddingBottom: '10px',\n }),\n }\n : {\n ...(shouldDrawBorderBottom && {\n borderBottom: `1px solid ${this.props.theme!.semanticColors.menuDivider}`,\n paddingBottom: '10px',\n }),\n }\n }\n >\n {this._getCalloutContent(yValue, index, yValueHoverSubCountsExists, isLast)}\n </div>\n );\n })}\n {!!calloutProps.descriptionMessage && (\n <div className={this._classNames.descriptionMessage}>{calloutProps.descriptionMessage}</div>\n )}\n </div>\n </div>\n );\n };\n\n private _yValueHoverSubCountsExists(yValueHover?: IYValueHover[]) {\n if (yValueHover) {\n return yValueHover.some(\n (yValue: {\n legend?: string;\n y?: number;\n color?: string;\n yAxisCalloutData?: string | { [id: string]: number };\n }) => yValue.yAxisCalloutData && typeof yValue.yAxisCalloutData !== 'string',\n );\n }\n return false;\n }\n\n private _getCalloutContent(\n xValue: IYValueHover,\n index: number,\n yValueHoverSubCountsExists: boolean,\n isLast: boolean,\n ): React.ReactNode {\n const marginStyle: React.CSSProperties = isLast ? {} : { marginRight: '16px' };\n const toDrawShape = xValue.index !== undefined && xValue.index !== -1;\n const _classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n lineColor: xValue.color,\n toDrawShape,\n });\n\n const { culture } = this.props;\n const yValue = convertToLocaleString(xValue.y, culture);\n if (!xValue.yAxisCalloutData || typeof xValue.yAxisCalloutData === 'string') {\n return (\n <div style={yValueHoverSubCountsExists ? marginStyle : {}}>\n {yValueHoverSubCountsExists && (\n <div className=\"ms-fontWeight-semibold\" style={{ fontSize: '12pt' }}>\n {xValue.legend!} ({yValue})\n </div>\n )}\n <div id={`${index}_${xValue.y}`} className={_classNames.calloutBlockContainer}>\n {toDrawShape && (\n <Shape\n svgProps={{\n className: _classNames.shapeStyles,\n }}\n pathProps={{ fill: xValue.color }}\n shape={Points[xValue.index! % Object.keys(pointTypes).length] as LegendShape}\n />\n )}\n <div>\n <div className={_classNames.calloutlegendText}> {xValue.legend}</div>\n <div className={_classNames.calloutContentY}>\n {convertToLocaleString(\n xValue.yAxisCalloutData ? xValue.yAxisCalloutData : xValue.y || xValue.data,\n culture,\n )}\n </div>\n </div>\n </div>\n </div>\n );\n } else {\n const subcounts: { [id: string]: number } = xValue.yAxisCalloutData as { [id: string]: number };\n return (\n <div style={marginStyle}>\n <div className=\"ms-fontWeight-semibold\" style={{ fontSize: '12pt' }}>\n {xValue.legend!} ({yValue})\n </div>\n {Object.keys(subcounts).map((subcountName: string) => {\n return (\n <div key={subcountName} className={_classNames.calloutBlockContainer}>\n <div className={_classNames.calloutlegendText}> {convertToLocaleString(subcountName, culture)}</div>\n <div className={_classNames.calloutContentY}>\n {convertToLocaleString(subcounts[subcountName], culture)}\n </div>\n </div>\n );\n })}\n </div>\n );\n }\n }\n\n private _getChartTitle = (): string => {\n const { chartTitle } = this.props;\n return (chartTitle ? `${chartTitle}. ` : '') + `Gauge chart with ${this._segments.length} segments. `;\n };\n}\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { styled } from '@fluentui/react';
|
|
2
|
-
import { GaugeChartBase } from './GaugeChart.base';
|
|
3
|
-
import { getStyles } from './GaugeChart.styles';
|
|
4
|
-
/**
|
|
5
|
-
* Gaugechart component.
|
|
6
|
-
* {@docCategory GaugeChart}
|
|
7
|
-
*/
|
|
8
|
-
export var GaugeChart = styled(GaugeChartBase, getStyles);
|
|
9
|
-
//# sourceMappingURL=GaugeChart.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GaugeChart.js","sourceRoot":"../src/","sources":["components/GaugeChart/GaugeChart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD;;;GAGG;AACH,MAAM,CAAC,IAAM,UAAU,GAA8C,MAAM,CAIzE,cAAc,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import { styled } from '@fluentui/react';\nimport * as React from 'react';\nimport { GaugeChartBase } from './GaugeChart.base';\nimport { getStyles } from './GaugeChart.styles';\nimport { IGaugeChartProps, IGaugeChartStyleProps, IGaugeChartStyles } from './GaugeChart.types';\n\n/**\n * Gaugechart component.\n * {@docCategory GaugeChart}\n */\nexport const GaugeChart: React.FunctionComponent<IGaugeChartProps> = styled<\n IGaugeChartProps,\n IGaugeChartStyleProps,\n IGaugeChartStyles\n>(GaugeChartBase, getStyles);\n"]}
|