@fluentui/react-charting 5.23.61 → 5.23.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +22 -1
- package/CHANGELOG.md +12 -2
- package/package.json +2 -1
- package/dist/react-charting.d.ts +0 -4557
- package/dist/react-charting.js +0 -1
- package/dist/react-charting.min.js +0 -1
- package/lib/AreaChart.d.ts +0 -1
- package/lib/AreaChart.js +0 -2
- package/lib/AreaChart.js.map +0 -1
- package/lib/CartesianChart.d.ts +0 -1
- package/lib/CartesianChart.js +0 -2
- package/lib/CartesianChart.js.map +0 -1
- package/lib/DeclarativeChart.d.ts +0 -1
- package/lib/DeclarativeChart.js +0 -2
- package/lib/DeclarativeChart.js.map +0 -1
- package/lib/DonutChart.d.ts +0 -1
- package/lib/DonutChart.js +0 -2
- package/lib/DonutChart.js.map +0 -1
- package/lib/GaugeChart.d.ts +0 -1
- package/lib/GaugeChart.js +0 -2
- package/lib/GaugeChart.js.map +0 -1
- package/lib/GroupedVerticalBarChart.d.ts +0 -1
- package/lib/GroupedVerticalBarChart.js +0 -2
- package/lib/GroupedVerticalBarChart.js.map +0 -1
- package/lib/HeatMapChart.d.ts +0 -1
- package/lib/HeatMapChart.js +0 -2
- package/lib/HeatMapChart.js.map +0 -1
- package/lib/HorizontalBarChart.d.ts +0 -1
- package/lib/HorizontalBarChart.js +0 -2
- package/lib/HorizontalBarChart.js.map +0 -1
- package/lib/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib/HorizontalBarChartWithAxis.js +0 -2
- package/lib/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib/Legends.d.ts +0 -1
- package/lib/Legends.js +0 -2
- package/lib/Legends.js.map +0 -1
- package/lib/LineChart.d.ts +0 -1
- package/lib/LineChart.js +0 -2
- package/lib/LineChart.js.map +0 -1
- package/lib/PieChart.d.ts +0 -1
- package/lib/PieChart.js +0 -2
- package/lib/PieChart.js.map +0 -1
- package/lib/ResponsiveContainer.d.ts +0 -1
- package/lib/ResponsiveContainer.js +0 -2
- package/lib/ResponsiveContainer.js.map +0 -1
- package/lib/SankeyChart.d.ts +0 -1
- package/lib/SankeyChart.js +0 -2
- package/lib/SankeyChart.js.map +0 -1
- package/lib/Sparkline.d.ts +0 -1
- package/lib/Sparkline.js +0 -2
- package/lib/Sparkline.js.map +0 -1
- package/lib/StackedBarChart.d.ts +0 -1
- package/lib/StackedBarChart.js +0 -2
- package/lib/StackedBarChart.js.map +0 -1
- package/lib/Styling.d.ts +0 -2
- package/lib/Styling.js +0 -8
- package/lib/Styling.js.map +0 -1
- package/lib/TreeChart.d.ts +0 -1
- package/lib/TreeChart.js +0 -2
- package/lib/TreeChart.js.map +0 -1
- package/lib/Utilities.d.ts +0 -2
- package/lib/Utilities.js +0 -2
- package/lib/Utilities.js.map +0 -1
- package/lib/VerticalBarChart.d.ts +0 -1
- package/lib/VerticalBarChart.js +0 -2
- package/lib/VerticalBarChart.js.map +0 -1
- package/lib/VerticalStackedBarChart.d.ts +0 -1
- package/lib/VerticalStackedBarChart.js +0 -2
- package/lib/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.base.d.ts +0 -111
- package/lib/components/AreaChart/AreaChart.base.js +0 -722
- package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib/components/AreaChart/AreaChart.js +0 -10
- package/lib/components/AreaChart/AreaChart.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib/components/AreaChart/AreaChart.styles.js +0 -7
- package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.types.d.ts +0 -64
- package/lib/components/AreaChart/AreaChart.types.js +0 -2
- package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib/components/AreaChart/index.d.ts +0 -2
- package/lib/components/AreaChart/index.js +0 -3
- package/lib/components/AreaChart/index.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -65
- package/lib/components/CommonComponents/CartesianChart.base.js +0 -609
- package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib/components/CommonComponents/CartesianChart.js +0 -9
- package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib/components/CommonComponents/CartesianChart.styles.js +0 -175
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib/components/CommonComponents/index.d.ts +0 -2
- package/lib/components/CommonComponents/index.js +0 -3
- package/lib/components/CommonComponents/index.js.map +0 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib/components/DeclarativeChart/DeclarativeChart.js +0 -180
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib/components/DeclarativeChart/PlotlySchema.js +0 -4
- package/lib/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -739
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib/components/DeclarativeChart/index.d.ts +0 -1
- package/lib/components/DeclarativeChart/index.js +0 -2
- package/lib/components/DeclarativeChart/index.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib/components/DonutChart/Arc/Arc.js +0 -107
- package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib/components/DonutChart/Arc/Arc.styles.js +0 -35
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
- package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib/components/DonutChart/Arc/index.js +0 -3
- package/lib/components/DonutChart/Arc/index.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.base.d.ts +0 -61
- package/lib/components/DonutChart/DonutChart.base.js +0 -301
- package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib/components/DonutChart/DonutChart.js +0 -10
- package/lib/components/DonutChart/DonutChart.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib/components/DonutChart/DonutChart.styles.js +0 -30
- package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +0 -90
- package/lib/components/DonutChart/DonutChart.types.js +0 -2
- package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib/components/DonutChart/Pie/Pie.js +0 -75
- package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
- package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib/components/DonutChart/Pie/index.js +0 -3
- package/lib/components/DonutChart/Pie/index.js.map +0 -1
- package/lib/components/DonutChart/index.d.ts +0 -3
- package/lib/components/DonutChart/index.js +0 -4
- package/lib/components/DonutChart/index.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib/components/GaugeChart/GaugeChart.base.js +0 -472
- package/lib/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib/components/GaugeChart/GaugeChart.js +0 -9
- package/lib/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib/components/GaugeChart/GaugeChart.styles.js +0 -129
- package/lib/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib/components/GaugeChart/GaugeChart.types.js +0 -17
- package/lib/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib/components/GaugeChart/index.d.ts +0 -2
- package/lib/components/GaugeChart/index.js +0 -3
- package/lib/components/GaugeChart/index.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -495
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -10
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/index.js +0 -3
- package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
- package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -597
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib/components/HeatMapChart/HeatMapChart.js +0 -9
- package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -23
- package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
- package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib/components/HeatMapChart/index.d.ts +0 -2
- package/lib/components/HeatMapChart/index.js +0 -3
- package/lib/components/HeatMapChart/index.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -293
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -10
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -66
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -9
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib/components/HorizontalBarChart/index.js +0 -4
- package/lib/components/HorizontalBarChart/index.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -601
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -10
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -12
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -2
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib/components/HorizontalBarChartWithAxis/index.js +0 -3
- package/lib/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib/components/Legends/Legends.base.d.ts +0 -50
- package/lib/components/Legends/Legends.base.js +0 -329
- package/lib/components/Legends/Legends.base.js.map +0 -1
- package/lib/components/Legends/Legends.d.ts +0 -7
- package/lib/components/Legends/Legends.js +0 -9
- package/lib/components/Legends/Legends.js.map +0 -1
- package/lib/components/Legends/Legends.styles.d.ts +0 -10
- package/lib/components/Legends/Legends.styles.js +0 -120
- package/lib/components/Legends/Legends.styles.js.map +0 -1
- package/lib/components/Legends/Legends.types.d.ts +0 -259
- package/lib/components/Legends/Legends.types.js +0 -2
- package/lib/components/Legends/Legends.types.js.map +0 -1
- package/lib/components/Legends/index.d.ts +0 -3
- package/lib/components/Legends/index.js +0 -4
- package/lib/components/Legends/index.js.map +0 -1
- package/lib/components/Legends/shape.d.ts +0 -9
- package/lib/components/Legends/shape.js +0 -24
- package/lib/components/Legends/shape.js.map +0 -1
- package/lib/components/LineChart/LineChart.base.d.ts +0 -105
- package/lib/components/LineChart/LineChart.base.js +0 -966
- package/lib/components/LineChart/LineChart.base.js.map +0 -1
- package/lib/components/LineChart/LineChart.d.ts +0 -7
- package/lib/components/LineChart/LineChart.js +0 -10
- package/lib/components/LineChart/LineChart.js.map +0 -1
- package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib/components/LineChart/LineChart.styles.js +0 -7
- package/lib/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib/components/LineChart/LineChart.types.d.ts +0 -103
- package/lib/components/LineChart/LineChart.types.js +0 -2
- package/lib/components/LineChart/LineChart.types.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -90
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -40
- package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -38
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib/components/LineChart/index.d.ts +0 -3
- package/lib/components/LineChart/index.js +0 -4
- package/lib/components/LineChart/index.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.d.ts +0 -17
- package/lib/components/PieChart/Arc/Arc.js +0 -89
- package/lib/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib/components/PieChart/Arc/Arc.styles.js +0 -11
- package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -73
- package/lib/components/PieChart/Arc/Arc.types.js +0 -2
- package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib/components/PieChart/Arc/index.d.ts +0 -2
- package/lib/components/PieChart/Arc/index.js +0 -3
- package/lib/components/PieChart/Arc/index.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib/components/PieChart/Pie/Pie.js +0 -45
- package/lib/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
- package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -47
- package/lib/components/PieChart/Pie/Pie.types.js +0 -2
- package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib/components/PieChart/Pie/index.d.ts +0 -2
- package/lib/components/PieChart/Pie/index.js +0 -3
- package/lib/components/PieChart/Pie/index.js.map +0 -1
- package/lib/components/PieChart/PieChart.base.d.ts +0 -10
- package/lib/components/PieChart/PieChart.base.js +0 -46
- package/lib/components/PieChart/PieChart.base.js.map +0 -1
- package/lib/components/PieChart/PieChart.d.ts +0 -7
- package/lib/components/PieChart/PieChart.js +0 -10
- package/lib/components/PieChart/PieChart.js.map +0 -1
- package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib/components/PieChart/PieChart.styles.js +0 -29
- package/lib/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib/components/PieChart/PieChart.types.d.ts +0 -75
- package/lib/components/PieChart/PieChart.types.js +0 -2
- package/lib/components/PieChart/PieChart.types.js.map +0 -1
- package/lib/components/PieChart/index.d.ts +0 -2
- package/lib/components/PieChart/index.js +0 -3
- package/lib/components/PieChart/index.js.map +0 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js +0 -83
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -2
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib/components/ResponsiveContainer/index.js +0 -4
- package/lib/components/ResponsiveContainer/index.js.map +0 -1
- package/lib/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js +0 -17
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib/components/SankeyChart/SankeyChart.base.js +0 -919
- package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib/components/SankeyChart/SankeyChart.js +0 -10
- package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib/components/SankeyChart/SankeyChart.styles.js +0 -59
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
- package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib/components/SankeyChart/index.d.ts +0 -2
- package/lib/components/SankeyChart/index.js +0 -3
- package/lib/components/SankeyChart/index.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.base.d.ts +0 -23
- package/lib/components/Sparkline/Sparkline.base.js +0 -86
- package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib/components/Sparkline/Sparkline.js +0 -10
- package/lib/components/Sparkline/Sparkline.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib/components/Sparkline/Sparkline.styles.js +0 -10
- package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.types.d.ts +0 -59
- package/lib/components/Sparkline/Sparkline.types.js +0 -2
- package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib/components/Sparkline/index.d.ts +0 -2
- package/lib/components/Sparkline/index.js +0 -3
- package/lib/components/Sparkline/index.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -437
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -10
- package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -86
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -9
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -366
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib/components/StackedBarChart/StackedBarChart.js +0 -10
- package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -103
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/index.d.ts +0 -5
- package/lib/components/StackedBarChart/index.js +0 -6
- package/lib/components/StackedBarChart/index.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib/components/TreeChart/TreeChart.base.js +0 -321
- package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib/components/TreeChart/TreeChart.js +0 -9
- package/lib/components/TreeChart/TreeChart.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib/components/TreeChart/TreeChart.styles.js +0 -29
- package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib/components/TreeChart/TreeChart.types.js +0 -29
- package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib/components/TreeChart/index.d.ts +0 -2
- package/lib/components/TreeChart/index.js +0 -3
- package/lib/components/TreeChart/index.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -880
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -10
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib/components/VerticalBarChart/index.d.ts +0 -2
- package/lib/components/VerticalBarChart/index.js +0 -3
- package/lib/components/VerticalBarChart/index.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -816
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -10
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/index.js +0 -3
- package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib/index.d.ts +0 -44
- package/lib/index.js +0 -24
- package/lib/index.js.map +0 -1
- package/lib/types/IDataPoint.d.ts +0 -736
- package/lib/types/IDataPoint.js +0 -2
- package/lib/types/IDataPoint.js.map +0 -1
- package/lib/types/IEventAnnotation.d.ts +0 -6
- package/lib/types/IEventAnnotation.js +0 -2
- package/lib/types/IEventAnnotation.js.map +0 -1
- package/lib/types/ILegendDataItem.d.ts +0 -10
- package/lib/types/ILegendDataItem.js +0 -2
- package/lib/types/ILegendDataItem.js.map +0 -1
- package/lib/types/index.d.ts +0 -2
- package/lib/types/index.js +0 -3
- package/lib/types/index.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -98
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/index.js +0 -4
- package/lib/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib/utilities/FocusableTooltipText.js +0 -54
- package/lib/utilities/FocusableTooltipText.js.map +0 -1
- package/lib/utilities/SVGTooltipText.d.ts +0 -110
- package/lib/utilities/SVGTooltipText.js +0 -192
- package/lib/utilities/SVGTooltipText.js.map +0 -1
- package/lib/utilities/colors.d.ts +0 -52
- package/lib/utilities/colors.js +0 -154
- package/lib/utilities/colors.js.map +0 -1
- package/lib/utilities/gradients.d.ts +0 -30
- package/lib/utilities/gradients.js +0 -173
- package/lib/utilities/gradients.js.map +0 -1
- package/lib/utilities/image-export-utils.d.ts +0 -13
- package/lib/utilities/image-export-utils.js +0 -238
- package/lib/utilities/image-export-utils.js.map +0 -1
- package/lib/utilities/index.d.ts +0 -5
- package/lib/utilities/index.js +0 -6
- package/lib/utilities/index.js.map +0 -1
- package/lib/utilities/locale-util.d.ts +0 -3
- package/lib/utilities/locale-util.js +0 -18
- package/lib/utilities/locale-util.js.map +0 -1
- package/lib/utilities/test-data.d.ts +0 -43
- package/lib/utilities/test-data.js +0 -262
- package/lib/utilities/test-data.js.map +0 -1
- package/lib/utilities/utilities.d.ts +0 -418
- package/lib/utilities/utilities.js +0 -1224
- package/lib/utilities/utilities.js.map +0 -1
- package/lib/utilities/vbc-utils.d.ts +0 -2
- package/lib/utilities/vbc-utils.js +0 -31
- package/lib/utilities/vbc-utils.js.map +0 -1
- package/lib/version.d.ts +0 -1
- package/lib/version.js +0 -5
- package/lib/version.js.map +0 -1
- package/lib-amd/AreaChart.d.ts +0 -1
- package/lib-amd/AreaChart.js +0 -6
- package/lib-amd/AreaChart.js.map +0 -1
- package/lib-amd/CartesianChart.d.ts +0 -1
- package/lib-amd/CartesianChart.js +0 -6
- package/lib-amd/CartesianChart.js.map +0 -1
- package/lib-amd/DeclarativeChart.d.ts +0 -1
- package/lib-amd/DeclarativeChart.js +0 -6
- package/lib-amd/DeclarativeChart.js.map +0 -1
- package/lib-amd/DonutChart.d.ts +0 -1
- package/lib-amd/DonutChart.js +0 -6
- package/lib-amd/DonutChart.js.map +0 -1
- package/lib-amd/GaugeChart.d.ts +0 -1
- package/lib-amd/GaugeChart.js +0 -6
- package/lib-amd/GaugeChart.js.map +0 -1
- package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
- package/lib-amd/GroupedVerticalBarChart.js +0 -6
- package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/HeatMapChart.d.ts +0 -1
- package/lib-amd/HeatMapChart.js +0 -6
- package/lib-amd/HeatMapChart.js.map +0 -1
- package/lib-amd/HorizontalBarChart.d.ts +0 -1
- package/lib-amd/HorizontalBarChart.js +0 -6
- package/lib-amd/HorizontalBarChart.js.map +0 -1
- package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
- package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-amd/Legends.d.ts +0 -1
- package/lib-amd/Legends.js +0 -6
- package/lib-amd/Legends.js.map +0 -1
- package/lib-amd/LineChart.d.ts +0 -1
- package/lib-amd/LineChart.js +0 -6
- package/lib-amd/LineChart.js.map +0 -1
- package/lib-amd/PieChart.d.ts +0 -1
- package/lib-amd/PieChart.js +0 -6
- package/lib-amd/PieChart.js.map +0 -1
- package/lib-amd/ResponsiveContainer.d.ts +0 -1
- package/lib-amd/ResponsiveContainer.js +0 -6
- package/lib-amd/ResponsiveContainer.js.map +0 -1
- package/lib-amd/SankeyChart.d.ts +0 -1
- package/lib-amd/SankeyChart.js +0 -6
- package/lib-amd/SankeyChart.js.map +0 -1
- package/lib-amd/Sparkline.d.ts +0 -1
- package/lib-amd/Sparkline.js +0 -6
- package/lib-amd/Sparkline.js.map +0 -1
- package/lib-amd/StackedBarChart.d.ts +0 -1
- package/lib-amd/StackedBarChart.js +0 -6
- package/lib-amd/StackedBarChart.js.map +0 -1
- package/lib-amd/Styling.d.ts +0 -2
- package/lib-amd/Styling.js +0 -75
- package/lib-amd/Styling.js.map +0 -1
- package/lib-amd/TreeChart.d.ts +0 -1
- package/lib-amd/TreeChart.js +0 -6
- package/lib-amd/TreeChart.js.map +0 -1
- package/lib-amd/Utilities.d.ts +0 -2
- package/lib-amd/Utilities.js +0 -174
- package/lib-amd/Utilities.js.map +0 -1
- package/lib-amd/VerticalBarChart.d.ts +0 -1
- package/lib-amd/VerticalBarChart.js +0 -6
- package/lib-amd/VerticalBarChart.js.map +0 -1
- package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
- package/lib-amd/VerticalStackedBarChart.js +0 -6
- package/lib-amd/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -111
- package/lib-amd/components/AreaChart/AreaChart.base.js +0 -714
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib-amd/components/AreaChart/AreaChart.js +0 -12
- package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
- package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -64
- package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
- package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib-amd/components/AreaChart/index.d.ts +0 -2
- package/lib-amd/components/AreaChart/index.js +0 -7
- package/lib-amd/components/AreaChart/index.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -65
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -605
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
- package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -178
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib-amd/components/CommonComponents/index.d.ts +0 -2
- package/lib-amd/components/CommonComponents/index.js +0 -7
- package/lib-amd/components/CommonComponents/index.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +0 -169
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib-amd/components/DeclarativeChart/PlotlySchema.js +0 -7
- package/lib-amd/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -754
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib-amd/components/DeclarativeChart/index.d.ts +0 -1
- package/lib-amd/components/DeclarativeChart/index.js +0 -6
- package/lib-amd/components/DeclarativeChart/index.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib-amd/components/DonutChart/Arc/Arc.js +0 -105
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -40
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
- package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib-amd/components/DonutChart/Arc/index.js +0 -7
- package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -61
- package/lib-amd/components/DonutChart/DonutChart.base.js +0 -296
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib-amd/components/DonutChart/DonutChart.js +0 -12
- package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -90
- package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib-amd/components/DonutChart/Pie/Pie.js +0 -73
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
- package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/index.js +0 -7
- package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
- package/lib-amd/components/DonutChart/index.d.ts +0 -3
- package/lib-amd/components/DonutChart/index.js +0 -8
- package/lib-amd/components/DonutChart/index.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -467
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
- package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -133
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib-amd/components/GaugeChart/index.d.ts +0 -2
- package/lib-amd/components/GaugeChart/index.js +0 -7
- package/lib-amd/components/GaugeChart/index.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -489
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
- package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -588
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
- package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -28
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
- package/lib-amd/components/HeatMapChart/index.js +0 -7
- package/lib-amd/components/HeatMapChart/index.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -289
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib-amd/components/HorizontalBarChart/index.js +0 -8
- package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -594
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib-amd/components/Legends/Legends.base.d.ts +0 -50
- package/lib-amd/components/Legends/Legends.base.js +0 -325
- package/lib-amd/components/Legends/Legends.base.js.map +0 -1
- package/lib-amd/components/Legends/Legends.d.ts +0 -7
- package/lib-amd/components/Legends/Legends.js +0 -11
- package/lib-amd/components/Legends/Legends.js.map +0 -1
- package/lib-amd/components/Legends/Legends.styles.d.ts +0 -10
- package/lib-amd/components/Legends/Legends.styles.js +0 -124
- package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +0 -259
- package/lib-amd/components/Legends/Legends.types.js +0 -5
- package/lib-amd/components/Legends/Legends.types.js.map +0 -1
- package/lib-amd/components/Legends/index.d.ts +0 -3
- package/lib-amd/components/Legends/index.js +0 -8
- package/lib-amd/components/Legends/index.js.map +0 -1
- package/lib-amd/components/Legends/shape.d.ts +0 -9
- package/lib-amd/components/Legends/shape.js +0 -27
- package/lib-amd/components/Legends/shape.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -105
- package/lib-amd/components/LineChart/LineChart.base.js +0 -958
- package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
- package/lib-amd/components/LineChart/LineChart.js +0 -12
- package/lib-amd/components/LineChart/LineChart.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
- package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -103
- package/lib-amd/components/LineChart/LineChart.types.js +0 -5
- package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -91
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib-amd/components/LineChart/index.d.ts +0 -3
- package/lib-amd/components/LineChart/index.js +0 -8
- package/lib-amd/components/LineChart/index.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
- package/lib-amd/components/PieChart/Arc/Arc.js +0 -86
- package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
- package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
- package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
- package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
- package/lib-amd/components/PieChart/Arc/index.js +0 -7
- package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
- package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
- package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
- package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
- package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
- package/lib-amd/components/PieChart/Pie/index.js +0 -7
- package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
- package/lib-amd/components/PieChart/PieChart.base.js +0 -47
- package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
- package/lib-amd/components/PieChart/PieChart.js +0 -12
- package/lib-amd/components/PieChart/PieChart.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
- package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
- package/lib-amd/components/PieChart/PieChart.types.js +0 -5
- package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
- package/lib-amd/components/PieChart/index.d.ts +0 -2
- package/lib-amd/components/PieChart/index.js +0 -7
- package/lib-amd/components/PieChart/index.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +0 -86
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -5
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib-amd/components/ResponsiveContainer/index.js +0 -8
- package/lib-amd/components/ResponsiveContainer/index.js.map +0 -1
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +0 -19
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -916
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
- package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -63
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib-amd/components/SankeyChart/index.d.ts +0 -2
- package/lib-amd/components/SankeyChart/index.js +0 -7
- package/lib-amd/components/SankeyChart/index.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
- package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
- package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib-amd/components/Sparkline/Sparkline.js +0 -12
- package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
- package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
- package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
- package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib-amd/components/Sparkline/index.d.ts +0 -2
- package/lib-amd/components/Sparkline/index.js +0 -7
- package/lib-amd/components/Sparkline/index.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -432
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -362
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
- package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
- package/lib-amd/components/StackedBarChart/index.js +0 -10
- package/lib-amd/components/StackedBarChart/index.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib-amd/components/TreeChart/TreeChart.base.js +0 -319
- package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib-amd/components/TreeChart/TreeChart.js +0 -11
- package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
- package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
- package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib-amd/components/TreeChart/index.d.ts +0 -2
- package/lib-amd/components/TreeChart/index.js +0 -7
- package/lib-amd/components/TreeChart/index.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -873
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/index.js +0 -7
- package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -809
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
- package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib-amd/index.d.ts +0 -44
- package/lib-amd/index.js +0 -43
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/types/IDataPoint.d.ts +0 -736
- package/lib-amd/types/IDataPoint.js +0 -5
- package/lib-amd/types/IDataPoint.js.map +0 -1
- package/lib-amd/types/IEventAnnotation.d.ts +0 -6
- package/lib-amd/types/IEventAnnotation.js +0 -5
- package/lib-amd/types/IEventAnnotation.js.map +0 -1
- package/lib-amd/types/ILegendDataItem.d.ts +0 -10
- package/lib-amd/types/ILegendDataItem.js +0 -5
- package/lib-amd/types/ILegendDataItem.js.map +0 -1
- package/lib-amd/types/index.d.ts +0 -2
- package/lib-amd/types/index.js +0 -7
- package/lib-amd/types/index.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib-amd/utilities/FocusableTooltipText.js +0 -54
- package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
- package/lib-amd/utilities/SVGTooltipText.d.ts +0 -110
- package/lib-amd/utilities/SVGTooltipText.js +0 -192
- package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
- package/lib-amd/utilities/colors.d.ts +0 -52
- package/lib-amd/utilities/colors.js +0 -161
- package/lib-amd/utilities/colors.js.map +0 -1
- package/lib-amd/utilities/gradients.d.ts +0 -30
- package/lib-amd/utilities/gradients.js +0 -180
- package/lib-amd/utilities/gradients.js.map +0 -1
- package/lib-amd/utilities/image-export-utils.d.ts +0 -13
- package/lib-amd/utilities/image-export-utils.js +0 -241
- package/lib-amd/utilities/image-export-utils.js.map +0 -1
- package/lib-amd/utilities/index.d.ts +0 -5
- package/lib-amd/utilities/index.js +0 -10
- package/lib-amd/utilities/index.js.map +0 -1
- package/lib-amd/utilities/locale-util.d.ts +0 -3
- package/lib-amd/utilities/locale-util.js +0 -24
- package/lib-amd/utilities/locale-util.js.map +0 -1
- package/lib-amd/utilities/test-data.d.ts +0 -43
- package/lib-amd/utilities/test-data.js +0 -266
- package/lib-amd/utilities/test-data.js.map +0 -1
- package/lib-amd/utilities/utilities.d.ts +0 -418
- package/lib-amd/utilities/utilities.js +0 -1261
- package/lib-amd/utilities/utilities.js.map +0 -1
- package/lib-amd/utilities/vbc-utils.d.ts +0 -2
- package/lib-amd/utilities/vbc-utils.js +0 -38
- package/lib-amd/utilities/vbc-utils.js.map +0 -1
- package/lib-amd/version.d.ts +0 -1
- package/lib-amd/version.js +0 -6
- package/lib-amd/version.js.map +0 -1
- package/lib-commonjs/AreaChart.d.ts +0 -1
- package/lib-commonjs/AreaChart.js +0 -5
- package/lib-commonjs/AreaChart.js.map +0 -1
- package/lib-commonjs/CartesianChart.d.ts +0 -1
- package/lib-commonjs/CartesianChart.js +0 -5
- package/lib-commonjs/CartesianChart.js.map +0 -1
- package/lib-commonjs/DeclarativeChart.d.ts +0 -1
- package/lib-commonjs/DeclarativeChart.js +0 -5
- package/lib-commonjs/DeclarativeChart.js.map +0 -1
- package/lib-commonjs/DonutChart.d.ts +0 -1
- package/lib-commonjs/DonutChart.js +0 -5
- package/lib-commonjs/DonutChart.js.map +0 -1
- package/lib-commonjs/GaugeChart.d.ts +0 -1
- package/lib-commonjs/GaugeChart.js +0 -5
- package/lib-commonjs/GaugeChart.js.map +0 -1
- package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
- package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
- package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
- package/lib-commonjs/HeatMapChart.d.ts +0 -1
- package/lib-commonjs/HeatMapChart.js +0 -5
- package/lib-commonjs/HeatMapChart.js.map +0 -1
- package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
- package/lib-commonjs/HorizontalBarChart.js +0 -5
- package/lib-commonjs/HorizontalBarChart.js.map +0 -1
- package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +0 -1
- package/lib-commonjs/HorizontalBarChartWithAxis.js +0 -5
- package/lib-commonjs/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-commonjs/Legends.d.ts +0 -1
- package/lib-commonjs/Legends.js +0 -5
- package/lib-commonjs/Legends.js.map +0 -1
- package/lib-commonjs/LineChart.d.ts +0 -1
- package/lib-commonjs/LineChart.js +0 -5
- package/lib-commonjs/LineChart.js.map +0 -1
- package/lib-commonjs/PieChart.d.ts +0 -1
- package/lib-commonjs/PieChart.js +0 -5
- package/lib-commonjs/PieChart.js.map +0 -1
- package/lib-commonjs/ResponsiveContainer.d.ts +0 -1
- package/lib-commonjs/ResponsiveContainer.js +0 -5
- package/lib-commonjs/ResponsiveContainer.js.map +0 -1
- package/lib-commonjs/SankeyChart.d.ts +0 -1
- package/lib-commonjs/SankeyChart.js +0 -5
- package/lib-commonjs/SankeyChart.js.map +0 -1
- package/lib-commonjs/Sparkline.d.ts +0 -1
- package/lib-commonjs/Sparkline.js +0 -5
- package/lib-commonjs/Sparkline.js.map +0 -1
- package/lib-commonjs/StackedBarChart.d.ts +0 -1
- package/lib-commonjs/StackedBarChart.js +0 -5
- package/lib-commonjs/StackedBarChart.js.map +0 -1
- package/lib-commonjs/Styling.d.ts +0 -2
- package/lib-commonjs/Styling.js +0 -75
- package/lib-commonjs/Styling.js.map +0 -1
- package/lib-commonjs/TreeChart.d.ts +0 -1
- package/lib-commonjs/TreeChart.js +0 -5
- package/lib-commonjs/TreeChart.js.map +0 -1
- package/lib-commonjs/Utilities.d.ts +0 -2
- package/lib-commonjs/Utilities.js +0 -176
- package/lib-commonjs/Utilities.js.map +0 -1
- package/lib-commonjs/VerticalBarChart.d.ts +0 -1
- package/lib-commonjs/VerticalBarChart.js +0 -5
- package/lib-commonjs/VerticalBarChart.js.map +0 -1
- package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
- package/lib-commonjs/VerticalStackedBarChart.js +0 -5
- package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -111
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -725
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -7
- package/lib-commonjs/components/AreaChart/AreaChart.js +0 -13
- package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -64
- package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
- package/lib-commonjs/components/AreaChart/index.js +0 -6
- package/lib-commonjs/components/AreaChart/index.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -65
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -612
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -7
- package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -12
- package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -179
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -556
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
- package/lib-commonjs/components/CommonComponents/index.js +0 -6
- package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +0 -183
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js +0 -5
- package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -760
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
- package/lib-commonjs/components/DeclarativeChart/index.d.ts +0 -1
- package/lib-commonjs/components/DeclarativeChart/index.js +0 -5
- package/lib-commonjs/components/DeclarativeChart/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -22
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -110
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -39
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -165
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
- package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -61
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -304
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -7
- package/lib-commonjs/components/DonutChart/DonutChart.js +0 -13
- package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -34
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -90
- package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -78
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -23
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -106
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
- package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
- package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
- package/lib-commonjs/components/DonutChart/index.js +0 -7
- package/lib-commonjs/components/DonutChart/index.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +0 -82
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +0 -478
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +0 -7
- package/lib-commonjs/components/GaugeChart/GaugeChart.js +0 -12
- package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +0 -133
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +0 -273
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +0 -20
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +0 -1
- package/lib-commonjs/components/GaugeChart/index.d.ts +0 -2
- package/lib-commonjs/components/GaugeChart/index.js +0 -6
- package/lib-commonjs/components/GaugeChart/index.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -498
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -13
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -600
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -7
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -12
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -27
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
- package/lib-commonjs/components/HeatMapChart/index.js +0 -6
- package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -296
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -13
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -70
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -12
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
- package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -604
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -13
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -16
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -3
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +0 -6
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -50
- package/lib-commonjs/components/Legends/Legends.base.js +0 -332
- package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.d.ts +0 -7
- package/lib-commonjs/components/Legends/Legends.js +0 -12
- package/lib-commonjs/components/Legends/Legends.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -10
- package/lib-commonjs/components/Legends/Legends.styles.js +0 -124
- package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
- package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -259
- package/lib-commonjs/components/Legends/Legends.types.js +0 -3
- package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
- package/lib-commonjs/components/Legends/index.d.ts +0 -3
- package/lib-commonjs/components/Legends/index.js +0 -7
- package/lib-commonjs/components/Legends/index.js.map +0 -1
- package/lib-commonjs/components/Legends/shape.d.ts +0 -9
- package/lib-commonjs/components/Legends/shape.js +0 -28
- package/lib-commonjs/components/Legends/shape.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -105
- package/lib-commonjs/components/LineChart/LineChart.base.js +0 -969
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -7
- package/lib-commonjs/components/LineChart/LineChart.js +0 -13
- package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
- package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -103
- package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -94
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -44
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -42
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib-commonjs/components/LineChart/index.d.ts +0 -3
- package/lib-commonjs/components/LineChart/index.js +0 -7
- package/lib-commonjs/components/LineChart/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -17
- package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -92
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -3
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -15
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -73
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
- package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -48
- package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -47
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
- package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -10
- package/lib-commonjs/components/PieChart/PieChart.base.js +0 -49
- package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -7
- package/lib-commonjs/components/PieChart/PieChart.js +0 -13
- package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
- package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -75
- package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
- package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
- package/lib-commonjs/components/PieChart/index.d.ts +0 -2
- package/lib-commonjs/components/PieChart/index.js +0 -6
- package/lib-commonjs/components/PieChart/index.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +0 -87
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -3
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/index.d.ts +0 -3
- package/lib-commonjs/components/ResponsiveContainer/index.js +0 -7
- package/lib-commonjs/components/ResponsiveContainer/index.js.map +0 -1
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +0 -21
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -91
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -925
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -7
- package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -13
- package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -63
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -157
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
- package/lib-commonjs/components/SankeyChart/index.js +0 -6
- package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -23
- package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -89
- package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -7
- package/lib-commonjs/components/Sparkline/Sparkline.js +0 -13
- package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -59
- package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
- package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
- package/lib-commonjs/components/Sparkline/index.js +0 -6
- package/lib-commonjs/components/Sparkline/index.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -440
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -13
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -12
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -369
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -13
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -107
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
- package/lib-commonjs/components/StackedBarChart/index.js +0 -9
- package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -324
- package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -7
- package/lib-commonjs/components/TreeChart/TreeChart.js +0 -12
- package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -33
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -216
- package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -32
- package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
- package/lib-commonjs/components/TreeChart/index.js +0 -6
- package/lib-commonjs/components/TreeChart/index.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -883
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -13
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
- package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -819
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -13
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
- package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib-commonjs/index.d.ts +0 -44
- package/lib-commonjs/index.js +0 -64
- package/lib-commonjs/index.js.map +0 -1
- package/lib-commonjs/types/IDataPoint.d.ts +0 -736
- package/lib-commonjs/types/IDataPoint.js +0 -3
- package/lib-commonjs/types/IDataPoint.js.map +0 -1
- package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
- package/lib-commonjs/types/IEventAnnotation.js +0 -3
- package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
- package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
- package/lib-commonjs/types/ILegendDataItem.js +0 -3
- package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
- package/lib-commonjs/types/index.d.ts +0 -2
- package/lib-commonjs/types/index.js +0 -6
- package/lib-commonjs/types/index.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -102
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
- package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib-commonjs/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib-commonjs/utilities/FocusableTooltipText.js +0 -57
- package/lib-commonjs/utilities/FocusableTooltipText.js.map +0 -1
- package/lib-commonjs/utilities/SVGTooltipText.d.ts +0 -110
- package/lib-commonjs/utilities/SVGTooltipText.js +0 -195
- package/lib-commonjs/utilities/SVGTooltipText.js.map +0 -1
- package/lib-commonjs/utilities/colors.d.ts +0 -52
- package/lib-commonjs/utilities/colors.js +0 -160
- package/lib-commonjs/utilities/colors.js.map +0 -1
- package/lib-commonjs/utilities/gradients.d.ts +0 -30
- package/lib-commonjs/utilities/gradients.js +0 -178
- package/lib-commonjs/utilities/gradients.js.map +0 -1
- package/lib-commonjs/utilities/image-export-utils.d.ts +0 -13
- package/lib-commonjs/utilities/image-export-utils.js +0 -243
- package/lib-commonjs/utilities/image-export-utils.js.map +0 -1
- package/lib-commonjs/utilities/index.d.ts +0 -5
- package/lib-commonjs/utilities/index.js +0 -9
- package/lib-commonjs/utilities/index.js.map +0 -1
- package/lib-commonjs/utilities/locale-util.d.ts +0 -3
- package/lib-commonjs/utilities/locale-util.js +0 -22
- package/lib-commonjs/utilities/locale-util.js.map +0 -1
- package/lib-commonjs/utilities/test-data.d.ts +0 -43
- package/lib-commonjs/utilities/test-data.js +0 -265
- package/lib-commonjs/utilities/test-data.js.map +0 -1
- package/lib-commonjs/utilities/utilities.d.ts +0 -418
- package/lib-commonjs/utilities/utilities.js +0 -1269
- package/lib-commonjs/utilities/utilities.js.map +0 -1
- package/lib-commonjs/utilities/vbc-utils.d.ts +0 -2
- package/lib-commonjs/utilities/vbc-utils.js +0 -36
- package/lib-commonjs/utilities/vbc-utils.js.map +0 -1
- package/lib-commonjs/version.d.ts +0 -1
- package/lib-commonjs/version.js +0 -7
- package/lib-commonjs/version.js.map +0 -1
|
@@ -1,1261 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib", "d3-axis", "d3-array", "d3-scale", "d3-selection", "d3-format", "d3-time-format", "d3-time", "d3-format", "@fluentui/react"], function (require, exports, tslib_1, d3_axis_1, d3_array_1, d3_scale_1, d3_selection_1, d3_format_1, d3_time_format_1, d3_time_1, d3_format_2, react_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
var _a;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.createMeasurementSpan = exports.copyStyle = exports.resolveCSSVariables = exports.areArraysEqual = exports.getSecureProps = exports.formatDate = exports.isScalePaddingDefined = exports.getScalePadding = exports.getBarWidth = exports.formatValueWithSIPrefix = exports.wrapTextInsideDonut = exports.rotateXAxisLabels = exports.convertToLocaleString = exports.getAccessibleDataObject = exports.pointTypes = exports.CustomPoints = exports.Points = exports.getTypeOfAxis = exports.findHBCWANumericMinMaxOfY = exports.findVerticalNumericMinMaxOfY = exports.findVSBCNumericMinMaxOfY = exports.findNumericMinMaxOfY = exports.domainRageOfVerticalNumeric = exports.domainRangeOfDateForAreaLineVerticalBarChart = exports.domainRangeOfVSBCNumeric = exports.domainRangeOfXStringAxis = exports.domainRangeOfNumericForHorizontalBarChartWithAxis = exports.domainRangeOfNumericForAreaChart = exports.getXAxisType = exports.tooltipOfXAxislabels = exports.calculateLongestLabelWidth = exports.wrapContent = exports.createYAxisLabels = exports.createWrapOfXLabels = exports.silceOrAppendToArray = exports.getUnique = exports.calloutData = exports.createStringYAxis = exports.createStringYAxisForHorizontalBarChartWithAxis = exports.createNumericYAxis = exports.createYAxisForHorizontalBarChartWithAxis = exports.prepareDatapoints = exports.createStringXAxis = exports.createDateXAxis = exports.createNumericXAxis = exports.YAxisType = exports.XAxisTypes = exports.ChartTypes = void 0;
|
|
6
|
-
var ChartTypes;
|
|
7
|
-
(function (ChartTypes) {
|
|
8
|
-
ChartTypes[ChartTypes["AreaChart"] = 0] = "AreaChart";
|
|
9
|
-
ChartTypes[ChartTypes["LineChart"] = 1] = "LineChart";
|
|
10
|
-
ChartTypes[ChartTypes["VerticalBarChart"] = 2] = "VerticalBarChart";
|
|
11
|
-
ChartTypes[ChartTypes["VerticalStackedBarChart"] = 3] = "VerticalStackedBarChart";
|
|
12
|
-
ChartTypes[ChartTypes["GroupedVerticalBarChart"] = 4] = "GroupedVerticalBarChart";
|
|
13
|
-
ChartTypes[ChartTypes["HeatMapChart"] = 5] = "HeatMapChart";
|
|
14
|
-
ChartTypes[ChartTypes["HorizontalBarChartWithAxis"] = 6] = "HorizontalBarChartWithAxis";
|
|
15
|
-
})(ChartTypes || (exports.ChartTypes = ChartTypes = {}));
|
|
16
|
-
var XAxisTypes;
|
|
17
|
-
(function (XAxisTypes) {
|
|
18
|
-
XAxisTypes[XAxisTypes["NumericAxis"] = 0] = "NumericAxis";
|
|
19
|
-
XAxisTypes[XAxisTypes["DateAxis"] = 1] = "DateAxis";
|
|
20
|
-
XAxisTypes[XAxisTypes["StringAxis"] = 2] = "StringAxis";
|
|
21
|
-
})(XAxisTypes || (exports.XAxisTypes = XAxisTypes = {}));
|
|
22
|
-
var YAxisType;
|
|
23
|
-
(function (YAxisType) {
|
|
24
|
-
YAxisType[YAxisType["NumericAxis"] = 0] = "NumericAxis";
|
|
25
|
-
YAxisType[YAxisType["DateAxis"] = 1] = "DateAxis";
|
|
26
|
-
YAxisType[YAxisType["StringAxis"] = 2] = "StringAxis";
|
|
27
|
-
})(YAxisType || (exports.YAxisType = YAxisType = {}));
|
|
28
|
-
/**
|
|
29
|
-
* Create Numeric X axis
|
|
30
|
-
* @export
|
|
31
|
-
* @param {IXAxisParams} xAxisParams
|
|
32
|
-
*/
|
|
33
|
-
function createNumericXAxis(xAxisParams, tickParams, chartType, culture) {
|
|
34
|
-
var _a;
|
|
35
|
-
var domainNRangeValues = xAxisParams.domainNRangeValues, _b = xAxisParams.showRoundOffXTickValues, showRoundOffXTickValues = _b === void 0 ? false : _b, _c = xAxisParams.xAxistickSize, xAxistickSize = _c === void 0 ? 6 : _c, _d = xAxisParams.tickPadding, tickPadding = _d === void 0 ? 10 : _d, xAxisCount = xAxisParams.xAxisCount, xAxisElement = xAxisParams.xAxisElement, hideTickOverlap = xAxisParams.hideTickOverlap;
|
|
36
|
-
var xAxisScale = (0, d3_scale_1.scaleLinear)()
|
|
37
|
-
.domain([domainNRangeValues.dStartValue, domainNRangeValues.dEndValue])
|
|
38
|
-
.range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue]);
|
|
39
|
-
showRoundOffXTickValues && xAxisScale.nice();
|
|
40
|
-
var tickCount = xAxisCount !== null && xAxisCount !== void 0 ? xAxisCount : 6;
|
|
41
|
-
var tickFormat = function (domainValue, _index) {
|
|
42
|
-
if (tickParams.tickFormat) {
|
|
43
|
-
return (0, d3_format_1.format)(tickParams.tickFormat)(domainValue);
|
|
44
|
-
}
|
|
45
|
-
var xAxisValue = typeof domainValue === 'number' ? domainValue : domainValue.valueOf();
|
|
46
|
-
return (0, exports.convertToLocaleString)(xAxisValue, culture);
|
|
47
|
-
};
|
|
48
|
-
if (hideTickOverlap && typeof xAxisCount === 'undefined') {
|
|
49
|
-
var longestLabelWidth = (0, exports.calculateLongestLabelWidth)(xAxisScale.ticks().map(tickFormat), '[class^="xAxis-"] text') + 20;
|
|
50
|
-
var _e = xAxisScale.range(), start = _e[0], end = _e[1];
|
|
51
|
-
tickCount = Math.min(Math.max(1, Math.floor(Math.abs(end - start) / longestLabelWidth)), 10);
|
|
52
|
-
}
|
|
53
|
-
var xAxis = (0, d3_axis_1.axisBottom)(xAxisScale)
|
|
54
|
-
.tickSize(xAxistickSize)
|
|
55
|
-
.tickPadding(tickPadding)
|
|
56
|
-
.ticks(tickCount)
|
|
57
|
-
.tickFormat(tickFormat);
|
|
58
|
-
if (chartType === ChartTypes.HorizontalBarChartWithAxis) {
|
|
59
|
-
xAxis.tickSizeInner(-(xAxisParams.containerHeight - xAxisParams.margins.top));
|
|
60
|
-
}
|
|
61
|
-
if (tickParams.tickValues) {
|
|
62
|
-
xAxis.tickValues(tickParams.tickValues);
|
|
63
|
-
}
|
|
64
|
-
if (xAxisElement) {
|
|
65
|
-
(0, d3_selection_1.select)(xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
|
|
66
|
-
}
|
|
67
|
-
var tickValues = ((_a = tickParams.tickValues) !== null && _a !== void 0 ? _a : xAxisScale.ticks(tickCount)).map(xAxis.tickFormat());
|
|
68
|
-
return { xScale: xAxisScale, tickValues: tickValues };
|
|
69
|
-
}
|
|
70
|
-
exports.createNumericXAxis = createNumericXAxis;
|
|
71
|
-
function multiFormat(date, locale, useUTC) {
|
|
72
|
-
var timeFormat = locale ? (useUTC ? locale.utcFormat : locale.format) : useUTC ? d3_time_format_1.utcFormat : d3_time_format_1.timeFormat;
|
|
73
|
-
var formatMillisecond = timeFormat('.%L');
|
|
74
|
-
var formatSecond = timeFormat(':%S');
|
|
75
|
-
var formatMinute = timeFormat('%I:%M');
|
|
76
|
-
var formatHour = timeFormat('%I %p');
|
|
77
|
-
var formatDay = timeFormat('%a %d');
|
|
78
|
-
var formatWeek = timeFormat('%b %d');
|
|
79
|
-
var formatMonth = timeFormat('%B');
|
|
80
|
-
var formatYear = timeFormat('%Y');
|
|
81
|
-
var timeSecond = useUTC ? d3_time_1.utcSecond : d3_time_1.timeSecond;
|
|
82
|
-
var timeMinute = useUTC ? d3_time_1.utcMinute : d3_time_1.timeMinute;
|
|
83
|
-
var timeHour = useUTC ? d3_time_1.utcHour : d3_time_1.timeHour;
|
|
84
|
-
var timeDay = useUTC ? d3_time_1.utcDay : d3_time_1.timeDay;
|
|
85
|
-
var timeMonth = useUTC ? d3_time_1.utcMonth : d3_time_1.timeMonth;
|
|
86
|
-
var timeWeek = useUTC ? d3_time_1.utcWeek : d3_time_1.timeWeek;
|
|
87
|
-
var timeYear = useUTC ? d3_time_1.utcYear : d3_time_1.timeYear;
|
|
88
|
-
return (timeSecond(date) < date
|
|
89
|
-
? formatMillisecond
|
|
90
|
-
: timeMinute(date) < date
|
|
91
|
-
? formatSecond
|
|
92
|
-
: timeHour(date) < date
|
|
93
|
-
? formatMinute
|
|
94
|
-
: timeDay(date) < date
|
|
95
|
-
? formatHour
|
|
96
|
-
: timeMonth(date) < date
|
|
97
|
-
? timeWeek(date) < date
|
|
98
|
-
? formatDay
|
|
99
|
-
: formatWeek
|
|
100
|
-
: timeYear(date) < date
|
|
101
|
-
? formatMonth
|
|
102
|
-
: formatYear)(date);
|
|
103
|
-
}
|
|
104
|
-
function isPowerOf10(num) {
|
|
105
|
-
var roundedfinalYMax = handleFloatingPointPrecisionError(num);
|
|
106
|
-
return Math.log10(roundedfinalYMax) % 1 === 0;
|
|
107
|
-
}
|
|
108
|
-
//for reference, go through this 'https://docs.python.org/release/2.5.1/tut/node16.html'
|
|
109
|
-
function handleFloatingPointPrecisionError(num) {
|
|
110
|
-
var rounded = Math.round(num);
|
|
111
|
-
return Math.abs(num - rounded) < 1e-6 ? rounded : num;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Creating Date x axis of the Chart
|
|
115
|
-
* @export
|
|
116
|
-
* @param {IXAxisParams} xAxisParams
|
|
117
|
-
* @param {ITickParams} tickParams
|
|
118
|
-
*/
|
|
119
|
-
function createDateXAxis(xAxisParams, tickParams, culture, options, timeFormatLocale, customDateTimeFormatter, useUTC) {
|
|
120
|
-
var _a;
|
|
121
|
-
var domainNRangeValues = xAxisParams.domainNRangeValues, xAxisElement = xAxisParams.xAxisElement, _b = xAxisParams.tickPadding, tickPadding = _b === void 0 ? 6 : _b, _c = xAxisParams.xAxistickSize, xAxistickSize = _c === void 0 ? 6 : _c, xAxisCount = xAxisParams.xAxisCount, hideTickOverlap = xAxisParams.hideTickOverlap;
|
|
122
|
-
var xAxisScale = useUTC ? (0, d3_scale_1.scaleUtc)() : (0, d3_scale_1.scaleTime)();
|
|
123
|
-
xAxisScale
|
|
124
|
-
.domain([domainNRangeValues.dStartValue, domainNRangeValues.dEndValue])
|
|
125
|
-
.range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue]);
|
|
126
|
-
var tickCount = xAxisCount !== null && xAxisCount !== void 0 ? xAxisCount : 6;
|
|
127
|
-
var tickFormat = function (domainValue, _index) {
|
|
128
|
-
if (customDateTimeFormatter) {
|
|
129
|
-
return customDateTimeFormatter(domainValue);
|
|
130
|
-
}
|
|
131
|
-
if (culture && options) {
|
|
132
|
-
return domainValue.toLocaleString(culture, options);
|
|
133
|
-
}
|
|
134
|
-
if (timeFormatLocale) {
|
|
135
|
-
var locale = (0, d3_time_format_1.timeFormatLocale)(timeFormatLocale);
|
|
136
|
-
return multiFormat(domainValue, locale, useUTC);
|
|
137
|
-
}
|
|
138
|
-
if (culture === undefined && tickParams.tickFormat) {
|
|
139
|
-
if (useUTC) {
|
|
140
|
-
return (0, d3_time_format_1.utcFormat)(tickParams.tickFormat)(domainValue);
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
return (0, d3_time_format_1.timeFormat)(tickParams.tickFormat)(domainValue);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
return multiFormat(domainValue, undefined, useUTC);
|
|
147
|
-
};
|
|
148
|
-
if (hideTickOverlap && typeof xAxisCount === 'undefined') {
|
|
149
|
-
var longestLabelWidth = (0, exports.calculateLongestLabelWidth)(xAxisScale.ticks().map(tickFormat), '[class^="xAxis-"] text') + 40;
|
|
150
|
-
var _d = xAxisScale.range(), start = _d[0], end = _d[1];
|
|
151
|
-
tickCount = Math.min(Math.max(1, Math.floor(Math.abs(end - start) / longestLabelWidth)), 10);
|
|
152
|
-
}
|
|
153
|
-
var xAxis = (0, d3_axis_1.axisBottom)(xAxisScale)
|
|
154
|
-
.tickSize(xAxistickSize)
|
|
155
|
-
.tickPadding(tickPadding)
|
|
156
|
-
.ticks(tickCount)
|
|
157
|
-
.tickFormat(tickFormat);
|
|
158
|
-
tickParams.tickValues ? xAxis.tickValues(tickParams.tickValues) : '';
|
|
159
|
-
if (xAxisElement) {
|
|
160
|
-
(0, d3_selection_1.select)(xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
|
|
161
|
-
}
|
|
162
|
-
var tickValues = ((_a = tickParams.tickValues) !== null && _a !== void 0 ? _a : xAxisScale.ticks(tickCount)).map(xAxis.tickFormat());
|
|
163
|
-
return { xScale: xAxisScale, tickValues: tickValues };
|
|
164
|
-
}
|
|
165
|
-
exports.createDateXAxis = createDateXAxis;
|
|
166
|
-
/**
|
|
167
|
-
* Create String X axis
|
|
168
|
-
* Currently using for only Vetical stacked bar chart and grouped vertical bar chart
|
|
169
|
-
* @export
|
|
170
|
-
* @param {IXAxisParams} xAxisParams
|
|
171
|
-
* @param {ITickParams} tickParams
|
|
172
|
-
* @param {string[]} dataset
|
|
173
|
-
* @returns
|
|
174
|
-
*/
|
|
175
|
-
function createStringXAxis(xAxisParams, tickParams, dataset, culture) {
|
|
176
|
-
var _a;
|
|
177
|
-
var domainNRangeValues = xAxisParams.domainNRangeValues, _b = xAxisParams.xAxistickSize, xAxistickSize = _b === void 0 ? 6 : _b, _c = xAxisParams.tickPadding, tickPadding = _c === void 0 ? 10 : _c, _d = xAxisParams.xAxisPadding, xAxisPadding = _d === void 0 ? 0.1 : _d, xAxisInnerPadding = xAxisParams.xAxisInnerPadding, xAxisOuterPadding = xAxisParams.xAxisOuterPadding, containerWidth = xAxisParams.containerWidth, hideTickOverlap = xAxisParams.hideTickOverlap;
|
|
178
|
-
var xAxisScale = (0, d3_scale_1.scaleBand)()
|
|
179
|
-
.domain(dataset)
|
|
180
|
-
.range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue])
|
|
181
|
-
.paddingInner(typeof xAxisInnerPadding !== 'undefined' ? xAxisInnerPadding : xAxisPadding)
|
|
182
|
-
.paddingOuter(typeof xAxisOuterPadding !== 'undefined' ? xAxisOuterPadding : xAxisPadding);
|
|
183
|
-
var tickValues = (_a = tickParams.tickValues) !== null && _a !== void 0 ? _a : dataset;
|
|
184
|
-
if (hideTickOverlap) {
|
|
185
|
-
var nonOverlappingTickValues = [];
|
|
186
|
-
// Here, we need the width of each individual label to detect overlaps,
|
|
187
|
-
// but calculateLongestLabelWidth returns the maximum pixel width from an array of labels.
|
|
188
|
-
// So call this function separately for each label, instead of the entire array.
|
|
189
|
-
var tickSizes = tickValues.map(function (value) { return (0, exports.calculateLongestLabelWidth)([value], '[class^="xAxis-"] text'); });
|
|
190
|
-
// for LTR
|
|
191
|
-
var start = 0;
|
|
192
|
-
var end = containerWidth;
|
|
193
|
-
var sign = 1;
|
|
194
|
-
var range = xAxisScale.range();
|
|
195
|
-
if (range[1] - range[0] < 0) {
|
|
196
|
-
// for RTL
|
|
197
|
-
start = containerWidth;
|
|
198
|
-
end = 0;
|
|
199
|
-
sign = -1;
|
|
200
|
-
}
|
|
201
|
-
for (var i = tickValues.length - 1; i >= 0; i--) {
|
|
202
|
-
var tickPosition = xAxisScale(tickValues[i]);
|
|
203
|
-
if (sign * (tickPosition - (sign * tickSizes[i]) / 2 - start) >= 0 &&
|
|
204
|
-
sign * (tickPosition + (sign * tickSizes[i]) / 2 - end) <= 0) {
|
|
205
|
-
nonOverlappingTickValues.push(tickValues[i]);
|
|
206
|
-
end = tickPosition - sign * (tickSizes[i] / 2 + 10);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
nonOverlappingTickValues = nonOverlappingTickValues.reverse();
|
|
210
|
-
tickValues = nonOverlappingTickValues;
|
|
211
|
-
}
|
|
212
|
-
var xAxis = (0, d3_axis_1.axisBottom)(xAxisScale).tickSize(xAxistickSize).tickPadding(tickPadding).tickValues(tickValues);
|
|
213
|
-
if (xAxisParams.xAxisElement) {
|
|
214
|
-
(0, d3_selection_1.select)(xAxisParams.xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
|
|
215
|
-
}
|
|
216
|
-
return { xScale: xAxisScale, tickValues: tickValues };
|
|
217
|
-
}
|
|
218
|
-
exports.createStringXAxis = createStringXAxis;
|
|
219
|
-
/**
|
|
220
|
-
* This method is used to calculate the rounded tick values for the y-axis
|
|
221
|
-
* @param {number} minVal
|
|
222
|
-
* @param {number} maxVal
|
|
223
|
-
* @param {number} splitInto
|
|
224
|
-
* @returns {number[]}
|
|
225
|
-
*/
|
|
226
|
-
function calculateRoundedTicks(minVal, maxVal, splitInto) {
|
|
227
|
-
var finalYmin = minVal >= 0 && minVal === maxVal ? 0 : minVal;
|
|
228
|
-
var finalYmax = minVal < 0 && minVal === maxVal ? 0 : maxVal;
|
|
229
|
-
var ticksInterval = (0, d3_array_1.nice)(finalYmin, finalYmax, splitInto);
|
|
230
|
-
var ticks = (0, d3_array_1.ticks)(ticksInterval[0], ticksInterval[ticksInterval.length - 1], splitInto);
|
|
231
|
-
if (ticks[ticks.length - 1] > finalYmax && isPowerOf10(finalYmax)) {
|
|
232
|
-
ticks.pop();
|
|
233
|
-
}
|
|
234
|
-
return ticks;
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* This method used for creating data points for the y axis.
|
|
238
|
-
* @export
|
|
239
|
-
* @param {number} maxVal
|
|
240
|
-
* @param {number} minVal
|
|
241
|
-
* @param {number} splitInto
|
|
242
|
-
* @param {boolean} isIntegralDataset
|
|
243
|
-
* @returns {number[]}
|
|
244
|
-
*/
|
|
245
|
-
function prepareDatapoints(maxVal, minVal, splitInto, isIntegralDataset, roundedTicks) {
|
|
246
|
-
if (roundedTicks) {
|
|
247
|
-
return calculateRoundedTicks(minVal, maxVal, splitInto);
|
|
248
|
-
}
|
|
249
|
-
var val = isIntegralDataset
|
|
250
|
-
? Math.ceil((maxVal - minVal) / splitInto)
|
|
251
|
-
: (maxVal - minVal) / splitInto >= 1
|
|
252
|
-
? Math.ceil((maxVal - minVal) / splitInto)
|
|
253
|
-
: (maxVal - minVal) / splitInto;
|
|
254
|
-
/*
|
|
255
|
-
For cases where we have negative and positive values
|
|
256
|
-
The dataPointsArray is filled from 0 to minVal by val difference
|
|
257
|
-
Then the array is reversed and values from 0(excluding 0) to maxVal are appended
|
|
258
|
-
This ensures presence of 0 to act as an anchor reference.
|
|
259
|
-
For simple cases where the scale may not encounter such a need for 0,
|
|
260
|
-
We simply fill from minVal to maxVal
|
|
261
|
-
*/
|
|
262
|
-
var dataPointsArray = [minVal < 0 && maxVal >= 0 ? 0 : minVal];
|
|
263
|
-
/*For the case of all positive or all negative, we need to add another value
|
|
264
|
-
in array for atleast one interval, but in case of mix of positive and negative,
|
|
265
|
-
there will always be one more entry that will be added by the logic we have*/
|
|
266
|
-
if (dataPointsArray[0] === minVal) {
|
|
267
|
-
dataPointsArray.push(minVal + val);
|
|
268
|
-
}
|
|
269
|
-
if (minVal < 0 && maxVal >= 0) {
|
|
270
|
-
while (dataPointsArray[dataPointsArray.length - 1] > minVal) {
|
|
271
|
-
dataPointsArray.push(dataPointsArray[dataPointsArray.length - 1] - val);
|
|
272
|
-
}
|
|
273
|
-
dataPointsArray.reverse();
|
|
274
|
-
}
|
|
275
|
-
while (dataPointsArray[dataPointsArray.length - 1] < maxVal) {
|
|
276
|
-
dataPointsArray.push(dataPointsArray[dataPointsArray.length - 1] + val);
|
|
277
|
-
}
|
|
278
|
-
return dataPointsArray;
|
|
279
|
-
}
|
|
280
|
-
exports.prepareDatapoints = prepareDatapoints;
|
|
281
|
-
function createYAxisForHorizontalBarChartWithAxis(yAxisParams, isRtl) {
|
|
282
|
-
var _a = yAxisParams.yMinMaxValues, yMinMaxValues = _a === void 0 ? { startValue: 0, endValue: 0 } : _a, _b = yAxisParams.yAxisElement, yAxisElement = _b === void 0 ? null : _b, _c = yAxisParams.yMaxValue, yMaxValue = _c === void 0 ? 0 : _c, _d = yAxisParams.yMinValue, yMinValue = _d === void 0 ? 0 : _d, containerHeight = yAxisParams.containerHeight, margins = yAxisParams.margins, _e = yAxisParams.tickPadding, tickPadding = _e === void 0 ? 12 : _e, _f = yAxisParams.maxOfYVal, maxOfYVal = _f === void 0 ? 0 : _f, yAxisTickFormat = yAxisParams.yAxisTickFormat, _g = yAxisParams.yAxisTickCount, yAxisTickCount = _g === void 0 ? 4 : _g;
|
|
283
|
-
// maxOfYVal coming from only area chart and Grouped vertical bar chart(Calculation done at base file)
|
|
284
|
-
var tempVal = maxOfYVal || yMinMaxValues.endValue;
|
|
285
|
-
var finalYmax = tempVal > yMaxValue ? tempVal : yMaxValue;
|
|
286
|
-
var finalYmin = yMinMaxValues.startValue < yMinValue ? 0 : yMinValue;
|
|
287
|
-
var yAxisScale = (0, d3_scale_1.scaleLinear)()
|
|
288
|
-
.domain([finalYmin, finalYmax])
|
|
289
|
-
.range([containerHeight - margins.bottom, margins.top]);
|
|
290
|
-
var axis = isRtl ? (0, d3_axis_1.axisRight)(yAxisScale) : (0, d3_axis_1.axisLeft)(yAxisScale);
|
|
291
|
-
var yAxis = axis.tickPadding(tickPadding).ticks(yAxisTickCount);
|
|
292
|
-
yAxisTickFormat ? yAxis.tickFormat(yAxisTickFormat) : yAxis.tickFormat((0, d3_format_1.format)('.2~s'));
|
|
293
|
-
yAxisElement ? (0, d3_selection_1.select)(yAxisElement).call(yAxis).selectAll('text').attr('aria-hidden', 'true') : '';
|
|
294
|
-
return yAxisScale;
|
|
295
|
-
}
|
|
296
|
-
exports.createYAxisForHorizontalBarChartWithAxis = createYAxisForHorizontalBarChartWithAxis;
|
|
297
|
-
function createNumericYAxis(yAxisParams, isRtl, axisData, isIntegralDataset, useSecondaryYScale, supportNegativeData, roundedTicks) {
|
|
298
|
-
if (useSecondaryYScale === void 0) { useSecondaryYScale = false; }
|
|
299
|
-
if (supportNegativeData === void 0) { supportNegativeData = false; }
|
|
300
|
-
if (roundedTicks === void 0) { roundedTicks = false; }
|
|
301
|
-
var _a = yAxisParams.yMinMaxValues, yMinMaxValues = _a === void 0 ? { startValue: 0, endValue: 0 } : _a, _b = yAxisParams.yAxisElement, yAxisElement = _b === void 0 ? null : _b, _c = yAxisParams.yMaxValue, yMaxValue = _c === void 0 ? 0 : _c, _d = yAxisParams.yMinValue, yMinValue = _d === void 0 ? 0 : _d, containerHeight = yAxisParams.containerHeight, containerWidth = yAxisParams.containerWidth, margins = yAxisParams.margins, _e = yAxisParams.tickPadding, tickPadding = _e === void 0 ? 12 : _e, _f = yAxisParams.maxOfYVal, maxOfYVal = _f === void 0 ? 0 : _f, yAxisTickFormat = yAxisParams.yAxisTickFormat, _g = yAxisParams.yAxisTickCount, yAxisTickCount = _g === void 0 ? 4 : _g, eventAnnotationProps = yAxisParams.eventAnnotationProps, eventLabelHeight = yAxisParams.eventLabelHeight;
|
|
302
|
-
// maxOfYVal coming from only area chart and Grouped vertical bar chart(Calculation done at base file)
|
|
303
|
-
var tempVal = maxOfYVal || yMinMaxValues.endValue;
|
|
304
|
-
var finalYmax = tempVal > yMaxValue ? tempVal : yMaxValue;
|
|
305
|
-
var finalYmin = supportNegativeData
|
|
306
|
-
? Math.min(yMinMaxValues.startValue, yMinValue || 0)
|
|
307
|
-
: yMinMaxValues.startValue < yMinValue
|
|
308
|
-
? 0
|
|
309
|
-
: yMinValue;
|
|
310
|
-
var domainValues = prepareDatapoints(finalYmax, finalYmin, yAxisTickCount, isIntegralDataset, roundedTicks);
|
|
311
|
-
var yAxisScale = (0, d3_scale_1.scaleLinear)()
|
|
312
|
-
.domain([supportNegativeData ? domainValues[0] : finalYmin, domainValues[domainValues.length - 1]])
|
|
313
|
-
.range([containerHeight - margins.bottom, margins.top + (eventAnnotationProps ? eventLabelHeight : 0)]);
|
|
314
|
-
var axis = (!isRtl && useSecondaryYScale) || (isRtl && !useSecondaryYScale) ? (0, d3_axis_1.axisRight)(yAxisScale) : (0, d3_axis_1.axisLeft)(yAxisScale);
|
|
315
|
-
var yAxis = axis
|
|
316
|
-
.tickPadding(tickPadding)
|
|
317
|
-
.tickValues(domainValues)
|
|
318
|
-
.tickSizeInner(-(containerWidth - margins.left - margins.right));
|
|
319
|
-
yAxisTickFormat ? yAxis.tickFormat(yAxisTickFormat) : yAxis.tickFormat((0, d3_format_1.format)('.2~s'));
|
|
320
|
-
yAxisElement ? (0, d3_selection_1.select)(yAxisElement).call(yAxis).selectAll('text').attr('aria-hidden', 'true') : '';
|
|
321
|
-
axisData.yAxisDomainValues = domainValues;
|
|
322
|
-
return yAxisScale;
|
|
323
|
-
}
|
|
324
|
-
exports.createNumericYAxis = createNumericYAxis;
|
|
325
|
-
/**
|
|
326
|
-
* Creating String Y axis of the chart for Horizontal Bar Chart With Axis
|
|
327
|
-
* @param yAxisParams
|
|
328
|
-
* @param dataPoints
|
|
329
|
-
* @param isRtl
|
|
330
|
-
*/
|
|
331
|
-
var createStringYAxisForHorizontalBarChartWithAxis = function (yAxisParams, dataPoints, isRtl, barWidth) {
|
|
332
|
-
var containerHeight = yAxisParams.containerHeight, _a = yAxisParams.tickPadding, tickPadding = _a === void 0 ? 12 : _a, margins = yAxisParams.margins, yAxisTickFormat = yAxisParams.yAxisTickFormat, yAxisElement = yAxisParams.yAxisElement;
|
|
333
|
-
var yAxisScale = (0, d3_scale_1.scaleBand)()
|
|
334
|
-
.domain(dataPoints)
|
|
335
|
-
.range([containerHeight - margins.bottom - barWidth / 2, margins.top + barWidth / 2]);
|
|
336
|
-
var axis = isRtl ? (0, d3_axis_1.axisRight)(yAxisScale) : (0, d3_axis_1.axisLeft)(yAxisScale);
|
|
337
|
-
var yAxis = axis.tickPadding(tickPadding).ticks(dataPoints);
|
|
338
|
-
if (yAxisTickFormat) {
|
|
339
|
-
yAxis.tickFormat(yAxisTickFormat);
|
|
340
|
-
}
|
|
341
|
-
yAxisElement ? (0, d3_selection_1.select)(yAxisElement).call(yAxis).selectAll('text') : '';
|
|
342
|
-
return yAxisScale;
|
|
343
|
-
};
|
|
344
|
-
exports.createStringYAxisForHorizontalBarChartWithAxis = createStringYAxisForHorizontalBarChartWithAxis;
|
|
345
|
-
/**
|
|
346
|
-
* Creating String Y axis of the chart for other chart except Horizontal Bar Chart With Axis
|
|
347
|
-
* @param yAxisParams
|
|
348
|
-
* @param dataPoints
|
|
349
|
-
* @param isRtl
|
|
350
|
-
*/
|
|
351
|
-
var createStringYAxis = function (yAxisParams, dataPoints, isRtl) {
|
|
352
|
-
var containerHeight = yAxisParams.containerHeight, _a = yAxisParams.tickPadding, tickPadding = _a === void 0 ? 12 : _a, margins = yAxisParams.margins, yAxisTickFormat = yAxisParams.yAxisTickFormat, yAxisElement = yAxisParams.yAxisElement, _b = yAxisParams.yAxisPadding, yAxisPadding = _b === void 0 ? 0 : _b;
|
|
353
|
-
var yAxisScale = (0, d3_scale_1.scaleBand)()
|
|
354
|
-
.domain(dataPoints)
|
|
355
|
-
.range([containerHeight - margins.bottom, margins.top])
|
|
356
|
-
.padding(yAxisPadding);
|
|
357
|
-
var axis = isRtl ? (0, d3_axis_1.axisRight)(yAxisScale) : (0, d3_axis_1.axisLeft)(yAxisScale);
|
|
358
|
-
var yAxis = axis.tickPadding(tickPadding).tickValues(dataPoints).tickSize(0);
|
|
359
|
-
if (yAxisTickFormat) {
|
|
360
|
-
yAxis.tickFormat(yAxisTickFormat);
|
|
361
|
-
}
|
|
362
|
-
yAxisElement ? (0, d3_selection_1.select)(yAxisElement).call(yAxis).selectAll('text') : '';
|
|
363
|
-
return yAxisScale;
|
|
364
|
-
};
|
|
365
|
-
exports.createStringYAxis = createStringYAxis;
|
|
366
|
-
/**
|
|
367
|
-
* For area chart and line chart, while displaying stackCallout, Need to form a callout data object.
|
|
368
|
-
* This methos creates an object for those 2 charts.
|
|
369
|
-
* @param values
|
|
370
|
-
*/
|
|
371
|
-
function calloutData(values) {
|
|
372
|
-
var combinedResult = [];
|
|
373
|
-
values.forEach(function (line) {
|
|
374
|
-
var elements = line.data
|
|
375
|
-
.filter(function (point) { return !point.hideCallout; })
|
|
376
|
-
.map(function (point) {
|
|
377
|
-
return tslib_1.__assign(tslib_1.__assign({}, point), { legend: line.legend, color: line.color, index: line.index });
|
|
378
|
-
});
|
|
379
|
-
combinedResult = combinedResult.concat(elements);
|
|
380
|
-
});
|
|
381
|
-
var xValToDataPoints = {};
|
|
382
|
-
combinedResult.forEach(function (ele) {
|
|
383
|
-
var xValue = ele.x instanceof Date ? ele.x.getTime() : ele.x;
|
|
384
|
-
if (xValue in xValToDataPoints) {
|
|
385
|
-
xValToDataPoints[xValue].push({
|
|
386
|
-
legend: ele.legend,
|
|
387
|
-
y: ele.y,
|
|
388
|
-
color: ele.color,
|
|
389
|
-
xAxisCalloutData: ele.xAxisCalloutData,
|
|
390
|
-
yAxisCalloutData: ele.yAxisCalloutData,
|
|
391
|
-
callOutAccessibilityData: ele.callOutAccessibilityData,
|
|
392
|
-
index: ele.index,
|
|
393
|
-
});
|
|
394
|
-
}
|
|
395
|
-
else {
|
|
396
|
-
xValToDataPoints[xValue] = [
|
|
397
|
-
{
|
|
398
|
-
legend: ele.legend,
|
|
399
|
-
y: ele.y,
|
|
400
|
-
color: ele.color,
|
|
401
|
-
xAxisCalloutData: ele.xAxisCalloutData,
|
|
402
|
-
yAxisCalloutData: ele.yAxisCalloutData,
|
|
403
|
-
callOutAccessibilityData: ele.callOutAccessibilityData,
|
|
404
|
-
index: ele.index,
|
|
405
|
-
},
|
|
406
|
-
];
|
|
407
|
-
}
|
|
408
|
-
});
|
|
409
|
-
var result = Object.keys(xValToDataPoints).map(function (xValue) {
|
|
410
|
-
return { x: Number(xValue), values: xValToDataPoints[xValue] };
|
|
411
|
-
});
|
|
412
|
-
return result;
|
|
413
|
-
}
|
|
414
|
-
exports.calloutData = calloutData;
|
|
415
|
-
function getUnique(arr, comp) {
|
|
416
|
-
var unique = arr
|
|
417
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
418
|
-
.map(function (e) { return e[comp]; })
|
|
419
|
-
// store the keys of the unique objects
|
|
420
|
-
.map(function (e, i, final) { return final.indexOf(e) === i && i; })
|
|
421
|
-
// eliminate the dead keys & store unique objects
|
|
422
|
-
.filter(function (e) { return arr[e]; })
|
|
423
|
-
.map(function (e) { return arr[e]; });
|
|
424
|
-
return unique;
|
|
425
|
-
}
|
|
426
|
-
exports.getUnique = getUnique;
|
|
427
|
-
/**
|
|
428
|
-
* This function takes two paramerter
|
|
429
|
-
* 1. an array of strings
|
|
430
|
-
* 2. a string value
|
|
431
|
-
* if the value is not present in the given array then it will return the new
|
|
432
|
-
* array by appending the value to the present arrray.
|
|
433
|
-
*
|
|
434
|
-
* if the value is already present in the given array then it will return the new
|
|
435
|
-
* array by deleteing the value from the the array
|
|
436
|
-
* @param array
|
|
437
|
-
* @param value
|
|
438
|
-
*/
|
|
439
|
-
function silceOrAppendToArray(array, value) {
|
|
440
|
-
var pos = array.indexOf(value);
|
|
441
|
-
if (pos === -1) {
|
|
442
|
-
return tslib_1.__spreadArray(tslib_1.__spreadArray([], array, true), [value], false);
|
|
443
|
-
}
|
|
444
|
-
else {
|
|
445
|
-
return array.slice(0, pos).concat(array.slice(pos + 1));
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
exports.silceOrAppendToArray = silceOrAppendToArray;
|
|
449
|
-
/**
|
|
450
|
-
* This method used for wrapping of x axis labels (tick values).
|
|
451
|
-
* It breaks down given text value by space separated and calculates the total height needed to display all the words.
|
|
452
|
-
* That value = removal value. This value needs to be remove from total svg height, svg will shrink and
|
|
453
|
-
* total text will be displayed.
|
|
454
|
-
* @export
|
|
455
|
-
* @param {IWrapLabelProps} wrapLabelProps
|
|
456
|
-
* @returns
|
|
457
|
-
*/
|
|
458
|
-
function createWrapOfXLabels(wrapLabelProps) {
|
|
459
|
-
var node = wrapLabelProps.node, xAxis = wrapLabelProps.xAxis, noOfCharsToTruncate = wrapLabelProps.noOfCharsToTruncate, showXAxisLablesTooltip = wrapLabelProps.showXAxisLablesTooltip;
|
|
460
|
-
if (node === null) {
|
|
461
|
-
return;
|
|
462
|
-
}
|
|
463
|
-
var axisNode = (0, d3_selection_1.select)(node).call(xAxis);
|
|
464
|
-
var removeVal = 0;
|
|
465
|
-
var width = 10;
|
|
466
|
-
var arr = [];
|
|
467
|
-
axisNode.selectAll('.tick text').each(function () {
|
|
468
|
-
var text = (0, d3_selection_1.select)(this);
|
|
469
|
-
var totalWord = text.text();
|
|
470
|
-
var truncatedWord = "".concat(text.text().slice(0, noOfCharsToTruncate), "...");
|
|
471
|
-
var totalWordLength = text.text().length;
|
|
472
|
-
var words = text.text().split(/\s+/).reverse();
|
|
473
|
-
arr.push(words.length);
|
|
474
|
-
var word = '';
|
|
475
|
-
var line = [];
|
|
476
|
-
var lineNumber = 0;
|
|
477
|
-
var lineHeight = 1.1; // ems
|
|
478
|
-
var y = text.attr('y');
|
|
479
|
-
var dy = parseFloat(text.attr('dy'));
|
|
480
|
-
var tspan = text
|
|
481
|
-
.text(null)
|
|
482
|
-
.append('tspan')
|
|
483
|
-
.attr('x', 0)
|
|
484
|
-
.attr('y', y)
|
|
485
|
-
.attr('id', 'BaseSpan')
|
|
486
|
-
.attr('dy', dy + 'em')
|
|
487
|
-
.attr('data-', totalWord);
|
|
488
|
-
if (showXAxisLablesTooltip && totalWordLength > noOfCharsToTruncate) {
|
|
489
|
-
tspan = text
|
|
490
|
-
.append('tspan')
|
|
491
|
-
.attr('id', 'showDots')
|
|
492
|
-
.attr('x', 0)
|
|
493
|
-
.attr('y', y)
|
|
494
|
-
.attr('dy', ++lineNumber * lineHeight + dy + 'em')
|
|
495
|
-
.text(truncatedWord);
|
|
496
|
-
}
|
|
497
|
-
else if (showXAxisLablesTooltip && totalWordLength <= noOfCharsToTruncate) {
|
|
498
|
-
tspan = text
|
|
499
|
-
.append('tspan')
|
|
500
|
-
.attr('id', 'LessLength')
|
|
501
|
-
.attr('x', 0)
|
|
502
|
-
.attr('y', y)
|
|
503
|
-
.attr('dy', ++lineNumber * lineHeight + dy + 'em')
|
|
504
|
-
.text(totalWord);
|
|
505
|
-
}
|
|
506
|
-
else {
|
|
507
|
-
while ((word = words.pop())) {
|
|
508
|
-
line.push(word);
|
|
509
|
-
tspan.text(line.join(' '));
|
|
510
|
-
if (tspan.node().getComputedTextLength() > width && line.length > 1) {
|
|
511
|
-
line.pop();
|
|
512
|
-
tspan.text(line.join(' '));
|
|
513
|
-
line = [word];
|
|
514
|
-
tspan = text
|
|
515
|
-
.append('tspan')
|
|
516
|
-
.attr('id', 'WordBreakId')
|
|
517
|
-
.attr('x', 0)
|
|
518
|
-
.attr('y', y)
|
|
519
|
-
.attr('dy', ++lineNumber * lineHeight + dy + 'em')
|
|
520
|
-
.text(word);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
var maxDigit = Math.max.apply(Math, arr);
|
|
524
|
-
var maxHeight_1 = 12; // intial value to render corretly first time
|
|
525
|
-
axisNode.selectAll('text').each(function () {
|
|
526
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
527
|
-
var outerHTMLElement = document.getElementById('WordBreakId');
|
|
528
|
-
var BoxCordinates = outerHTMLElement && outerHTMLElement.getBoundingClientRect();
|
|
529
|
-
var boxHeight = BoxCordinates && BoxCordinates.height;
|
|
530
|
-
if (boxHeight > maxHeight_1) {
|
|
531
|
-
maxHeight_1 = boxHeight;
|
|
532
|
-
}
|
|
533
|
-
});
|
|
534
|
-
// If we take directly maxDigit * maxheight, then it will show more height between x axis tick values and bottom.
|
|
535
|
-
// To avoid this, reducing maxDigit value by removing some digit based on legth of word.
|
|
536
|
-
var removeDigit = 4;
|
|
537
|
-
if (maxDigit <= 2) {
|
|
538
|
-
removeDigit = 1;
|
|
539
|
-
}
|
|
540
|
-
else if (maxDigit > 2 && maxDigit <= 6) {
|
|
541
|
-
removeDigit = 2;
|
|
542
|
-
}
|
|
543
|
-
else if (maxDigit > 6 && maxDigit <= 9) {
|
|
544
|
-
removeDigit = 3;
|
|
545
|
-
}
|
|
546
|
-
removeVal = (maxDigit - removeDigit) * maxHeight_1;
|
|
547
|
-
}
|
|
548
|
-
});
|
|
549
|
-
return removeVal > 0 ? removeVal : 0;
|
|
550
|
-
}
|
|
551
|
-
exports.createWrapOfXLabels = createWrapOfXLabels;
|
|
552
|
-
/**
|
|
553
|
-
* This method used for wrapping of y axis labels (tick values).
|
|
554
|
-
*/
|
|
555
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
556
|
-
function createYAxisLabels(node,
|
|
557
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
558
|
-
yAxis, noOfCharsToTruncate, truncateLabel, isRtl) {
|
|
559
|
-
if (node === null) {
|
|
560
|
-
return;
|
|
561
|
-
}
|
|
562
|
-
var axisNode = (0, d3_selection_1.select)(node).call(yAxis);
|
|
563
|
-
axisNode.selectAll('.tick text').each(function () {
|
|
564
|
-
var text = (0, d3_selection_1.select)(this);
|
|
565
|
-
var totalWord = text.text();
|
|
566
|
-
var truncatedWord = isRtl
|
|
567
|
-
? "...".concat(text.text().slice(0, noOfCharsToTruncate))
|
|
568
|
-
: "".concat(text.text().slice(0, noOfCharsToTruncate), "...");
|
|
569
|
-
var totalWordLength = text.text().length;
|
|
570
|
-
var padding = truncateLabel ? 1.5 : 1; // ems
|
|
571
|
-
var y = text.attr('y');
|
|
572
|
-
var x = text.attr('x');
|
|
573
|
-
var dy = parseFloat(text.attr('dy'));
|
|
574
|
-
var dx = 0;
|
|
575
|
-
text
|
|
576
|
-
.text(null)
|
|
577
|
-
.append('tspan')
|
|
578
|
-
.attr('x', x)
|
|
579
|
-
.attr('y', y)
|
|
580
|
-
.attr('id', 'BaseSpan')
|
|
581
|
-
.attr('dy', dy + 'em')
|
|
582
|
-
.attr('data-', totalWord);
|
|
583
|
-
if (truncateLabel && totalWordLength > noOfCharsToTruncate) {
|
|
584
|
-
text
|
|
585
|
-
.append('tspan')
|
|
586
|
-
.attr('id', 'showDots')
|
|
587
|
-
.attr('x', isRtl ? 0 : x)
|
|
588
|
-
.attr('y', y)
|
|
589
|
-
.attr('dy', dy)
|
|
590
|
-
.attr('dx', padding + dx + 'em')
|
|
591
|
-
.text(truncatedWord);
|
|
592
|
-
}
|
|
593
|
-
else {
|
|
594
|
-
text
|
|
595
|
-
.attr('text-align', 'start')
|
|
596
|
-
.append('tspan')
|
|
597
|
-
.attr('id', 'LessLength')
|
|
598
|
-
.attr('x', isRtl ? 0 : x)
|
|
599
|
-
.attr('y', y)
|
|
600
|
-
.attr('dx', padding + dx + 'em')
|
|
601
|
-
.text(totalWord);
|
|
602
|
-
}
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
exports.createYAxisLabels = createYAxisLabels;
|
|
606
|
-
var wrapContent = function (content, id, maxWidth) {
|
|
607
|
-
var textElement = (0, d3_selection_1.select)("#".concat(id));
|
|
608
|
-
textElement.text(content);
|
|
609
|
-
if (!textElement.node()) {
|
|
610
|
-
return false;
|
|
611
|
-
}
|
|
612
|
-
var isOverflowing = false;
|
|
613
|
-
var textLength = textElement.node().getComputedTextLength();
|
|
614
|
-
while (textLength > maxWidth && content.length > 0) {
|
|
615
|
-
content = content.slice(0, -1);
|
|
616
|
-
textElement.text(content + '...');
|
|
617
|
-
isOverflowing = true;
|
|
618
|
-
textLength = textElement.node().getComputedTextLength();
|
|
619
|
-
}
|
|
620
|
-
return isOverflowing;
|
|
621
|
-
};
|
|
622
|
-
exports.wrapContent = wrapContent;
|
|
623
|
-
/**
|
|
624
|
-
* Calculates the width of the longest axis label in pixels
|
|
625
|
-
*/
|
|
626
|
-
var calculateLongestLabelWidth = function (labels, query) {
|
|
627
|
-
if (query === void 0) { query = 'none'; }
|
|
628
|
-
var maxLabelWidth = 0;
|
|
629
|
-
var canvas = document.createElement('canvas');
|
|
630
|
-
var ctx = canvas.getContext('2d');
|
|
631
|
-
if (ctx) {
|
|
632
|
-
var axisText = document.querySelector(query);
|
|
633
|
-
if (axisText) {
|
|
634
|
-
var styles = window.getComputedStyle(axisText, null);
|
|
635
|
-
var fontWeight = styles.getPropertyValue('font-weight');
|
|
636
|
-
var fontSize = styles.getPropertyValue('font-size');
|
|
637
|
-
var fontFamily = styles.getPropertyValue('font-family');
|
|
638
|
-
ctx.font = "".concat(fontWeight, " ").concat(fontSize, " ").concat(fontFamily);
|
|
639
|
-
}
|
|
640
|
-
else {
|
|
641
|
-
ctx.font = '600 10px "Segoe UI"';
|
|
642
|
-
}
|
|
643
|
-
labels.forEach(function (label) {
|
|
644
|
-
maxLabelWidth = Math.max(ctx.measureText(label.toString()).width, maxLabelWidth);
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
return maxLabelWidth;
|
|
648
|
-
};
|
|
649
|
-
exports.calculateLongestLabelWidth = calculateLongestLabelWidth;
|
|
650
|
-
/**
|
|
651
|
-
* This method displays a tooltip to the x axis lables(tick values)
|
|
652
|
-
* when prop 'showXAxisLablesTooltip' enables to the respected chart.
|
|
653
|
-
* On hover of the truncated word(at x axis labels tick), a tooltip will be appeared.
|
|
654
|
-
*/
|
|
655
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
656
|
-
function tooltipOfXAxislabels(xAxistooltipProps) {
|
|
657
|
-
var tooltipCls = xAxistooltipProps.tooltipCls, xAxis = xAxistooltipProps.xAxis, id = xAxistooltipProps.id;
|
|
658
|
-
if (xAxis === null) {
|
|
659
|
-
return null;
|
|
660
|
-
}
|
|
661
|
-
var div = (0, d3_selection_1.select)('body').append('div').attr('id', id).attr('class', tooltipCls).style('opacity', 0);
|
|
662
|
-
var aa = xAxis.selectAll('#BaseSpan')._groups[0];
|
|
663
|
-
var baseSpanLength = aa && Object.keys(aa).length;
|
|
664
|
-
var originalDataArray = [];
|
|
665
|
-
for (var i = 0; i < baseSpanLength; i++) {
|
|
666
|
-
var originalData = aa[i].dataset && Object.values(aa[i].dataset)[0];
|
|
667
|
-
originalDataArray.push(originalData);
|
|
668
|
-
}
|
|
669
|
-
var tickObject = xAxis.selectAll('.tick')._groups[0];
|
|
670
|
-
var tickObjectLength = tickObject && Object.keys(tickObject).length;
|
|
671
|
-
var _loop_1 = function (i) {
|
|
672
|
-
var d1 = tickObject[i];
|
|
673
|
-
(0, d3_selection_1.select)(d1)
|
|
674
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
675
|
-
.on('mouseover', function (event, d) {
|
|
676
|
-
div.style('opacity', 0.9);
|
|
677
|
-
div
|
|
678
|
-
.text(originalDataArray[i])
|
|
679
|
-
.style('left', event.pageX + 'px')
|
|
680
|
-
.style('top', event.pageY - 28 + 'px');
|
|
681
|
-
})
|
|
682
|
-
.on('mouseout', function (d) {
|
|
683
|
-
div.style('opacity', 0);
|
|
684
|
-
});
|
|
685
|
-
};
|
|
686
|
-
for (var i = 0; i < tickObjectLength; i++) {
|
|
687
|
-
_loop_1(i);
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
exports.tooltipOfXAxislabels = tooltipOfXAxislabels;
|
|
691
|
-
/**
|
|
692
|
-
* Find the axis type of line chart and area chart from given data
|
|
693
|
-
* @param points
|
|
694
|
-
*/
|
|
695
|
-
function getXAxisType(points) {
|
|
696
|
-
var isXAxisDateType = false;
|
|
697
|
-
if (points && points.length > 0) {
|
|
698
|
-
points.forEach(function (chartData) {
|
|
699
|
-
if (chartData.data.length > 0) {
|
|
700
|
-
isXAxisDateType = chartData.data[0].x instanceof Date;
|
|
701
|
-
return;
|
|
702
|
-
}
|
|
703
|
-
});
|
|
704
|
-
}
|
|
705
|
-
return isXAxisDateType;
|
|
706
|
-
}
|
|
707
|
-
exports.getXAxisType = getXAxisType;
|
|
708
|
-
/**
|
|
709
|
-
* Calculates Domain and range values for Numeric X axis.
|
|
710
|
-
* This method calculates Area cart and line chart.
|
|
711
|
-
* @export
|
|
712
|
-
* @param {ILineChartPoints[]} points
|
|
713
|
-
* @param {IMargins} margins
|
|
714
|
-
* @param {number} width
|
|
715
|
-
* @param {boolean} isRTL
|
|
716
|
-
* @returns {IDomainNRange}
|
|
717
|
-
*/
|
|
718
|
-
function domainRangeOfNumericForAreaChart(points, margins, width, isRTL) {
|
|
719
|
-
var xMin = (0, d3_array_1.min)(points, function (point) {
|
|
720
|
-
return (0, d3_array_1.min)(point.data, function (item) { return item.x; });
|
|
721
|
-
});
|
|
722
|
-
var xMax = (0, d3_array_1.max)(points, function (point) {
|
|
723
|
-
return (0, d3_array_1.max)(point.data, function (item) {
|
|
724
|
-
return item.x;
|
|
725
|
-
});
|
|
726
|
-
});
|
|
727
|
-
var rStartValue = margins.left;
|
|
728
|
-
var rEndValue = width - margins.right;
|
|
729
|
-
return isRTL
|
|
730
|
-
? { dStartValue: xMax, dEndValue: xMin, rStartValue: rStartValue, rEndValue: rEndValue }
|
|
731
|
-
: { dStartValue: xMin, dEndValue: xMax, rStartValue: rStartValue, rEndValue: rEndValue };
|
|
732
|
-
}
|
|
733
|
-
exports.domainRangeOfNumericForAreaChart = domainRangeOfNumericForAreaChart;
|
|
734
|
-
/**
|
|
735
|
-
* Calculates Domain and range values for Numeric X axis.
|
|
736
|
-
* This method calculates Horizontal Chart with Axis
|
|
737
|
-
* @export
|
|
738
|
-
* @param {ILineChartPoints[]} points
|
|
739
|
-
* @param {IMargins} margins
|
|
740
|
-
* @param {number} width
|
|
741
|
-
* @param {boolean} isRTL
|
|
742
|
-
* @returns {IDomainNRange}
|
|
743
|
-
*/
|
|
744
|
-
function domainRangeOfNumericForHorizontalBarChartWithAxis(points, margins, containerWidth, isRTL, shiftX) {
|
|
745
|
-
var xMax = (0, d3_array_1.max)(points, function (point) { return point.x; });
|
|
746
|
-
var rMin = isRTL ? margins.left : margins.left + shiftX;
|
|
747
|
-
var rMax = isRTL ? containerWidth - margins.right - shiftX : containerWidth - margins.right;
|
|
748
|
-
return isRTL
|
|
749
|
-
? { dStartValue: xMax, dEndValue: 0, rStartValue: rMin, rEndValue: rMax }
|
|
750
|
-
: { dStartValue: 0, dEndValue: xMax, rStartValue: rMin, rEndValue: rMax };
|
|
751
|
-
}
|
|
752
|
-
exports.domainRangeOfNumericForHorizontalBarChartWithAxis = domainRangeOfNumericForHorizontalBarChartWithAxis;
|
|
753
|
-
/**
|
|
754
|
-
* Calculates Range values of x Axis string axis
|
|
755
|
-
* For String axis, we need to give domain values (Not start and end array values)
|
|
756
|
-
* So sending 0 as domain values. Domain will be handled at creation of string axis
|
|
757
|
-
* For charts stacked bar chart, grouped vertical bar chart, HeatMapChart and Vertical bar chart
|
|
758
|
-
* @export
|
|
759
|
-
* @param {IMargins} margins
|
|
760
|
-
* @param {number} width
|
|
761
|
-
* @param {boolean} isRTL
|
|
762
|
-
* @returns {IDomainNRange}
|
|
763
|
-
*/
|
|
764
|
-
function domainRangeOfXStringAxis(margins, width, isRTL) {
|
|
765
|
-
var rMin = margins.left;
|
|
766
|
-
var rMax = width - margins.right;
|
|
767
|
-
return isRTL
|
|
768
|
-
? { dStartValue: 0, dEndValue: 0, rStartValue: rMax, rEndValue: rMin }
|
|
769
|
-
: { dStartValue: 0, dEndValue: 0, rStartValue: rMin, rEndValue: rMax };
|
|
770
|
-
}
|
|
771
|
-
exports.domainRangeOfXStringAxis = domainRangeOfXStringAxis;
|
|
772
|
-
/**
|
|
773
|
-
* Calculate domain and range values to the Vertical stacked bar chart - For Numeric axis
|
|
774
|
-
* @export
|
|
775
|
-
* @param {IDataPoint[]} points
|
|
776
|
-
* @param {IMargins} margins
|
|
777
|
-
* @param {number} width
|
|
778
|
-
* @param {boolean} isRTL
|
|
779
|
-
* @param {number} barWidth
|
|
780
|
-
* @returns {IDomainNRange}
|
|
781
|
-
*/
|
|
782
|
-
function domainRangeOfVSBCNumeric(points, margins, width, isRTL, barWidth) {
|
|
783
|
-
var xMin = (0, d3_array_1.min)(points, function (point) { return point.x; });
|
|
784
|
-
var xMax = (0, d3_array_1.max)(points, function (point) { return point.x; });
|
|
785
|
-
var rMax = margins.left;
|
|
786
|
-
var rMin = width - margins.right;
|
|
787
|
-
return isRTL
|
|
788
|
-
? { dStartValue: xMax, dEndValue: xMin, rStartValue: rMax, rEndValue: rMin }
|
|
789
|
-
: { dStartValue: xMin, dEndValue: xMax, rStartValue: rMax, rEndValue: rMin };
|
|
790
|
-
}
|
|
791
|
-
exports.domainRangeOfVSBCNumeric = domainRangeOfVSBCNumeric;
|
|
792
|
-
/**
|
|
793
|
-
* Calculates Domain and range values for Date X axis.
|
|
794
|
-
* This method calculates Bar chart.
|
|
795
|
-
* @export
|
|
796
|
-
* @param {IVerticalBarChartDataPoint[]} points
|
|
797
|
-
* @param {IMargins} margins
|
|
798
|
-
* @param {number} width
|
|
799
|
-
* @param {boolean} isRTL
|
|
800
|
-
* @param {Date[] | number[]} tickValues
|
|
801
|
-
* @returns {IDomainNRange}
|
|
802
|
-
*/
|
|
803
|
-
function domainRangeOfDateForAreaLineVerticalBarChart(points, margins, width, isRTL, tickValues, chartType, barWidth) {
|
|
804
|
-
if (tickValues === void 0) { tickValues = []; }
|
|
805
|
-
var sDate;
|
|
806
|
-
var lDate;
|
|
807
|
-
if (chartType === ChartTypes.AreaChart || chartType === ChartTypes.LineChart) {
|
|
808
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
809
|
-
sDate = (0, d3_array_1.min)(points, function (point) {
|
|
810
|
-
return (0, d3_array_1.min)(point.data, function (item) {
|
|
811
|
-
return item.x;
|
|
812
|
-
});
|
|
813
|
-
});
|
|
814
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
815
|
-
lDate = (0, d3_array_1.max)(points, function (point) {
|
|
816
|
-
return (0, d3_array_1.max)(point.data, function (item) {
|
|
817
|
-
return item.x;
|
|
818
|
-
});
|
|
819
|
-
});
|
|
820
|
-
// Need to draw graph with given small and large date
|
|
821
|
-
// (Which Involves customization of date axis tick values)
|
|
822
|
-
// That may be Either from given graph data or from prop 'tickValues' date values.
|
|
823
|
-
// So, Finding smallest and largest dates
|
|
824
|
-
sDate = (0, d3_array_1.min)(tslib_1.__spreadArray(tslib_1.__spreadArray([], tickValues, true), [sDate], false));
|
|
825
|
-
lDate = (0, d3_array_1.max)(tslib_1.__spreadArray(tslib_1.__spreadArray([], tickValues, true), [lDate], false));
|
|
826
|
-
}
|
|
827
|
-
else {
|
|
828
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
829
|
-
sDate = (0, d3_array_1.min)(points, function (point) { return point.x; });
|
|
830
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
831
|
-
lDate = (0, d3_array_1.max)(points, function (point) { return point.x; });
|
|
832
|
-
}
|
|
833
|
-
var rStartValue = margins.left;
|
|
834
|
-
var rEndValue = width - margins.right;
|
|
835
|
-
return isRTL
|
|
836
|
-
? { dStartValue: lDate, dEndValue: sDate, rStartValue: rStartValue, rEndValue: rEndValue }
|
|
837
|
-
: { dStartValue: sDate, dEndValue: lDate, rStartValue: rStartValue, rEndValue: rEndValue };
|
|
838
|
-
}
|
|
839
|
-
exports.domainRangeOfDateForAreaLineVerticalBarChart = domainRangeOfDateForAreaLineVerticalBarChart;
|
|
840
|
-
/**
|
|
841
|
-
* Calculate domain and range values to the Vertical bar chart - For Numeric axis
|
|
842
|
-
* @export
|
|
843
|
-
* @param {IDataPoint[]} points
|
|
844
|
-
* @param {IMargins} margins
|
|
845
|
-
* @param {number} containerWidth
|
|
846
|
-
* @param {boolean} isRTL
|
|
847
|
-
* @param {number} barWidth
|
|
848
|
-
* @returns {IDomainNRange}
|
|
849
|
-
*/
|
|
850
|
-
function domainRageOfVerticalNumeric(points, margins, containerWidth, isRTL, barWidth) {
|
|
851
|
-
var xMax = (0, d3_array_1.max)(points, function (point) { return point.x; });
|
|
852
|
-
var xMin = (0, d3_array_1.min)(points, function (point) { return point.x; });
|
|
853
|
-
var rMin = margins.left;
|
|
854
|
-
var rMax = containerWidth - margins.right;
|
|
855
|
-
return isRTL
|
|
856
|
-
? { dStartValue: xMax, dEndValue: xMin, rStartValue: rMin, rEndValue: rMax }
|
|
857
|
-
: { dStartValue: xMin, dEndValue: xMax, rStartValue: rMin, rEndValue: rMax };
|
|
858
|
-
}
|
|
859
|
-
exports.domainRageOfVerticalNumeric = domainRageOfVerticalNumeric;
|
|
860
|
-
/**
|
|
861
|
-
* Calculating start and ending values of the Area chart and LineChart
|
|
862
|
-
* @export
|
|
863
|
-
* @param {ILineChartPoints[]} points
|
|
864
|
-
* @returns {{ startValue: number; endValue: number }}
|
|
865
|
-
*/
|
|
866
|
-
function findNumericMinMaxOfY(points) {
|
|
867
|
-
var yMax = (0, d3_array_1.max)(points, function (point) {
|
|
868
|
-
return (0, d3_array_1.max)(point.data, function (item) { return item.y; });
|
|
869
|
-
});
|
|
870
|
-
var yMin = (0, d3_array_1.min)(points, function (point) {
|
|
871
|
-
return (0, d3_array_1.min)(point.data, function (item) { return item.y; });
|
|
872
|
-
});
|
|
873
|
-
return {
|
|
874
|
-
startValue: yMin,
|
|
875
|
-
endValue: yMax,
|
|
876
|
-
};
|
|
877
|
-
}
|
|
878
|
-
exports.findNumericMinMaxOfY = findNumericMinMaxOfY;
|
|
879
|
-
/**
|
|
880
|
-
* Find the minimum and maximum values of the vertical stacked bar chart y axis data point. Used for create y axis.
|
|
881
|
-
* @export
|
|
882
|
-
* @param {IDataPoint[]} dataset
|
|
883
|
-
* @returns {{ startValue: number; endValue: number }}
|
|
884
|
-
*/
|
|
885
|
-
function findVSBCNumericMinMaxOfY(dataset) {
|
|
886
|
-
var yMax = (0, d3_array_1.max)(dataset, function (point) { return point.y; });
|
|
887
|
-
var yMin = (0, d3_array_1.min)(dataset, function (point) { return point.y; });
|
|
888
|
-
return { startValue: yMin, endValue: yMax };
|
|
889
|
-
}
|
|
890
|
-
exports.findVSBCNumericMinMaxOfY = findVSBCNumericMinMaxOfY;
|
|
891
|
-
/**
|
|
892
|
-
* Fins the min and max values of the vertical bar chart y axis data point.
|
|
893
|
-
* @export
|
|
894
|
-
* @param {IVerticalBarChartDataPoint[]} points
|
|
895
|
-
* @returns {{ startValue: number; endValue: number }}
|
|
896
|
-
*/
|
|
897
|
-
function findVerticalNumericMinMaxOfY(points) {
|
|
898
|
-
var yMax = (0, d3_array_1.max)(points, function (point) {
|
|
899
|
-
if (point.lineData !== undefined) {
|
|
900
|
-
if (point.y > point.lineData.y) {
|
|
901
|
-
return point.y;
|
|
902
|
-
}
|
|
903
|
-
else {
|
|
904
|
-
return point.lineData.y;
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
else {
|
|
908
|
-
return point.y;
|
|
909
|
-
}
|
|
910
|
-
});
|
|
911
|
-
var yMin = (0, d3_array_1.min)(points, function (point) {
|
|
912
|
-
if (point.lineData !== undefined) {
|
|
913
|
-
if (point.y < point.lineData.y) {
|
|
914
|
-
return point.y;
|
|
915
|
-
}
|
|
916
|
-
else {
|
|
917
|
-
return point.lineData.y;
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
else {
|
|
921
|
-
return point.y;
|
|
922
|
-
}
|
|
923
|
-
});
|
|
924
|
-
return { startValue: yMin, endValue: yMax };
|
|
925
|
-
}
|
|
926
|
-
exports.findVerticalNumericMinMaxOfY = findVerticalNumericMinMaxOfY;
|
|
927
|
-
/**
|
|
928
|
-
* Fins the min and max values of the vertical bar chart y axis data point.
|
|
929
|
-
* @export
|
|
930
|
-
* @param {IVerticalBarChartDataPoint[]} points
|
|
931
|
-
* @returns {{ startValue: number; endValue: number }}
|
|
932
|
-
*/
|
|
933
|
-
function findHBCWANumericMinMaxOfY(points, yAxisType) {
|
|
934
|
-
if (yAxisType !== undefined && yAxisType === YAxisType.NumericAxis) {
|
|
935
|
-
var yMax = (0, d3_array_1.max)(points, function (point) { return point.y; });
|
|
936
|
-
var yMin = (0, d3_array_1.min)(points, function (point) { return point.y; });
|
|
937
|
-
return { startValue: yMin, endValue: yMax };
|
|
938
|
-
}
|
|
939
|
-
return { startValue: 0, endValue: 0 };
|
|
940
|
-
}
|
|
941
|
-
exports.findHBCWANumericMinMaxOfY = findHBCWANumericMinMaxOfY;
|
|
942
|
-
/**
|
|
943
|
-
* @param p string or number or Date
|
|
944
|
-
*
|
|
945
|
-
* This function takes the single data point of the x-aixs
|
|
946
|
-
* and decides what is the x-axis
|
|
947
|
-
*/
|
|
948
|
-
var getTypeOfAxis = function (p, isXAxis) {
|
|
949
|
-
if (isXAxis) {
|
|
950
|
-
switch (typeof p) {
|
|
951
|
-
case 'string':
|
|
952
|
-
return XAxisTypes.StringAxis;
|
|
953
|
-
case 'number':
|
|
954
|
-
return XAxisTypes.NumericAxis;
|
|
955
|
-
default:
|
|
956
|
-
return XAxisTypes.DateAxis;
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
else {
|
|
960
|
-
switch (typeof p) {
|
|
961
|
-
case 'string':
|
|
962
|
-
return YAxisType.StringAxis;
|
|
963
|
-
case 'number':
|
|
964
|
-
return YAxisType.NumericAxis;
|
|
965
|
-
default:
|
|
966
|
-
return YAxisType.DateAxis;
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
exports.getTypeOfAxis = getTypeOfAxis;
|
|
971
|
-
/**
|
|
972
|
-
* we need to make sure that if we add any property to this, then
|
|
973
|
-
* we need to also add that in pointTypes below and vise-versa
|
|
974
|
-
*/
|
|
975
|
-
var Points;
|
|
976
|
-
(function (Points) {
|
|
977
|
-
Points[Points["circle"] = 0] = "circle";
|
|
978
|
-
Points[Points["square"] = 1] = "square";
|
|
979
|
-
Points[Points["triangle"] = 2] = "triangle";
|
|
980
|
-
Points[Points["diamond"] = 3] = "diamond";
|
|
981
|
-
Points[Points["pyramid"] = 4] = "pyramid";
|
|
982
|
-
Points[Points["hexagon"] = 5] = "hexagon";
|
|
983
|
-
Points[Points["pentagon"] = 6] = "pentagon";
|
|
984
|
-
Points[Points["octagon"] = 7] = "octagon";
|
|
985
|
-
})(Points || (exports.Points = Points = {}));
|
|
986
|
-
var CustomPoints;
|
|
987
|
-
(function (CustomPoints) {
|
|
988
|
-
CustomPoints[CustomPoints["dottedLine"] = 0] = "dottedLine";
|
|
989
|
-
})(CustomPoints || (exports.CustomPoints = CustomPoints = {}));
|
|
990
|
-
/**
|
|
991
|
-
* we need to make sure that if we add any property to this, then
|
|
992
|
-
* we need to also add that in enum Point and vise-versa
|
|
993
|
-
*/
|
|
994
|
-
exports.pointTypes = (_a = {},
|
|
995
|
-
_a[Points.circle] = {
|
|
996
|
-
widthRatio: 1,
|
|
997
|
-
},
|
|
998
|
-
_a[Points.square] = {
|
|
999
|
-
widthRatio: 1,
|
|
1000
|
-
},
|
|
1001
|
-
_a[Points.triangle] = {
|
|
1002
|
-
widthRatio: 1,
|
|
1003
|
-
},
|
|
1004
|
-
_a[Points.diamond] = {
|
|
1005
|
-
widthRatio: 1,
|
|
1006
|
-
},
|
|
1007
|
-
_a[Points.pyramid] = {
|
|
1008
|
-
widthRatio: 1,
|
|
1009
|
-
},
|
|
1010
|
-
_a[Points.hexagon] = {
|
|
1011
|
-
widthRatio: 2,
|
|
1012
|
-
},
|
|
1013
|
-
_a[Points.pentagon] = {
|
|
1014
|
-
widthRatio: 1.168,
|
|
1015
|
-
},
|
|
1016
|
-
_a[Points.octagon] = {
|
|
1017
|
-
widthRatio: 2.414,
|
|
1018
|
-
},
|
|
1019
|
-
_a);
|
|
1020
|
-
/**
|
|
1021
|
-
* @param accessibleData accessible data
|
|
1022
|
-
* @param role string to define role of tag
|
|
1023
|
-
* @param isDataFocusable boolean
|
|
1024
|
-
* function returns the accessibility data object
|
|
1025
|
-
*/
|
|
1026
|
-
var getAccessibleDataObject = function (accessibleData, role, isDataFocusable) {
|
|
1027
|
-
if (role === void 0) { role = 'text'; }
|
|
1028
|
-
if (isDataFocusable === void 0) { isDataFocusable = true; }
|
|
1029
|
-
accessibleData = accessibleData !== null && accessibleData !== void 0 ? accessibleData : {};
|
|
1030
|
-
return {
|
|
1031
|
-
role: role,
|
|
1032
|
-
'data-is-focusable': isDataFocusable,
|
|
1033
|
-
'aria-label': accessibleData.ariaLabel,
|
|
1034
|
-
'aria-labelledby': accessibleData.ariaLabelledBy,
|
|
1035
|
-
'aria-describedby': accessibleData.ariaDescribedBy,
|
|
1036
|
-
};
|
|
1037
|
-
};
|
|
1038
|
-
exports.getAccessibleDataObject = getAccessibleDataObject;
|
|
1039
|
-
var convertToLocaleString = function (data, culture) {
|
|
1040
|
-
if (data === undefined || data === null || Number.isNaN(data)) {
|
|
1041
|
-
return data;
|
|
1042
|
-
}
|
|
1043
|
-
culture = culture || undefined;
|
|
1044
|
-
if (typeof data === 'number') {
|
|
1045
|
-
return data.toLocaleString(culture);
|
|
1046
|
-
}
|
|
1047
|
-
else if (typeof data === 'string' && !window.isNaN(Number(data))) {
|
|
1048
|
-
var num = Number(data);
|
|
1049
|
-
return num.toLocaleString(culture);
|
|
1050
|
-
}
|
|
1051
|
-
else if (data instanceof Date) {
|
|
1052
|
-
return data.toLocaleDateString(culture);
|
|
1053
|
-
}
|
|
1054
|
-
return data;
|
|
1055
|
-
};
|
|
1056
|
-
exports.convertToLocaleString = convertToLocaleString;
|
|
1057
|
-
function rotateXAxisLabels(rotateLabelProps) {
|
|
1058
|
-
var node = rotateLabelProps.node, xAxis = rotateLabelProps.xAxis;
|
|
1059
|
-
if (node === null || xAxis === null) {
|
|
1060
|
-
return;
|
|
1061
|
-
}
|
|
1062
|
-
var maxHeight = 0;
|
|
1063
|
-
var xAxisTranslations = [];
|
|
1064
|
-
(0, d3_selection_1.select)(node)
|
|
1065
|
-
.call(xAxis)
|
|
1066
|
-
.selectAll('.tick')
|
|
1067
|
-
.each(function () {
|
|
1068
|
-
var translateValue = this.getAttribute('transform');
|
|
1069
|
-
if ((translateValue === null || translateValue === void 0 ? void 0 : translateValue.indexOf('rotate')) === -1) {
|
|
1070
|
-
var translatePair = translateValue
|
|
1071
|
-
.substring(translateValue.indexOf('(') + 1, translateValue.indexOf(')'))
|
|
1072
|
-
.split(',');
|
|
1073
|
-
if (translatePair.length === 2) {
|
|
1074
|
-
xAxisTranslations.push(translatePair[0]);
|
|
1075
|
-
this.setAttribute('transform', "translate(".concat(translatePair[0], ",0)rotate(-45)"));
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
|
-
var BoxCordinates = this.getBoundingClientRect();
|
|
1079
|
-
var boxHeight = BoxCordinates && BoxCordinates.height;
|
|
1080
|
-
if (boxHeight > maxHeight) {
|
|
1081
|
-
maxHeight = boxHeight;
|
|
1082
|
-
}
|
|
1083
|
-
});
|
|
1084
|
-
var idx = 0;
|
|
1085
|
-
(0, d3_selection_1.select)(node)
|
|
1086
|
-
.call(xAxis)
|
|
1087
|
-
.selectAll('.tick')
|
|
1088
|
-
.each(function () {
|
|
1089
|
-
if (xAxisTranslations.length > idx) {
|
|
1090
|
-
this.setAttribute('transform', "translate(".concat(xAxisTranslations[idx], ",").concat(maxHeight / 2, ")rotate(-45)")); // Translate y by max height/2
|
|
1091
|
-
idx += 1;
|
|
1092
|
-
}
|
|
1093
|
-
});
|
|
1094
|
-
return Math.floor(maxHeight / 1.414); // Compute maxHeight/tanInverse(45) to get the vertical height of labels.
|
|
1095
|
-
}
|
|
1096
|
-
exports.rotateXAxisLabels = rotateXAxisLabels;
|
|
1097
|
-
function wrapTextInsideDonut(selectorClass, maxWidth) {
|
|
1098
|
-
var idx = 0;
|
|
1099
|
-
(0, d3_selection_1.selectAll)(".".concat(selectorClass)).each(function () {
|
|
1100
|
-
var text = (0, d3_selection_1.select)(this);
|
|
1101
|
-
var words = text.text().split(/\s+/).reverse();
|
|
1102
|
-
var word = '';
|
|
1103
|
-
var line = [];
|
|
1104
|
-
var lineNumber = 0;
|
|
1105
|
-
var lineHeight = 1.1; // ems
|
|
1106
|
-
var y = text.attr('y');
|
|
1107
|
-
var tspan = text
|
|
1108
|
-
.text(null)
|
|
1109
|
-
.append('tspan')
|
|
1110
|
-
.attr('id', "WordBreakId-".concat(idx, "-").concat(lineNumber))
|
|
1111
|
-
.attr('x', 0)
|
|
1112
|
-
.attr('y', y)
|
|
1113
|
-
.attr('dy', lineNumber++ * lineHeight + 'em');
|
|
1114
|
-
while ((word = words.pop())) {
|
|
1115
|
-
line.push(word);
|
|
1116
|
-
tspan.text(line.join(' ') + ' ');
|
|
1117
|
-
if (tspan.node().getComputedTextLength() > maxWidth && line.length > 1) {
|
|
1118
|
-
line.pop();
|
|
1119
|
-
tspan.text(line.join(' ') + ' ');
|
|
1120
|
-
line = [word];
|
|
1121
|
-
tspan = text
|
|
1122
|
-
.append('tspan')
|
|
1123
|
-
.attr('id', "WordBreakId-".concat(idx, "-").concat(lineNumber))
|
|
1124
|
-
.attr('x', 0)
|
|
1125
|
-
.attr('y', y)
|
|
1126
|
-
.attr('dy', lineNumber++ * lineHeight + 'em')
|
|
1127
|
-
.text(word);
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
idx += 1;
|
|
1131
|
-
});
|
|
1132
|
-
}
|
|
1133
|
-
exports.wrapTextInsideDonut = wrapTextInsideDonut;
|
|
1134
|
-
function formatValueWithSIPrefix(value) {
|
|
1135
|
-
var specifier;
|
|
1136
|
-
if (value < 1000) {
|
|
1137
|
-
specifier = '.2~'; // upto 2 decimal places without insignificant trailing zeros
|
|
1138
|
-
}
|
|
1139
|
-
else {
|
|
1140
|
-
specifier = '.1'; // upto 1 decimal place
|
|
1141
|
-
}
|
|
1142
|
-
return (0, d3_format_2.formatPrefix)(specifier, value)(value);
|
|
1143
|
-
}
|
|
1144
|
-
exports.formatValueWithSIPrefix = formatValueWithSIPrefix;
|
|
1145
|
-
var DEFAULT_BAR_WIDTH = 16;
|
|
1146
|
-
var MIN_BAR_WIDTH = 1;
|
|
1147
|
-
var getBarWidth = function (barWidthProp, maxBarWidthProp, adjustedValue) {
|
|
1148
|
-
if (adjustedValue === void 0) { adjustedValue = DEFAULT_BAR_WIDTH; }
|
|
1149
|
-
var barWidth;
|
|
1150
|
-
if (typeof barWidthProp === 'number') {
|
|
1151
|
-
barWidth = barWidthProp;
|
|
1152
|
-
}
|
|
1153
|
-
else if (barWidthProp === 'default' || typeof barWidthProp === 'undefined') {
|
|
1154
|
-
barWidth = Math.min(adjustedValue, DEFAULT_BAR_WIDTH);
|
|
1155
|
-
}
|
|
1156
|
-
else {
|
|
1157
|
-
barWidth = adjustedValue;
|
|
1158
|
-
}
|
|
1159
|
-
if (typeof maxBarWidthProp === 'number') {
|
|
1160
|
-
barWidth = Math.min(barWidth, maxBarWidthProp);
|
|
1161
|
-
}
|
|
1162
|
-
barWidth = Math.max(barWidth, MIN_BAR_WIDTH);
|
|
1163
|
-
return barWidth;
|
|
1164
|
-
};
|
|
1165
|
-
exports.getBarWidth = getBarWidth;
|
|
1166
|
-
var getScalePadding = function (prop, shorthandProp, defaultValue) {
|
|
1167
|
-
if (defaultValue === void 0) { defaultValue = 0; }
|
|
1168
|
-
var padding = typeof prop === 'number' ? prop : typeof shorthandProp === 'number' ? shorthandProp : defaultValue;
|
|
1169
|
-
padding = Math.max(0, Math.min(padding, 1));
|
|
1170
|
-
return padding;
|
|
1171
|
-
};
|
|
1172
|
-
exports.getScalePadding = getScalePadding;
|
|
1173
|
-
var isScalePaddingDefined = function (prop, shorthandProp) {
|
|
1174
|
-
return typeof prop === 'number' || typeof shorthandProp === 'number';
|
|
1175
|
-
};
|
|
1176
|
-
exports.isScalePaddingDefined = isScalePaddingDefined;
|
|
1177
|
-
var formatDate = function (date, useUTC) {
|
|
1178
|
-
var timeFormat = useUTC ? d3_time_format_1.utcFormat : d3_time_format_1.timeFormat;
|
|
1179
|
-
return timeFormat('%-e %b %Y, %H:%M')(date) + (useUTC ? ' GMT' : '');
|
|
1180
|
-
};
|
|
1181
|
-
exports.formatDate = formatDate;
|
|
1182
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1183
|
-
function getSecureProps(props) {
|
|
1184
|
-
if (props === void 0) { props = {}; }
|
|
1185
|
-
var dangerouslySetInnerHTML = props.dangerouslySetInnerHTML, result = tslib_1.__rest(props, ["dangerouslySetInnerHTML"]);
|
|
1186
|
-
return result;
|
|
1187
|
-
}
|
|
1188
|
-
exports.getSecureProps = getSecureProps;
|
|
1189
|
-
function areArraysEqual(arr1, arr2) {
|
|
1190
|
-
if (arr1 === arr2) {
|
|
1191
|
-
return true;
|
|
1192
|
-
}
|
|
1193
|
-
if (!arr1 && !arr2) {
|
|
1194
|
-
return true;
|
|
1195
|
-
}
|
|
1196
|
-
if (!arr1 || !arr2 || arr1.length !== arr2.length) {
|
|
1197
|
-
return false;
|
|
1198
|
-
}
|
|
1199
|
-
for (var i = 0; i < arr1.length; i++) {
|
|
1200
|
-
if (arr1[i] !== arr2[i]) {
|
|
1201
|
-
return false;
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
return true;
|
|
1205
|
-
}
|
|
1206
|
-
exports.areArraysEqual = areArraysEqual;
|
|
1207
|
-
var cssVarRegExp = /var\((--[a-zA-Z0-9\-]+)\)/g;
|
|
1208
|
-
function resolveCSSVariables(chartContainer, styleRules) {
|
|
1209
|
-
var containerStyles = getComputedStyle(chartContainer);
|
|
1210
|
-
return styleRules.replace(cssVarRegExp, function (match, group1) {
|
|
1211
|
-
return containerStyles.getPropertyValue(group1);
|
|
1212
|
-
});
|
|
1213
|
-
}
|
|
1214
|
-
exports.resolveCSSVariables = resolveCSSVariables;
|
|
1215
|
-
function copyStyle(properties, fromEl, toEl) {
|
|
1216
|
-
var styles = getComputedStyle(fromEl);
|
|
1217
|
-
if (Array.isArray(properties)) {
|
|
1218
|
-
properties.forEach(function (prop) {
|
|
1219
|
-
(0, d3_selection_1.select)(toEl).style(prop, styles.getPropertyValue(prop));
|
|
1220
|
-
});
|
|
1221
|
-
}
|
|
1222
|
-
else {
|
|
1223
|
-
Object.entries(properties).forEach(function (_a) {
|
|
1224
|
-
var fromProp = _a[0], toProp = _a[1];
|
|
1225
|
-
(0, d3_selection_1.select)(toEl).style(toProp, styles.getPropertyValue(fromProp));
|
|
1226
|
-
});
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
exports.copyStyle = copyStyle;
|
|
1230
|
-
var MEASUREMENT_SPAN_STYLE = {
|
|
1231
|
-
position: 'absolute',
|
|
1232
|
-
visibility: 'hidden',
|
|
1233
|
-
top: '-20000px',
|
|
1234
|
-
left: 0,
|
|
1235
|
-
padding: 0,
|
|
1236
|
-
margin: 0,
|
|
1237
|
-
border: 'none',
|
|
1238
|
-
whiteSpace: 'pre',
|
|
1239
|
-
};
|
|
1240
|
-
var MEASUREMENT_SPAN_ID = (0, react_1.getId)('measurement_span_');
|
|
1241
|
-
var createMeasurementSpan = function (text, className, parentElement) {
|
|
1242
|
-
var measurementSpan = document.getElementById(MEASUREMENT_SPAN_ID);
|
|
1243
|
-
if (!measurementSpan) {
|
|
1244
|
-
measurementSpan = document.createElement('span');
|
|
1245
|
-
measurementSpan.setAttribute('id', MEASUREMENT_SPAN_ID);
|
|
1246
|
-
measurementSpan.setAttribute('aria-hidden', 'true');
|
|
1247
|
-
if (parentElement) {
|
|
1248
|
-
parentElement.appendChild(measurementSpan);
|
|
1249
|
-
}
|
|
1250
|
-
else {
|
|
1251
|
-
document.body.appendChild(measurementSpan);
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
measurementSpan.setAttribute('class', className);
|
|
1255
|
-
Object.assign(measurementSpan.style, MEASUREMENT_SPAN_STYLE);
|
|
1256
|
-
measurementSpan.textContent = "".concat(text);
|
|
1257
|
-
return measurementSpan;
|
|
1258
|
-
};
|
|
1259
|
-
exports.createMeasurementSpan = createMeasurementSpan;
|
|
1260
|
-
});
|
|
1261
|
-
//# sourceMappingURL=utilities.js.map
|