@fluentui/react-charting 5.23.63 → 5.23.65
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 +43 -1
- package/CHANGELOG.md +22 -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,605 @@
|
|
|
1
|
+
define(["require", "exports", "tslib", "react", "@fluentui/react/lib/Utilities", "@fluentui/react/lib/Callout", "@fluentui/react-focus", "../../utilities/locale-util", "../../utilities/index", "../Legends/index", "../../utilities/SVGTooltipText"], function (require, exports, tslib_1, React, Utilities_1, Callout_1, react_focus_1, locale_util_1, index_1, index_2, SVGTooltipText_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CartesianChartBase = void 0;
|
|
5
|
+
var getClassNames = (0, Utilities_1.classNamesFunction)();
|
|
6
|
+
var ChartHoverCard = React.lazy(function () {
|
|
7
|
+
return new Promise(function (resolve_1, reject_1) { require(['../../utilities/ChartHoverCard/ChartHoverCard'], resolve_1, reject_1); }).then(function (module) { return ({ default: module.ChartHoverCard }); });
|
|
8
|
+
});
|
|
9
|
+
var chartTypesToCheck = [index_1.ChartTypes.HorizontalBarChartWithAxis, index_1.ChartTypes.HeatMapChart];
|
|
10
|
+
/**
|
|
11
|
+
* Cartesian chart used for
|
|
12
|
+
* 1.draw X and Y axis of the chart
|
|
13
|
+
* 2.Callout
|
|
14
|
+
* 3.Fit parent Continer
|
|
15
|
+
*/
|
|
16
|
+
var CartesianChartBase = /** @class */ (function (_super) {
|
|
17
|
+
tslib_1.__extends(CartesianChartBase, _super);
|
|
18
|
+
function CartesianChartBase(props) {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
|
|
20
|
+
var _this = _super.call(this, props) || this;
|
|
21
|
+
_this.minLegendContainerHeight = 32;
|
|
22
|
+
_this._isRtl = (0, Utilities_1.getRTL)();
|
|
23
|
+
_this._isFirstRender = true;
|
|
24
|
+
_this.isIntegralDataset = true;
|
|
25
|
+
_this.calculateMaxYAxisLabelLength = function (chartType,
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
27
|
+
points, className) {
|
|
28
|
+
if (chartType === index_1.ChartTypes.HeatMapChart) {
|
|
29
|
+
return (0, index_1.calculateLongestLabelWidth)(points[0].data.map(function (point) { return point.y; }), ".".concat(className, " text"));
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
return (0, index_1.calculateLongestLabelWidth)(points.map(function (point) { return point.y; }), ".".concat(className, " text"));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
// TO DO: Write a common functional component for Multi value callout and divide sub count method
|
|
36
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
37
|
+
_this._multiValueCallout = function (calloutProps) {
|
|
38
|
+
var yValueHoverSubCountsExists = _this._yValueHoverSubCountsExists(calloutProps.YValueHover);
|
|
39
|
+
return (React.createElement("div", { className: _this._classNames.calloutContentRoot },
|
|
40
|
+
React.createElement("div", { className: _this._classNames.calloutDateTimeContainer, style: yValueHoverSubCountsExists ? { marginBottom: '11px' } : {} },
|
|
41
|
+
React.createElement("div", tslib_1.__assign({ className: _this._classNames.calloutContentX }, (0, index_1.getAccessibleDataObject)(calloutProps.xAxisCalloutAccessibilityData, 'text', false)), (0, locale_util_1.convertToLocaleString)(calloutProps.hoverXValue, _this.props.culture))),
|
|
42
|
+
React.createElement("div", { className: _this._classNames.calloutInfoContainer, style: yValueHoverSubCountsExists ? { display: 'flex' } : {} },
|
|
43
|
+
calloutProps.YValueHover &&
|
|
44
|
+
calloutProps.YValueHover.map(function (yValue, index, yValues) {
|
|
45
|
+
var isLast = index + 1 === yValues.length;
|
|
46
|
+
var _a = yValue.shouldDrawBorderBottom, shouldDrawBorderBottom = _a === void 0 ? false : _a;
|
|
47
|
+
return (React.createElement("div", tslib_1.__assign({}, (0, index_1.getAccessibleDataObject)(yValue.callOutAccessibilityData, 'text', false), { key: "callout-content-".concat(index), style: yValueHoverSubCountsExists
|
|
48
|
+
? tslib_1.__assign({ display: 'inline-block' }, (shouldDrawBorderBottom && {
|
|
49
|
+
borderBottom: "1px solid ".concat(_this.props.theme.semanticColors.menuDivider),
|
|
50
|
+
paddingBottom: '10px',
|
|
51
|
+
})) : tslib_1.__assign({}, (shouldDrawBorderBottom && {
|
|
52
|
+
borderBottom: "1px solid ".concat(_this.props.theme.semanticColors.menuDivider),
|
|
53
|
+
paddingBottom: '10px',
|
|
54
|
+
})) }), _this._getCalloutContent(yValue, index, yValueHoverSubCountsExists, isLast)));
|
|
55
|
+
}),
|
|
56
|
+
!!calloutProps.descriptionMessage && (React.createElement("div", { className: _this._classNames.descriptionMessage }, calloutProps.descriptionMessage)))));
|
|
57
|
+
};
|
|
58
|
+
// Call back to the chart.
|
|
59
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
60
|
+
_this._getData = function (xScale, yScale) {
|
|
61
|
+
_this.props.getGraphData &&
|
|
62
|
+
_this.props.getGraphData(xScale, yScale, _this.state.containerHeight - _this.state._removalValueForTextTuncate, _this.state.containerWidth, _this.xAxisElement, _this.yAxisElement);
|
|
63
|
+
};
|
|
64
|
+
_this._onChartLeave = function () {
|
|
65
|
+
_this.props.onChartMouseLeave && _this.props.onChartMouseLeave();
|
|
66
|
+
};
|
|
67
|
+
_this._calculateChartMinWidth = function () {
|
|
68
|
+
var labelWidth = 10; // Total padding on the left and right sides of the label
|
|
69
|
+
// Case: rotated labels
|
|
70
|
+
if (!_this.props.wrapXAxisLables &&
|
|
71
|
+
_this.props.rotateXAxisLables &&
|
|
72
|
+
_this.props.xAxisType === index_1.XAxisTypes.StringAxis) {
|
|
73
|
+
var longestLabelWidth = (0, index_1.calculateLongestLabelWidth)(_this._tickValues, ".".concat(_this._classNames.xAxis, " text"));
|
|
74
|
+
labelWidth += Math.ceil(longestLabelWidth * Math.cos(Math.PI / 4));
|
|
75
|
+
}
|
|
76
|
+
// Case: truncated labels
|
|
77
|
+
else if (_this.props.showXAxisLablesTooltip) {
|
|
78
|
+
var tickValues = _this._tickValues.map(function (val) {
|
|
79
|
+
var numChars = _this.props.noOfCharsToTruncate || 4;
|
|
80
|
+
return val.toString().length > numChars ? "".concat(val.toString().slice(0, numChars), "...") : val;
|
|
81
|
+
});
|
|
82
|
+
var longestLabelWidth = (0, index_1.calculateLongestLabelWidth)(tickValues, ".".concat(_this._classNames.xAxis, " text"));
|
|
83
|
+
labelWidth += Math.ceil(longestLabelWidth);
|
|
84
|
+
}
|
|
85
|
+
// Case: wrapped labels
|
|
86
|
+
else if (_this.props.wrapXAxisLables) {
|
|
87
|
+
var words_1 = [];
|
|
88
|
+
_this._tickValues.forEach(function (val) {
|
|
89
|
+
words_1.push.apply(words_1, val.toString().split(/\s+/));
|
|
90
|
+
});
|
|
91
|
+
var longestLabelWidth = (0, index_1.calculateLongestLabelWidth)(words_1, ".".concat(_this._classNames.xAxis, " text"));
|
|
92
|
+
labelWidth += Math.max(Math.ceil(longestLabelWidth), 10);
|
|
93
|
+
}
|
|
94
|
+
// Default case
|
|
95
|
+
else {
|
|
96
|
+
var longestLabelWidth = (0, index_1.calculateLongestLabelWidth)(_this._tickValues, ".".concat(_this._classNames.xAxis, " text"));
|
|
97
|
+
labelWidth += Math.ceil(longestLabelWidth);
|
|
98
|
+
}
|
|
99
|
+
var minChartWidth = _this.margins.left + _this.margins.right + labelWidth * (_this._tickValues.length - 1);
|
|
100
|
+
if ([index_1.ChartTypes.GroupedVerticalBarChart, index_1.ChartTypes.VerticalBarChart, index_1.ChartTypes.VerticalStackedBarChart].includes(_this.props.chartType)) {
|
|
101
|
+
var minDomainMargin = 8;
|
|
102
|
+
minChartWidth += minDomainMargin * 2;
|
|
103
|
+
}
|
|
104
|
+
return minChartWidth;
|
|
105
|
+
};
|
|
106
|
+
_this._getChartDescription = function () {
|
|
107
|
+
return ((_this.props.chartTitle || 'Chart. ') +
|
|
108
|
+
_this._getAxisTitle('X', _this.props.xAxisTitle, _this.props.xAxisType) +
|
|
109
|
+
_this._getAxisTitle('Y', _this.props.yAxisTitle, _this.props.yAxisType || index_1.YAxisType.NumericAxis) +
|
|
110
|
+
(_this.props.secondaryYScaleOptions
|
|
111
|
+
? _this._getAxisTitle('secondary Y', _this.props.secondaryYAxistitle, index_1.YAxisType.NumericAxis)
|
|
112
|
+
: ''));
|
|
113
|
+
};
|
|
114
|
+
_this._getAxisTitle = function (axisLabel, axisTitle, axisType) {
|
|
115
|
+
return ("The ".concat(axisLabel, " axis displays ") +
|
|
116
|
+
(axisTitle ||
|
|
117
|
+
(axisType === index_1.XAxisTypes.StringAxis || axisType === index_1.YAxisType.StringAxis
|
|
118
|
+
? 'categories'
|
|
119
|
+
: axisType === index_1.XAxisTypes.DateAxis || axisType === index_1.YAxisType.DateAxis
|
|
120
|
+
? 'time'
|
|
121
|
+
: 'values')) +
|
|
122
|
+
'. ');
|
|
123
|
+
};
|
|
124
|
+
_this.state = {
|
|
125
|
+
containerHeight: 0,
|
|
126
|
+
containerWidth: 0,
|
|
127
|
+
_width: _this.props.width || 600,
|
|
128
|
+
_height: _this.props.height || 350,
|
|
129
|
+
_removalValueForTextTuncate: 0,
|
|
130
|
+
isRemoveValCalculated: true,
|
|
131
|
+
startFromX: 0,
|
|
132
|
+
};
|
|
133
|
+
_this.idForGraph = (0, Utilities_1.getId)('chart_');
|
|
134
|
+
_this.titleMargin = 8;
|
|
135
|
+
_this.idForDefaultTabbableElement = (0, Utilities_1.getId)('defaultTabbableElement_');
|
|
136
|
+
/**
|
|
137
|
+
* In RTL mode, Only graph will be rendered left/right. We need to provide left and right margins manually.
|
|
138
|
+
* So that, in RTL, left margins becomes right margins and viceversa.
|
|
139
|
+
* As graph needs to be drawn perfecty, these values consider as default values.
|
|
140
|
+
* Same margins using for all other cartesian charts. Can be accessible through 'getMargins' call back method.
|
|
141
|
+
*/
|
|
142
|
+
_this.margins = {
|
|
143
|
+
top: (_b = (_a = _this.props.margins) === null || _a === void 0 ? void 0 : _a.top) !== null && _b !== void 0 ? _b : 20,
|
|
144
|
+
bottom: (_d = (_c = _this.props.margins) === null || _c === void 0 ? void 0 : _c.bottom) !== null && _d !== void 0 ? _d : 35,
|
|
145
|
+
right: _this._isRtl
|
|
146
|
+
? (_f = (_e = _this.props.margins) === null || _e === void 0 ? void 0 : _e.left) !== null && _f !== void 0 ? _f : 40
|
|
147
|
+
: ((_h = (_g = _this.props.margins) === null || _g === void 0 ? void 0 : _g.right) !== null && _h !== void 0 ? _h : (_j = _this.props) === null || _j === void 0 ? void 0 : _j.secondaryYScaleOptions)
|
|
148
|
+
? 40
|
|
149
|
+
: 20,
|
|
150
|
+
left: _this._isRtl
|
|
151
|
+
? ((_l = (_k = _this.props.margins) === null || _k === void 0 ? void 0 : _k.right) !== null && _l !== void 0 ? _l : (_m = _this.props) === null || _m === void 0 ? void 0 : _m.secondaryYScaleOptions)
|
|
152
|
+
? 40
|
|
153
|
+
: 20
|
|
154
|
+
: (_p = (_o = _this.props.margins) === null || _o === void 0 ? void 0 : _o.left) !== null && _p !== void 0 ? _p : 40,
|
|
155
|
+
};
|
|
156
|
+
if (_this.props.xAxisTitle !== undefined && _this.props.xAxisTitle !== '') {
|
|
157
|
+
_this.margins.bottom = (_r = (_q = _this.props.margins) === null || _q === void 0 ? void 0 : _q.bottom) !== null && _r !== void 0 ? _r : 55;
|
|
158
|
+
}
|
|
159
|
+
if (_this.props.yAxisTitle !== undefined && _this.props.yAxisTitle !== '') {
|
|
160
|
+
_this.margins.left = _this._isRtl
|
|
161
|
+
? ((_t = (_s = _this.props.margins) === null || _s === void 0 ? void 0 : _s.right) !== null && _t !== void 0 ? _t : (_u = _this.props) === null || _u === void 0 ? void 0 : _u.secondaryYAxistitle)
|
|
162
|
+
? 60
|
|
163
|
+
: 40
|
|
164
|
+
: (_w = (_v = _this.props.margins) === null || _v === void 0 ? void 0 : _v.left) !== null && _w !== void 0 ? _w : 60;
|
|
165
|
+
_this.margins.right = _this._isRtl
|
|
166
|
+
? (_y = (_x = _this.props.margins) === null || _x === void 0 ? void 0 : _x.left) !== null && _y !== void 0 ? _y : 60
|
|
167
|
+
: ((_0 = (_z = _this.props.margins) === null || _z === void 0 ? void 0 : _z.right) !== null && _0 !== void 0 ? _0 : (_1 = _this.props) === null || _1 === void 0 ? void 0 : _1.secondaryYAxistitle)
|
|
168
|
+
? 60
|
|
169
|
+
: 40;
|
|
170
|
+
}
|
|
171
|
+
return _this;
|
|
172
|
+
}
|
|
173
|
+
CartesianChartBase.prototype.componentDidMount = function () {
|
|
174
|
+
this._fitParentContainer();
|
|
175
|
+
if (chartTypesToCheck.includes(this.props.chartType) && this.props.showYAxisLables && this.yAxisElement) {
|
|
176
|
+
var maxYAxisLabelLength = this.calculateMaxYAxisLabelLength(this.props.chartType, this.props.points, this._classNames.yAxis);
|
|
177
|
+
if (this.state.startFromX !== maxYAxisLabelLength) {
|
|
178
|
+
this.setState({
|
|
179
|
+
startFromX: maxYAxisLabelLength,
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
else if (this.state.startFromX !== 0) {
|
|
184
|
+
this.setState({
|
|
185
|
+
startFromX: 0,
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
this.isIntegralDataset = !this.props.points.some(function (point) {
|
|
189
|
+
return point.y % 1 !== 0;
|
|
190
|
+
});
|
|
191
|
+
};
|
|
192
|
+
CartesianChartBase.prototype.componentWillUnmount = function () {
|
|
193
|
+
cancelAnimationFrame(this._reqID);
|
|
194
|
+
};
|
|
195
|
+
CartesianChartBase.prototype.componentDidUpdate = function (prevProps) {
|
|
196
|
+
if (prevProps.height !== this.props.height || prevProps.width !== this.props.width) {
|
|
197
|
+
this._fitParentContainer();
|
|
198
|
+
}
|
|
199
|
+
if (!this.props.wrapXAxisLables &&
|
|
200
|
+
this.props.rotateXAxisLables &&
|
|
201
|
+
this.props.xAxisType === index_1.XAxisTypes.StringAxis) {
|
|
202
|
+
var rotateLabelProps = {
|
|
203
|
+
node: this.xAxisElement,
|
|
204
|
+
xAxis: this._xScale,
|
|
205
|
+
};
|
|
206
|
+
var rotatedHeight = (0, index_1.rotateXAxisLabels)(rotateLabelProps);
|
|
207
|
+
if (this.state.isRemoveValCalculated &&
|
|
208
|
+
this.state._removalValueForTextTuncate !== rotatedHeight + this.margins.bottom &&
|
|
209
|
+
rotatedHeight > 0) {
|
|
210
|
+
this.setState({
|
|
211
|
+
_removalValueForTextTuncate: rotatedHeight + this.margins.bottom,
|
|
212
|
+
isRemoveValCalculated: false,
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
if (chartTypesToCheck.includes(this.props.chartType) && this.props.showYAxisLables && this.yAxisElement) {
|
|
217
|
+
var maxYAxisLabelLength = this.calculateMaxYAxisLabelLength(this.props.chartType, this.props.points, this._classNames.yAxis);
|
|
218
|
+
if (this.state.startFromX !== maxYAxisLabelLength) {
|
|
219
|
+
this.setState({
|
|
220
|
+
startFromX: maxYAxisLabelLength,
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
else if (this.state.startFromX !== 0) {
|
|
225
|
+
this.setState({
|
|
226
|
+
startFromX: 0,
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
if (prevProps.points !== this.props.points) {
|
|
230
|
+
this.isIntegralDataset = !this.props.points.some(function (point) {
|
|
231
|
+
return point.y % 1 !== 0;
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
CartesianChartBase.prototype.render = function () {
|
|
236
|
+
var _a, _b, _c, _d;
|
|
237
|
+
var _this = this;
|
|
238
|
+
var _e, _f, _g, _h, _j, _k;
|
|
239
|
+
var _l = this.props, calloutProps = _l.calloutProps, points = _l.points, chartType = _l.chartType, chartHoverProps = _l.chartHoverProps, svgFocusZoneProps = _l.svgFocusZoneProps, svgProps = _l.svgProps, culture = _l.culture, dateLocalizeOptions = _l.dateLocalizeOptions, timeFormatLocale = _l.timeFormatLocale, customDateTimeFormatter = _l.customDateTimeFormatter;
|
|
240
|
+
if (this.props.parentRef) {
|
|
241
|
+
this._fitParentContainer();
|
|
242
|
+
}
|
|
243
|
+
var margin = tslib_1.__assign({}, this.margins);
|
|
244
|
+
if (chartTypesToCheck.includes(this.props.chartType)) {
|
|
245
|
+
if (!this._isRtl) {
|
|
246
|
+
margin.left += this.state.startFromX;
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
margin.right += this.state.startFromX;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
// Callback for margins to the chart
|
|
253
|
+
this.props.getmargins && this.props.getmargins(margin);
|
|
254
|
+
var callout = null;
|
|
255
|
+
var children = null;
|
|
256
|
+
if ((this.props.enableFirstRenderOptimization && this.chartContainer) ||
|
|
257
|
+
!this.props.enableFirstRenderOptimization) {
|
|
258
|
+
this._isFirstRender = false;
|
|
259
|
+
var XAxisParams = {
|
|
260
|
+
domainNRangeValues: this.props.getDomainNRangeValues(points, this.props.getDomainMargins ? this.props.getDomainMargins(this.state.containerWidth) : this.margins, this.state.containerWidth, chartType, this._isRtl, this.props.xAxisType, this.props.barwidth, this.props.tickValues,
|
|
261
|
+
// This is only used for Horizontal Bar Chart with Axis for y as string axis
|
|
262
|
+
this.state.startFromX),
|
|
263
|
+
containerHeight: this.state.containerHeight - this.state._removalValueForTextTuncate,
|
|
264
|
+
margins: this.margins,
|
|
265
|
+
xAxisElement: this.xAxisElement,
|
|
266
|
+
showRoundOffXTickValues: true,
|
|
267
|
+
xAxisCount: this.props.xAxisTickCount,
|
|
268
|
+
xAxistickSize: this.props.xAxistickSize,
|
|
269
|
+
tickPadding: this.props.tickPadding || this.props.showXAxisLablesTooltip ? 5 : 10,
|
|
270
|
+
xAxisPadding: this.props.xAxisPadding,
|
|
271
|
+
xAxisInnerPadding: this.props.xAxisInnerPadding,
|
|
272
|
+
xAxisOuterPadding: this.props.xAxisOuterPadding,
|
|
273
|
+
containerWidth: this.state.containerWidth,
|
|
274
|
+
hideTickOverlap: this.props.hideTickOverlap &&
|
|
275
|
+
!this.props.rotateXAxisLables &&
|
|
276
|
+
!this.props.showXAxisLablesTooltip &&
|
|
277
|
+
!this.props.wrapXAxisLables,
|
|
278
|
+
};
|
|
279
|
+
var YAxisParams = {
|
|
280
|
+
margins: this.margins,
|
|
281
|
+
containerWidth: this.state.containerWidth,
|
|
282
|
+
containerHeight: this.state.containerHeight - this.state._removalValueForTextTuncate,
|
|
283
|
+
yAxisElement: this.yAxisElement,
|
|
284
|
+
yAxisTickFormat: this.props.yAxisTickFormat,
|
|
285
|
+
yAxisTickCount: this.props.yAxisTickCount,
|
|
286
|
+
yMinValue: this.props.yMinValue || 0,
|
|
287
|
+
yMaxValue: this.props.yMaxValue || 0,
|
|
288
|
+
tickPadding: 10,
|
|
289
|
+
maxOfYVal: this.props.maxOfYVal,
|
|
290
|
+
yMinMaxValues: this.props.getMinMaxOfYAxis(points, this.props.yAxisType),
|
|
291
|
+
// please note these padding default values must be consistent in here
|
|
292
|
+
// and the parent chart(HBWA/Vertical etc..) for more details refer example
|
|
293
|
+
// http://using-d3js.com/04_07_ordinal_scales.html
|
|
294
|
+
yAxisPadding: this.props.yAxisPadding || 0,
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* These scales used for 2 purposes.
|
|
298
|
+
* 1. To create x and y axis
|
|
299
|
+
* 2. To draw the graph.
|
|
300
|
+
* For area/line chart using same scales. For other charts, creating their own scales to draw the graph.
|
|
301
|
+
*/
|
|
302
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
303
|
+
var xScale = void 0;
|
|
304
|
+
var tickValues = void 0;
|
|
305
|
+
switch (this.props.xAxisType) {
|
|
306
|
+
case index_1.XAxisTypes.NumericAxis:
|
|
307
|
+
(_a = (0, index_1.createNumericXAxis)(XAxisParams, this.props.tickParams, this.props.chartType, culture), xScale = _a.xScale, tickValues = _a.tickValues);
|
|
308
|
+
break;
|
|
309
|
+
case index_1.XAxisTypes.DateAxis:
|
|
310
|
+
(_b = (0, index_1.createDateXAxis)(XAxisParams, this.props.tickParams, culture, dateLocalizeOptions, timeFormatLocale, customDateTimeFormatter, this.props.useUTC), xScale = _b.xScale, tickValues = _b.tickValues);
|
|
311
|
+
break;
|
|
312
|
+
case index_1.XAxisTypes.StringAxis:
|
|
313
|
+
(_c = (0, index_1.createStringXAxis)(XAxisParams, this.props.tickParams, this.props.datasetForXAxisDomain, culture), xScale = _c.xScale, tickValues = _c.tickValues);
|
|
314
|
+
break;
|
|
315
|
+
default:
|
|
316
|
+
(_d = (0, index_1.createNumericXAxis)(XAxisParams, this.props.tickParams, this.props.chartType, culture), xScale = _d.xScale, tickValues = _d.tickValues);
|
|
317
|
+
}
|
|
318
|
+
this._xScale = xScale;
|
|
319
|
+
this._tickValues = tickValues;
|
|
320
|
+
/*
|
|
321
|
+
* To enable wrapping of x axis tick values or to display complete x axis tick values,
|
|
322
|
+
* we need to calculate how much space it needed to render the text.
|
|
323
|
+
* No need to re-calculate every time the chart renders and same time need to get an update. So using setState.
|
|
324
|
+
* Required space will be calculated first time chart rendering and if any width/height of chart updated.
|
|
325
|
+
* */
|
|
326
|
+
if (this.props.wrapXAxisLables || this.props.showXAxisLablesTooltip) {
|
|
327
|
+
var wrapLabelProps = {
|
|
328
|
+
node: this.xAxisElement,
|
|
329
|
+
xAxis: xScale,
|
|
330
|
+
showXAxisLablesTooltip: this.props.showXAxisLablesTooltip || false,
|
|
331
|
+
noOfCharsToTruncate: this.props.noOfCharsToTruncate || 4,
|
|
332
|
+
};
|
|
333
|
+
var temp = xScale && (0, index_1.createWrapOfXLabels)(wrapLabelProps);
|
|
334
|
+
// this value need to be updated for draw graph updated. So instead of using private value, using set state.
|
|
335
|
+
if (this.state.isRemoveValCalculated && this.state._removalValueForTextTuncate !== temp) {
|
|
336
|
+
this.setState({ _removalValueForTextTuncate: temp, isRemoveValCalculated: false });
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* These scales used for 2 purposes.
|
|
341
|
+
* 1. To create x and y axis
|
|
342
|
+
* 2. To draw the graph.
|
|
343
|
+
* For area/line chart using same scales. For other charts, creating their own scales to draw the graph.
|
|
344
|
+
*/
|
|
345
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
346
|
+
var yScale = void 0;
|
|
347
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
348
|
+
var yScaleSecondary = void 0;
|
|
349
|
+
var axisData = { yAxisDomainValues: [] };
|
|
350
|
+
if (this.props.yAxisType && this.props.yAxisType === index_1.YAxisType.StringAxis) {
|
|
351
|
+
yScale = this.props.createStringYAxis(YAxisParams, this.props.stringDatasetForYAxisDomain, this._isRtl, this.props.barwidth);
|
|
352
|
+
}
|
|
353
|
+
else {
|
|
354
|
+
if ((_e = this.props) === null || _e === void 0 ? void 0 : _e.secondaryYScaleOptions) {
|
|
355
|
+
var YAxisParamsSecondary = {
|
|
356
|
+
margins: this.margins,
|
|
357
|
+
containerWidth: this.state.containerWidth,
|
|
358
|
+
containerHeight: this.state.containerHeight - this.state._removalValueForTextTuncate,
|
|
359
|
+
yAxisElement: this.yAxisElementSecondary,
|
|
360
|
+
yAxisTickFormat: this.props.yAxisTickFormat,
|
|
361
|
+
yAxisTickCount: this.props.yAxisTickCount,
|
|
362
|
+
yMinValue: ((_f = this.props.secondaryYScaleOptions) === null || _f === void 0 ? void 0 : _f.yMinValue) || 0,
|
|
363
|
+
yMaxValue: (_h = (_g = this.props.secondaryYScaleOptions) === null || _g === void 0 ? void 0 : _g.yMaxValue) !== null && _h !== void 0 ? _h : 100,
|
|
364
|
+
tickPadding: 10,
|
|
365
|
+
maxOfYVal: (_k = (_j = this.props.secondaryYScaleOptions) === null || _j === void 0 ? void 0 : _j.yMaxValue) !== null && _k !== void 0 ? _k : 100,
|
|
366
|
+
yMinMaxValues: this.props.getMinMaxOfYAxis(points, this.props.yAxisType),
|
|
367
|
+
yAxisPadding: this.props.yAxisPadding,
|
|
368
|
+
};
|
|
369
|
+
yScaleSecondary = yScaleSecondary = this.props.createYAxis(YAxisParamsSecondary, this._isRtl, axisData, this.isIntegralDataset, true, this.props.supportNegativeData, this.props.roundedTicks);
|
|
370
|
+
}
|
|
371
|
+
yScale = this.props.createYAxis(YAxisParams, this._isRtl, axisData, this.isIntegralDataset, false, this.props.supportNegativeData, this.props.roundedTicks);
|
|
372
|
+
}
|
|
373
|
+
/*
|
|
374
|
+
* To create y axis tick values by if specified
|
|
375
|
+
truncating the rest of the text and showing elipsis
|
|
376
|
+
or showing the whole string,
|
|
377
|
+
* */
|
|
378
|
+
chartTypesToCheck.includes(this.props.chartType) &&
|
|
379
|
+
yScale &&
|
|
380
|
+
(0, index_1.createYAxisLabels)(this.yAxisElement, yScale, this.props.noOfCharsToTruncate || 4, this.props.showYAxisLablesTooltip || false, this._isRtl);
|
|
381
|
+
this.props.getAxisData && this.props.getAxisData(axisData);
|
|
382
|
+
// Callback function for chart, returns axis
|
|
383
|
+
this._getData(xScale, yScale);
|
|
384
|
+
children = this.props.children(tslib_1.__assign(tslib_1.__assign({}, this.state), { xScale: xScale, yScale: yScale, yScaleSecondary: yScaleSecondary }));
|
|
385
|
+
if (!this.props.hideTooltip && calloutProps.isCalloutVisible) {
|
|
386
|
+
callout = this._generateCallout(calloutProps, chartHoverProps);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
this._classNames = getClassNames(this.props.styles, {
|
|
390
|
+
theme: this.props.theme,
|
|
391
|
+
width: this.state._width,
|
|
392
|
+
height: this.state._height,
|
|
393
|
+
className: this.props.className,
|
|
394
|
+
isRtl: this._isRtl,
|
|
395
|
+
enableReflow: this.props.enableReflow,
|
|
396
|
+
});
|
|
397
|
+
var svgDimensions = {
|
|
398
|
+
width: this.state.containerWidth,
|
|
399
|
+
height: this.state.containerHeight,
|
|
400
|
+
};
|
|
401
|
+
var focusDirection;
|
|
402
|
+
if (this.props.focusZoneDirection === react_focus_1.FocusZoneDirection.vertical) {
|
|
403
|
+
focusDirection = this.props.focusZoneDirection;
|
|
404
|
+
}
|
|
405
|
+
else if (this.props.focusZoneDirection) {
|
|
406
|
+
focusDirection = this.props.focusZoneDirection;
|
|
407
|
+
}
|
|
408
|
+
else {
|
|
409
|
+
focusDirection = react_focus_1.FocusZoneDirection.horizontal;
|
|
410
|
+
}
|
|
411
|
+
var xAxisTitleMaximumAllowedWidth = svgDimensions.width - this.margins.left - this.margins.right - this.state.startFromX;
|
|
412
|
+
var yAxisTitleMaximumAllowedHeight = svgDimensions.height -
|
|
413
|
+
this.margins.bottom -
|
|
414
|
+
this.margins.top -
|
|
415
|
+
this.state._removalValueForTextTuncate -
|
|
416
|
+
this.titleMargin;
|
|
417
|
+
/**
|
|
418
|
+
* We have use the {@link defaultTabbableElement } to fix
|
|
419
|
+
* the Focus not landing on chart while tabbing, instead goes to legend.
|
|
420
|
+
* This issue is observed in Area, line chart after performance optimization done in the PR {@link https://github.com/microsoft/fluentui/pull/27721 }
|
|
421
|
+
* This issue is observed in Bar charts after the changes done by FocusZone team in the PR: {@link https://github.com/microsoft/fluentui/pull/24175 }
|
|
422
|
+
* The issue in Bar Charts(VB and VSB) is due to a {@link FocusZone } update where previously an event listener was
|
|
423
|
+
* attached on keydown to the window, so that whenever the tab key is pressed all outer FocusZone's
|
|
424
|
+
* tab-indexes are updated (an outer FocusZone is a FocusZone that is not within another one).
|
|
425
|
+
* But now after the above PR : they are attaching the
|
|
426
|
+
* listeners to the FocusZone elements instead of the window. So in the first render cycle in Bar charts
|
|
427
|
+
* bars are not created as in the first render cycle the size of the chart container is not known( or is 0)
|
|
428
|
+
* which creates bars of height 0 so instead we do not create any bars and instead return empty fragments.
|
|
429
|
+
*
|
|
430
|
+
* We have tried 2 Approaches to fix the issue:
|
|
431
|
+
* 1. Using the {@link elementRef} property of FocusZone where we dispatch event for tab keydown
|
|
432
|
+
* after the second render cycle which triggers an update of the tab index in FocusZone.
|
|
433
|
+
* But this is a hacky solution and not a proper fix and also elementRef is deprecated.
|
|
434
|
+
* 2. Using the default tabbable element to fix the issue.
|
|
435
|
+
*/
|
|
436
|
+
return (React.createElement("div", { id: this.idForGraph, className: this._classNames.root, ref: function (rootElem) { return (_this.chartContainer = rootElem); }, onMouseLeave: this._onChartLeave },
|
|
437
|
+
!this._isFirstRender && React.createElement("div", { id: this.idForDefaultTabbableElement }),
|
|
438
|
+
React.createElement(react_focus_1.FocusZone, tslib_1.__assign({ direction: focusDirection, className: this._classNames.chartWrapper, defaultTabbableElement: "#".concat(this.idForDefaultTabbableElement) }, svgFocusZoneProps),
|
|
439
|
+
this._isFirstRender && React.createElement("div", { id: this.idForDefaultTabbableElement }),
|
|
440
|
+
React.createElement("svg", tslib_1.__assign({ width: svgDimensions.width, height: svgDimensions.height, role: "region", "aria-label": this._getChartDescription(), style: { display: 'block' } }, (0, index_1.getSecureProps)(svgProps)),
|
|
441
|
+
React.createElement("g", { ref: function (e) {
|
|
442
|
+
_this.xAxisElement = e;
|
|
443
|
+
}, id: "xAxisGElement".concat(this.idForGraph),
|
|
444
|
+
// To add wrap of x axis lables feature, need to remove word height from svg height.
|
|
445
|
+
transform: "translate(0, ".concat(svgDimensions.height - this.margins.bottom - this.state._removalValueForTextTuncate, ")"), className: this._classNames.xAxis }),
|
|
446
|
+
this.props.xAxisTitle !== undefined && this.props.xAxisTitle !== '' && (React.createElement(SVGTooltipText_1.SVGTooltipText, { content: this.props.xAxisTitle, textProps: {
|
|
447
|
+
x: this.margins.left + this.state.startFromX + xAxisTitleMaximumAllowedWidth / 2,
|
|
448
|
+
y: svgDimensions.height - this.titleMargin,
|
|
449
|
+
className: this._classNames.axisTitle,
|
|
450
|
+
textAnchor: 'middle',
|
|
451
|
+
'aria-hidden': true,
|
|
452
|
+
}, maxWidth: xAxisTitleMaximumAllowedWidth, wrapContent: index_1.wrapContent, theme: this.props.theme, showBackground: true })),
|
|
453
|
+
React.createElement("g", { ref: function (e) {
|
|
454
|
+
_this.yAxisElement = e;
|
|
455
|
+
}, id: "yAxisGElement".concat(this.idForGraph), transform: "translate(".concat(this._isRtl
|
|
456
|
+
? svgDimensions.width - this.margins.right - this.state.startFromX
|
|
457
|
+
: this.margins.left + this.state.startFromX, ", 0)"), className: this._classNames.yAxis }),
|
|
458
|
+
this.props.secondaryYScaleOptions && (React.createElement("g", null,
|
|
459
|
+
React.createElement("g", { ref: function (e) {
|
|
460
|
+
_this.yAxisElementSecondary = e;
|
|
461
|
+
}, id: "yAxisGElementSecondary".concat(this.idForGraph), transform: "translate(".concat(this._isRtl ? this.margins.left : svgDimensions.width - this.margins.right, ", 0)"), className: this._classNames.yAxis }),
|
|
462
|
+
this.props.secondaryYAxistitle !== undefined && this.props.secondaryYAxistitle !== '' && (React.createElement(SVGTooltipText_1.SVGTooltipText, { content: this.props.secondaryYAxistitle, textProps: {
|
|
463
|
+
x: (yAxisTitleMaximumAllowedHeight - this.margins.bottom) / 2 +
|
|
464
|
+
this.state._removalValueForTextTuncate,
|
|
465
|
+
y: this._isRtl
|
|
466
|
+
? this.state.startFromX - this.titleMargin
|
|
467
|
+
: svgDimensions.width - this.margins.right,
|
|
468
|
+
textAnchor: 'middle',
|
|
469
|
+
transform: "translate(".concat(this._isRtl
|
|
470
|
+
? this.margins.right / 2 - this.titleMargin
|
|
471
|
+
: this.margins.right / 2 + this.titleMargin, ",\n ").concat(svgDimensions.height - this.margins.bottom - this.margins.top - this.titleMargin, ")rotate(-90)"),
|
|
472
|
+
className: this._classNames.axisTitle,
|
|
473
|
+
'aria-hidden': true,
|
|
474
|
+
}, maxWidth: yAxisTitleMaximumAllowedHeight, wrapContent: index_1.wrapContent, theme: this.props.theme, showBackground: true })))),
|
|
475
|
+
children,
|
|
476
|
+
this.props.yAxisTitle !== undefined && this.props.yAxisTitle !== '' && (React.createElement(SVGTooltipText_1.SVGTooltipText, { content: this.props.yAxisTitle, textProps: {
|
|
477
|
+
x: (yAxisTitleMaximumAllowedHeight - this.margins.bottom) / 2 +
|
|
478
|
+
this.state._removalValueForTextTuncate,
|
|
479
|
+
y: this._isRtl
|
|
480
|
+
? svgDimensions.width - this.margins.right / 2 + this.titleMargin
|
|
481
|
+
: this.margins.left / 2 + this.state.startFromX - this.titleMargin,
|
|
482
|
+
textAnchor: 'middle',
|
|
483
|
+
transform: "translate(0,\n ".concat(svgDimensions.height - this.margins.bottom - this.margins.top - this.titleMargin, ")rotate(-90)"),
|
|
484
|
+
className: this._classNames.axisTitle,
|
|
485
|
+
'aria-hidden': true,
|
|
486
|
+
}, maxWidth: yAxisTitleMaximumAllowedHeight, wrapContent: index_1.wrapContent, theme: this.props.theme, showBackground: true })))),
|
|
487
|
+
!this.props.hideLegend && (React.createElement("div", { ref: function (e) { return (_this.legendContainer = e); }, className: this._classNames.legendContainer }, this.props.legendBars)),
|
|
488
|
+
callout && React.createElement(React.Suspense, { fallback: React.createElement("div", null, "Loading...") }, callout)));
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* Dedicated function to return the Callout JSX Element , which can further be used to only call this when
|
|
492
|
+
* only the calloutprops and charthover props changes.
|
|
493
|
+
* @param calloutProps
|
|
494
|
+
* @param chartHoverProps
|
|
495
|
+
* @returns
|
|
496
|
+
*/
|
|
497
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
498
|
+
CartesianChartBase.prototype._generateCallout = function (calloutProps, chartHoverProps) {
|
|
499
|
+
return (React.createElement(Callout_1.Callout, tslib_1.__assign({ hidden: !(!this.props.hideTooltip && calloutProps.isCalloutVisible),
|
|
500
|
+
/** Keep the callout updated with details of focused/hovered chart element */
|
|
501
|
+
shouldUpdateWhenHidden: true }, calloutProps),
|
|
502
|
+
this.props.customizedCallout && this.props.customizedCallout,
|
|
503
|
+
!this.props.customizedCallout && this.props.isCalloutForStack && this._multiValueCallout(calloutProps),
|
|
504
|
+
!this.props.customizedCallout && !this.props.isCalloutForStack && (React.createElement(ChartHoverCard, tslib_1.__assign({ XValue: calloutProps.XValue, Legend: calloutProps.legend, YValue: calloutProps.YValue, color: calloutProps.color, culture: this.props.culture }, chartHoverProps)))));
|
|
505
|
+
};
|
|
506
|
+
CartesianChartBase.prototype._yValueHoverSubCountsExists = function (yValueHover) {
|
|
507
|
+
if (yValueHover) {
|
|
508
|
+
return yValueHover.some(function (yValue) { return yValue.yAxisCalloutData && typeof yValue.yAxisCalloutData !== 'string'; });
|
|
509
|
+
}
|
|
510
|
+
return false;
|
|
511
|
+
};
|
|
512
|
+
CartesianChartBase.prototype._getCalloutContent = function (xValue, index, yValueHoverSubCountsExists, isLast) {
|
|
513
|
+
var _a;
|
|
514
|
+
var marginStyle = isLast ? {} : { marginRight: '16px' };
|
|
515
|
+
var toDrawShape = xValue.index !== undefined && xValue.index !== -1;
|
|
516
|
+
var _classNames = getClassNames(this.props.styles, {
|
|
517
|
+
theme: this.props.theme,
|
|
518
|
+
width: this.state._width,
|
|
519
|
+
height: this.state._height,
|
|
520
|
+
className: this.props.className,
|
|
521
|
+
isRtl: this._isRtl,
|
|
522
|
+
lineColor: xValue.color,
|
|
523
|
+
toDrawShape: toDrawShape,
|
|
524
|
+
});
|
|
525
|
+
var culture = this.props.culture;
|
|
526
|
+
var yValue = (0, locale_util_1.convertToLocaleString)(xValue.y, culture);
|
|
527
|
+
if (!xValue.yAxisCalloutData || typeof xValue.yAxisCalloutData === 'string') {
|
|
528
|
+
return (React.createElement("div", { style: yValueHoverSubCountsExists ? marginStyle : {} },
|
|
529
|
+
yValueHoverSubCountsExists && (React.createElement("div", { className: "ms-fontWeight-semibold", style: { fontSize: '12pt' } },
|
|
530
|
+
xValue.legend,
|
|
531
|
+
" (",
|
|
532
|
+
yValue,
|
|
533
|
+
")")),
|
|
534
|
+
React.createElement("div", { id: "".concat(index, "_").concat(xValue.y), className: _classNames.calloutBlockContainer },
|
|
535
|
+
toDrawShape && (React.createElement(index_2.Shape, { svgProps: {
|
|
536
|
+
className: _classNames.shapeStyles,
|
|
537
|
+
}, pathProps: { fill: xValue.color }, shape: index_1.Points[xValue.index % Object.keys(index_1.pointTypes).length] })),
|
|
538
|
+
React.createElement("div", null,
|
|
539
|
+
React.createElement("div", { className: _classNames.calloutlegendText },
|
|
540
|
+
" ",
|
|
541
|
+
xValue.legend),
|
|
542
|
+
React.createElement("div", { className: _classNames.calloutContentY }, (0, locale_util_1.convertToLocaleString)(xValue.yAxisCalloutData ? xValue.yAxisCalloutData : (_a = xValue.y) !== null && _a !== void 0 ? _a : xValue.data, culture))))));
|
|
543
|
+
}
|
|
544
|
+
else {
|
|
545
|
+
var subcounts_1 = xValue.yAxisCalloutData;
|
|
546
|
+
return (React.createElement("div", { style: marginStyle },
|
|
547
|
+
React.createElement("div", { className: "ms-fontWeight-semibold", style: { fontSize: '12pt' } },
|
|
548
|
+
xValue.legend,
|
|
549
|
+
" (",
|
|
550
|
+
yValue,
|
|
551
|
+
")"),
|
|
552
|
+
Object.keys(subcounts_1).map(function (subcountName) {
|
|
553
|
+
return (React.createElement("div", { key: subcountName, className: _classNames.calloutBlockContainer },
|
|
554
|
+
React.createElement("div", { className: _classNames.calloutlegendText },
|
|
555
|
+
" ",
|
|
556
|
+
(0, locale_util_1.convertToLocaleString)(subcountName, culture)),
|
|
557
|
+
React.createElement("div", { className: _classNames.calloutContentY }, (0, locale_util_1.convertToLocaleString)(subcounts_1[subcountName], culture))));
|
|
558
|
+
})));
|
|
559
|
+
}
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* When screen resizes, along with screen, chart also auto adjusted.
|
|
563
|
+
* This method used to adjust height and width of the charts.
|
|
564
|
+
*/
|
|
565
|
+
CartesianChartBase.prototype._fitParentContainer = function () {
|
|
566
|
+
var _this = this;
|
|
567
|
+
var _a = this.state, containerWidth = _a.containerWidth, containerHeight = _a.containerHeight;
|
|
568
|
+
this._reqID = requestAnimationFrame(function () {
|
|
569
|
+
var legendContainerHeight;
|
|
570
|
+
if (_this.props.hideLegend) {
|
|
571
|
+
// If there is no legend, need not to allocate some space from total chart space.
|
|
572
|
+
legendContainerHeight = 0;
|
|
573
|
+
}
|
|
574
|
+
else {
|
|
575
|
+
var legendContainerComputedStyles = _this.legendContainer && getComputedStyle(_this.legendContainer);
|
|
576
|
+
legendContainerHeight =
|
|
577
|
+
((_this.legendContainer && _this.legendContainer.getBoundingClientRect().height) ||
|
|
578
|
+
_this.minLegendContainerHeight) +
|
|
579
|
+
parseFloat((legendContainerComputedStyles && legendContainerComputedStyles.marginTop) || '0') +
|
|
580
|
+
parseFloat((legendContainerComputedStyles && legendContainerComputedStyles.marginBottom) || '0');
|
|
581
|
+
}
|
|
582
|
+
if (_this.props.parentRef || _this.chartContainer) {
|
|
583
|
+
var container = _this.props.parentRef ? _this.props.parentRef : _this.chartContainer;
|
|
584
|
+
var currentContainerWidth = _this.props.enableReflow && !_this._isFirstRender
|
|
585
|
+
? Math.max(container.getBoundingClientRect().width, _this._calculateChartMinWidth())
|
|
586
|
+
: container.getBoundingClientRect().width;
|
|
587
|
+
var currentContainerHeight = container.getBoundingClientRect().height > legendContainerHeight
|
|
588
|
+
? container.getBoundingClientRect().height
|
|
589
|
+
: 350;
|
|
590
|
+
var shouldResize = containerWidth !== currentContainerWidth ||
|
|
591
|
+
containerHeight !== currentContainerHeight - legendContainerHeight;
|
|
592
|
+
if (shouldResize) {
|
|
593
|
+
_this.setState({
|
|
594
|
+
containerWidth: currentContainerWidth,
|
|
595
|
+
containerHeight: currentContainerHeight - legendContainerHeight,
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
});
|
|
600
|
+
};
|
|
601
|
+
return CartesianChartBase;
|
|
602
|
+
}(React.Component));
|
|
603
|
+
exports.CartesianChartBase = CartesianChartBase;
|
|
604
|
+
});
|
|
605
|
+
//# sourceMappingURL=CartesianChart.base.js.map
|