@fluentui/react-charting 5.23.62 → 5.23.64
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 +49 -1
- package/CHANGELOG.md +23 -2
- package/dist/react-charting.d.ts +4557 -0
- package/dist/react-charting.js +1 -0
- package/dist/react-charting.min.js +1 -0
- package/lib/AreaChart.d.ts +1 -0
- package/lib/AreaChart.js +2 -0
- package/lib/AreaChart.js.map +1 -0
- package/lib/CartesianChart.d.ts +1 -0
- package/lib/CartesianChart.js +2 -0
- package/lib/CartesianChart.js.map +1 -0
- package/lib/DeclarativeChart.d.ts +1 -0
- package/lib/DeclarativeChart.js +2 -0
- package/lib/DeclarativeChart.js.map +1 -0
- package/lib/DonutChart.d.ts +1 -0
- package/lib/DonutChart.js +2 -0
- package/lib/DonutChart.js.map +1 -0
- package/lib/GaugeChart.d.ts +1 -0
- package/lib/GaugeChart.js +2 -0
- package/lib/GaugeChart.js.map +1 -0
- package/lib/GroupedVerticalBarChart.d.ts +1 -0
- package/lib/GroupedVerticalBarChart.js +2 -0
- package/lib/GroupedVerticalBarChart.js.map +1 -0
- package/lib/HeatMapChart.d.ts +1 -0
- package/lib/HeatMapChart.js +2 -0
- package/lib/HeatMapChart.js.map +1 -0
- package/lib/HorizontalBarChart.d.ts +1 -0
- package/lib/HorizontalBarChart.js +2 -0
- package/lib/HorizontalBarChart.js.map +1 -0
- package/lib/HorizontalBarChartWithAxis.d.ts +1 -0
- package/lib/HorizontalBarChartWithAxis.js +2 -0
- package/lib/HorizontalBarChartWithAxis.js.map +1 -0
- package/lib/Legends.d.ts +1 -0
- package/lib/Legends.js +2 -0
- package/lib/Legends.js.map +1 -0
- package/lib/LineChart.d.ts +1 -0
- package/lib/LineChart.js +2 -0
- package/lib/LineChart.js.map +1 -0
- package/lib/PieChart.d.ts +1 -0
- package/lib/PieChart.js +2 -0
- package/lib/PieChart.js.map +1 -0
- package/lib/ResponsiveContainer.d.ts +1 -0
- package/lib/ResponsiveContainer.js +2 -0
- package/lib/ResponsiveContainer.js.map +1 -0
- package/lib/SankeyChart.d.ts +1 -0
- package/lib/SankeyChart.js +2 -0
- package/lib/SankeyChart.js.map +1 -0
- package/lib/Sparkline.d.ts +1 -0
- package/lib/Sparkline.js +2 -0
- package/lib/Sparkline.js.map +1 -0
- package/lib/StackedBarChart.d.ts +1 -0
- package/lib/StackedBarChart.js +2 -0
- package/lib/StackedBarChart.js.map +1 -0
- package/lib/Styling.d.ts +2 -0
- package/lib/Styling.js +8 -0
- package/lib/Styling.js.map +1 -0
- package/lib/TreeChart.d.ts +1 -0
- package/lib/TreeChart.js +2 -0
- package/lib/TreeChart.js.map +1 -0
- package/lib/Utilities.d.ts +2 -0
- package/lib/Utilities.js +2 -0
- package/lib/Utilities.js.map +1 -0
- package/lib/VerticalBarChart.d.ts +1 -0
- package/lib/VerticalBarChart.js +2 -0
- package/lib/VerticalBarChart.js.map +1 -0
- package/lib/VerticalStackedBarChart.d.ts +1 -0
- package/lib/VerticalStackedBarChart.js +2 -0
- package/lib/VerticalStackedBarChart.js.map +1 -0
- package/lib/components/AreaChart/AreaChart.base.d.ts +111 -0
- package/lib/components/AreaChart/AreaChart.base.js +722 -0
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -0
- package/lib/components/AreaChart/AreaChart.d.ts +7 -0
- package/lib/components/AreaChart/AreaChart.js +10 -0
- package/lib/components/AreaChart/AreaChart.js.map +1 -0
- package/lib/components/AreaChart/AreaChart.styles.d.ts +2 -0
- package/lib/components/AreaChart/AreaChart.styles.js +7 -0
- package/lib/components/AreaChart/AreaChart.styles.js.map +1 -0
- package/lib/components/AreaChart/AreaChart.types.d.ts +64 -0
- package/lib/components/AreaChart/AreaChart.types.js +2 -0
- package/lib/components/AreaChart/AreaChart.types.js.map +1 -0
- package/lib/components/AreaChart/index.d.ts +2 -0
- package/lib/components/AreaChart/index.js +3 -0
- package/lib/components/AreaChart/index.js.map +1 -0
- package/lib/components/CommonComponents/CartesianChart.base.d.ts +65 -0
- package/lib/components/CommonComponents/CartesianChart.base.js +609 -0
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -0
- package/lib/components/CommonComponents/CartesianChart.d.ts +7 -0
- package/lib/components/CommonComponents/CartesianChart.js +9 -0
- package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
- package/lib/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
- package/lib/components/CommonComponents/CartesianChart.styles.js +175 -0
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -0
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +556 -0
- package/lib/components/CommonComponents/CartesianChart.types.js +2 -0
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
- package/lib/components/CommonComponents/index.d.ts +2 -0
- package/lib/components/CommonComponents/index.js +3 -0
- package/lib/components/CommonComponents/index.js.map +1 -0
- package/lib/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
- package/lib/components/DeclarativeChart/DeclarativeChart.js +145 -0
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +647 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
- package/lib/components/DeclarativeChart/index.d.ts +1 -0
- package/lib/components/DeclarativeChart/index.js +2 -0
- package/lib/components/DeclarativeChart/index.js.map +1 -0
- package/lib/components/DonutChart/Arc/Arc.d.ts +22 -0
- package/lib/components/DonutChart/Arc/Arc.js +107 -0
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
- package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
- package/lib/components/DonutChart/Arc/Arc.styles.js +35 -0
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -0
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +165 -0
- package/lib/components/DonutChart/Arc/Arc.types.js +2 -0
- package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
- package/lib/components/DonutChart/Arc/index.d.ts +2 -0
- package/lib/components/DonutChart/Arc/index.js +3 -0
- package/lib/components/DonutChart/Arc/index.js.map +1 -0
- package/lib/components/DonutChart/DonutChart.base.d.ts +61 -0
- package/lib/components/DonutChart/DonutChart.base.js +301 -0
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -0
- package/lib/components/DonutChart/DonutChart.d.ts +7 -0
- package/lib/components/DonutChart/DonutChart.js +10 -0
- package/lib/components/DonutChart/DonutChart.js.map +1 -0
- package/lib/components/DonutChart/DonutChart.styles.d.ts +2 -0
- package/lib/components/DonutChart/DonutChart.styles.js +30 -0
- package/lib/components/DonutChart/DonutChart.styles.js.map +1 -0
- package/lib/components/DonutChart/DonutChart.types.d.ts +90 -0
- package/lib/components/DonutChart/DonutChart.types.js +2 -0
- package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
- package/lib/components/DonutChart/Pie/Pie.d.ts +15 -0
- package/lib/components/DonutChart/Pie/Pie.js +75 -0
- package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
- package/lib/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
- package/lib/components/DonutChart/Pie/Pie.styles.js +19 -0
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -0
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +106 -0
- package/lib/components/DonutChart/Pie/Pie.types.js +2 -0
- package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
- package/lib/components/DonutChart/Pie/index.d.ts +2 -0
- package/lib/components/DonutChart/Pie/index.js +3 -0
- package/lib/components/DonutChart/Pie/index.js.map +1 -0
- package/lib/components/DonutChart/index.d.ts +3 -0
- package/lib/components/DonutChart/index.js +4 -0
- package/lib/components/DonutChart/index.js.map +1 -0
- package/lib/components/GaugeChart/GaugeChart.base.d.ts +82 -0
- package/lib/components/GaugeChart/GaugeChart.base.js +472 -0
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -0
- package/lib/components/GaugeChart/GaugeChart.d.ts +7 -0
- package/lib/components/GaugeChart/GaugeChart.js +9 -0
- package/lib/components/GaugeChart/GaugeChart.js.map +1 -0
- package/lib/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
- package/lib/components/GaugeChart/GaugeChart.styles.js +129 -0
- package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -0
- package/lib/components/GaugeChart/GaugeChart.types.d.ts +273 -0
- package/lib/components/GaugeChart/GaugeChart.types.js +17 -0
- package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -0
- package/lib/components/GaugeChart/index.d.ts +2 -0
- package/lib/components/GaugeChart/index.js +3 -0
- package/lib/components/GaugeChart/index.js.map +1 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +495 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +10 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +17 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +2 -0
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
- package/lib/components/GroupedVerticalBarChart/index.d.ts +2 -0
- package/lib/components/GroupedVerticalBarChart/index.js +3 -0
- package/lib/components/GroupedVerticalBarChart/index.js.map +1 -0
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
- package/lib/components/HeatMapChart/HeatMapChart.base.js +597 -0
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
- package/lib/components/HeatMapChart/HeatMapChart.d.ts +7 -0
- package/lib/components/HeatMapChart/HeatMapChart.js +9 -0
- package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -0
- package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
- package/lib/components/HeatMapChart/HeatMapChart.styles.js +23 -0
- package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
- package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
- package/lib/components/HeatMapChart/HeatMapChart.types.js +2 -0
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
- package/lib/components/HeatMapChart/index.d.ts +2 -0
- package/lib/components/HeatMapChart/index.js +3 -0
- package/lib/components/HeatMapChart/index.js.map +1 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +293 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js +10 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +66 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +9 -0
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
- package/lib/components/HorizontalBarChart/index.d.ts +3 -0
- package/lib/components/HorizontalBarChart/index.js +4 -0
- package/lib/components/HorizontalBarChart/index.js.map +1 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +601 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +10 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +12 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +2 -0
- package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
- package/lib/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
- package/lib/components/HorizontalBarChartWithAxis/index.js +3 -0
- package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -0
- package/lib/components/Legends/Legends.base.d.ts +50 -0
- package/lib/components/Legends/Legends.base.js +329 -0
- package/lib/components/Legends/Legends.base.js.map +1 -0
- package/lib/components/Legends/Legends.d.ts +7 -0
- package/lib/components/Legends/Legends.js +9 -0
- package/lib/components/Legends/Legends.js.map +1 -0
- package/lib/components/Legends/Legends.styles.d.ts +10 -0
- package/lib/components/Legends/Legends.styles.js +120 -0
- package/lib/components/Legends/Legends.styles.js.map +1 -0
- package/lib/components/Legends/Legends.types.d.ts +259 -0
- package/lib/components/Legends/Legends.types.js +2 -0
- package/lib/components/Legends/Legends.types.js.map +1 -0
- package/lib/components/Legends/index.d.ts +3 -0
- package/lib/components/Legends/index.js +4 -0
- package/lib/components/Legends/index.js.map +1 -0
- package/lib/components/Legends/shape.d.ts +9 -0
- package/lib/components/Legends/shape.js +24 -0
- package/lib/components/Legends/shape.js.map +1 -0
- package/lib/components/LineChart/LineChart.base.d.ts +105 -0
- package/lib/components/LineChart/LineChart.base.js +966 -0
- package/lib/components/LineChart/LineChart.base.js.map +1 -0
- package/lib/components/LineChart/LineChart.d.ts +7 -0
- package/lib/components/LineChart/LineChart.js +10 -0
- package/lib/components/LineChart/LineChart.js.map +1 -0
- package/lib/components/LineChart/LineChart.styles.d.ts +2 -0
- package/lib/components/LineChart/LineChart.styles.js +7 -0
- package/lib/components/LineChart/LineChart.styles.js.map +1 -0
- package/lib/components/LineChart/LineChart.types.d.ts +103 -0
- package/lib/components/LineChart/LineChart.types.js +2 -0
- package/lib/components/LineChart/LineChart.types.js.map +1 -0
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +90 -0
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
- package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
- package/lib/components/LineChart/eventAnnotation/LabelLink.js +40 -0
- package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
- package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
- package/lib/components/LineChart/eventAnnotation/Textbox.js +38 -0
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
- package/lib/components/LineChart/index.d.ts +3 -0
- package/lib/components/LineChart/index.js +4 -0
- package/lib/components/LineChart/index.js.map +1 -0
- package/lib/components/PieChart/Arc/Arc.d.ts +17 -0
- package/lib/components/PieChart/Arc/Arc.js +89 -0
- package/lib/components/PieChart/Arc/Arc.js.map +1 -0
- package/lib/components/PieChart/Arc/Arc.styles.d.ts +3 -0
- package/lib/components/PieChart/Arc/Arc.styles.js +11 -0
- package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -0
- package/lib/components/PieChart/Arc/Arc.types.d.ts +73 -0
- package/lib/components/PieChart/Arc/Arc.types.js +2 -0
- package/lib/components/PieChart/Arc/Arc.types.js.map +1 -0
- package/lib/components/PieChart/Arc/index.d.ts +2 -0
- package/lib/components/PieChart/Arc/index.js +3 -0
- package/lib/components/PieChart/Arc/index.js.map +1 -0
- package/lib/components/PieChart/Pie/Pie.d.ts +10 -0
- package/lib/components/PieChart/Pie/Pie.js +45 -0
- package/lib/components/PieChart/Pie/Pie.js.map +1 -0
- package/lib/components/PieChart/Pie/Pie.styles.d.ts +2 -0
- package/lib/components/PieChart/Pie/Pie.styles.js +6 -0
- package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -0
- package/lib/components/PieChart/Pie/Pie.types.d.ts +47 -0
- package/lib/components/PieChart/Pie/Pie.types.js +2 -0
- package/lib/components/PieChart/Pie/Pie.types.js.map +1 -0
- package/lib/components/PieChart/Pie/index.d.ts +2 -0
- package/lib/components/PieChart/Pie/index.js +3 -0
- package/lib/components/PieChart/Pie/index.js.map +1 -0
- package/lib/components/PieChart/PieChart.base.d.ts +10 -0
- package/lib/components/PieChart/PieChart.base.js +46 -0
- package/lib/components/PieChart/PieChart.base.js.map +1 -0
- package/lib/components/PieChart/PieChart.d.ts +7 -0
- package/lib/components/PieChart/PieChart.js +10 -0
- package/lib/components/PieChart/PieChart.js.map +1 -0
- package/lib/components/PieChart/PieChart.styles.d.ts +2 -0
- package/lib/components/PieChart/PieChart.styles.js +29 -0
- package/lib/components/PieChart/PieChart.styles.js.map +1 -0
- package/lib/components/PieChart/PieChart.types.d.ts +75 -0
- package/lib/components/PieChart/PieChart.types.js +2 -0
- package/lib/components/PieChart/PieChart.types.js.map +1 -0
- package/lib/components/PieChart/index.d.ts +2 -0
- package/lib/components/PieChart/index.js +3 -0
- package/lib/components/PieChart/index.js.map +1 -0
- package/lib/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js +83 -0
- package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js +2 -0
- package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
- package/lib/components/ResponsiveContainer/index.d.ts +3 -0
- package/lib/components/ResponsiveContainer/index.js +4 -0
- package/lib/components/ResponsiveContainer/index.js.map +1 -0
- package/lib/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js +17 -0
- package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
- package/lib/components/SankeyChart/SankeyChart.base.d.ts +91 -0
- package/lib/components/SankeyChart/SankeyChart.base.js +919 -0
- package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -0
- package/lib/components/SankeyChart/SankeyChart.d.ts +7 -0
- package/lib/components/SankeyChart/SankeyChart.js +10 -0
- package/lib/components/SankeyChart/SankeyChart.js.map +1 -0
- package/lib/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
- package/lib/components/SankeyChart/SankeyChart.styles.js +59 -0
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -0
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +157 -0
- package/lib/components/SankeyChart/SankeyChart.types.js +2 -0
- package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -0
- package/lib/components/SankeyChart/index.d.ts +2 -0
- package/lib/components/SankeyChart/index.js +3 -0
- package/lib/components/SankeyChart/index.js.map +1 -0
- package/lib/components/Sparkline/Sparkline.base.d.ts +23 -0
- package/lib/components/Sparkline/Sparkline.base.js +86 -0
- package/lib/components/Sparkline/Sparkline.base.js.map +1 -0
- package/lib/components/Sparkline/Sparkline.d.ts +7 -0
- package/lib/components/Sparkline/Sparkline.js +10 -0
- package/lib/components/Sparkline/Sparkline.js.map +1 -0
- package/lib/components/Sparkline/Sparkline.styles.d.ts +2 -0
- package/lib/components/Sparkline/Sparkline.styles.js +10 -0
- package/lib/components/Sparkline/Sparkline.styles.js.map +1 -0
- package/lib/components/Sparkline/Sparkline.types.d.ts +59 -0
- package/lib/components/Sparkline/Sparkline.types.js +2 -0
- package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
- package/lib/components/Sparkline/index.d.ts +2 -0
- package/lib/components/Sparkline/index.js +3 -0
- package/lib/components/Sparkline/index.js.map +1 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +437 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.js +10 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +86 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +9 -0
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
- package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
- package/lib/components/StackedBarChart/StackedBarChart.base.js +366 -0
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
- package/lib/components/StackedBarChart/StackedBarChart.d.ts +7 -0
- package/lib/components/StackedBarChart/StackedBarChart.js +10 -0
- package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -0
- package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
- package/lib/components/StackedBarChart/StackedBarChart.styles.js +103 -0
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
- package/lib/components/StackedBarChart/StackedBarChart.types.js +2 -0
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
- package/lib/components/StackedBarChart/index.d.ts +5 -0
- package/lib/components/StackedBarChart/index.js +6 -0
- package/lib/components/StackedBarChart/index.js.map +1 -0
- package/lib/components/TreeChart/TreeChart.base.d.ts +18 -0
- package/lib/components/TreeChart/TreeChart.base.js +321 -0
- package/lib/components/TreeChart/TreeChart.base.js.map +1 -0
- package/lib/components/TreeChart/TreeChart.d.ts +7 -0
- package/lib/components/TreeChart/TreeChart.js +9 -0
- package/lib/components/TreeChart/TreeChart.js.map +1 -0
- package/lib/components/TreeChart/TreeChart.styles.d.ts +2 -0
- package/lib/components/TreeChart/TreeChart.styles.js +29 -0
- package/lib/components/TreeChart/TreeChart.styles.js.map +1 -0
- package/lib/components/TreeChart/TreeChart.types.d.ts +216 -0
- package/lib/components/TreeChart/TreeChart.types.js +29 -0
- package/lib/components/TreeChart/TreeChart.types.js.map +1 -0
- package/lib/components/TreeChart/index.d.ts +2 -0
- package/lib/components/TreeChart/index.js +3 -0
- package/lib/components/TreeChart/index.js.map +1 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +880 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.js +10 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +28 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js +2 -0
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
- package/lib/components/VerticalBarChart/index.d.ts +2 -0
- package/lib/components/VerticalBarChart/index.js +3 -0
- package/lib/components/VerticalBarChart/index.js.map +1 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +816 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +10 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +18 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +2 -0
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
- package/lib/components/VerticalStackedBarChart/index.d.ts +2 -0
- package/lib/components/VerticalStackedBarChart/index.js +3 -0
- package/lib/components/VerticalStackedBarChart/index.js.map +1 -0
- package/lib/index.d.ts +44 -0
- package/lib/index.js +24 -0
- package/lib/index.js.map +1 -0
- package/lib/types/IDataPoint.d.ts +736 -0
- package/lib/types/IDataPoint.js +2 -0
- package/lib/types/IDataPoint.js.map +1 -0
- package/lib/types/IEventAnnotation.d.ts +6 -0
- package/lib/types/IEventAnnotation.js +2 -0
- package/lib/types/IEventAnnotation.js.map +1 -0
- package/lib/types/ILegendDataItem.d.ts +10 -0
- package/lib/types/ILegendDataItem.js +2 -0
- package/lib/types/ILegendDataItem.js.map +1 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +3 -0
- package/lib/types/index.js.map +1 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +38 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js +6 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +98 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +2 -0
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
- package/lib/utilities/ChartHoverCard/index.d.ts +3 -0
- package/lib/utilities/ChartHoverCard/index.js +4 -0
- package/lib/utilities/ChartHoverCard/index.js.map +1 -0
- package/lib/utilities/FocusableTooltipText.d.ts +27 -0
- package/lib/utilities/FocusableTooltipText.js +54 -0
- package/lib/utilities/FocusableTooltipText.js.map +1 -0
- package/lib/utilities/SVGTooltipText.d.ts +110 -0
- package/lib/utilities/SVGTooltipText.js +192 -0
- package/lib/utilities/SVGTooltipText.js.map +1 -0
- package/lib/utilities/colors.d.ts +52 -0
- package/lib/utilities/colors.js +154 -0
- package/lib/utilities/colors.js.map +1 -0
- package/lib/utilities/gradients.d.ts +30 -0
- package/lib/utilities/gradients.js +173 -0
- package/lib/utilities/gradients.js.map +1 -0
- package/lib/utilities/image-export-utils.d.ts +13 -0
- package/lib/utilities/image-export-utils.js +238 -0
- package/lib/utilities/image-export-utils.js.map +1 -0
- package/lib/utilities/index.d.ts +5 -0
- package/lib/utilities/index.js +6 -0
- package/lib/utilities/index.js.map +1 -0
- package/lib/utilities/locale-util.d.ts +3 -0
- package/lib/utilities/locale-util.js +18 -0
- package/lib/utilities/locale-util.js.map +1 -0
- package/lib/utilities/test-data.d.ts +43 -0
- package/lib/utilities/test-data.js +262 -0
- package/lib/utilities/test-data.js.map +1 -0
- package/lib/utilities/utilities.d.ts +418 -0
- package/lib/utilities/utilities.js +1224 -0
- package/lib/utilities/utilities.js.map +1 -0
- package/lib/utilities/vbc-utils.d.ts +2 -0
- package/lib/utilities/vbc-utils.js +31 -0
- package/lib/utilities/vbc-utils.js.map +1 -0
- package/lib/version.d.ts +1 -0
- package/lib/version.js +5 -0
- package/lib/version.js.map +1 -0
- package/lib-amd/AreaChart.d.ts +1 -0
- package/lib-amd/AreaChart.js +6 -0
- package/lib-amd/AreaChart.js.map +1 -0
- package/lib-amd/CartesianChart.d.ts +1 -0
- package/lib-amd/CartesianChart.js +6 -0
- package/lib-amd/CartesianChart.js.map +1 -0
- package/lib-amd/DeclarativeChart.d.ts +1 -0
- package/lib-amd/DeclarativeChart.js +6 -0
- package/lib-amd/DeclarativeChart.js.map +1 -0
- package/lib-amd/DonutChart.d.ts +1 -0
- package/lib-amd/DonutChart.js +6 -0
- package/lib-amd/DonutChart.js.map +1 -0
- package/lib-amd/GaugeChart.d.ts +1 -0
- package/lib-amd/GaugeChart.js +6 -0
- package/lib-amd/GaugeChart.js.map +1 -0
- package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
- package/lib-amd/GroupedVerticalBarChart.js +6 -0
- package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
- package/lib-amd/HeatMapChart.d.ts +1 -0
- package/lib-amd/HeatMapChart.js +6 -0
- package/lib-amd/HeatMapChart.js.map +1 -0
- package/lib-amd/HorizontalBarChart.d.ts +1 -0
- package/lib-amd/HorizontalBarChart.js +6 -0
- package/lib-amd/HorizontalBarChart.js.map +1 -0
- package/lib-amd/HorizontalBarChartWithAxis.d.ts +1 -0
- package/lib-amd/HorizontalBarChartWithAxis.js +6 -0
- package/lib-amd/HorizontalBarChartWithAxis.js.map +1 -0
- package/lib-amd/Legends.d.ts +1 -0
- package/lib-amd/Legends.js +6 -0
- package/lib-amd/Legends.js.map +1 -0
- package/lib-amd/LineChart.d.ts +1 -0
- package/lib-amd/LineChart.js +6 -0
- package/lib-amd/LineChart.js.map +1 -0
- package/lib-amd/PieChart.d.ts +1 -0
- package/lib-amd/PieChart.js +6 -0
- package/lib-amd/PieChart.js.map +1 -0
- package/lib-amd/ResponsiveContainer.d.ts +1 -0
- package/lib-amd/ResponsiveContainer.js +6 -0
- package/lib-amd/ResponsiveContainer.js.map +1 -0
- package/lib-amd/SankeyChart.d.ts +1 -0
- package/lib-amd/SankeyChart.js +6 -0
- package/lib-amd/SankeyChart.js.map +1 -0
- package/lib-amd/Sparkline.d.ts +1 -0
- package/lib-amd/Sparkline.js +6 -0
- package/lib-amd/Sparkline.js.map +1 -0
- package/lib-amd/StackedBarChart.d.ts +1 -0
- package/lib-amd/StackedBarChart.js +6 -0
- package/lib-amd/StackedBarChart.js.map +1 -0
- package/lib-amd/Styling.d.ts +2 -0
- package/lib-amd/Styling.js +75 -0
- package/lib-amd/Styling.js.map +1 -0
- package/lib-amd/TreeChart.d.ts +1 -0
- package/lib-amd/TreeChart.js +6 -0
- package/lib-amd/TreeChart.js.map +1 -0
- package/lib-amd/Utilities.d.ts +2 -0
- package/lib-amd/Utilities.js +174 -0
- package/lib-amd/Utilities.js.map +1 -0
- package/lib-amd/VerticalBarChart.d.ts +1 -0
- package/lib-amd/VerticalBarChart.js +6 -0
- package/lib-amd/VerticalBarChart.js.map +1 -0
- package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
- package/lib-amd/VerticalStackedBarChart.js +6 -0
- package/lib-amd/VerticalStackedBarChart.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +111 -0
- package/lib-amd/components/AreaChart/AreaChart.base.js +714 -0
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.d.ts +7 -0
- package/lib-amd/components/AreaChart/AreaChart.js +12 -0
- package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
- package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
- package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
- package/lib-amd/components/AreaChart/AreaChart.types.d.ts +64 -0
- package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
- package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
- package/lib-amd/components/AreaChart/index.d.ts +2 -0
- package/lib-amd/components/AreaChart/index.js +7 -0
- package/lib-amd/components/AreaChart/index.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +65 -0
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +605 -0
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.d.ts +7 -0
- package/lib-amd/components/CommonComponents/CartesianChart.js +11 -0
- package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +178 -0
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +556 -0
- package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
- package/lib-amd/components/CommonComponents/index.d.ts +2 -0
- package/lib-amd/components/CommonComponents/index.js +7 -0
- package/lib-amd/components/CommonComponents/index.js.map +1 -0
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +133 -0
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +656 -0
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
- package/lib-amd/components/DeclarativeChart/index.d.ts +1 -0
- package/lib-amd/components/DeclarativeChart/index.js +6 -0
- package/lib-amd/components/DeclarativeChart/index.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +22 -0
- package/lib-amd/components/DonutChart/Arc/Arc.js +105 -0
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js +40 -0
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +165 -0
- package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
- package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
- package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
- package/lib-amd/components/DonutChart/Arc/index.js +7 -0
- package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +61 -0
- package/lib-amd/components/DonutChart/DonutChart.base.js +296 -0
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
- package/lib-amd/components/DonutChart/DonutChart.d.ts +7 -0
- package/lib-amd/components/DonutChart/DonutChart.js +12 -0
- package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
- package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
- package/lib-amd/components/DonutChart/DonutChart.styles.js +36 -0
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +90 -0
- package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
- package/lib-amd/components/DonutChart/Pie/Pie.d.ts +15 -0
- package/lib-amd/components/DonutChart/Pie/Pie.js +73 -0
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
- package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js +24 -0
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +106 -0
- package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
- package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
- package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
- package/lib-amd/components/DonutChart/Pie/index.js +7 -0
- package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
- package/lib-amd/components/DonutChart/index.d.ts +3 -0
- package/lib-amd/components/DonutChart/index.js +8 -0
- package/lib-amd/components/DonutChart/index.js.map +1 -0
- package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +82 -0
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +467 -0
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -0
- package/lib-amd/components/GaugeChart/GaugeChart.d.ts +7 -0
- package/lib-amd/components/GaugeChart/GaugeChart.js +11 -0
- package/lib-amd/components/GaugeChart/GaugeChart.js.map +1 -0
- package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js +133 -0
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +1 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +273 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.js +22 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -0
- package/lib-amd/components/GaugeChart/index.d.ts +2 -0
- package/lib-amd/components/GaugeChart/index.js +7 -0
- package/lib-amd/components/GaugeChart/index.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +489 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +12 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
- package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
- package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
- package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +588 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +7 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.js +11 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +28 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
- package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
- package/lib-amd/components/HeatMapChart/index.js +7 -0
- package/lib-amd/components/HeatMapChart/index.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +289 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +12 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +69 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +14 -0
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
- package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
- package/lib-amd/components/HorizontalBarChart/index.js +8 -0
- package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +594 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +12 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +17 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +5 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js +7 -0
- package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +1 -0
- package/lib-amd/components/Legends/Legends.base.d.ts +50 -0
- package/lib-amd/components/Legends/Legends.base.js +325 -0
- package/lib-amd/components/Legends/Legends.base.js.map +1 -0
- package/lib-amd/components/Legends/Legends.d.ts +7 -0
- package/lib-amd/components/Legends/Legends.js +11 -0
- package/lib-amd/components/Legends/Legends.js.map +1 -0
- package/lib-amd/components/Legends/Legends.styles.d.ts +10 -0
- package/lib-amd/components/Legends/Legends.styles.js +124 -0
- package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
- package/lib-amd/components/Legends/Legends.types.d.ts +259 -0
- package/lib-amd/components/Legends/Legends.types.js +5 -0
- package/lib-amd/components/Legends/Legends.types.js.map +1 -0
- package/lib-amd/components/Legends/index.d.ts +3 -0
- package/lib-amd/components/Legends/index.js +8 -0
- package/lib-amd/components/Legends/index.js.map +1 -0
- package/lib-amd/components/Legends/shape.d.ts +9 -0
- package/lib-amd/components/Legends/shape.js +27 -0
- package/lib-amd/components/Legends/shape.js.map +1 -0
- package/lib-amd/components/LineChart/LineChart.base.d.ts +105 -0
- package/lib-amd/components/LineChart/LineChart.base.js +958 -0
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
- package/lib-amd/components/LineChart/LineChart.d.ts +7 -0
- package/lib-amd/components/LineChart/LineChart.js +12 -0
- package/lib-amd/components/LineChart/LineChart.js.map +1 -0
- package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
- package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
- package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
- package/lib-amd/components/LineChart/LineChart.types.d.ts +103 -0
- package/lib-amd/components/LineChart/LineChart.types.js +5 -0
- package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +91 -0
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +42 -0
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
- package/lib-amd/components/LineChart/index.d.ts +3 -0
- package/lib-amd/components/LineChart/index.js +8 -0
- package/lib-amd/components/LineChart/index.js.map +1 -0
- package/lib-amd/components/PieChart/Arc/Arc.d.ts +17 -0
- package/lib-amd/components/PieChart/Arc/Arc.js +86 -0
- package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
- package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +3 -0
- package/lib-amd/components/PieChart/Arc/Arc.styles.js +16 -0
- package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
- package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +73 -0
- package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
- package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
- package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
- package/lib-amd/components/PieChart/Arc/index.js +7 -0
- package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
- package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
- package/lib-amd/components/PieChart/Pie/Pie.js +43 -0
- package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
- package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
- package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
- package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
- package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +47 -0
- package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
- package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
- package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
- package/lib-amd/components/PieChart/Pie/index.js +7 -0
- package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
- package/lib-amd/components/PieChart/PieChart.base.d.ts +10 -0
- package/lib-amd/components/PieChart/PieChart.base.js +47 -0
- package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
- package/lib-amd/components/PieChart/PieChart.d.ts +7 -0
- package/lib-amd/components/PieChart/PieChart.js +12 -0
- package/lib-amd/components/PieChart/PieChart.js.map +1 -0
- package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
- package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
- package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
- package/lib-amd/components/PieChart/PieChart.types.d.ts +75 -0
- package/lib-amd/components/PieChart/PieChart.types.js +5 -0
- package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
- package/lib-amd/components/PieChart/index.d.ts +2 -0
- package/lib-amd/components/PieChart/index.js +7 -0
- package/lib-amd/components/PieChart/index.js.map +1 -0
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +86 -0
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js +5 -0
- package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
- package/lib-amd/components/ResponsiveContainer/index.d.ts +3 -0
- package/lib-amd/components/ResponsiveContainer/index.js +8 -0
- package/lib-amd/components/ResponsiveContainer/index.js.map +1 -0
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +19 -0
- package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +91 -0
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +916 -0
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.d.ts +7 -0
- package/lib-amd/components/SankeyChart/SankeyChart.js +12 -0
- package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js +63 -0
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +157 -0
- package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
- package/lib-amd/components/SankeyChart/index.d.ts +2 -0
- package/lib-amd/components/SankeyChart/index.js +7 -0
- package/lib-amd/components/SankeyChart/index.js.map +1 -0
- package/lib-amd/components/Sparkline/Sparkline.base.d.ts +23 -0
- package/lib-amd/components/Sparkline/Sparkline.base.js +84 -0
- package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
- package/lib-amd/components/Sparkline/Sparkline.d.ts +7 -0
- package/lib-amd/components/Sparkline/Sparkline.js +12 -0
- package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
- package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
- package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
- package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
- package/lib-amd/components/Sparkline/Sparkline.types.d.ts +59 -0
- package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
- package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
- package/lib-amd/components/Sparkline/index.d.ts +2 -0
- package/lib-amd/components/Sparkline/index.js +7 -0
- package/lib-amd/components/Sparkline/index.js.map +1 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +432 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +12 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +89 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +14 -0
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +362 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +7 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.js +12 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +107 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
- package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
- package/lib-amd/components/StackedBarChart/index.js +10 -0
- package/lib-amd/components/StackedBarChart/index.js.map +1 -0
- package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
- package/lib-amd/components/TreeChart/TreeChart.base.js +319 -0
- package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
- package/lib-amd/components/TreeChart/TreeChart.d.ts +7 -0
- package/lib-amd/components/TreeChart/TreeChart.js +11 -0
- package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
- package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
- package/lib-amd/components/TreeChart/TreeChart.styles.js +34 -0
- package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +216 -0
- package/lib-amd/components/TreeChart/TreeChart.types.js +34 -0
- package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
- package/lib-amd/components/TreeChart/index.d.ts +2 -0
- package/lib-amd/components/TreeChart/index.js +7 -0
- package/lib-amd/components/TreeChart/index.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +873 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +12 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
- package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
- package/lib-amd/components/VerticalBarChart/index.js +7 -0
- package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +809 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +12 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
- package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
- package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
- package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
- package/lib-amd/index.d.ts +44 -0
- package/lib-amd/index.js +43 -0
- package/lib-amd/index.js.map +1 -0
- package/lib-amd/types/IDataPoint.d.ts +736 -0
- package/lib-amd/types/IDataPoint.js +5 -0
- package/lib-amd/types/IDataPoint.js.map +1 -0
- package/lib-amd/types/IEventAnnotation.d.ts +6 -0
- package/lib-amd/types/IEventAnnotation.js +5 -0
- package/lib-amd/types/IEventAnnotation.js.map +1 -0
- package/lib-amd/types/ILegendDataItem.d.ts +10 -0
- package/lib-amd/types/ILegendDataItem.js +5 -0
- package/lib-amd/types/ILegendDataItem.js.map +1 -0
- package/lib-amd/types/index.d.ts +2 -0
- package/lib-amd/types/index.js +7 -0
- package/lib-amd/types/index.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +103 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
- package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
- package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
- package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
- package/lib-amd/utilities/FocusableTooltipText.d.ts +27 -0
- package/lib-amd/utilities/FocusableTooltipText.js +54 -0
- package/lib-amd/utilities/FocusableTooltipText.js.map +1 -0
- package/lib-amd/utilities/SVGTooltipText.d.ts +110 -0
- package/lib-amd/utilities/SVGTooltipText.js +192 -0
- package/lib-amd/utilities/SVGTooltipText.js.map +1 -0
- package/lib-amd/utilities/colors.d.ts +52 -0
- package/lib-amd/utilities/colors.js +161 -0
- package/lib-amd/utilities/colors.js.map +1 -0
- package/lib-amd/utilities/gradients.d.ts +30 -0
- package/lib-amd/utilities/gradients.js +180 -0
- package/lib-amd/utilities/gradients.js.map +1 -0
- package/lib-amd/utilities/image-export-utils.d.ts +13 -0
- package/lib-amd/utilities/image-export-utils.js +241 -0
- package/lib-amd/utilities/image-export-utils.js.map +1 -0
- package/lib-amd/utilities/index.d.ts +5 -0
- package/lib-amd/utilities/index.js +10 -0
- package/lib-amd/utilities/index.js.map +1 -0
- package/lib-amd/utilities/locale-util.d.ts +3 -0
- package/lib-amd/utilities/locale-util.js +24 -0
- package/lib-amd/utilities/locale-util.js.map +1 -0
- package/lib-amd/utilities/test-data.d.ts +43 -0
- package/lib-amd/utilities/test-data.js +266 -0
- package/lib-amd/utilities/test-data.js.map +1 -0
- package/lib-amd/utilities/utilities.d.ts +418 -0
- package/lib-amd/utilities/utilities.js +1261 -0
- package/lib-amd/utilities/utilities.js.map +1 -0
- package/lib-amd/utilities/vbc-utils.d.ts +2 -0
- package/lib-amd/utilities/vbc-utils.js +38 -0
- package/lib-amd/utilities/vbc-utils.js.map +1 -0
- package/lib-amd/version.d.ts +1 -0
- package/lib-amd/version.js +6 -0
- package/lib-amd/version.js.map +1 -0
- package/lib-commonjs/AreaChart.d.ts +1 -0
- package/lib-commonjs/AreaChart.js +5 -0
- package/lib-commonjs/AreaChart.js.map +1 -0
- package/lib-commonjs/CartesianChart.d.ts +1 -0
- package/lib-commonjs/CartesianChart.js +5 -0
- package/lib-commonjs/CartesianChart.js.map +1 -0
- package/lib-commonjs/DeclarativeChart.d.ts +1 -0
- package/lib-commonjs/DeclarativeChart.js +5 -0
- package/lib-commonjs/DeclarativeChart.js.map +1 -0
- package/lib-commonjs/DonutChart.d.ts +1 -0
- package/lib-commonjs/DonutChart.js +5 -0
- package/lib-commonjs/DonutChart.js.map +1 -0
- package/lib-commonjs/GaugeChart.d.ts +1 -0
- package/lib-commonjs/GaugeChart.js +5 -0
- package/lib-commonjs/GaugeChart.js.map +1 -0
- package/lib-commonjs/GroupedVerticalBarChart.d.ts +1 -0
- package/lib-commonjs/GroupedVerticalBarChart.js +5 -0
- package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -0
- package/lib-commonjs/HeatMapChart.d.ts +1 -0
- package/lib-commonjs/HeatMapChart.js +5 -0
- package/lib-commonjs/HeatMapChart.js.map +1 -0
- package/lib-commonjs/HorizontalBarChart.d.ts +1 -0
- package/lib-commonjs/HorizontalBarChart.js +5 -0
- package/lib-commonjs/HorizontalBarChart.js.map +1 -0
- package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +1 -0
- package/lib-commonjs/HorizontalBarChartWithAxis.js +5 -0
- package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -0
- package/lib-commonjs/Legends.d.ts +1 -0
- package/lib-commonjs/Legends.js +5 -0
- package/lib-commonjs/Legends.js.map +1 -0
- package/lib-commonjs/LineChart.d.ts +1 -0
- package/lib-commonjs/LineChart.js +5 -0
- package/lib-commonjs/LineChart.js.map +1 -0
- package/lib-commonjs/PieChart.d.ts +1 -0
- package/lib-commonjs/PieChart.js +5 -0
- package/lib-commonjs/PieChart.js.map +1 -0
- package/lib-commonjs/ResponsiveContainer.d.ts +1 -0
- package/lib-commonjs/ResponsiveContainer.js +5 -0
- package/lib-commonjs/ResponsiveContainer.js.map +1 -0
- package/lib-commonjs/SankeyChart.d.ts +1 -0
- package/lib-commonjs/SankeyChart.js +5 -0
- package/lib-commonjs/SankeyChart.js.map +1 -0
- package/lib-commonjs/Sparkline.d.ts +1 -0
- package/lib-commonjs/Sparkline.js +5 -0
- package/lib-commonjs/Sparkline.js.map +1 -0
- package/lib-commonjs/StackedBarChart.d.ts +1 -0
- package/lib-commonjs/StackedBarChart.js +5 -0
- package/lib-commonjs/StackedBarChart.js.map +1 -0
- package/lib-commonjs/Styling.d.ts +2 -0
- package/lib-commonjs/Styling.js +75 -0
- package/lib-commonjs/Styling.js.map +1 -0
- package/lib-commonjs/TreeChart.d.ts +1 -0
- package/lib-commonjs/TreeChart.js +5 -0
- package/lib-commonjs/TreeChart.js.map +1 -0
- package/lib-commonjs/Utilities.d.ts +2 -0
- package/lib-commonjs/Utilities.js +176 -0
- package/lib-commonjs/Utilities.js.map +1 -0
- package/lib-commonjs/VerticalBarChart.d.ts +1 -0
- package/lib-commonjs/VerticalBarChart.js +5 -0
- package/lib-commonjs/VerticalBarChart.js.map +1 -0
- package/lib-commonjs/VerticalStackedBarChart.d.ts +1 -0
- package/lib-commonjs/VerticalStackedBarChart.js +5 -0
- package/lib-commonjs/VerticalStackedBarChart.js.map +1 -0
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +111 -0
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +725 -0
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -0
- package/lib-commonjs/components/AreaChart/AreaChart.d.ts +7 -0
- package/lib-commonjs/components/AreaChart/AreaChart.js +13 -0
- package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -0
- package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +2 -0
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js +11 -0
- package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -0
- package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +64 -0
- package/lib-commonjs/components/AreaChart/AreaChart.types.js +3 -0
- package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -0
- package/lib-commonjs/components/AreaChart/index.d.ts +2 -0
- package/lib-commonjs/components/AreaChart/index.js +6 -0
- package/lib-commonjs/components/AreaChart/index.js.map +1 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +65 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +612 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +7 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.js +12 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +179 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +556 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +3 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -0
- package/lib-commonjs/components/CommonComponents/index.d.ts +2 -0
- package/lib-commonjs/components/CommonComponents/index.js +6 -0
- package/lib-commonjs/components/CommonComponents/index.js.map +1 -0
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +148 -0
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +663 -0
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
- package/lib-commonjs/components/DeclarativeChart/index.d.ts +1 -0
- package/lib-commonjs/components/DeclarativeChart/index.js +5 -0
- package/lib-commonjs/components/DeclarativeChart/index.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +22 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +110 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +39 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +165 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +3 -0
- package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Arc/index.d.ts +2 -0
- package/lib-commonjs/components/DonutChart/Arc/index.js +6 -0
- package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -0
- package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +61 -0
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +304 -0
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -0
- package/lib-commonjs/components/DonutChart/DonutChart.d.ts +7 -0
- package/lib-commonjs/components/DonutChart/DonutChart.js +13 -0
- package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -0
- package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +2 -0
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js +34 -0
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -0
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +90 -0
- package/lib-commonjs/components/DonutChart/DonutChart.types.js +3 -0
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +15 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.js +78 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +23 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +106 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +3 -0
- package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -0
- package/lib-commonjs/components/DonutChart/Pie/index.d.ts +2 -0
- package/lib-commonjs/components/DonutChart/Pie/index.js +6 -0
- package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -0
- package/lib-commonjs/components/DonutChart/index.d.ts +3 -0
- package/lib-commonjs/components/DonutChart/index.js +7 -0
- package/lib-commonjs/components/DonutChart/index.js.map +1 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +82 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +478 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +7 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.js +12 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +133 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +273 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +20 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -0
- package/lib-commonjs/components/GaugeChart/index.d.ts +2 -0
- package/lib-commonjs/components/GaugeChart/index.js +6 -0
- package/lib-commonjs/components/GaugeChart/index.js.map +1 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +498 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +13 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +3 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +2 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js +6 -0
- package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +600 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +7 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +12 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +27 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +3 -0
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
- package/lib-commonjs/components/HeatMapChart/index.d.ts +2 -0
- package/lib-commonjs/components/HeatMapChart/index.js +6 -0
- package/lib-commonjs/components/HeatMapChart/index.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +296 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +13 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +70 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +12 -0
- package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChart/index.d.ts +3 -0
- package/lib-commonjs/components/HorizontalBarChart/index.js +7 -0
- package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +604 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +13 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +16 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +3 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +6 -0
- package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -0
- package/lib-commonjs/components/Legends/Legends.base.d.ts +50 -0
- package/lib-commonjs/components/Legends/Legends.base.js +332 -0
- package/lib-commonjs/components/Legends/Legends.base.js.map +1 -0
- package/lib-commonjs/components/Legends/Legends.d.ts +7 -0
- package/lib-commonjs/components/Legends/Legends.js +12 -0
- package/lib-commonjs/components/Legends/Legends.js.map +1 -0
- package/lib-commonjs/components/Legends/Legends.styles.d.ts +10 -0
- package/lib-commonjs/components/Legends/Legends.styles.js +124 -0
- package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -0
- package/lib-commonjs/components/Legends/Legends.types.d.ts +259 -0
- package/lib-commonjs/components/Legends/Legends.types.js +3 -0
- package/lib-commonjs/components/Legends/Legends.types.js.map +1 -0
- package/lib-commonjs/components/Legends/index.d.ts +3 -0
- package/lib-commonjs/components/Legends/index.js +7 -0
- package/lib-commonjs/components/Legends/index.js.map +1 -0
- package/lib-commonjs/components/Legends/shape.d.ts +9 -0
- package/lib-commonjs/components/Legends/shape.js +28 -0
- package/lib-commonjs/components/Legends/shape.js.map +1 -0
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +105 -0
- package/lib-commonjs/components/LineChart/LineChart.base.js +969 -0
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -0
- package/lib-commonjs/components/LineChart/LineChart.d.ts +7 -0
- package/lib-commonjs/components/LineChart/LineChart.js +13 -0
- package/lib-commonjs/components/LineChart/LineChart.js.map +1 -0
- package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +2 -0
- package/lib-commonjs/components/LineChart/LineChart.styles.js +11 -0
- package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -0
- package/lib-commonjs/components/LineChart/LineChart.types.d.ts +103 -0
- package/lib-commonjs/components/LineChart/LineChart.types.js +3 -0
- package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +94 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +44 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +42 -0
- package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
- package/lib-commonjs/components/LineChart/index.d.ts +3 -0
- package/lib-commonjs/components/LineChart/index.js +7 -0
- package/lib-commonjs/components/LineChart/index.js.map +1 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +17 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.js +92 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +3 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +15 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +73 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js +3 -0
- package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -0
- package/lib-commonjs/components/PieChart/Arc/index.d.ts +2 -0
- package/lib-commonjs/components/PieChart/Arc/index.js +6 -0
- package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +10 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.js +48 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +2 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +10 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +47 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js +3 -0
- package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -0
- package/lib-commonjs/components/PieChart/Pie/index.d.ts +2 -0
- package/lib-commonjs/components/PieChart/Pie/index.js +6 -0
- package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -0
- package/lib-commonjs/components/PieChart/PieChart.base.d.ts +10 -0
- package/lib-commonjs/components/PieChart/PieChart.base.js +49 -0
- package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -0
- package/lib-commonjs/components/PieChart/PieChart.d.ts +7 -0
- package/lib-commonjs/components/PieChart/PieChart.js +13 -0
- package/lib-commonjs/components/PieChart/PieChart.js.map +1 -0
- package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +2 -0
- package/lib-commonjs/components/PieChart/PieChart.styles.js +33 -0
- package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -0
- package/lib-commonjs/components/PieChart/PieChart.types.d.ts +75 -0
- package/lib-commonjs/components/PieChart/PieChart.types.js +3 -0
- package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -0
- package/lib-commonjs/components/PieChart/index.d.ts +2 -0
- package/lib-commonjs/components/PieChart/index.js +6 -0
- package/lib-commonjs/components/PieChart/index.js.map +1 -0
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +87 -0
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js +3 -0
- package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
- package/lib-commonjs/components/ResponsiveContainer/index.d.ts +3 -0
- package/lib-commonjs/components/ResponsiveContainer/index.js +7 -0
- package/lib-commonjs/components/ResponsiveContainer/index.js.map +1 -0
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +21 -0
- package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +91 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +925 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +7 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.js +13 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +63 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +157 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +3 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -0
- package/lib-commonjs/components/SankeyChart/index.d.ts +2 -0
- package/lib-commonjs/components/SankeyChart/index.js +6 -0
- package/lib-commonjs/components/SankeyChart/index.js.map +1 -0
- package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +23 -0
- package/lib-commonjs/components/Sparkline/Sparkline.base.js +89 -0
- package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -0
- package/lib-commonjs/components/Sparkline/Sparkline.d.ts +7 -0
- package/lib-commonjs/components/Sparkline/Sparkline.js +13 -0
- package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -0
- package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +2 -0
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js +14 -0
- package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -0
- package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +59 -0
- package/lib-commonjs/components/Sparkline/Sparkline.types.js +3 -0
- package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -0
- package/lib-commonjs/components/Sparkline/index.d.ts +2 -0
- package/lib-commonjs/components/Sparkline/index.js +6 -0
- package/lib-commonjs/components/Sparkline/index.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +440 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +13 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +90 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +12 -0
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +369 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +7 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +13 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +107 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +3 -0
- package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
- package/lib-commonjs/components/StackedBarChart/index.d.ts +5 -0
- package/lib-commonjs/components/StackedBarChart/index.js +9 -0
- package/lib-commonjs/components/StackedBarChart/index.js.map +1 -0
- package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +18 -0
- package/lib-commonjs/components/TreeChart/TreeChart.base.js +324 -0
- package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -0
- package/lib-commonjs/components/TreeChart/TreeChart.d.ts +7 -0
- package/lib-commonjs/components/TreeChart/TreeChart.js +12 -0
- package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -0
- package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +2 -0
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js +33 -0
- package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -0
- package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +216 -0
- package/lib-commonjs/components/TreeChart/TreeChart.types.js +32 -0
- package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -0
- package/lib-commonjs/components/TreeChart/index.d.ts +2 -0
- package/lib-commonjs/components/TreeChart/index.js +6 -0
- package/lib-commonjs/components/TreeChart/index.js.map +1 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +883 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +13 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +3 -0
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
- package/lib-commonjs/components/VerticalBarChart/index.d.ts +2 -0
- package/lib-commonjs/components/VerticalBarChart/index.js +6 -0
- package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +819 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +13 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +3 -0
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
- package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +2 -0
- package/lib-commonjs/components/VerticalStackedBarChart/index.js +6 -0
- package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -0
- package/lib-commonjs/index.d.ts +44 -0
- package/lib-commonjs/index.js +64 -0
- package/lib-commonjs/index.js.map +1 -0
- package/lib-commonjs/types/IDataPoint.d.ts +736 -0
- package/lib-commonjs/types/IDataPoint.js +3 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -0
- package/lib-commonjs/types/IEventAnnotation.d.ts +6 -0
- package/lib-commonjs/types/IEventAnnotation.js +3 -0
- package/lib-commonjs/types/IEventAnnotation.js.map +1 -0
- package/lib-commonjs/types/ILegendDataItem.d.ts +10 -0
- package/lib-commonjs/types/ILegendDataItem.js +3 -0
- package/lib-commonjs/types/ILegendDataItem.js.map +1 -0
- package/lib-commonjs/types/index.d.ts +2 -0
- package/lib-commonjs/types/index.js +6 -0
- package/lib-commonjs/types/index.js.map +1 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +41 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +9 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +102 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +3 -0
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
- package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +3 -0
- package/lib-commonjs/utilities/ChartHoverCard/index.js +7 -0
- package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -0
- package/lib-commonjs/utilities/FocusableTooltipText.d.ts +27 -0
- package/lib-commonjs/utilities/FocusableTooltipText.js +57 -0
- package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -0
- package/lib-commonjs/utilities/SVGTooltipText.d.ts +110 -0
- package/lib-commonjs/utilities/SVGTooltipText.js +195 -0
- package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -0
- package/lib-commonjs/utilities/colors.d.ts +52 -0
- package/lib-commonjs/utilities/colors.js +160 -0
- package/lib-commonjs/utilities/colors.js.map +1 -0
- package/lib-commonjs/utilities/gradients.d.ts +30 -0
- package/lib-commonjs/utilities/gradients.js +178 -0
- package/lib-commonjs/utilities/gradients.js.map +1 -0
- package/lib-commonjs/utilities/image-export-utils.d.ts +13 -0
- package/lib-commonjs/utilities/image-export-utils.js +243 -0
- package/lib-commonjs/utilities/image-export-utils.js.map +1 -0
- package/lib-commonjs/utilities/index.d.ts +5 -0
- package/lib-commonjs/utilities/index.js +9 -0
- package/lib-commonjs/utilities/index.js.map +1 -0
- package/lib-commonjs/utilities/locale-util.d.ts +3 -0
- package/lib-commonjs/utilities/locale-util.js +22 -0
- package/lib-commonjs/utilities/locale-util.js.map +1 -0
- package/lib-commonjs/utilities/test-data.d.ts +43 -0
- package/lib-commonjs/utilities/test-data.js +265 -0
- package/lib-commonjs/utilities/test-data.js.map +1 -0
- package/lib-commonjs/utilities/utilities.d.ts +418 -0
- package/lib-commonjs/utilities/utilities.js +1269 -0
- package/lib-commonjs/utilities/utilities.js.map +1 -0
- package/lib-commonjs/utilities/vbc-utils.d.ts +2 -0
- package/lib-commonjs/utilities/vbc-utils.js +36 -0
- package/lib-commonjs/utilities/vbc-utils.js.map +1 -0
- package/lib-commonjs/version.d.ts +1 -0
- package/lib-commonjs/version.js +7 -0
- package/lib-commonjs/version.js.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HorizontalBarChartBase = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var React = require("react");
|
|
6
|
+
var Utilities_1 = require("@fluentui/react/lib/Utilities");
|
|
7
|
+
var index_1 = require("./index");
|
|
8
|
+
var Callout_1 = require("@fluentui/react/lib/Callout");
|
|
9
|
+
var locale_util_1 = require("../../utilities/locale-util");
|
|
10
|
+
var index_2 = require("../../utilities/index");
|
|
11
|
+
var react_focus_1 = require("@fluentui/react-focus");
|
|
12
|
+
var FocusableTooltipText_1 = require("../../utilities/FocusableTooltipText");
|
|
13
|
+
var getClassNames = (0, Utilities_1.classNamesFunction)();
|
|
14
|
+
var HorizontalBarChartBase = /** @class */ (function (_super) {
|
|
15
|
+
tslib_1.__extends(HorizontalBarChartBase, _super);
|
|
16
|
+
function HorizontalBarChartBase(props) {
|
|
17
|
+
var _this = _super.call(this, props) || this;
|
|
18
|
+
_this._isRTL = (0, Utilities_1.getRTL)();
|
|
19
|
+
_this._handleChartMouseLeave = function () {
|
|
20
|
+
_this._calloutAnchorPoint = null;
|
|
21
|
+
if (_this.state.isCalloutVisible) {
|
|
22
|
+
_this.setState({
|
|
23
|
+
isCalloutVisible: false,
|
|
24
|
+
hoverValue: '',
|
|
25
|
+
refSelected: null,
|
|
26
|
+
lineColor: '',
|
|
27
|
+
legend: '',
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
_this._adjustProps = function () {
|
|
32
|
+
_this._barHeight = _this.props.barHeight || 12;
|
|
33
|
+
_this._classNames = getClassNames(_this.props.styles, {
|
|
34
|
+
theme: _this.props.theme,
|
|
35
|
+
width: _this.props.width,
|
|
36
|
+
className: _this.props.className,
|
|
37
|
+
barHeight: _this._barHeight,
|
|
38
|
+
color: _this.state.lineColor,
|
|
39
|
+
variant: _this.props.variant,
|
|
40
|
+
hideLabels: _this.props.hideLabels,
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
_this._getChartDataText = function (data) {
|
|
44
|
+
return _this.props.barChartCustomData ? (React.createElement("div", { role: "text" }, _this.props.barChartCustomData(data))) : (_this._getDefaultTextData(data));
|
|
45
|
+
};
|
|
46
|
+
_this._closeCallout = function () {
|
|
47
|
+
_this.setState({
|
|
48
|
+
isCalloutVisible: false,
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
_this._getAriaLabel = function (point) {
|
|
52
|
+
var _a;
|
|
53
|
+
var legend = point.xAxisCalloutData || point.legend;
|
|
54
|
+
var benchMark = point.data;
|
|
55
|
+
var yValue = point.yAxisCalloutData ||
|
|
56
|
+
(point.horizontalBarChartdata ? "".concat(point.horizontalBarChartdata.x, "/").concat(point.horizontalBarChartdata.y) : 0);
|
|
57
|
+
return (((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) ||
|
|
58
|
+
(legend ? "".concat(legend, ", ") : '') + "".concat(yValue, ".") + (benchMark ? 'with benchmark at ' + "".concat(benchMark, ", ") : ''));
|
|
59
|
+
};
|
|
60
|
+
_this.state = {
|
|
61
|
+
isCalloutVisible: false,
|
|
62
|
+
hoverValue: '',
|
|
63
|
+
lineColor: '',
|
|
64
|
+
legend: '',
|
|
65
|
+
refSelected: null,
|
|
66
|
+
color: '',
|
|
67
|
+
xCalloutValue: '',
|
|
68
|
+
yCalloutValue: '',
|
|
69
|
+
barSpacingInPercent: 0,
|
|
70
|
+
};
|
|
71
|
+
_this._refArray = [];
|
|
72
|
+
_this._uniqLineText = '_HorizontalLine_' + Math.random().toString(36).substring(7);
|
|
73
|
+
_this._hoverOff = _this._hoverOff.bind(_this);
|
|
74
|
+
_this._calloutId = (0, Utilities_1.getId)('callout');
|
|
75
|
+
_this._emptyChartId = (0, Utilities_1.getId)('_HBC_empty');
|
|
76
|
+
_this.barChartSvgRef = React.createRef();
|
|
77
|
+
return _this;
|
|
78
|
+
}
|
|
79
|
+
HorizontalBarChartBase.prototype.componentDidMount = function () {
|
|
80
|
+
var _a;
|
|
81
|
+
var svgWidth = ((_a = this.barChartSvgRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0;
|
|
82
|
+
var MARGIN_WIDTH_IN_PX = 3;
|
|
83
|
+
if (svgWidth) {
|
|
84
|
+
var currentBarSpacing = (MARGIN_WIDTH_IN_PX / svgWidth) * 100;
|
|
85
|
+
this.setState({ barSpacingInPercent: currentBarSpacing });
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
HorizontalBarChartBase.prototype.render = function () {
|
|
89
|
+
var _this = this;
|
|
90
|
+
var _a = this.props, data = _a.data, theme = _a.theme;
|
|
91
|
+
this._adjustProps();
|
|
92
|
+
var palette = theme.palette;
|
|
93
|
+
var datapoint = 0;
|
|
94
|
+
return !this._isChartEmpty() ? (React.createElement("div", { className: this._classNames.root, onMouseLeave: this._handleChartMouseLeave },
|
|
95
|
+
data.map(function (points, index) {
|
|
96
|
+
if (points.chartData && points.chartData[0] && points.chartData[0].horizontalBarChartdata.x) {
|
|
97
|
+
datapoint = points.chartData[0].horizontalBarChartdata.x;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
datapoint = 0;
|
|
101
|
+
}
|
|
102
|
+
points.chartData[1] = {
|
|
103
|
+
legend: '',
|
|
104
|
+
horizontalBarChartdata: {
|
|
105
|
+
x: points.chartData[0].horizontalBarChartdata.y - datapoint,
|
|
106
|
+
y: points.chartData[0].horizontalBarChartdata.y,
|
|
107
|
+
},
|
|
108
|
+
color: palette.neutralLight,
|
|
109
|
+
};
|
|
110
|
+
// Hide right side text of chart title for absolute-scale variant
|
|
111
|
+
var chartDataText = _this.props.variant === index_1.HorizontalBarChartVariant.AbsoluteScale ? null : _this._getChartDataText(points);
|
|
112
|
+
var bars = _this._createBars(points, palette, index);
|
|
113
|
+
var keyVal = _this._uniqLineText + '_' + index;
|
|
114
|
+
var classNames = getClassNames(_this.props.styles, {
|
|
115
|
+
theme: _this.props.theme,
|
|
116
|
+
width: _this.props.width,
|
|
117
|
+
showTriangle: !!points.chartData[0].data,
|
|
118
|
+
variant: _this.props.variant,
|
|
119
|
+
});
|
|
120
|
+
return (React.createElement("div", { key: index },
|
|
121
|
+
React.createElement("div", { className: classNames.items },
|
|
122
|
+
React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal },
|
|
123
|
+
React.createElement("div", { className: _this._classNames.chartTitle },
|
|
124
|
+
points.chartTitle && (React.createElement(FocusableTooltipText_1.FocusableTooltipText, { className: _this._classNames.chartTitleLeft, content: points.chartTitle, accessibilityData: points.chartTitleAccessibilityData })),
|
|
125
|
+
chartDataText)),
|
|
126
|
+
points.chartData[0].data && _this._createBenchmark(points),
|
|
127
|
+
React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal, className: _this._classNames.chartWrapper },
|
|
128
|
+
React.createElement("svg", { ref: _this.barChartSvgRef, className: _this._classNames.chart, "aria-label": points.chartTitle },
|
|
129
|
+
React.createElement("g", { id: keyVal, key: keyVal, ref: function (e) {
|
|
130
|
+
_this._refCallback(e, points.chartData[0].legend);
|
|
131
|
+
},
|
|
132
|
+
// NOTE: points.chartData![0] contains current data value
|
|
133
|
+
onClick: function () {
|
|
134
|
+
var p = points.chartData[0];
|
|
135
|
+
if (p && p.onClick) {
|
|
136
|
+
p.onClick();
|
|
137
|
+
}
|
|
138
|
+
} }, bars))))));
|
|
139
|
+
}),
|
|
140
|
+
React.createElement(Callout_1.Callout, tslib_1.__assign({ target: this.state.refSelected, coverTarget: true, isBeakVisible: false, gapSpace: 30, hidden: !(!this.props.hideTooltip && this.state.isCalloutVisible), directionalHint: Callout_1.DirectionalHint.topAutoEdge, id: this._calloutId, onDismiss: this._closeCallout,
|
|
141
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
142
|
+
preventDismissOnLostFocus: true }, this.props.calloutProps, (0, index_2.getAccessibleDataObject)(this.state.callOutAccessibilityData)),
|
|
143
|
+
React.createElement(React.Fragment, null, this.props.onRenderCalloutPerHorizontalBar ? (this.props.onRenderCalloutPerHorizontalBar(this.state.barCalloutProps)) : (React.createElement(index_2.ChartHoverCard, { Legend: this.state.xCalloutValue ? this.state.xCalloutValue : this.state.legend, YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.hoverValue, color: this.state.lineColor, culture: this.props.culture })))))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
|
|
144
|
+
};
|
|
145
|
+
HorizontalBarChartBase.prototype._refCallback = function (element, legendTitle) {
|
|
146
|
+
this._refArray.push({ index: legendTitle, refElement: element });
|
|
147
|
+
};
|
|
148
|
+
HorizontalBarChartBase.prototype._hoverOn = function (hoverValue, point) {
|
|
149
|
+
var _a, _b, _c, _d;
|
|
150
|
+
if ((!this.state.isCalloutVisible || this.state.legend !== point.legend) && this._calloutAnchorPoint !== point) {
|
|
151
|
+
var currentHoveredElement = (0, Utilities_1.find)(this._refArray, function (currentElement) { return currentElement.index === point.legend; });
|
|
152
|
+
this._calloutAnchorPoint = point;
|
|
153
|
+
var color = point.color;
|
|
154
|
+
if (this.props.enableGradient) {
|
|
155
|
+
var pointIndex = Math.max(((_b = (_a = this.props.data) === null || _a === void 0 ? void 0 : _a.map(function (v) { return v.chartData; })) === null || _b === void 0 ? void 0 : _b.findIndex(function (item) { return (item === null || item === void 0 ? void 0 : item[0].data) === point.data && (item === null || item === void 0 ? void 0 : item[0].legend) === point.legend; })) || 0, 0);
|
|
156
|
+
color = ((_c = point.gradient) === null || _c === void 0 ? void 0 : _c[0]) || (0, index_2.getNextGradient)(pointIndex, 0, (_d = this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[0];
|
|
157
|
+
}
|
|
158
|
+
this.setState({
|
|
159
|
+
isCalloutVisible: true,
|
|
160
|
+
hoverValue: hoverValue,
|
|
161
|
+
lineColor: color,
|
|
162
|
+
legend: point.legend,
|
|
163
|
+
refSelected: currentHoveredElement.refElement,
|
|
164
|
+
xCalloutValue: point.xAxisCalloutData,
|
|
165
|
+
yCalloutValue: point.yAxisCalloutData,
|
|
166
|
+
barCalloutProps: point,
|
|
167
|
+
callOutAccessibilityData: point.callOutAccessibilityData,
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
HorizontalBarChartBase.prototype._hoverOff = function () {
|
|
172
|
+
/**/
|
|
173
|
+
};
|
|
174
|
+
HorizontalBarChartBase.prototype._getDefaultTextData = function (data) {
|
|
175
|
+
var culture = this.props.culture;
|
|
176
|
+
var chartDataMode = this.props.chartDataMode || 'default';
|
|
177
|
+
var chartData = data.chartData[0];
|
|
178
|
+
var x = chartData.horizontalBarChartdata.x;
|
|
179
|
+
var y = chartData.horizontalBarChartdata.y;
|
|
180
|
+
var accessibilityData = (0, index_2.getAccessibleDataObject)(data.chartDataAccessibilityData, 'text', false);
|
|
181
|
+
switch (chartDataMode) {
|
|
182
|
+
case 'default':
|
|
183
|
+
return (React.createElement("div", tslib_1.__assign({ className: this._classNames.chartTitleRight }, accessibilityData), (0, locale_util_1.convertToLocaleString)(x, culture)));
|
|
184
|
+
case 'fraction':
|
|
185
|
+
return (React.createElement("div", tslib_1.__assign({}, accessibilityData),
|
|
186
|
+
React.createElement("span", { className: this._classNames.chartTitleRight }, (0, locale_util_1.convertToLocaleString)(x, culture)),
|
|
187
|
+
React.createElement("span", { className: this._classNames.chartDataTextDenominator }, ' / ' + (0, locale_util_1.convertToLocaleString)(y, culture))));
|
|
188
|
+
case 'percentage':
|
|
189
|
+
var dataRatioPercentage = "".concat((0, locale_util_1.convertToLocaleString)(Math.round((x / y) * 100), culture), "%");
|
|
190
|
+
return (React.createElement("div", tslib_1.__assign({ className: this._classNames.chartTitleRight }, accessibilityData), dataRatioPercentage));
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
HorizontalBarChartBase.prototype._createBenchmark = function (data) {
|
|
194
|
+
var totalData = data.chartData[0].horizontalBarChartdata.y;
|
|
195
|
+
var benchmarkData = data.chartData[0].data;
|
|
196
|
+
var benchmarkRatio = Math.round(((benchmarkData ? benchmarkData : 0) / totalData) * 100);
|
|
197
|
+
var benchmarkStyles = {
|
|
198
|
+
left: 'calc(' + benchmarkRatio + '% - 4px)',
|
|
199
|
+
};
|
|
200
|
+
return (React.createElement("div", { className: this._classNames.benchmarkContainer },
|
|
201
|
+
React.createElement("div", { className: this._classNames.triangle, style: benchmarkStyles })));
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* This functions returns an array of <rect> elements, which form the bars
|
|
205
|
+
* For each bar an x value, and a width needs to be specified
|
|
206
|
+
* The computations are done based on percentages
|
|
207
|
+
* Extra margin is also provided, in the x value to provide some spacing in between the bars
|
|
208
|
+
*/
|
|
209
|
+
HorizontalBarChartBase.prototype._createBars = function (data, palette, dataPointIndex) {
|
|
210
|
+
var _this = this;
|
|
211
|
+
var _a;
|
|
212
|
+
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)) ||
|
|
213
|
+
1;
|
|
214
|
+
var totalMarginPercent = this.state.barSpacingInPercent * (noOfBars - 1);
|
|
215
|
+
var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
|
|
216
|
+
// calculating starting point of each bar and it's range
|
|
217
|
+
var startingPoint = [];
|
|
218
|
+
var total = data.chartData.reduce(function (acc, point) {
|
|
219
|
+
return acc + (point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0);
|
|
220
|
+
}, 0);
|
|
221
|
+
var prevPosition = 0;
|
|
222
|
+
var value = 0;
|
|
223
|
+
var sumOfPercent = 0;
|
|
224
|
+
data.chartData.map(function (point, index) {
|
|
225
|
+
var pointData = point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0;
|
|
226
|
+
value = (pointData / total) * 100;
|
|
227
|
+
if (value < 0) {
|
|
228
|
+
value = 0;
|
|
229
|
+
}
|
|
230
|
+
else if (value < 1 && value !== 0) {
|
|
231
|
+
value = 1;
|
|
232
|
+
}
|
|
233
|
+
sumOfPercent += value;
|
|
234
|
+
return sumOfPercent;
|
|
235
|
+
});
|
|
236
|
+
/**
|
|
237
|
+
* The %age of the space occupied by the margin needs to subtracted
|
|
238
|
+
* while computing the scaling ratio, since the margins are not being
|
|
239
|
+
* scaled down, only the data is being scaled down from a higher percentage to lower percentage
|
|
240
|
+
* Eg: 95% of the space is taken by the bars, 5% by the margins
|
|
241
|
+
* Now if the sumOfPercent is 120% -> This needs to be scaled down to 95%, not 100%
|
|
242
|
+
* since that's only space available to the bars
|
|
243
|
+
*/
|
|
244
|
+
var scalingRatio = sumOfPercent !== 0 ? (sumOfPercent - totalMarginPercent) / 100 : 1;
|
|
245
|
+
var bars = data.chartData.map(function (point, index) {
|
|
246
|
+
var _a, _b, _c, _d;
|
|
247
|
+
var startColor = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
|
|
248
|
+
var endColor = startColor;
|
|
249
|
+
if (_this.props.enableGradient && index !== 1) {
|
|
250
|
+
startColor = ((_a = point.gradient) === null || _a === void 0 ? void 0 : _a[0]) || (0, index_2.getNextGradient)(dataPointIndex, 0, (_b = _this.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted)[0];
|
|
251
|
+
endColor = ((_c = point.gradient) === null || _c === void 0 ? void 0 : _c[1]) || (0, index_2.getNextGradient)(dataPointIndex, 0, (_d = _this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[1];
|
|
252
|
+
}
|
|
253
|
+
var pointData = point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0;
|
|
254
|
+
if (index > 0) {
|
|
255
|
+
prevPosition += value;
|
|
256
|
+
}
|
|
257
|
+
value = (pointData / total) * 100;
|
|
258
|
+
if (value < 0) {
|
|
259
|
+
value = 0;
|
|
260
|
+
}
|
|
261
|
+
else if (value < 1 && value !== 0) {
|
|
262
|
+
value = 1 / scalingRatio;
|
|
263
|
+
}
|
|
264
|
+
else {
|
|
265
|
+
value = value / scalingRatio;
|
|
266
|
+
}
|
|
267
|
+
startingPoint.push(prevPosition);
|
|
268
|
+
var xValue = point.horizontalBarChartdata.x;
|
|
269
|
+
var placeholderIndex = 1;
|
|
270
|
+
// Render bar label instead of placeholder bar for absolute-scale variant
|
|
271
|
+
if (index === placeholderIndex && _this.props.variant === index_1.HorizontalBarChartVariant.AbsoluteScale) {
|
|
272
|
+
if (_this.props.hideLabels) {
|
|
273
|
+
return React.createElement("text", { key: index });
|
|
274
|
+
}
|
|
275
|
+
var barValue = data.chartData[0].horizontalBarChartdata.x;
|
|
276
|
+
return (React.createElement("text", { key: index, x: "".concat(_this._isRTL ? 100 - startingPoint[index] : startingPoint[index], "%"), y: _this._barHeight / 2, dominantBaseline: "central", transform: "translate(".concat(_this._isRTL ? -4 : 4, ")"), className: _this._classNames.barLabel, "aria-hidden": true }, (0, index_2.formatValueWithSIPrefix)(barValue)));
|
|
277
|
+
}
|
|
278
|
+
var gradientId = (0, Utilities_1.getId)('HBC_Gradient') + "_".concat(dataPointIndex, "_").concat(index);
|
|
279
|
+
return (React.createElement(React.Fragment, { key: index },
|
|
280
|
+
_this.props.enableGradient && (React.createElement("defs", null,
|
|
281
|
+
React.createElement("linearGradient", { id: gradientId },
|
|
282
|
+
React.createElement("stop", { offset: "0", stopColor: startColor }),
|
|
283
|
+
React.createElement("stop", { offset: "100%", stopColor: endColor })))),
|
|
284
|
+
React.createElement("rect", { key: index, x: "".concat(_this._isRTL
|
|
285
|
+
? 100 - startingPoint[index] - value - index * _this.state.barSpacingInPercent
|
|
286
|
+
: startingPoint[index] + index * _this.state.barSpacingInPercent, "%"), y: 0, rx: _this.props.roundCorners ? 3 : 0, "data-is-focusable": point.legend !== '' ? true : false, width: value + '%', height: _this._barHeight, fill: _this.props.enableGradient ? "url(#".concat(gradientId, ")") : startColor, onMouseOver: point.legend !== '' ? _this._hoverOn.bind(_this, xValue, point) : undefined, onFocus: point.legend !== '' ? _this._hoverOn.bind(_this, xValue, point) : undefined, role: "img", "aria-label": _this._getAriaLabel(point), onBlur: _this._hoverOff, onMouseLeave: _this._hoverOff, className: _this._classNames.barWrapper })));
|
|
287
|
+
});
|
|
288
|
+
return bars;
|
|
289
|
+
};
|
|
290
|
+
HorizontalBarChartBase.prototype._isChartEmpty = function () {
|
|
291
|
+
return !(this.props.data && this.props.data.length > 0);
|
|
292
|
+
};
|
|
293
|
+
return HorizontalBarChartBase;
|
|
294
|
+
}(React.Component));
|
|
295
|
+
exports.HorizontalBarChartBase = HorizontalBarChartBase;
|
|
296
|
+
//# sourceMappingURL=HorizontalBarChart.base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalBarChart.base.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.base.tsx"],"names":[],"mappings":";;;;AAAA,6BAA+B;AAC/B,2DAAwF;AAExF,iCASiB;AACjB,uDAAuE;AACvE,2DAAoE;AACpE,+CAK+B;AAC/B,qDAAsE;AACtE,6EAA4E;AAE5E,IAAM,aAAa,GAAG,IAAA,8BAAkB,GAA4D,CAAC;AAgBrG;IAA4C,kDAAmE;IAW7G,gCAAY,KAA+B;QACzC,YAAA,MAAK,YAAC,KAAK,CAAC,SAAC;QALP,YAAM,GAAY,IAAA,kBAAM,GAAE,CAAC;QA4L3B,4BAAsB,GAAG;YAC/B,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AAI,CAAC,CAAC,CAAC,KAAK,EACrD,KAAK,EAAE,KAAK,GAAG,GAAG,EAClB,MAAM,EAAE,KAAI,CAAC,UAAU,EACvB,IAAI,EAAE,KAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,eAAQ,UAAU,MAAG,CAAC,CAAC,CAAC,UAAU,EACpE,WAAW,EAAE,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,KAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAI,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EACtF,OAAO,EAAE,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,KAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAI,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EAClF,IAAI,EAAC,KAAK,gBACE,KAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EACrC,MAAM,EAAE,KAAI,CAAC,SAAS,EACtB,YAAY,EAAE,KAAI,CAAC,SAAS,EAC5B,SAAS,EAAE,KAAI,CAAC,WAAW,CAAC,UAAU,GACtC,CACa,CAClB,CAAC;QACJ,CAAC,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;IAoBO,8CAAa,GAArB;QACE,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC1D,CAAC;IACH,6BAAC;AAAD,CAAC,AAnbD,CAA4C,KAAK,CAAC,SAAS,GAmb1D;AAnbY,wDAAsB","sourcesContent":["import * as React from 'react';\nimport { classNamesFunction, find, getId, getRTL } from '@fluentui/react/lib/Utilities';\nimport { IProcessedStyleSet, IPalette } from '@fluentui/react/lib/Styling';\nimport {\n IAccessibilityProps,\n IChartProps,\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n IChartDataPoint,\n IRefArrayData,\n HorizontalBarChartVariant,\n} from './index';\nimport { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { convertToLocaleString } from '../../utilities/locale-util';\nimport {\n ChartHoverCard,\n formatValueWithSIPrefix,\n getAccessibleDataObject,\n getNextGradient,\n} from '../../utilities/index';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport { FocusableTooltipText } from '../../utilities/FocusableTooltipText';\n\nconst getClassNames = classNamesFunction<IHorizontalBarChartStyleProps, IHorizontalBarChartStyles>();\n\nexport interface IHorizontalBarChartState {\n isCalloutVisible: boolean;\n refSelected: SVGGElement | null | undefined;\n color: string;\n hoverValue: string | number | Date | null;\n lineColor: string;\n legend: string | null;\n xCalloutValue?: string;\n yCalloutValue?: string;\n barCalloutProps?: IChartDataPoint;\n callOutAccessibilityData?: IAccessibilityProps;\n barSpacingInPercent: number;\n}\n\nexport class HorizontalBarChartBase extends React.Component<IHorizontalBarChartProps, IHorizontalBarChartState> {\n private _barHeight: number;\n private _classNames: IProcessedStyleSet<IHorizontalBarChartStyles>;\n private _uniqLineText: string;\n private _calloutId: string;\n private _refArray: IRefArrayData[];\n private _calloutAnchorPoint: IChartDataPoint | null;\n private _isRTL: boolean = getRTL();\n private barChartSvgRef: React.RefObject<SVGSVGElement>;\n private _emptyChartId: string;\n\n constructor(props: IHorizontalBarChartProps) {\n super(props);\n this.state = {\n isCalloutVisible: false,\n hoverValue: '',\n lineColor: '',\n legend: '',\n refSelected: null,\n color: '',\n xCalloutValue: '',\n yCalloutValue: '',\n barSpacingInPercent: 0,\n };\n this._refArray = [];\n this._uniqLineText = '_HorizontalLine_' + Math.random().toString(36).substring(7);\n this._hoverOff = this._hoverOff.bind(this);\n this._calloutId = getId('callout');\n this._emptyChartId = getId('_HBC_empty');\n this.barChartSvgRef = React.createRef<SVGSVGElement>();\n }\n\n public componentDidMount(): void {\n const svgWidth = this.barChartSvgRef.current?.getBoundingClientRect().width || 0;\n const MARGIN_WIDTH_IN_PX = 3;\n if (svgWidth) {\n const currentBarSpacing = (MARGIN_WIDTH_IN_PX / svgWidth) * 100;\n this.setState({ barSpacingInPercent: currentBarSpacing });\n }\n }\n\n public render(): JSX.Element {\n const { data, theme } = this.props;\n this._adjustProps();\n const { palette } = theme!;\n let datapoint: number | undefined = 0;\n\n return !this._isChartEmpty() ? (\n <div className={this._classNames.root} onMouseLeave={this._handleChartMouseLeave}>\n {data!.map((points: IChartProps, index: number) => {\n if (points.chartData && points.chartData![0] && points.chartData![0].horizontalBarChartdata!.x) {\n datapoint = points.chartData![0].horizontalBarChartdata!.x;\n } else {\n datapoint = 0;\n }\n points.chartData![1] = {\n legend: '',\n horizontalBarChartdata: {\n x: points.chartData![0].horizontalBarChartdata!.y - datapoint!,\n y: points.chartData![0].horizontalBarChartdata!.y,\n },\n color: palette.neutralLight,\n };\n\n // Hide right side text of chart title for absolute-scale variant\n const chartDataText =\n this.props.variant === HorizontalBarChartVariant.AbsoluteScale ? null : this._getChartDataText(points!);\n const bars = this._createBars(points!, palette, index);\n const keyVal = this._uniqLineText + '_' + index;\n const classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.props.width,\n showTriangle: !!points!.chartData![0].data,\n variant: this.props.variant,\n });\n\n return (\n <div key={index}>\n <div className={classNames.items}>\n <FocusZone direction={FocusZoneDirection.horizontal}>\n <div className={this._classNames.chartTitle}>\n {points!.chartTitle && (\n <FocusableTooltipText\n className={this._classNames.chartTitleLeft}\n content={points!.chartTitle}\n accessibilityData={points!.chartTitleAccessibilityData}\n />\n )}\n {chartDataText}\n </div>\n </FocusZone>\n {points!.chartData![0].data && this._createBenchmark(points!)}\n <FocusZone direction={FocusZoneDirection.horizontal} className={this._classNames.chartWrapper}>\n <svg ref={this.barChartSvgRef} className={this._classNames.chart} aria-label={points!.chartTitle}>\n <g\n id={keyVal}\n key={keyVal}\n ref={(e: SVGGElement) => {\n this._refCallback(e, points!.chartData![0].legend);\n }}\n // NOTE: points.chartData![0] contains current data value\n onClick={() => {\n const p = points!.chartData![0];\n if (p && p.onClick) {\n p.onClick();\n }\n }}\n >\n {bars}\n </g>\n </svg>\n </FocusZone>\n </div>\n </div>\n );\n })}\n <Callout\n target={this.state.refSelected}\n coverTarget={true}\n isBeakVisible={false}\n gapSpace={30}\n hidden={!(!this.props.hideTooltip && this.state.isCalloutVisible)}\n directionalHint={DirectionalHint.topAutoEdge}\n id={this._calloutId}\n onDismiss={this._closeCallout}\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n preventDismissOnLostFocus={true}\n {...this.props.calloutProps!}\n {...getAccessibleDataObject(this.state.callOutAccessibilityData)}\n >\n <>\n {this.props.onRenderCalloutPerHorizontalBar ? (\n this.props.onRenderCalloutPerHorizontalBar(this.state.barCalloutProps)\n ) : (\n <ChartHoverCard\n Legend={this.state.xCalloutValue ? this.state.xCalloutValue : this.state.legend!}\n YValue={this.state.yCalloutValue ? this.state.yCalloutValue : this.state.hoverValue!}\n color={this.state.lineColor}\n culture={this.props.culture}\n />\n )}\n </>\n </Callout>\n </div>\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 _refCallback(element: SVGGElement, legendTitle: string | undefined): void {\n this._refArray.push({ index: legendTitle, refElement: element });\n }\n\n private _hoverOn(hoverValue: string | number | Date | null, point: IChartDataPoint): void {\n if ((!this.state.isCalloutVisible || this.state.legend !== point.legend!) && this._calloutAnchorPoint !== point) {\n const currentHoveredElement = find(\n this._refArray,\n (currentElement: IRefArrayData) => currentElement.index === point.legend,\n );\n this._calloutAnchorPoint = point;\n let color = point.color!;\n\n if (this.props.enableGradient) {\n const pointIndex = Math.max(\n this.props.data\n ?.map(v => v.chartData)\n ?.findIndex(item => item?.[0].data === point.data && item?.[0].legend === point.legend) || 0,\n 0,\n );\n color = point.gradient?.[0] || getNextGradient(pointIndex, 0, this.props.theme?.isInverted)[0];\n }\n\n this.setState({\n isCalloutVisible: true,\n hoverValue,\n lineColor: color,\n legend: point.legend!,\n refSelected: currentHoveredElement!.refElement,\n xCalloutValue: point.xAxisCalloutData!,\n yCalloutValue: point.yAxisCalloutData!,\n barCalloutProps: point,\n callOutAccessibilityData: point.callOutAccessibilityData,\n });\n }\n }\n\n private _hoverOff(): void {\n /**/\n }\n\n private _handleChartMouseLeave = () => {\n this._calloutAnchorPoint = null;\n if (this.state.isCalloutVisible) {\n this.setState({\n isCalloutVisible: false,\n hoverValue: '',\n refSelected: null,\n lineColor: '',\n legend: '',\n });\n }\n };\n\n private _adjustProps = (): void => {\n this._barHeight = this.props.barHeight || 12;\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.props.width,\n className: this.props.className,\n barHeight: this._barHeight,\n color: this.state.lineColor,\n variant: this.props.variant,\n hideLabels: this.props.hideLabels,\n });\n };\n\n private _getChartDataText = (data: IChartProps) => {\n return this.props.barChartCustomData ? (\n <div role=\"text\">{this.props.barChartCustomData(data)}</div>\n ) : (\n this._getDefaultTextData(data)\n );\n };\n\n private _getDefaultTextData(data: IChartProps): JSX.Element {\n const { culture } = this.props;\n const chartDataMode = this.props.chartDataMode || 'default';\n const chartData: IChartDataPoint = data!.chartData![0];\n const x = chartData.horizontalBarChartdata!.x;\n const y = chartData.horizontalBarChartdata!.y;\n\n const accessibilityData = getAccessibleDataObject(data.chartDataAccessibilityData!, 'text', false);\n switch (chartDataMode) {\n case 'default':\n return (\n <div className={this._classNames.chartTitleRight} {...accessibilityData}>\n {convertToLocaleString(x, culture)}\n </div>\n );\n case 'fraction':\n return (\n <div {...accessibilityData}>\n <span className={this._classNames.chartTitleRight}>{convertToLocaleString(x, culture)}</span>\n <span className={this._classNames.chartDataTextDenominator}>\n {' / ' + convertToLocaleString(y, culture)}\n </span>\n </div>\n );\n case 'percentage':\n const dataRatioPercentage = `${convertToLocaleString(Math.round((x / y) * 100), culture)}%`;\n return (\n <div className={this._classNames.chartTitleRight} {...accessibilityData}>\n {dataRatioPercentage}\n </div>\n );\n }\n }\n\n private _createBenchmark(data: IChartProps): JSX.Element {\n const totalData = data.chartData![0].horizontalBarChartdata!.y;\n const benchmarkData = data.chartData![0].data;\n const benchmarkRatio = Math.round(((benchmarkData ? benchmarkData : 0) / totalData) * 100);\n\n const benchmarkStyles = {\n left: 'calc(' + benchmarkRatio + '% - 4px)',\n };\n\n return (\n <div className={this._classNames.benchmarkContainer}>\n <div className={this._classNames.triangle} style={benchmarkStyles} />\n </div>\n );\n }\n\n /**\n * This functions returns an array of <rect> elements, which form the bars\n * For each bar an x value, and a width needs to be specified\n * The computations are done based on percentages\n * Extra margin is also provided, in the x value to provide some spacing in between the bars\n */\n\n private _createBars(data: IChartProps, palette: IPalette, dataPointIndex: number): JSX.Element[] {\n const noOfBars =\n data.chartData?.reduce((count: number, point: IChartDataPoint) => (count += (point.data || 0) > 0 ? 1 : 0), 0) ||\n 1;\n const totalMarginPercent = this.state.barSpacingInPercent * (noOfBars - 1);\n const defaultPalette: string[] = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];\n // calculating starting point of each bar and it's range\n const startingPoint: number[] = [];\n const total = data.chartData!.reduce(\n (acc: number, point: IChartDataPoint) =>\n acc + (point.horizontalBarChartdata!.x ? point.horizontalBarChartdata!.x : 0),\n 0,\n );\n let prevPosition = 0;\n let value = 0;\n\n let sumOfPercent = 0;\n data.chartData!.map((point: IChartDataPoint, index: number) => {\n const pointData = point.horizontalBarChartdata!.x ? point.horizontalBarChartdata!.x : 0;\n value = (pointData / total) * 100;\n if (value < 0) {\n value = 0;\n } else if (value < 1 && value !== 0) {\n value = 1;\n }\n sumOfPercent += value;\n\n return sumOfPercent;\n });\n\n /**\n * The %age of the space occupied by the margin needs to subtracted\n * while computing the scaling ratio, since the margins are not being\n * scaled down, only the data is being scaled down from a higher percentage to lower percentage\n * Eg: 95% of the space is taken by the bars, 5% by the margins\n * Now if the sumOfPercent is 120% -> This needs to be scaled down to 95%, not 100%\n * since that's only space available to the bars\n */\n const scalingRatio = sumOfPercent !== 0 ? (sumOfPercent - totalMarginPercent) / 100 : 1;\n\n const bars = data.chartData!.map((point: IChartDataPoint, index: number) => {\n let startColor: string = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];\n let endColor = startColor;\n\n if (this.props.enableGradient && index !== 1) {\n startColor = point.gradient?.[0] || getNextGradient(dataPointIndex, 0, this.props.theme?.isInverted)[0];\n endColor = point.gradient?.[1] || getNextGradient(dataPointIndex, 0, this.props.theme?.isInverted)[1];\n }\n\n const pointData = point.horizontalBarChartdata!.x ? point.horizontalBarChartdata!.x : 0;\n if (index > 0) {\n prevPosition += value;\n }\n value = (pointData / total) * 100;\n if (value < 0) {\n value = 0;\n } else if (value < 1 && value !== 0) {\n value = 1 / scalingRatio;\n } else {\n value = value / scalingRatio;\n }\n startingPoint.push(prevPosition);\n\n const xValue = point.horizontalBarChartdata!.x;\n const placeholderIndex = 1;\n\n // Render bar label instead of placeholder bar for absolute-scale variant\n if (index === placeholderIndex && this.props.variant === HorizontalBarChartVariant.AbsoluteScale) {\n if (this.props.hideLabels) {\n return <text key={index} />;\n }\n\n const barValue = data.chartData![0].horizontalBarChartdata!.x;\n\n return (\n <text\n key={index}\n x={`${this._isRTL ? 100 - startingPoint[index] : startingPoint[index]}%`}\n y={this._barHeight / 2}\n dominantBaseline=\"central\"\n transform={`translate(${this._isRTL ? -4 : 4})`}\n className={this._classNames.barLabel}\n aria-hidden={true}\n >\n {formatValueWithSIPrefix(barValue)}\n </text>\n );\n }\n\n const gradientId = getId('HBC_Gradient') + `_${dataPointIndex}_${index}`;\n\n return (\n <React.Fragment key={index}>\n {this.props.enableGradient && (\n <defs>\n <linearGradient id={gradientId}>\n <stop offset=\"0\" stopColor={startColor} />\n <stop offset=\"100%\" stopColor={endColor} />\n </linearGradient>\n </defs>\n )}\n <rect\n key={index}\n x={`${\n this._isRTL\n ? 100 - startingPoint[index] - value - index * this.state.barSpacingInPercent\n : startingPoint[index] + index * this.state.barSpacingInPercent\n }%`}\n y={0}\n rx={this.props.roundCorners ? 3 : 0}\n data-is-focusable={point.legend !== '' ? true : false}\n width={value + '%'}\n height={this._barHeight}\n fill={this.props.enableGradient ? `url(#${gradientId})` : startColor}\n onMouseOver={point.legend !== '' ? this._hoverOn.bind(this, xValue, point) : undefined}\n onFocus={point.legend !== '' ? this._hoverOn.bind(this, xValue, point) : undefined}\n role=\"img\"\n aria-label={this._getAriaLabel(point)}\n onBlur={this._hoverOff}\n onMouseLeave={this._hoverOff}\n className={this._classNames.barWrapper}\n />\n </React.Fragment>\n );\n });\n return bars;\n }\n\n private _closeCallout = () => {\n this.setState({\n isCalloutVisible: false,\n });\n };\n\n private _getAriaLabel = (point: IChartDataPoint): string => {\n const legend = point.xAxisCalloutData || point.legend;\n const benchMark = point.data;\n const yValue =\n point.yAxisCalloutData ||\n (point.horizontalBarChartdata ? `${point.horizontalBarChartdata.x}/${point.horizontalBarChartdata.y}` : 0);\n return (\n point.callOutAccessibilityData?.ariaLabel ||\n (legend ? `${legend}, ` : '') + `${yValue}.` + (benchMark ? 'with benchmark at ' + `${benchMark}, ` : '')\n );\n };\n\n private _isChartEmpty(): boolean {\n return !(this.props.data && this.props.data.length > 0);\n }\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IHorizontalBarChartProps } from './HorizontalBarChart.types';
|
|
3
|
+
/**
|
|
4
|
+
* HorizontalBarchart component.
|
|
5
|
+
* {@docCategory HorizontalBarChart}
|
|
6
|
+
*/
|
|
7
|
+
export declare const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HorizontalBarChart = void 0;
|
|
4
|
+
var Utilities_1 = require("@fluentui/react/lib/Utilities");
|
|
5
|
+
var HorizontalBarChart_base_1 = require("./HorizontalBarChart.base");
|
|
6
|
+
var HorizontalBarChart_styles_1 = require("./HorizontalBarChart.styles");
|
|
7
|
+
// Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.
|
|
8
|
+
/**
|
|
9
|
+
* HorizontalBarchart component.
|
|
10
|
+
* {@docCategory HorizontalBarChart}
|
|
11
|
+
*/
|
|
12
|
+
exports.HorizontalBarChart = (0, Utilities_1.styled)(HorizontalBarChart_base_1.HorizontalBarChartBase, HorizontalBarChart_styles_1.getHorizontalBarChartStyles);
|
|
13
|
+
//# sourceMappingURL=HorizontalBarChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalBarChart.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.tsx"],"names":[],"mappings":";;;AACA,2DAAuD;AAMvD,qEAAmE;AACnE,yEAA0E;AAE1E,oGAAoG;AACpG;;;GAGG;AACU,QAAA,kBAAkB,GAAsD,IAAA,kBAAM,EAIzF,gDAAsB,EAAE,uDAA2B,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport {\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n} from './HorizontalBarChart.types';\nimport { HorizontalBarChartBase } from './HorizontalBarChart.base';\nimport { getHorizontalBarChartStyles } from './HorizontalBarChart.styles';\n\n// Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.\n/**\n * HorizontalBarchart component.\n * {@docCategory HorizontalBarChart}\n */\nexport const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps> = styled<\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles\n>(HorizontalBarChartBase, getHorizontalBarChartStyles);\n"]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getHorizontalBarChartStyles = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var Styling_1 = require("@fluentui/react/lib/Styling");
|
|
6
|
+
var HorizontalBarChart_types_1 = require("./HorizontalBarChart.types");
|
|
7
|
+
var getHorizontalBarChartStyles = function (props) {
|
|
8
|
+
var className = props.className, theme = props.theme, width = props.width, barHeight = props.barHeight, showTriangle = props.showTriangle, variant = props.variant, hideLabels = props.hideLabels;
|
|
9
|
+
var palette = theme.palette;
|
|
10
|
+
return {
|
|
11
|
+
root: [
|
|
12
|
+
{
|
|
13
|
+
display: 'flex',
|
|
14
|
+
flexDirection: 'column',
|
|
15
|
+
width: width ? width : '100%',
|
|
16
|
+
},
|
|
17
|
+
className,
|
|
18
|
+
],
|
|
19
|
+
items: {
|
|
20
|
+
marginBottom: showTriangle || variant === HorizontalBarChart_types_1.HorizontalBarChartVariant.AbsoluteScale ? '16px' : '10px',
|
|
21
|
+
},
|
|
22
|
+
chart: {
|
|
23
|
+
width: '100%',
|
|
24
|
+
height: barHeight ? barHeight : 12,
|
|
25
|
+
display: 'block',
|
|
26
|
+
overflow: 'visible',
|
|
27
|
+
},
|
|
28
|
+
barWrapper: {},
|
|
29
|
+
chartTitle: tslib_1.__assign(tslib_1.__assign({}, theme.fonts.small), { display: 'flex', justifyContent: 'space-between' }),
|
|
30
|
+
chartTitleLeft: {
|
|
31
|
+
textOverflow: 'ellipsis',
|
|
32
|
+
overflow: 'hidden',
|
|
33
|
+
whiteSpace: 'nowrap',
|
|
34
|
+
display: 'block',
|
|
35
|
+
color: theme.palette.neutralPrimary,
|
|
36
|
+
marginBottom: variant === HorizontalBarChart_types_1.HorizontalBarChartVariant.AbsoluteScale ? '4px' : '5px',
|
|
37
|
+
},
|
|
38
|
+
chartTitleRight: {
|
|
39
|
+
fontSize: Styling_1.FontSizes.medium,
|
|
40
|
+
fontWeight: Styling_1.FontWeights.semibold,
|
|
41
|
+
color: theme.palette.neutralPrimary,
|
|
42
|
+
},
|
|
43
|
+
chartDataTextDenominator: {
|
|
44
|
+
fontSize: Styling_1.FontSizes.medium,
|
|
45
|
+
color: theme.palette.neutralPrimary,
|
|
46
|
+
},
|
|
47
|
+
benchmarkContainer: {
|
|
48
|
+
position: 'relative',
|
|
49
|
+
height: '7px',
|
|
50
|
+
marginTop: '-3px',
|
|
51
|
+
marginBottom: '-1px',
|
|
52
|
+
},
|
|
53
|
+
triangle: {
|
|
54
|
+
width: '0',
|
|
55
|
+
height: '0',
|
|
56
|
+
borderLeft: '4px solid transparent',
|
|
57
|
+
borderRight: '4px solid transparent',
|
|
58
|
+
borderTop: '7px solid',
|
|
59
|
+
borderTopColor: palette.blue,
|
|
60
|
+
marginBottom: '4px',
|
|
61
|
+
position: 'absolute',
|
|
62
|
+
},
|
|
63
|
+
barLabel: tslib_1.__assign(tslib_1.__assign({}, theme.fonts.small), { fontWeight: Styling_1.FontWeights.semibold, fill: theme.palette.neutralPrimary }),
|
|
64
|
+
chartWrapper: {
|
|
65
|
+
paddingRight: variant === HorizontalBarChart_types_1.HorizontalBarChartVariant.AbsoluteScale && !hideLabels ? 40 : 0,
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
exports.getHorizontalBarChartStyles = getHorizontalBarChartStyles;
|
|
70
|
+
//# sourceMappingURL=HorizontalBarChart.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalBarChart.styles.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.styles.ts"],"names":[],"mappings":";;;;AAAA,uDAAqE;AACrE,uEAIoC;AAE7B,IAAM,2BAA2B,GAAG,UAAC,KAAoC;IACtE,IAAA,SAAS,GAAiE,KAAK,UAAtE,EAAE,KAAK,GAA0D,KAAK,MAA/D,EAAE,KAAK,GAAmD,KAAK,MAAxD,EAAE,SAAS,GAAwC,KAAK,UAA7C,EAAE,YAAY,GAA0B,KAAK,aAA/B,EAAE,OAAO,GAAiB,K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kB,EAAE;YAClB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,KAAK;YACb,SAAS,EAAE,MAAM;YACjB,YAAY,EAAE,MAAM;SACrB;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,GAAG;YACX,UAAU,EAAE,uBAAuB;YACnC,WAAW,EAAE,uBAAuB;YACpC,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,OAAO,CAAC,IAAI;YAC5B,YAAY,EAAE,KAAK;YACnB,QAAQ,EAAE,UAAU;SACrB;QACD,QAAQ,wCACH,KAAK,CAAC,KAAK,CAAC,KAAK,KACpB,UAAU,EAAE,qBAAW,CAAC,QAAQ,EAChC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc,GACnC;QACD,YAAY,EAAE;YACZ,YAAY,EAAE,OAAO,KAAK,oDAAyB,CAAC,aAAa,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;SAC1F;KACF,CAAC;AACJ,CAAC,CAAC;AAtEW,QAAA,2BAA2B,+BAsEtC","sourcesContent":["import { FontSizes, FontWeights } from '@fluentui/react/lib/Styling';\nimport {\n HorizontalBarChartVariant,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n} from './HorizontalBarChart.types';\n\nexport const getHorizontalBarChartStyles = (props: IHorizontalBarChartStyleProps): IHorizontalBarChartStyles => {\n const { className, theme, width, barHeight, showTriangle, variant, hideLabels } = props;\n const { palette } = theme!;\n\n return {\n root: [\n {\n display: 'flex',\n flexDirection: 'column',\n width: width ? width : '100%',\n },\n className,\n ],\n items: {\n marginBottom: showTriangle || variant === HorizontalBarChartVariant.AbsoluteScale ? '16px' : '10px',\n },\n chart: {\n width: '100%',\n height: barHeight ? barHeight : 12,\n display: 'block',\n overflow: 'visible',\n },\n barWrapper: {},\n chartTitle: {\n ...theme.fonts.small,\n display: 'flex',\n justifyContent: 'space-between',\n },\n chartTitleLeft: {\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n display: 'block',\n color: theme.palette.neutralPrimary,\n marginBottom: variant === HorizontalBarChartVariant.AbsoluteScale ? '4px' : '5px',\n },\n chartTitleRight: {\n fontSize: FontSizes.medium,\n fontWeight: FontWeights.semibold,\n color: theme.palette.neutralPrimary,\n },\n chartDataTextDenominator: {\n fontSize: FontSizes.medium,\n color: theme.palette.neutralPrimary,\n },\n benchmarkContainer: {\n position: 'relative',\n height: '7px',\n marginTop: '-3px',\n marginBottom: '-1px',\n },\n triangle: {\n width: '0',\n height: '0',\n borderLeft: '4px solid transparent',\n borderRight: '4px solid transparent',\n borderTop: '7px solid',\n borderTopColor: palette.blue,\n marginBottom: '4px',\n position: 'absolute',\n },\n barLabel: {\n ...theme.fonts.small,\n fontWeight: FontWeights.semibold,\n fill: theme.palette.neutralPrimary,\n },\n chartWrapper: {\n paddingRight: variant === HorizontalBarChartVariant.AbsoluteScale && !hideLabels ? 40 : 0,\n },\n };\n};\n"]}
|