@fluentui/react-charting 5.21.27 → 5.21.28
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 +28 -1
- package/CHANGELOG.md +13 -2
- package/lib/AreaChart.js.map +1 -1
- package/lib/CartesianChart.js.map +1 -1
- package/lib/DonutChart.js.map +1 -1
- package/lib/GaugeChart.js.map +1 -1
- package/lib/GroupedVerticalBarChart.js.map +1 -1
- package/lib/HeatMapChart.js.map +1 -1
- package/lib/HorizontalBarChart.js.map +1 -1
- package/lib/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib/Legends.js.map +1 -1
- package/lib/LineChart.js.map +1 -1
- package/lib/PieChart.js.map +1 -1
- package/lib/SankeyChart.js.map +1 -1
- package/lib/Sparkline.js.map +1 -1
- package/lib/StackedBarChart.js.map +1 -1
- package/lib/Styling.js.map +1 -1
- package/lib/TreeChart.js.map +1 -1
- package/lib/Utilities.js.map +1 -1
- package/lib/VerticalBarChart.js.map +1 -1
- package/lib/VerticalStackedBarChart.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.styles.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib/components/AreaChart/index.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/CommonComponents/index.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib/components/DonutChart/Arc/index.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.styles.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -1
- package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib/components/DonutChart/Pie/index.js.map +1 -1
- package/lib/components/DonutChart/index.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib/components/GaugeChart/index.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/index.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib/components/HeatMapChart/index.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib/components/HorizontalBarChart/index.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -1
- package/lib/components/Legends/Legends.base.js.map +1 -1
- package/lib/components/Legends/Legends.js.map +1 -1
- package/lib/components/Legends/Legends.styles.js.map +1 -1
- package/lib/components/Legends/Legends.types.js.map +1 -1
- package/lib/components/Legends/index.js.map +1 -1
- package/lib/components/Legends/shape.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/LineChart/LineChart.js.map +1 -1
- package/lib/components/LineChart/LineChart.styles.js.map +1 -1
- package/lib/components/LineChart/LineChart.types.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib/components/LineChart/index.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -1
- package/lib/components/PieChart/Arc/Arc.types.js.map +1 -1
- package/lib/components/PieChart/Arc/index.js.map +1 -1
- package/lib/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -1
- package/lib/components/PieChart/Pie/Pie.types.js.map +1 -1
- package/lib/components/PieChart/Pie/index.js.map +1 -1
- package/lib/components/PieChart/PieChart.base.js.map +1 -1
- package/lib/components/PieChart/PieChart.js.map +1 -1
- package/lib/components/PieChart/PieChart.styles.js.map +1 -1
- package/lib/components/PieChart/PieChart.types.js.map +1 -1
- package/lib/components/PieChart/index.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib/components/SankeyChart/index.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.base.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.styles.js.map +1 -1
- package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib/components/Sparkline/index.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib/components/StackedBarChart/index.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.base.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.styles.js.map +1 -1
- package/lib/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib/components/TreeChart/index.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib/components/VerticalBarChart/index.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/index.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/types/IEventAnnotation.js.map +1 -1
- package/lib/types/ILegendDataItem.js.map +1 -1
- package/lib/types/index.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -1
- package/lib/utilities/ChartHoverCard/index.js.map +1 -1
- package/lib/utilities/FocusableTooltipText.js.map +1 -1
- package/lib/utilities/SVGTooltipText.js.map +1 -1
- package/lib/utilities/colors.js.map +1 -1
- package/lib/utilities/index.js.map +1 -1
- package/lib/utilities/locale-util.js.map +1 -1
- package/lib/utilities/test-data.js.map +1 -1
- package/lib/utilities/utilities.js.map +1 -1
- package/lib/utilities/vbc-utils.js.map +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-commonjs/AreaChart.js.map +1 -1
- package/lib-commonjs/CartesianChart.js.map +1 -1
- package/lib-commonjs/DonutChart.js.map +1 -1
- package/lib-commonjs/GaugeChart.js.map +1 -1
- package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -1
- package/lib-commonjs/HeatMapChart.js.map +1 -1
- package/lib-commonjs/HorizontalBarChart.js.map +1 -1
- package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib-commonjs/Legends.js.map +1 -1
- package/lib-commonjs/LineChart.js.map +1 -1
- package/lib-commonjs/PieChart.js.map +1 -1
- package/lib-commonjs/SankeyChart.js.map +1 -1
- package/lib-commonjs/Sparkline.js.map +1 -1
- package/lib-commonjs/StackedBarChart.js.map +1 -1
- package/lib-commonjs/Styling.js.map +1 -1
- package/lib-commonjs/TreeChart.js.map +1 -1
- package/lib-commonjs/Utilities.js.map +1 -1
- package/lib-commonjs/VerticalBarChart.js.map +1 -1
- package/lib-commonjs/VerticalStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
- package/lib-commonjs/components/AreaChart/index.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -1
- package/lib-commonjs/components/DonutChart/index.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/index.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/index.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
- package/lib-commonjs/components/Legends/index.js.map +1 -1
- package/lib-commonjs/components/Legends/shape.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
- package/lib-commonjs/components/LineChart/index.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -1
- package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -1
- package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -1
- package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -1
- package/lib-commonjs/components/PieChart/index.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/index.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -1
- package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
- package/lib-commonjs/components/Sparkline/index.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/index.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -1
- package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
- package/lib-commonjs/components/TreeChart/index.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/types/IEventAnnotation.js.map +1 -1
- package/lib-commonjs/types/ILegendDataItem.js.map +1 -1
- package/lib-commonjs/types/index.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -1
- package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/colors.js.map +1 -1
- package/lib-commonjs/utilities/index.js.map +1 -1
- package/lib-commonjs/utilities/locale-util.js.map +1 -1
- package/lib-commonjs/utilities/test-data.js.map +1 -1
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/lib-commonjs/utilities/vbc-utils.js.map +1 -1
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +4 -4
- package/dist/react-charting.js +0 -1
- package/dist/react-charting.min.js +0 -1
- package/lib-amd/AreaChart.d.ts +0 -1
- package/lib-amd/AreaChart.js +0 -6
- package/lib-amd/AreaChart.js.map +0 -1
- package/lib-amd/CartesianChart.d.ts +0 -1
- package/lib-amd/CartesianChart.js +0 -6
- package/lib-amd/CartesianChart.js.map +0 -1
- package/lib-amd/DonutChart.d.ts +0 -1
- package/lib-amd/DonutChart.js +0 -6
- package/lib-amd/DonutChart.js.map +0 -1
- package/lib-amd/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/SankeyChart.d.ts +0 -1
- package/lib-amd/SankeyChart.js +0 -6
- package/lib-amd/SankeyChart.js.map +0 -1
- package/lib-amd/Sparkline.d.ts +0 -1
- package/lib-amd/Sparkline.js +0 -6
- package/lib-amd/Sparkline.js.map +0 -1
- package/lib-amd/StackedBarChart.d.ts +0 -1
- package/lib-amd/StackedBarChart.js +0 -6
- package/lib-amd/StackedBarChart.js.map +0 -1
- package/lib-amd/Styling.d.ts +0 -2
- package/lib-amd/Styling.js +0 -75
- package/lib-amd/Styling.js.map +0 -1
- package/lib-amd/TreeChart.d.ts +0 -1
- package/lib-amd/TreeChart.js +0 -6
- package/lib-amd/TreeChart.js.map +0 -1
- package/lib-amd/Utilities.d.ts +0 -2
- package/lib-amd/Utilities.js +0 -183
- package/lib-amd/Utilities.js.map +0 -1
- package/lib-amd/VerticalBarChart.d.ts +0 -1
- package/lib-amd/VerticalBarChart.js +0 -6
- package/lib-amd/VerticalBarChart.js.map +0 -1
- package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
- package/lib-amd/VerticalStackedBarChart.js +0 -6
- package/lib-amd/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -103
- package/lib-amd/components/AreaChart/AreaChart.base.js +0 -652
- 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 -59
- 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 -62
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -593
- 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 -180
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -528
- package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib-amd/components/CommonComponents/index.d.ts +0 -2
- package/lib-amd/components/CommonComponents/index.js +0 -7
- package/lib-amd/components/CommonComponents/index.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
- package/lib-amd/components/DonutChart/Arc/Arc.js +0 -88
- 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 -33
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -124
- 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 -54
- package/lib-amd/components/DonutChart/DonutChart.base.js +0 -241
- 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 -75
- 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 -67
- 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 -96
- 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 -75
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -410
- 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 -122
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -238
- 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 -72
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -425
- 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 -111
- 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 -152
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -538
- 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 -29
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
- 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 -270
- 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 -188
- 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 -61
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -499
- 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 -112
- 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 -43
- package/lib-amd/components/Legends/Legends.base.js +0 -308
- 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 -2
- package/lib-amd/components/Legends/Legends.styles.js +0 -111
- package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +0 -210
- 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 -92
- package/lib-amd/components/LineChart/LineChart.base.js +0 -861
- 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 -98
- 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 -97
- 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 -85
- 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 -46
- 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/SankeyChart/SankeyChart.base.d.ts +0 -90
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -930
- 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 -65
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -146
- 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 -412
- 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 -213
- 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 -349
- 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 -222
- 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 -320
- 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 -84
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -738
- 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 -145
- 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 -92
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -754
- 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 -172
- 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 -21
- package/lib-amd/index.js +0 -25
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/types/IDataPoint.d.ts +0 -687
- 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 -95
- package/lib-amd/utilities/SVGTooltipText.js +0 -175
- package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
- package/lib-amd/utilities/colors.d.ts +0 -51
- package/lib-amd/utilities/colors.js +0 -139
- package/lib-amd/utilities/colors.js.map +0 -1
- package/lib-amd/utilities/index.d.ts +0 -4
- package/lib-amd/utilities/index.js +0 -9
- 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 -27
- package/lib-amd/utilities/test-data.js +0 -214
- package/lib-amd/utilities/test-data.js.map +0 -1
- package/lib-amd/utilities/utilities.d.ts +0 -411
- package/lib-amd/utilities/utilities.js +0 -1085
- 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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sparkline.base.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.base.tsx"],"names":[],"mappings":"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","sourcesContent":["import * as React from 'react';\nimport { scaleLinear as d3ScaleLinear } from 'd3-scale';\nimport { area as d3Area, line as d3Line, curveLinear as d3curveLinear } from 'd3-shape';\nimport { max as d3Max, extent as d3Extent } from 'd3-array';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport { ILineChartDataPoint } from '../../types/IDataPoint';\nimport { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';\nimport { ISparklineProps, ISparklineStyleProps, ISparklineStyles } from '../../index';\n\nconst getClassNames = classNamesFunction<ISparklineStyleProps, ISparklineStyles>();\n\nexport interface ISparklineState {\n _points: ILineChartDataPoint[] | null;\n _width: number;\n _height: number;\n _valueTextWidth: number;\n}\n\nexport class SparklineBase extends React.Component<ISparklineProps, ISparklineState> {\n private margin = {\n top: 2,\n right: 0,\n bottom: 0,\n left: 0,\n };\n\n /* eslint-disable @typescript-eslint/no-explicit-any */\n private x: any;\n\n /* eslint-disable @typescript-eslint/no-explicit-any */\n private y: any;\n private area: any;\n private line: any;\n private _emptyChartId: string;\n private _isRTL: boolean = getRTL();\n\n constructor(props: ISparklineProps) {\n super(props);\n this.state = {\n _points: null,\n _width: this.props.width! || 80,\n _height: this.props.height! || 20,\n _valueTextWidth: this.props.valueTextWidth! || 80,\n };\n this._emptyChartId = getId('_SparklineChart_empty');\n }\n\n public componentDidMount() {\n if (!this._isChartEmpty()) {\n const area = d3Area()\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .x((d: any) => this.x(d.x))\n .y0(this.state._height)\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .y1((d: any) => this.y(d.y))\n .curve(d3curveLinear);\n this.area = area;\n\n const line = d3Line()\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .x((d: any) => this.x(d.x))\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .y((d: any) => this.y(d.y))\n .curve(d3curveLinear);\n this.line = line;\n\n const points = this.props.data!.lineChartData![0].data;\n\n /* eslint-disable @typescript-eslint/no-explicit-any */\n const [xMin, xMax] = d3Extent(points, (d: any) => d.x);\n\n this.x = d3ScaleLinear()\n .domain([xMin, xMax])\n .range([this.margin.left!, this.state._width - this.margin.right!]);\n this.y = d3ScaleLinear()\n /* eslint-disable @typescript-eslint/no-explicit-any */\n .domain([0, d3Max(points, (d: any) => d.y)])\n .range([this.state._height - this.margin.bottom!, this.margin.top!]);\n\n this.setState({\n _points: points,\n });\n }\n }\n\n public drawSparkline() {\n return (\n <>\n <path\n className=\"line\"\n d={this.line(this.state._points)}\n fill={'transparent'}\n opacity={1}\n strokeWidth={2}\n stroke={this.props.data!.lineChartData![0].color!}\n />\n <path\n className=\"area\"\n d={this.area(this.state._points)}\n opacity={1}\n fillOpacity={0.2}\n fill={this.props.data!.lineChartData![0].color!}\n role=\"img\"\n aria-hidden\n />\n </>\n );\n }\n\n public render() {\n const classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n });\n return !this._isChartEmpty() ? (\n <FocusZone\n direction={FocusZoneDirection.horizontal}\n isCircularNavigation={true}\n className={classNames.inlineBlock}\n >\n <div className={classNames.inlineBlock}>\n {this.state._width >= 50 && this.state._height >= 16 ? (\n <svg\n width={this.state._width}\n height={this.state._height}\n data-is-focusable={true}\n aria-label={`Sparkline with label ${this.props.data!.lineChartData![0].legend!}`}\n >\n {this.state._points ? this.drawSparkline() : null}\n </svg>\n ) : (\n <></>\n )}\n {this.props.showLegend && this.props.data!.lineChartData![0].legend ? (\n <svg width={this.state._valueTextWidth} height={this.state._height} data-is-focusable={true}>\n <text\n x=\"0%\"\n textAnchor={this._isRTL ? 'end' : 'start'}\n dx={8}\n y=\"100%\"\n dy={-5}\n className={classNames.valueText}\n >\n {this.props.data!.lineChartData![0].legend!}\n </text>\n </svg>\n ) : (\n <></>\n )}\n </div>\n </FocusZone>\n ) : (\n <div\n id={this._emptyChartId}\n role={'alert'}\n style={{ opacity: '0' }}\n aria-label={'Graph has no data to display'}\n />\n );\n }\n\n private _isChartEmpty(): boolean {\n return !(\n this.props.data &&\n this.props.data.lineChartData &&\n this.props.data.lineChartData.length > 0 &&\n this.props.data.lineChartData.filter(item => item.data.length === 0).length === 0\n );\n }\n}\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "@fluentui/react/lib/Utilities", "./Sparkline.base", "./Sparkline.styles"], function (require, exports, Utilities_1, Sparkline_base_1, Sparkline_styles_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Sparkline = void 0;
|
|
5
|
-
// Create a Sparkline variant which uses these default styles and this styled subcomponent.
|
|
6
|
-
/**
|
|
7
|
-
* Sparkline component
|
|
8
|
-
* {@docCategory Sparkline}
|
|
9
|
-
*/
|
|
10
|
-
exports.Sparkline = (0, Utilities_1.styled)(Sparkline_base_1.SparklineBase, Sparkline_styles_1.getStyles);
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=Sparkline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sparkline.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.tsx"],"names":[],"mappings":";;;;IAMA,2FAA2F;IAC3F;;;OAGG;IACU,QAAA,SAAS,GAA6C,IAAA,kBAAM,EAIvE,8BAAa,EAAE,4BAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { ISparklineStyles, ISparklineProps, ISparklineStyleProps } from '../../index';\nimport { SparklineBase } from './Sparkline.base';\nimport { getStyles } from './Sparkline.styles';\n\n// Create a Sparkline variant which uses these default styles and this styled subcomponent.\n/**\n * Sparkline component\n * {@docCategory Sparkline}\n */\nexport const Sparkline: React.FunctionComponent<ISparklineProps> = styled<\n ISparklineProps,\n ISparklineStyleProps,\n ISparklineStyles\n>(SparklineBase, getStyles);\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib"], function (require, exports, tslib_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.getStyles = void 0;
|
|
5
|
-
var getStyles = function (props) {
|
|
6
|
-
return {
|
|
7
|
-
inlineBlock: {
|
|
8
|
-
display: 'inline',
|
|
9
|
-
},
|
|
10
|
-
valueText: tslib_1.__assign(tslib_1.__assign({}, props.theme.fonts.smallPlus), { fill: props.theme.semanticColors.messageText }),
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
exports.getStyles = getStyles;
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=Sparkline.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sparkline.styles.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.styles.ts"],"names":[],"mappings":";;;;IAEO,IAAM,SAAS,GAAG,UAAC,KAA2B;QACnD,OAAO;YACL,WAAW,EAAE;gBACX,OAAO,EAAE,QAAQ;aAClB;YACD,SAAS,wCACJ,KAAK,CAAC,KAAM,CAAC,KAAK,CAAC,SAAS,KAC/B,IAAI,EAAE,KAAK,CAAC,KAAM,CAAC,cAAc,CAAC,WAAW,GAC9C;SACF,CAAC;IACJ,CAAC,CAAC;IAVW,QAAA,SAAS,aAUpB","sourcesContent":["import { ISparklineStyleProps, ISparklineStyles } from './Sparkline.types';\n\nexport const getStyles = (props: ISparklineStyleProps): ISparklineStyles => {\n return {\n inlineBlock: {\n display: 'inline',\n },\n valueText: {\n ...props.theme!.fonts.smallPlus,\n fill: props.theme!.semanticColors.messageText,\n },\n };\n};\n"]}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { ITheme, IStyle } from '@fluentui/react/lib/Styling';
|
|
2
|
-
import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
|
|
3
|
-
import { IChartProps } from '../../types/IDataPoint';
|
|
4
|
-
import { ICartesianChartStyleProps } from '../CommonComponents/index';
|
|
5
|
-
export interface ISparklineStyleProps extends ICartesianChartStyleProps {
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Sparkline properties
|
|
9
|
-
* {@docCategory SparklineChart}
|
|
10
|
-
*/
|
|
11
|
-
export interface ISparklineProps {
|
|
12
|
-
/**
|
|
13
|
-
* An array of chart data points for the Sparkline chart
|
|
14
|
-
*/
|
|
15
|
-
data?: IChartProps;
|
|
16
|
-
/**
|
|
17
|
-
* Width of chart
|
|
18
|
-
* * @default 80
|
|
19
|
-
*/
|
|
20
|
-
width?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Height of chart
|
|
23
|
-
* @default 20
|
|
24
|
-
*/
|
|
25
|
-
height?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Width of value text
|
|
28
|
-
* * @default 80
|
|
29
|
-
*/
|
|
30
|
-
valueTextWidth?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Additional CSS class(es) to apply to the SparklineChart.
|
|
33
|
-
*/
|
|
34
|
-
className?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Theme (provided through customization.)
|
|
37
|
-
*/
|
|
38
|
-
theme?: ITheme;
|
|
39
|
-
/**
|
|
40
|
-
* The prop used to define the culture to localized the numbers
|
|
41
|
-
*/
|
|
42
|
-
culture?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Prop used to determine whether to show the legend or not
|
|
45
|
-
*/
|
|
46
|
-
showLegend?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Call to provide customized styling that will layer on top of the variant rules.
|
|
49
|
-
*/
|
|
50
|
-
styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Sparkline styles
|
|
54
|
-
* {@docCategory SparklineChart}
|
|
55
|
-
*/
|
|
56
|
-
export interface ISparklineStyles {
|
|
57
|
-
inlineBlock?: IStyle;
|
|
58
|
-
valueText?: IStyle;
|
|
59
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sparkline.types.js","sourceRoot":"../src/","sources":["components/Sparkline/Sparkline.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IChartProps } from '../../types/IDataPoint';\nimport { ICartesianChartStyleProps } from '../CommonComponents/index';\n\nexport interface ISparklineStyleProps extends ICartesianChartStyleProps {}\n\n/**\n * Sparkline properties\n * {@docCategory SparklineChart}\n */\nexport interface ISparklineProps {\n /**\n * An array of chart data points for the Sparkline chart\n */\n data?: IChartProps;\n\n /**\n * Width of chart\n * * @default 80\n */\n width?: number;\n\n /**\n * Height of chart\n * @default 20\n */\n height?: number;\n\n /**\n * Width of value text\n * * @default 80\n */\n valueTextWidth?: number;\n\n /**\n * Additional CSS class(es) to apply to the SparklineChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * Prop used to determine whether to show the legend or not\n */\n showLegend?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;\n}\n\n/**\n * Sparkline styles\n * {@docCategory SparklineChart}\n */\nexport interface ISparklineStyles {\n inlineBlock?: IStyle;\n valueText?: IStyle;\n}\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib", "./Sparkline", "./Sparkline.types"], function (require, exports, tslib_1, Sparkline_1, Sparkline_types_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
tslib_1.__exportStar(Sparkline_1, exports);
|
|
5
|
-
tslib_1.__exportStar(Sparkline_types_1, exports);
|
|
6
|
-
});
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Sparkline/index.ts"],"names":[],"mappings":";;;IAAA,2CAA4B;IAC5B,iDAAkC","sourcesContent":["export * from './Sparkline';\nexport * from './Sparkline.types';\n"]}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IAccessibilityProps, IChartDataPoint, IMultiStackedBarChartProps } from './index';
|
|
3
|
-
export interface IRefArrayData {
|
|
4
|
-
legendText?: string;
|
|
5
|
-
refElement?: SVGGElement;
|
|
6
|
-
}
|
|
7
|
-
export interface IMultiStackedBarChartState {
|
|
8
|
-
isCalloutVisible: boolean;
|
|
9
|
-
refArray: IRefArrayData[];
|
|
10
|
-
selectedLegend: string;
|
|
11
|
-
activeLegend: string;
|
|
12
|
-
refSelected: any;
|
|
13
|
-
dataForHoverCard: number;
|
|
14
|
-
color: string;
|
|
15
|
-
xCalloutValue?: string;
|
|
16
|
-
yCalloutValue?: string;
|
|
17
|
-
dataPointCalloutProps?: IChartDataPoint;
|
|
18
|
-
callOutAccessibilityData?: IAccessibilityProps;
|
|
19
|
-
calloutLegend: string;
|
|
20
|
-
barSpacingInPercent: number;
|
|
21
|
-
}
|
|
22
|
-
export declare class MultiStackedBarChartBase extends React.Component<IMultiStackedBarChartProps, IMultiStackedBarChartState> {
|
|
23
|
-
static defaultProps: Partial<IMultiStackedBarChartProps>;
|
|
24
|
-
private _classNames;
|
|
25
|
-
private _calloutId;
|
|
26
|
-
private _calloutAnchorPoint;
|
|
27
|
-
private _longestBarTotalValue;
|
|
28
|
-
private _isRTL;
|
|
29
|
-
private barChartSvgRef;
|
|
30
|
-
private _emptyChartId;
|
|
31
|
-
private _barId;
|
|
32
|
-
private _barIdPlaceholderPartToWhole;
|
|
33
|
-
private _barIdEmpty;
|
|
34
|
-
constructor(props: IMultiStackedBarChartProps);
|
|
35
|
-
componentDidMount(): void;
|
|
36
|
-
render(): JSX.Element;
|
|
37
|
-
/**
|
|
38
|
-
* The Create bar functions returns an array of <rect> elements, which form the bars
|
|
39
|
-
* For each bar an x value, and a width needs to be specified
|
|
40
|
-
* The computations are done based on percentages
|
|
41
|
-
* Extra margin is also provided, in the x value to provide some spacing
|
|
42
|
-
*/
|
|
43
|
-
private _createBarsAndLegends;
|
|
44
|
-
private _onBarFocus;
|
|
45
|
-
private _refCallback;
|
|
46
|
-
private _adjustProps;
|
|
47
|
-
private _onHover;
|
|
48
|
-
private _getLegendData;
|
|
49
|
-
private _onClick;
|
|
50
|
-
private _onLeave;
|
|
51
|
-
private _onBarHover;
|
|
52
|
-
private _onBarLeave;
|
|
53
|
-
private _handleChartMouseLeave;
|
|
54
|
-
private _redirectToUrl;
|
|
55
|
-
private _closeCallout;
|
|
56
|
-
/**
|
|
57
|
-
* This function checks if the given legend is highlighted or not.
|
|
58
|
-
* A legend can be highlighted in 2 ways:
|
|
59
|
-
* 1. selection: if the user clicks on it
|
|
60
|
-
* 2. hovering: if there is no selected legend and the user hovers over it
|
|
61
|
-
*/
|
|
62
|
-
private _legendHighlighted;
|
|
63
|
-
/**
|
|
64
|
-
* This function checks if none of the legends is selected or hovered.
|
|
65
|
-
*/
|
|
66
|
-
private _noLegendHighlighted;
|
|
67
|
-
private _getAriaLabel;
|
|
68
|
-
private _computeLongestBarTotalValue;
|
|
69
|
-
private _isChartEmpty;
|
|
70
|
-
}
|
|
@@ -1,412 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib", "react", "@fluentui/react/lib/Utilities", "../Legends/index", "./index", "@fluentui/react/lib/Callout", "@fluentui/react-focus", "../../utilities/locale-util", "../../utilities/index", "../../utilities/FocusableTooltipText"], function (require, exports, tslib_1, React, Utilities_1, index_1, index_2, Callout_1, react_focus_1, locale_util_1, index_3, FocusableTooltipText_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.MultiStackedBarChartBase = void 0;
|
|
5
|
-
var getClassNames = (0, Utilities_1.classNamesFunction)();
|
|
6
|
-
var MultiStackedBarChartBase = exports.MultiStackedBarChartBase = /** @class */ (function (_super) {
|
|
7
|
-
tslib_1.__extends(MultiStackedBarChartBase, _super);
|
|
8
|
-
function MultiStackedBarChartBase(props) {
|
|
9
|
-
var _this = _super.call(this, props) || this;
|
|
10
|
-
_this._isRTL = (0, Utilities_1.getRTL)();
|
|
11
|
-
_this._adjustProps = function () {
|
|
12
|
-
var _a;
|
|
13
|
-
var theme = (_a = _this.props, _a.theme), className = _a.className, styles = _a.styles, width = _a.width, barHeight = _a.barHeight;
|
|
14
|
-
_this._classNames = getClassNames(styles, {
|
|
15
|
-
legendColor: _this.state.color,
|
|
16
|
-
theme: theme,
|
|
17
|
-
width: width,
|
|
18
|
-
className: className,
|
|
19
|
-
barHeight: barHeight,
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
_this._getLegendData = function (data, hideRatio, palette) {
|
|
23
|
-
var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
|
|
24
|
-
var actions = [];
|
|
25
|
-
data.forEach(function (singleChartData, index) {
|
|
26
|
-
var validChartData = singleChartData.chartData.filter(function (_) { return !_.placeHolder; });
|
|
27
|
-
if (validChartData.length < 3) {
|
|
28
|
-
var hideNumber = hideRatio[index] === undefined ? false : hideRatio[index];
|
|
29
|
-
if (hideNumber) {
|
|
30
|
-
validChartData.forEach(function (point) {
|
|
31
|
-
var color = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
|
|
32
|
-
var checkSimilarLegends = actions.filter(function (leg) { return leg.title === point.legend && leg.color === color; });
|
|
33
|
-
if (checkSimilarLegends.length > 0) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
var legend = {
|
|
37
|
-
title: point.legend,
|
|
38
|
-
color: color,
|
|
39
|
-
action: function () {
|
|
40
|
-
_this._onClick(point.legend);
|
|
41
|
-
},
|
|
42
|
-
hoverAction: function () {
|
|
43
|
-
_this._handleChartMouseLeave();
|
|
44
|
-
_this._onHover(point.legend);
|
|
45
|
-
},
|
|
46
|
-
onMouseOutAction: function () {
|
|
47
|
-
_this._onLeave();
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
actions.push(legend);
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
validChartData.forEach(function (point) {
|
|
56
|
-
var color = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
|
|
57
|
-
var checkSimilarLegends = actions.filter(function (leg) { return leg.title === point.legend && leg.color === color; });
|
|
58
|
-
if (checkSimilarLegends.length > 0) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
var legend = {
|
|
62
|
-
title: point.legend,
|
|
63
|
-
color: color,
|
|
64
|
-
action: function () {
|
|
65
|
-
_this._onClick(point.legend);
|
|
66
|
-
},
|
|
67
|
-
hoverAction: function () {
|
|
68
|
-
_this._handleChartMouseLeave();
|
|
69
|
-
_this._onHover(point.legend);
|
|
70
|
-
},
|
|
71
|
-
onMouseOutAction: function () {
|
|
72
|
-
_this._onLeave();
|
|
73
|
-
},
|
|
74
|
-
};
|
|
75
|
-
actions.push(legend);
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
return (React.createElement(index_1.Legends, tslib_1.__assign({ legends: actions, overflowProps: _this.props.legendsOverflowProps, focusZonePropsInHoverCard: _this.props.focusZonePropsForLegendsInHoverCard, overflowText: _this.props.legendsOverflowText }, _this.props.legendProps)));
|
|
80
|
-
};
|
|
81
|
-
_this._handleChartMouseLeave = function () {
|
|
82
|
-
_this._calloutAnchorPoint = null;
|
|
83
|
-
_this.setState({
|
|
84
|
-
isCalloutVisible: false,
|
|
85
|
-
});
|
|
86
|
-
};
|
|
87
|
-
_this._closeCallout = function () {
|
|
88
|
-
_this.setState({
|
|
89
|
-
isCalloutVisible: false,
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* This function checks if the given legend is highlighted or not.
|
|
94
|
-
* A legend can be highlighted in 2 ways:
|
|
95
|
-
* 1. selection: if the user clicks on it
|
|
96
|
-
* 2. hovering: if there is no selected legend and the user hovers over it
|
|
97
|
-
*/
|
|
98
|
-
_this._legendHighlighted = function (legendTitle) {
|
|
99
|
-
return (_this.state.selectedLegend === legendTitle ||
|
|
100
|
-
(_this.state.selectedLegend === '' && _this.state.activeLegend === legendTitle));
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* This function checks if none of the legends is selected or hovered.
|
|
104
|
-
*/
|
|
105
|
-
_this._noLegendHighlighted = function () {
|
|
106
|
-
return _this.state.selectedLegend === '' && _this.state.activeLegend === '';
|
|
107
|
-
};
|
|
108
|
-
_this._getAriaLabel = function (point) {
|
|
109
|
-
var _a;
|
|
110
|
-
var legend = point.xAxisCalloutData || point.legend;
|
|
111
|
-
var yValue = point.yAxisCalloutData || point.data || 0;
|
|
112
|
-
return (((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) ||
|
|
113
|
-
(legend ? "".concat(legend, ", ") : point.placeHolder ? 'Remaining, ' : '') + "".concat(yValue, "."));
|
|
114
|
-
};
|
|
115
|
-
_this._computeLongestBarTotalValue = function () {
|
|
116
|
-
var longestBarTotalValue = 0;
|
|
117
|
-
_this.props.data.forEach(function (_a) {
|
|
118
|
-
var chartData = _a.chartData;
|
|
119
|
-
var barTotalValue = chartData.reduce(function (acc, point) { return acc + (point.data ? point.data : 0); }, 0);
|
|
120
|
-
longestBarTotalValue = Math.max(longestBarTotalValue, barTotalValue);
|
|
121
|
-
});
|
|
122
|
-
return longestBarTotalValue;
|
|
123
|
-
};
|
|
124
|
-
_this.state = {
|
|
125
|
-
isCalloutVisible: false,
|
|
126
|
-
refArray: [],
|
|
127
|
-
selectedLegend: '',
|
|
128
|
-
activeLegend: '',
|
|
129
|
-
refSelected: null,
|
|
130
|
-
dataForHoverCard: 0,
|
|
131
|
-
color: '',
|
|
132
|
-
xCalloutValue: '',
|
|
133
|
-
yCalloutValue: '',
|
|
134
|
-
calloutLegend: '',
|
|
135
|
-
barSpacingInPercent: 0,
|
|
136
|
-
};
|
|
137
|
-
_this._onLeave = _this._onLeave.bind(_this);
|
|
138
|
-
_this._onBarLeave = _this._onBarLeave.bind(_this);
|
|
139
|
-
_this._calloutId = (0, Utilities_1.getId)('callout');
|
|
140
|
-
_this.barChartSvgRef = React.createRef();
|
|
141
|
-
_this._emptyChartId = (0, Utilities_1.getId)('_MSBC_empty');
|
|
142
|
-
_this._barId = (0, Utilities_1.getId)('_MSBC_rect_');
|
|
143
|
-
_this._barIdPlaceholderPartToWhole = (0, Utilities_1.getId)('_MSBC_rect_partToWhole_');
|
|
144
|
-
_this._barIdEmpty = (0, Utilities_1.getId)('_MSBC_rect_empty');
|
|
145
|
-
return _this;
|
|
146
|
-
}
|
|
147
|
-
MultiStackedBarChartBase.prototype.componentDidMount = function () {
|
|
148
|
-
var _a;
|
|
149
|
-
var svgWidth = ((_a = this.barChartSvgRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0;
|
|
150
|
-
var MARGIN_WIDTH_IN_PX = 3;
|
|
151
|
-
if (svgWidth) {
|
|
152
|
-
var currentBarSpacing = (MARGIN_WIDTH_IN_PX / svgWidth) * 100;
|
|
153
|
-
this.setState({ barSpacingInPercent: currentBarSpacing });
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
MultiStackedBarChartBase.prototype.render = function () {
|
|
157
|
-
var _a;
|
|
158
|
-
var _this = this;
|
|
159
|
-
if (!this._isChartEmpty()) {
|
|
160
|
-
var data = (_a = this.props, _a.data), theme = _a.theme, culture = _a.culture;
|
|
161
|
-
this._adjustProps();
|
|
162
|
-
var palette_1 = theme.palette;
|
|
163
|
-
var legends = this._getLegendData(data, this.props.hideRatio, palette_1);
|
|
164
|
-
var isCalloutVisible = this.state.isCalloutVisible;
|
|
165
|
-
this._classNames = getClassNames(this.props.styles, {
|
|
166
|
-
legendColor: this.state.color,
|
|
167
|
-
theme: theme,
|
|
168
|
-
variant: this.props.variant,
|
|
169
|
-
hideLabels: this.props.hideLabels,
|
|
170
|
-
});
|
|
171
|
-
var legendName = this.state.xCalloutValue ? this.state.xCalloutValue : this.state.calloutLegend;
|
|
172
|
-
var calloutYVal = this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard;
|
|
173
|
-
this._longestBarTotalValue = this._computeLongestBarTotalValue();
|
|
174
|
-
var bars = data.map(function (singleChartData, index) {
|
|
175
|
-
var singleChartBars = _this._createBarsAndLegends(singleChartData, _this.props.barHeight, palette_1, _this.props.hideRatio[index], _this.props.hideDenominator[index], _this.props.href, index);
|
|
176
|
-
return (React.createElement("div", { key: index, id: "_MSBC_bar-".concat(index) }, singleChartBars));
|
|
177
|
-
});
|
|
178
|
-
return (React.createElement("div", { className: this._classNames.root, onMouseLeave: this._handleChartMouseLeave },
|
|
179
|
-
bars,
|
|
180
|
-
!this.props.hideLegend && React.createElement("div", { className: this._classNames.legendContainer }, legends),
|
|
181
|
-
React.createElement(Callout_1.Callout, tslib_1.__assign({ gapSpace: 15, isBeakVisible: false, target: this.state.refSelected, setInitialFocus: true, hidden: !(!this.props.hideTooltip && isCalloutVisible), directionalHint: Callout_1.DirectionalHint.topAutoEdge, id: this._calloutId, onDismiss: this._closeCallout, preventDismissOnLostFocus: true,
|
|
182
|
-
/** Keep the callout updated with details of focused/hovered bar */
|
|
183
|
-
shouldUpdateWhenHidden: true }, this.props.calloutProps, (0, index_3.getAccessibleDataObject)(this.state.callOutAccessibilityData, 'text', false)),
|
|
184
|
-
React.createElement(React.Fragment, null, this.props.onRenderCalloutPerDataPoint ? (this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps)) : (React.createElement(index_3.ChartHoverCard, { Legend: legendName, YValue: calloutYVal, color: this.state.color, culture: culture }))))));
|
|
185
|
-
}
|
|
186
|
-
return (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
|
|
187
|
-
};
|
|
188
|
-
/**
|
|
189
|
-
* The Create bar functions returns an array of <rect> elements, which form the bars
|
|
190
|
-
* For each bar an x value, and a width needs to be specified
|
|
191
|
-
* The computations are done based on percentages
|
|
192
|
-
* Extra margin is also provided, in the x value to provide some spacing
|
|
193
|
-
*/
|
|
194
|
-
MultiStackedBarChartBase.prototype._createBarsAndLegends = function (data, barHeight, palette, hideRatio, hideDenominator, href, barNo) {
|
|
195
|
-
var _this = this;
|
|
196
|
-
var _a, _b;
|
|
197
|
-
var noOfBars = ((_a = data.chartData) === null || _a === void 0 ? void 0 : _a.reduce(function (count, point) { return (count += (point.data || 0) > 0 ? 1 : 0); }, 0)) ||
|
|
198
|
-
1;
|
|
199
|
-
var totalMarginPercent = this.state.barSpacingInPercent * (noOfBars - 1);
|
|
200
|
-
var culture = this.props.culture;
|
|
201
|
-
var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
|
|
202
|
-
// calculating starting point of each bar and it's range
|
|
203
|
-
var startingPoint = [];
|
|
204
|
-
var barTotalValue = data.chartData.reduce(function (acc, point) { return acc + (point.data ? point.data : 0); }, 0);
|
|
205
|
-
var total = this.props.variant === index_2.MultiStackedBarChartVariant.AbsoluteScale ? this._longestBarTotalValue : barTotalValue;
|
|
206
|
-
var sumOfPercent = 0;
|
|
207
|
-
data.chartData.map(function (point, index) {
|
|
208
|
-
var pointData = point.data ? point.data : 0;
|
|
209
|
-
var currValue = (pointData / total) * 100;
|
|
210
|
-
var value = currValue ? currValue : 0;
|
|
211
|
-
if (value < 1 && value !== 0) {
|
|
212
|
-
value = 1;
|
|
213
|
-
}
|
|
214
|
-
else if (value > 99 && value !== 100) {
|
|
215
|
-
value = 99;
|
|
216
|
-
}
|
|
217
|
-
sumOfPercent += value;
|
|
218
|
-
return sumOfPercent;
|
|
219
|
-
});
|
|
220
|
-
// Include an imaginary placeholder bar with value equal to
|
|
221
|
-
// the difference between longestBarTotalValue and barTotalValue
|
|
222
|
-
// while calculating sumOfPercent to get correct scalingRatio for absolute-scale variant
|
|
223
|
-
if (this.props.variant === index_2.MultiStackedBarChartVariant.AbsoluteScale) {
|
|
224
|
-
var value_1 = total === 0 ? 0 : ((total - barTotalValue) / total) * 100;
|
|
225
|
-
if (value_1 < 1 && value_1 !== 0) {
|
|
226
|
-
value_1 = 1;
|
|
227
|
-
}
|
|
228
|
-
else if (value_1 > 99 && value_1 !== 100) {
|
|
229
|
-
value_1 = 99;
|
|
230
|
-
}
|
|
231
|
-
sumOfPercent += value_1;
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* The %age of the space occupied by the margin needs to subtracted
|
|
235
|
-
* while computing the scaling ratio, since the margins are not being
|
|
236
|
-
* scaled down, only the data is being scaled down from a higher percentage to lower percentage
|
|
237
|
-
* Eg: 95% of the space is taken by the bars, 5% by the margins
|
|
238
|
-
* Now if the sumOfPercent is 120% -> This needs to be scaled down to 95%, not 100%
|
|
239
|
-
* since that's only space available to the bars
|
|
240
|
-
*/
|
|
241
|
-
var scalingRatio = sumOfPercent !== 0 ? sumOfPercent / (100 - totalMarginPercent) : 1;
|
|
242
|
-
var prevPosition = 0;
|
|
243
|
-
var value = 0;
|
|
244
|
-
var bars = data.chartData.map(function (point, index) {
|
|
245
|
-
var color = point.color
|
|
246
|
-
? point.color
|
|
247
|
-
: point.placeHolder
|
|
248
|
-
? palette.neutralLight
|
|
249
|
-
: defaultPalette[Math.floor(Math.random() * 4 + 1)];
|
|
250
|
-
var pointData = point.data ? point.data : 0;
|
|
251
|
-
if (index > 0) {
|
|
252
|
-
prevPosition += value;
|
|
253
|
-
}
|
|
254
|
-
value = (pointData / total) * 100 ? (pointData / total) * 100 : 0;
|
|
255
|
-
if (value < 1 && value !== 0) {
|
|
256
|
-
value = 1 / scalingRatio;
|
|
257
|
-
}
|
|
258
|
-
else if (value > 99 && value !== 100) {
|
|
259
|
-
value = 99 / scalingRatio;
|
|
260
|
-
}
|
|
261
|
-
else {
|
|
262
|
-
value = value / scalingRatio;
|
|
263
|
-
}
|
|
264
|
-
startingPoint.push(prevPosition);
|
|
265
|
-
var styles = _this.props.styles;
|
|
266
|
-
var shouldHighlight = _this._legendHighlighted(point.legend) || _this._noLegendHighlighted() ? true : false;
|
|
267
|
-
var hoverCardYColor = point.placeHolder ? _this.props.theme.semanticColors.bodyText : color;
|
|
268
|
-
_this._classNames = getClassNames(styles, {
|
|
269
|
-
theme: _this.props.theme,
|
|
270
|
-
shouldHighlight: shouldHighlight,
|
|
271
|
-
href: href,
|
|
272
|
-
variant: _this.props.variant,
|
|
273
|
-
hideLabels: _this.props.hideLabels,
|
|
274
|
-
});
|
|
275
|
-
return (React.createElement("g", { key: index, className: point.placeHolder ? _this._classNames.placeHolderOnHover : _this._classNames.opacityChangeOnHover, ref: function (e) {
|
|
276
|
-
_this._refCallback(e, point.legend);
|
|
277
|
-
}, "data-is-focusable": !_this.props.hideTooltip && shouldHighlight, onFocus: _this._onBarFocus.bind(_this, pointData, hoverCardYColor, point), onBlur: _this._onBarLeave, role: "img", "aria-label": _this._getAriaLabel(point), onMouseOver: _this._onBarHover.bind(_this, pointData, hoverCardYColor, point), onMouseMove: _this._onBarHover.bind(_this, pointData, hoverCardYColor, point), onMouseLeave: _this._onBarLeave, onClick: href ? (point.placeHolder ? undefined : _this._redirectToUrl.bind(_this, href)) : point.onClick },
|
|
278
|
-
React.createElement("rect", { key: index, id: "".concat(_this._barId, "-").concat(barNo, "-").concat(index), x: "".concat(_this._isRTL
|
|
279
|
-
? 100 - startingPoint[index] - value - _this.state.barSpacingInPercent * index
|
|
280
|
-
: startingPoint[index] + _this.state.barSpacingInPercent * index, "%"), y: 0, width: value + '%', height: barHeight, fill: color })));
|
|
281
|
-
});
|
|
282
|
-
if (this.props.variant === index_2.MultiStackedBarChartVariant.AbsoluteScale && !this.props.hideLabels) {
|
|
283
|
-
var showLabel_1 = false;
|
|
284
|
-
var barLabel_1 = 0;
|
|
285
|
-
if (this._noLegendHighlighted()) {
|
|
286
|
-
showLabel_1 = true;
|
|
287
|
-
barLabel_1 = barTotalValue;
|
|
288
|
-
}
|
|
289
|
-
else {
|
|
290
|
-
(_b = data.chartData) === null || _b === void 0 ? void 0 : _b.forEach(function (point) {
|
|
291
|
-
if (_this._legendHighlighted(point.legend)) {
|
|
292
|
-
showLabel_1 = true;
|
|
293
|
-
barLabel_1 += point.data ? point.data : 0;
|
|
294
|
-
}
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
if (showLabel_1) {
|
|
298
|
-
bars.push(React.createElement("text", { key: "text", x: "".concat(this._isRTL
|
|
299
|
-
? 100 - (startingPoint[startingPoint.length - 1] || 0) - value - totalMarginPercent
|
|
300
|
-
: (startingPoint[startingPoint.length - 1] || 0) + value + totalMarginPercent, "%"), textAnchor: 'start', y: barHeight / 2, dominantBaseline: "central", transform: "translate(".concat(this._isRTL ? -4 : 4, ")"), className: this._classNames.barLabel, "aria-label": "Total: ".concat(barLabel_1), role: "img" }, (0, index_3.formatValueWithSIPrefix)(barLabel_1)));
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
// Render placeholder bars only for part-to-whole variant
|
|
305
|
-
if (data.chartData.length === 0) {
|
|
306
|
-
bars.push(React.createElement("g", { key: 0, className: this._classNames.noData, onClick: this._redirectToUrl.bind(this, href) },
|
|
307
|
-
React.createElement("rect", { key: 0, id: this._barIdPlaceholderPartToWhole, x: '0%', y: 0, width: '100%', height: barHeight, fill: palette.neutralLight })));
|
|
308
|
-
}
|
|
309
|
-
if (barTotalValue === 0) {
|
|
310
|
-
bars.push(React.createElement("g", { key: 'empty', className: this._classNames.noData, onClick: this._redirectToUrl.bind(this, href) },
|
|
311
|
-
React.createElement("rect", { key: 0, id: this._barIdEmpty, x: '0%', y: 0, width: '100%', height: barHeight, fill: palette.neutralLight })));
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
var hideNumber = hideRatio === undefined ? false : hideRatio;
|
|
315
|
-
// Hide right side text of chart title for absolute-scale variant
|
|
316
|
-
var showRatio = this.props.variant !== index_2.MultiStackedBarChartVariant.AbsoluteScale && !hideNumber && data.chartData.length === 2;
|
|
317
|
-
var showNumber = this.props.variant !== index_2.MultiStackedBarChartVariant.AbsoluteScale && !hideNumber && data.chartData.length === 1;
|
|
318
|
-
var getChartData = function () { return (0, locale_util_1.convertToLocaleString)(data.chartData[0].data ? data.chartData[0].data : 0, culture); };
|
|
319
|
-
return (React.createElement("div", { className: this._classNames.singleChartRoot },
|
|
320
|
-
React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal },
|
|
321
|
-
React.createElement("div", { className: this._classNames.chartTitle },
|
|
322
|
-
data.chartTitle && (React.createElement(FocusableTooltipText_1.FocusableTooltipText, { className: this._classNames.chartTitleLeft, content: data.chartTitle, accessibilityData: data.chartTitleAccessibilityData })),
|
|
323
|
-
showRatio && (React.createElement("div", tslib_1.__assign({}, (0, index_3.getAccessibleDataObject)(data.chartDataAccessibilityData, 'text', false)),
|
|
324
|
-
React.createElement("span", { className: this._classNames.ratioNumerator }, getChartData()),
|
|
325
|
-
!hideDenominator && (React.createElement("span", { className: this._classNames.ratioDenominator }, ' / ' + (0, locale_util_1.convertToLocaleString)(barTotalValue, culture))))),
|
|
326
|
-
showNumber && (React.createElement("div", tslib_1.__assign({ className: this._classNames.ratioNumerator }, (0, index_3.getAccessibleDataObject)(data.chartDataAccessibilityData, 'text', false)), getChartData())))),
|
|
327
|
-
React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal },
|
|
328
|
-
React.createElement("div", { className: this._classNames.chartWrapper },
|
|
329
|
-
React.createElement("svg", { ref: this.barChartSvgRef, className: this._classNames.chart, "aria-label": data === null || data === void 0 ? void 0 : data.chartTitle }, bars)))));
|
|
330
|
-
};
|
|
331
|
-
MultiStackedBarChartBase.prototype._onBarFocus = function (pointData, color, point) {
|
|
332
|
-
var _this = this;
|
|
333
|
-
this.state.refArray.forEach(function (obj) {
|
|
334
|
-
if (obj.legendText === point.legend) {
|
|
335
|
-
_this.setState({
|
|
336
|
-
refSelected: obj.refElement,
|
|
337
|
-
/** Show the callout if highlighted bar is focused and Hide it if unhighlighted bar is focused */
|
|
338
|
-
isCalloutVisible: _this.state.selectedLegend === '' || _this.state.selectedLegend === point.legend,
|
|
339
|
-
calloutLegend: point.legend,
|
|
340
|
-
dataForHoverCard: pointData,
|
|
341
|
-
color: color,
|
|
342
|
-
xCalloutValue: point.xAxisCalloutData,
|
|
343
|
-
yCalloutValue: point.yAxisCalloutData,
|
|
344
|
-
dataPointCalloutProps: point,
|
|
345
|
-
callOutAccessibilityData: point.callOutAccessibilityData,
|
|
346
|
-
});
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
};
|
|
350
|
-
MultiStackedBarChartBase.prototype._refCallback = function (element, legendTitle) {
|
|
351
|
-
this.state.refArray.push({ legendText: legendTitle, refElement: element });
|
|
352
|
-
};
|
|
353
|
-
MultiStackedBarChartBase.prototype._onHover = function (legendTitle) {
|
|
354
|
-
this.setState({
|
|
355
|
-
activeLegend: legendTitle,
|
|
356
|
-
});
|
|
357
|
-
};
|
|
358
|
-
MultiStackedBarChartBase.prototype._onClick = function (legendTitle) {
|
|
359
|
-
if (this.state.selectedLegend === legendTitle) {
|
|
360
|
-
this.setState({
|
|
361
|
-
selectedLegend: '',
|
|
362
|
-
});
|
|
363
|
-
}
|
|
364
|
-
else {
|
|
365
|
-
this.setState({
|
|
366
|
-
selectedLegend: legendTitle,
|
|
367
|
-
});
|
|
368
|
-
}
|
|
369
|
-
};
|
|
370
|
-
MultiStackedBarChartBase.prototype._onLeave = function () {
|
|
371
|
-
this.setState({
|
|
372
|
-
activeLegend: '',
|
|
373
|
-
});
|
|
374
|
-
};
|
|
375
|
-
MultiStackedBarChartBase.prototype._onBarHover = function (pointData, color, point, mouseEvent) {
|
|
376
|
-
mouseEvent.persist();
|
|
377
|
-
if (this._calloutAnchorPoint !== point) {
|
|
378
|
-
this._calloutAnchorPoint = point;
|
|
379
|
-
this.setState({
|
|
380
|
-
refSelected: mouseEvent,
|
|
381
|
-
/** Show the callout if highlighted bar is hovered and Hide it if unhighlighted bar is hovered */
|
|
382
|
-
isCalloutVisible: this.state.selectedLegend === '' || this.state.selectedLegend === point.legend,
|
|
383
|
-
calloutLegend: point.legend,
|
|
384
|
-
dataForHoverCard: pointData,
|
|
385
|
-
color: color,
|
|
386
|
-
xCalloutValue: point.xAxisCalloutData,
|
|
387
|
-
yCalloutValue: point.yAxisCalloutData,
|
|
388
|
-
dataPointCalloutProps: point,
|
|
389
|
-
callOutAccessibilityData: point.callOutAccessibilityData,
|
|
390
|
-
});
|
|
391
|
-
}
|
|
392
|
-
};
|
|
393
|
-
MultiStackedBarChartBase.prototype._onBarLeave = function () {
|
|
394
|
-
/**/
|
|
395
|
-
};
|
|
396
|
-
MultiStackedBarChartBase.prototype._redirectToUrl = function (href) {
|
|
397
|
-
href ? (window.location.href = href) : '';
|
|
398
|
-
};
|
|
399
|
-
MultiStackedBarChartBase.prototype._isChartEmpty = function () {
|
|
400
|
-
return !(this.props.data &&
|
|
401
|
-
this.props.data.length > 0 &&
|
|
402
|
-
this.props.data.filter(function (item) { return item.chartData && item.chartData.length === 0 && (!item.chartTitle || item.chartTitle === ''); }).length === 0);
|
|
403
|
-
};
|
|
404
|
-
MultiStackedBarChartBase.defaultProps = {
|
|
405
|
-
barHeight: 12,
|
|
406
|
-
hideRatio: [],
|
|
407
|
-
hideDenominator: [],
|
|
408
|
-
};
|
|
409
|
-
return MultiStackedBarChartBase;
|
|
410
|
-
}(React.Component));
|
|
411
|
-
});
|
|
412
|
-
//# sourceMappingURL=MultiStackedBarChart.base.js.map
|