@fluentui/react-charting 5.23.63 → 5.23.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +16 -1
- package/CHANGELOG.md +11 -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 +2 -2
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { ITheme, IStyle } from '@fluentui/react/lib/Styling';
|
|
2
|
+
import { ICalloutProps } from '@fluentui/react/lib/Callout';
|
|
3
|
+
import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
|
|
4
|
+
import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
|
|
5
|
+
import { IFocusZoneProps } from '@fluentui/react-focus';
|
|
6
|
+
import { ILegendsProps } from '../Legends/index';
|
|
7
|
+
export interface IStackedBarChart {
|
|
8
|
+
}
|
|
9
|
+
import { IChartProps, IChartDataPoint } from './index';
|
|
10
|
+
/**
|
|
11
|
+
* Stacked Bar Chart properties
|
|
12
|
+
* {@docCategory StackedBarChart}
|
|
13
|
+
*/
|
|
14
|
+
export interface IStackedBarChartProps {
|
|
15
|
+
/**
|
|
16
|
+
* Data to render in the chart.
|
|
17
|
+
*/
|
|
18
|
+
data?: IChartProps;
|
|
19
|
+
/**
|
|
20
|
+
* Benchmark Data to render in the chart.
|
|
21
|
+
*/
|
|
22
|
+
benchmarkData?: IChartDataPoint;
|
|
23
|
+
/**
|
|
24
|
+
* Target Data to render in the chart.
|
|
25
|
+
*/
|
|
26
|
+
targetData?: IChartDataPoint;
|
|
27
|
+
/**
|
|
28
|
+
* Width of the chart.
|
|
29
|
+
*/
|
|
30
|
+
width?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Height of each bar in the chart.
|
|
33
|
+
*/
|
|
34
|
+
barHeight?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Do not show the legend at the bottom of chart
|
|
37
|
+
* when there are more than two datapoints
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
hideLegend?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Do not show number/ratio on top of bar
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
hideNumberDisplay?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Do not show tooltips in chart
|
|
50
|
+
*
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
hideTooltip?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Additional CSS class(es) to apply to the StackedBarChart.
|
|
56
|
+
*/
|
|
57
|
+
className?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Theme (provided through customization.)
|
|
60
|
+
*/
|
|
61
|
+
theme?: ITheme;
|
|
62
|
+
/**
|
|
63
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
64
|
+
*/
|
|
65
|
+
styles?: IStyleFunctionOrObject<IStackedBarChartStyleProps, IStackedBarChartStyles>;
|
|
66
|
+
/**
|
|
67
|
+
* Color setting of bar background color, this will show while all data points value is 0
|
|
68
|
+
*/
|
|
69
|
+
barBackgroundColor?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Url that the data-viz needs to redirect to upon clicking on it
|
|
72
|
+
*/
|
|
73
|
+
href?: string;
|
|
74
|
+
/**
|
|
75
|
+
* If this value is set, the fixed display pattern for less than 2 data points chart will be ignore
|
|
76
|
+
*/
|
|
77
|
+
ignoreFixStyle?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* If this value is set to true the denominator will not be shown for the ratio above the chart
|
|
80
|
+
*/
|
|
81
|
+
hideDenominator?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Enable the legends to wrap lines if there is not enough space to show all legends on a single line
|
|
84
|
+
*/
|
|
85
|
+
enabledLegendsWrapLines?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* overflow props for the legend
|
|
88
|
+
*/
|
|
89
|
+
legendsOverflowProps?: Partial<IOverflowSetProps>;
|
|
90
|
+
/**
|
|
91
|
+
* text for overflow legends string
|
|
92
|
+
*/
|
|
93
|
+
legendsOverflowText?: string;
|
|
94
|
+
/**
|
|
95
|
+
* focus zone props in hover card for legends
|
|
96
|
+
*/
|
|
97
|
+
focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;
|
|
98
|
+
/**
|
|
99
|
+
* props for the legends in the chart
|
|
100
|
+
*/
|
|
101
|
+
legendProps?: Partial<ILegendsProps>;
|
|
102
|
+
/**
|
|
103
|
+
* Define a custom callout renderer for a data point
|
|
104
|
+
*/
|
|
105
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;
|
|
106
|
+
/**
|
|
107
|
+
* props for the callout in the chart
|
|
108
|
+
*/
|
|
109
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
110
|
+
/**
|
|
111
|
+
* The prop used to define the culture to localized the numbers
|
|
112
|
+
*/
|
|
113
|
+
culture?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @default false
|
|
116
|
+
* The prop used to enable gradient fill color for the chart.
|
|
117
|
+
*/
|
|
118
|
+
enableGradient?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* @default false
|
|
121
|
+
* The prop used to enable rounded corners for the chart.
|
|
122
|
+
*/
|
|
123
|
+
roundCorners?: boolean;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Stacked Bar Chart style properties
|
|
127
|
+
* {@docCategory StackedBarChart}
|
|
128
|
+
*/
|
|
129
|
+
export interface IStackedBarChartStyleProps {
|
|
130
|
+
/**
|
|
131
|
+
* Theme (provided through customization.)
|
|
132
|
+
*/
|
|
133
|
+
theme: ITheme;
|
|
134
|
+
/**
|
|
135
|
+
* Additional CSS class(es) to apply to the StackedBarChart.
|
|
136
|
+
*/
|
|
137
|
+
className?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Width of the chart.
|
|
140
|
+
*/
|
|
141
|
+
width?: number;
|
|
142
|
+
/**
|
|
143
|
+
* Height of bar in the chart.
|
|
144
|
+
*/
|
|
145
|
+
barHeight?: number;
|
|
146
|
+
/**
|
|
147
|
+
* prop to show data of the chart with appropriate legend color
|
|
148
|
+
*/
|
|
149
|
+
legendColor?: string;
|
|
150
|
+
/**
|
|
151
|
+
* prop to check if the chart is selcted or hovered upon to determine opacity
|
|
152
|
+
*/
|
|
153
|
+
shouldHighlight?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* prop to check which specific section of the stacked bar chart is selected or hovered upon
|
|
156
|
+
*/
|
|
157
|
+
isChartSelected?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* prop to check to decide cursor type
|
|
160
|
+
*/
|
|
161
|
+
href?: string;
|
|
162
|
+
/**
|
|
163
|
+
* the color for the benchmark triangle
|
|
164
|
+
*/
|
|
165
|
+
benchmarkColor?: string;
|
|
166
|
+
/**
|
|
167
|
+
* the ratio position for the benchmark triangle
|
|
168
|
+
*/
|
|
169
|
+
benchmarkRatio?: number;
|
|
170
|
+
/**
|
|
171
|
+
* the color for the target triangle
|
|
172
|
+
*/
|
|
173
|
+
targetColor?: string;
|
|
174
|
+
/**
|
|
175
|
+
* the ratio position for the target triangle
|
|
176
|
+
*/
|
|
177
|
+
targetRatio?: number;
|
|
178
|
+
/**
|
|
179
|
+
* prop to check if benchmark data or target data is provided
|
|
180
|
+
*/
|
|
181
|
+
showTriangle?: boolean;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Stacked Bar Chart styles
|
|
185
|
+
* {@docCategory StackedBarChart}
|
|
186
|
+
*/
|
|
187
|
+
export interface IStackedBarChartStyles {
|
|
188
|
+
/**
|
|
189
|
+
* Style for the root element.
|
|
190
|
+
*/
|
|
191
|
+
root: IStyle;
|
|
192
|
+
/**
|
|
193
|
+
* Style for the chart.
|
|
194
|
+
*/
|
|
195
|
+
chart: IStyle;
|
|
196
|
+
/**
|
|
197
|
+
* Style for the chart Title.
|
|
198
|
+
*/
|
|
199
|
+
chartTitle: IStyle;
|
|
200
|
+
/**
|
|
201
|
+
* Style for left side text of the chart title
|
|
202
|
+
*/
|
|
203
|
+
chartTitleLeft: IStyle;
|
|
204
|
+
/**
|
|
205
|
+
* Style for the legend container div
|
|
206
|
+
*/
|
|
207
|
+
legendContainer: IStyle;
|
|
208
|
+
/**
|
|
209
|
+
* Style to change the opacity of bars in dataviz when we hover on a single bar or legends
|
|
210
|
+
*/
|
|
211
|
+
opacityChangeOnHover: IStyle;
|
|
212
|
+
/**
|
|
213
|
+
* Style for the chart ratio numerator
|
|
214
|
+
*/
|
|
215
|
+
ratioNumerator: IStyle;
|
|
216
|
+
/**
|
|
217
|
+
* Style for the chart ratio denominator
|
|
218
|
+
*/
|
|
219
|
+
ratioDenominator: IStyle;
|
|
220
|
+
/**
|
|
221
|
+
* Style for the benchmark container
|
|
222
|
+
*/
|
|
223
|
+
benchmarkContainer: IStyle;
|
|
224
|
+
/**
|
|
225
|
+
* Style for the benchmark triangle
|
|
226
|
+
*/
|
|
227
|
+
benchmark: IStyle;
|
|
228
|
+
/**
|
|
229
|
+
* Style for the target triangle
|
|
230
|
+
*/
|
|
231
|
+
target: IStyle;
|
|
232
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackedBarChart.types.js","sourceRoot":"../src/","sources":["components/StackedBarChart/StackedBarChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle } from '@fluentui/react/lib/Styling';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';\nimport { IFocusZoneProps } from '@fluentui/react-focus';\nimport { ILegendsProps } from '../Legends/index';\n\nexport interface IStackedBarChart {}\nimport { IChartProps, IChartDataPoint } from './index';\n\n/**\n * Stacked Bar Chart properties\n * {@docCategory StackedBarChart}\n */\nexport interface IStackedBarChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IChartProps;\n\n /**\n * Benchmark Data to render in the chart.\n */\n benchmarkData?: IChartDataPoint;\n\n /**\n * Target Data to render in the chart.\n */\n targetData?: IChartDataPoint;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of each bar in the chart.\n */\n barHeight?: number;\n\n /**\n * Do not show the legend at the bottom of chart\n * when there are more than two datapoints\n *\n * @default false\n */\n hideLegend?: boolean;\n\n /**\n * Do not show number/ratio on top of bar\n *\n * @default false\n */\n hideNumberDisplay?: boolean;\n\n /**\n * Do not show tooltips in chart\n *\n * @default false\n */\n hideTooltip?: boolean;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IStackedBarChartStyleProps, IStackedBarChartStyles>;\n\n /**\n * Color setting of bar background color, this will show while all data points value is 0\n */\n barBackgroundColor?: string;\n\n /**\n * Url that the data-viz needs to redirect to upon clicking on it\n */\n href?: string;\n\n /**\n * If this value is set, the fixed display pattern for less than 2 data points chart will be ignore\n */\n ignoreFixStyle?: boolean;\n\n /**\n * If this value is set to true the denominator will not be shown for the ratio above the chart\n */\n hideDenominator?: boolean;\n\n /**\n * Enable the legends to wrap lines if there is not enough space to show all legends on a single line\n */\n enabledLegendsWrapLines?: boolean;\n\n /**\n * overflow props for the legend\n */\n legendsOverflowProps?: Partial<IOverflowSetProps>;\n\n /**\n * text for overflow legends string\n */\n legendsOverflowText?: string;\n\n /**\n * focus zone props in hover card for legends\n */\n focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;\n\n /**\n * props for the legends in the chart\n */\n legendProps?: Partial<ILegendsProps>;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * @default false\n * The prop used to enable gradient fill color for the chart.\n */\n enableGradient?: boolean;\n\n /**\n * @default false\n * The prop used to enable rounded corners for the chart.\n */\n roundCorners?: boolean;\n}\n\n/**\n * Stacked Bar Chart style properties\n * {@docCategory StackedBarChart}\n */\nexport interface IStackedBarChartStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * Additional CSS class(es) to apply to the StackedBarChart.\n */\n className?: string;\n\n /**\n * Width of the chart.\n */\n width?: number;\n\n /**\n * Height of bar in the chart.\n */\n barHeight?: number;\n\n /**\n * prop to show data of the chart with appropriate legend color\n */\n legendColor?: string;\n\n /**\n * prop to check if the chart is selcted or hovered upon to determine opacity\n */\n shouldHighlight?: boolean;\n\n /**\n * prop to check which specific section of the stacked bar chart is selected or hovered upon\n */\n isChartSelected?: boolean;\n\n /**\n * prop to check to decide cursor type\n */\n href?: string;\n\n /**\n * the color for the benchmark triangle\n */\n benchmarkColor?: string;\n\n /**\n * the ratio position for the benchmark triangle\n */\n benchmarkRatio?: number;\n\n /**\n * the color for the target triangle\n */\n targetColor?: string;\n\n /**\n * the ratio position for the target triangle\n */\n targetRatio?: number;\n\n /**\n * prop to check if benchmark data or target data is provided\n */\n showTriangle?: boolean;\n}\n\n/**\n * Stacked Bar Chart styles\n * {@docCategory StackedBarChart}\n */\nexport interface IStackedBarChartStyles {\n /**\n * Style for the root element.\n */\n root: IStyle;\n\n /**\n * Style for the chart.\n */\n chart: IStyle;\n\n /**\n * Style for the chart Title.\n */\n chartTitle: IStyle;\n\n /**\n * Style for left side text of the chart title\n */\n chartTitleLeft: IStyle;\n\n /**\n * Style for the legend container div\n */\n legendContainer: IStyle;\n\n /**\n * Style to change the opacity of bars in dataviz when we hover on a single bar or legends\n */\n opacityChangeOnHover: IStyle;\n\n /**\n * Style for the chart ratio numerator\n */\n ratioNumerator: IStyle;\n\n /**\n * Style for the chart ratio denominator\n */\n ratioDenominator: IStyle;\n\n /**\n * Style for the benchmark container\n */\n benchmarkContainer: IStyle;\n\n /**\n * Style for the benchmark triangle\n */\n benchmark: IStyle;\n\n /**\n * Style for the target triangle\n */\n target: IStyle;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/StackedBarChart/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './StackedBarChart';\nexport * from './MultiStackedBarChart';\nexport * from './StackedBarChart.types';\nexport * from './MultiStackedBarChart.types';\nexport * from '../../types/index';\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ITreeProps, ITreeState } from '../../index';
|
|
3
|
+
export declare class TreeChartBase extends React.Component<ITreeProps, ITreeState> {
|
|
4
|
+
private _treeData;
|
|
5
|
+
private _width;
|
|
6
|
+
private _height;
|
|
7
|
+
private _composition;
|
|
8
|
+
private _classNames;
|
|
9
|
+
private _margin;
|
|
10
|
+
private _nodeElements;
|
|
11
|
+
private _linkElements;
|
|
12
|
+
private _treeTraversal;
|
|
13
|
+
constructor(props: ITreeProps);
|
|
14
|
+
componentDidMount(): void;
|
|
15
|
+
componentDidUpdate(prevProps: ITreeProps): void;
|
|
16
|
+
createTreeChart(): void;
|
|
17
|
+
render(): JSX.Element;
|
|
18
|
+
}
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { hierarchy, tree } from 'd3-hierarchy';
|
|
4
|
+
import { classNamesFunction } from '@fluentui/react/lib/Utilities';
|
|
5
|
+
import { select, selectAll } from 'd3-selection';
|
|
6
|
+
import { FocusZone } from '@fluentui/react-focus';
|
|
7
|
+
import { max as d3Max, min as d3Min } from 'd3-array';
|
|
8
|
+
var getClassNames = classNamesFunction();
|
|
9
|
+
// Create a parent class for common tree components
|
|
10
|
+
var StandardTree = /** @class */ (function () {
|
|
11
|
+
function StandardTree(treeData, styleClassNames, _nodeElements, _linkElements) {
|
|
12
|
+
if (_nodeElements === void 0) { _nodeElements = []; }
|
|
13
|
+
if (_linkElements === void 0) { _linkElements = []; }
|
|
14
|
+
this._nodeElements = [];
|
|
15
|
+
this._linkElements = [];
|
|
16
|
+
this.treeData = treeData;
|
|
17
|
+
this.styleClassNames = styleClassNames;
|
|
18
|
+
this._nodeElements = _nodeElements;
|
|
19
|
+
this._linkElements = _linkElements;
|
|
20
|
+
}
|
|
21
|
+
StandardTree.prototype.truncateText = function (text, rectangleWidth, padding, styleClass) {
|
|
22
|
+
var truncatedText = '';
|
|
23
|
+
var words = text.split(/\s+/).reverse();
|
|
24
|
+
var word = '';
|
|
25
|
+
var tspan = select('.svgTree').append('text').attr('class', 'tempText').append('tspan').text(null);
|
|
26
|
+
if (styleClass) {
|
|
27
|
+
tspan.attr('class', styleClass);
|
|
28
|
+
}
|
|
29
|
+
var line = [];
|
|
30
|
+
while ((word = words.pop())) {
|
|
31
|
+
line.push(word);
|
|
32
|
+
tspan.text(line.join(' ') + ' ');
|
|
33
|
+
if (tspan.node() !== null) {
|
|
34
|
+
var w = tspan.node().getComputedTextLength();
|
|
35
|
+
if (w > rectangleWidth - padding) {
|
|
36
|
+
line.pop();
|
|
37
|
+
line.push('...');
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
truncatedText = line.join(' ') + ' ';
|
|
43
|
+
tspan.text(null);
|
|
44
|
+
selectAll('.tempText').remove();
|
|
45
|
+
return truncatedText;
|
|
46
|
+
};
|
|
47
|
+
// Append node elements
|
|
48
|
+
// nodeId to create unique key
|
|
49
|
+
StandardTree.prototype.addNodeShapetoSVG = function (name, subname, bodytext, metricName, xCenterCoordinate, yCoordinate, fillColor, rectangleWidth, rectangleHeight, nodeId, parentInfo) {
|
|
50
|
+
var ariaLabel = "nodeId: ".concat(nodeId, " \nnodeMainText: ").concat(name, "\nsubText ").concat(subname, " ").concat(parentInfo);
|
|
51
|
+
var xCoordinate = xCenterCoordinate - rectangleWidth / 2;
|
|
52
|
+
if (metricName || nodeId !== 0 || !bodytext) {
|
|
53
|
+
this._nodeElements.push(React.createElement("rect", { width: rectangleWidth, height: rectangleHeight, x: xCoordinate, y: yCoordinate, tabIndex: 0, role: 'text', "data-is-focusable": true, "aria-label": ariaLabel, className: this.styleClassNames.rectNode, stroke: fillColor, key: "".concat(nodeId).concat(this.styleClassNames.rectNode) }));
|
|
54
|
+
}
|
|
55
|
+
if (subname) {
|
|
56
|
+
subname = this.truncateText(subname, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectSubText);
|
|
57
|
+
}
|
|
58
|
+
if (bodytext) {
|
|
59
|
+
bodytext = this.truncateText(bodytext, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectBodyText);
|
|
60
|
+
}
|
|
61
|
+
if (metricName) {
|
|
62
|
+
metricName = this.truncateText(metricName, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectMetricText);
|
|
63
|
+
}
|
|
64
|
+
name = this.truncateText(name, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectText);
|
|
65
|
+
// Text position y = y + rectHeight/2, 2 is ratio for depth
|
|
66
|
+
// Text position x = x + rectWidth/2, 2 is ratio for length
|
|
67
|
+
// Sub-text position x = x + rectWidth/2, 2 is ratio for length
|
|
68
|
+
var subValue = metricName ? (React.createElement("tspan", { className: this.styleClassNames.rectMetricText, dy: "1.4em", x: xCoordinate + rectangleWidth / 2 }, metricName)) : bodytext ? (React.createElement(React.Fragment, null,
|
|
69
|
+
React.createElement("tspan", { className: this.styleClassNames.rectSubText, dy: "1.4em", x: xCoordinate + rectangleWidth / 2 }, subname),
|
|
70
|
+
React.createElement("tspan", { className: this.styleClassNames.rectBodyText, dy: "1.4em", x: xCoordinate + rectangleWidth / 2 }, bodytext))) : (React.createElement("tspan", { className: this.styleClassNames.rectSubText, dy: "1.4em", x: xCoordinate + rectangleWidth / 2 }, subname));
|
|
71
|
+
if (!subname && !metricName && !bodytext) {
|
|
72
|
+
this._nodeElements.push(React.createElement("text", { textAnchor: "middle", className: this.styleClassNames.rectMetricText, dy: yCoordinate + rectangleHeight / 1.6, x: xCoordinate + rectangleWidth / 2, key: "".concat(nodeId).concat(this.styleClassNames.rectText), "data-is-focusable": nodeId === 0 }, name));
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
this._nodeElements.push(React.createElement("text", { textAnchor: "middle", className: metricName ? this.styleClassNames.rectSubText : this.styleClassNames.rectText, dy: metricName ? yCoordinate + rectangleHeight / 2.5 : yCoordinate + rectangleHeight / 2, x: xCoordinate + rectangleWidth / 2, key: "".concat(nodeId).concat(this.styleClassNames.rectText), "data-is-focusable": nodeId === 0 },
|
|
76
|
+
name,
|
|
77
|
+
subValue));
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
// Create a rectangular path from parent to the child nodes
|
|
81
|
+
StandardTree.prototype.createPathLink = function (parentX, parentY, childX, childY, leaf, rectWidth, rectHeight, gap, childXMax) {
|
|
82
|
+
// gap adds ratio for parent.y to child.y
|
|
83
|
+
/*Below code is used to draw lines(___|) to show the parent child relation i.e a vertical line
|
|
84
|
+
emerging from the parent and
|
|
85
|
+
then a horzontal line encompassing all the its children which are
|
|
86
|
+
shown below it .so it gives a visual representation of tree branches.
|
|
87
|
+
|
|
88
|
+
So for making this path firstly we are moving to the childX which is the mid point of the node and then
|
|
89
|
+
we are subtracting the half of rectwidth to move the complete width of the rectangle and
|
|
90
|
+
we are subtracting gap from y cordinate as we are making this line at a little gap from node.
|
|
91
|
+
Then we are building that line horizonatlly till childXmax, again adding half rectwidth to complete
|
|
92
|
+
the line till end as childXmax will be midpoint.
|
|
93
|
+
Then last part is for making line vertical for that we move to the parentx position and
|
|
94
|
+
then draw the vertical till parenty + rectHeight + gap/2
|
|
95
|
+
We have seperate path for leaf node as we are using different composition like compact, long etc.*/
|
|
96
|
+
var path = "M".concat(childX - rectWidth / 2, ",").concat(childY - gap, " H").concat(childXMax + rectWidth / 2, " M").concat(parentX, ",").concat(childY - gap, "\n V").concat(parentY + rectHeight + gap / 2);
|
|
97
|
+
var leafpath = "M".concat(parentX, ",").concat(parentY + rectHeight + gap / 2, " V").concat(parentY + gap * 5, "\n H").concat(parentX - rectWidth / 2, " H").concat(parentX + rectWidth / 2);
|
|
98
|
+
// based on the type of node return leafpath or path element
|
|
99
|
+
return leaf ? leafpath : path;
|
|
100
|
+
};
|
|
101
|
+
// Append path link element
|
|
102
|
+
StandardTree.prototype.addLinktoSVG = function (nodeId, parentX, parentY, childX, childY, leaf, rectWidth, rectHeight, gap, childXMax) {
|
|
103
|
+
if (childXMax === void 0) { childXMax = 0; }
|
|
104
|
+
this._linkElements.push(React.createElement("path", { className: this.styleClassNames.link, d: this.createPathLink(parentX, parentY, childX, childY, leaf, rectWidth, rectHeight, gap, childXMax), key: "".concat(nodeId).concat(this.styleClassNames.link) }));
|
|
105
|
+
};
|
|
106
|
+
return StandardTree;
|
|
107
|
+
}());
|
|
108
|
+
// Create child class to Add Tree component based on treeHeight
|
|
109
|
+
var LayeredTree = /** @class */ (function (_super) {
|
|
110
|
+
__extends(LayeredTree, _super);
|
|
111
|
+
function LayeredTree(treeData, composition, styleClassNames, _nodeElements, _linkElements, _treeTraversal) {
|
|
112
|
+
if (_nodeElements === void 0) { _nodeElements = []; }
|
|
113
|
+
if (_linkElements === void 0) { _linkElements = []; }
|
|
114
|
+
var _this = _super.call(this, treeData, styleClassNames, _nodeElements, _linkElements) || this;
|
|
115
|
+
_this.composition = composition;
|
|
116
|
+
_this._treeTraversal = _treeTraversal;
|
|
117
|
+
return _this;
|
|
118
|
+
}
|
|
119
|
+
LayeredTree.prototype.createTree = function (givenLayoutWidth, screenWidth) {
|
|
120
|
+
var _a, _b, _c, _d, _e, _f;
|
|
121
|
+
givenLayoutWidth = givenLayoutWidth < 65 ? 65 : givenLayoutWidth > 90 ? 90 : givenLayoutWidth;
|
|
122
|
+
var layoutWidth = givenLayoutWidth || 75;
|
|
123
|
+
var root = hierarchy(this.treeData, function (d) {
|
|
124
|
+
return d.children;
|
|
125
|
+
});
|
|
126
|
+
// Find tree Height
|
|
127
|
+
var treeHeight = (root === null || root === void 0 ? void 0 : root.height) + 1;
|
|
128
|
+
// Create tree layout, width: layoutWidth, height: layoutWidth/1.5 and add node separation
|
|
129
|
+
var treeChart = tree()
|
|
130
|
+
.nodeSize([layoutWidth, layoutWidth / 1.5])
|
|
131
|
+
.separation(function (a, b) {
|
|
132
|
+
return a.parent === root && b.parent === root ? 3.5 : 1;
|
|
133
|
+
});
|
|
134
|
+
// Assigns the x and y position for the nodes
|
|
135
|
+
var treeData = treeChart(root);
|
|
136
|
+
// Compute the new tree layout.
|
|
137
|
+
var nodes = treeData.descendants();
|
|
138
|
+
// Normalize for fixed-depth and width
|
|
139
|
+
// Normalise y coordinate by depth of each node by a factor of 130
|
|
140
|
+
// Normalise x coordinate by start coordinate 0 with screenSize/3
|
|
141
|
+
nodes.forEach(function (d) {
|
|
142
|
+
d.y = d.depth === 0 ? 10 : d.depth * 130;
|
|
143
|
+
d.x += screenWidth / 2;
|
|
144
|
+
});
|
|
145
|
+
// <------------------ Traversal section ------------------>
|
|
146
|
+
// Create tree data structure
|
|
147
|
+
var treeDataStructure = [];
|
|
148
|
+
var TreeID = 0;
|
|
149
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
150
|
+
var createTreeDataStructure = function (d) {
|
|
151
|
+
var _a, _b;
|
|
152
|
+
d.id = TreeID;
|
|
153
|
+
treeDataStructure.push({
|
|
154
|
+
id: TreeID,
|
|
155
|
+
children: d.children,
|
|
156
|
+
dataName: d.data.name,
|
|
157
|
+
subName: d.data.subname,
|
|
158
|
+
bodyText: d.data.bodytext,
|
|
159
|
+
metricName: (_a = d.data) === null || _a === void 0 ? void 0 : _a.metric,
|
|
160
|
+
fill: d.data.fill,
|
|
161
|
+
x: d.x,
|
|
162
|
+
y: d.y,
|
|
163
|
+
parentID: (_b = d.parent) === null || _b === void 0 ? void 0 : _b.id,
|
|
164
|
+
});
|
|
165
|
+
TreeID++;
|
|
166
|
+
};
|
|
167
|
+
this._treeTraversal === 0
|
|
168
|
+
? root.each(function (d) {
|
|
169
|
+
createTreeDataStructure(d);
|
|
170
|
+
})
|
|
171
|
+
: root.eachBefore(function (d) {
|
|
172
|
+
createTreeDataStructure(d);
|
|
173
|
+
});
|
|
174
|
+
var rectWidth = layoutWidth * 3;
|
|
175
|
+
var rectHeight = rectWidth / 3.45;
|
|
176
|
+
var gap = 20;
|
|
177
|
+
var parentSet = new Set();
|
|
178
|
+
for (var _i = 0, treeDataStructure_1 = treeDataStructure; _i < treeDataStructure_1.length; _i++) {
|
|
179
|
+
var d = treeDataStructure_1[_i];
|
|
180
|
+
var parentInfo = d.id === 0
|
|
181
|
+
? 'Root Node'
|
|
182
|
+
: "Parent info parentId: ".concat(d.parentID, "\n ").concat(treeDataStructure[d.parentID].dataName, "\n ").concat(treeDataStructure[d.parentID].subName);
|
|
183
|
+
// check for leaf nodes
|
|
184
|
+
if (!d.children && !parentSet.has(d.parentID) && treeHeight === 3) {
|
|
185
|
+
var compactNodeWidth = (rectWidth - gap) / 2;
|
|
186
|
+
var compactNodeHeight = rectHeight;
|
|
187
|
+
parentSet.add(d.parentID);
|
|
188
|
+
// <------------------ Links section ------------------>
|
|
189
|
+
this.addLinktoSVG(d.id, treeDataStructure[d.parentID].x, treeDataStructure[d.parentID].y, treeDataStructure[d.id].x, treeDataStructure[d.id].y, true, rectWidth, rectHeight, gap);
|
|
190
|
+
// <------------------ Nodes section ------------------>
|
|
191
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
192
|
+
var children = (_a = treeDataStructure[d.parentID]) === null || _a === void 0 ? void 0 : _a.children;
|
|
193
|
+
var compactNodeCenterX1 = ((_b = treeDataStructure[d.parentID]) === null || _b === void 0 ? void 0 : _b.x) - compactNodeWidth / 2 - gap / 2;
|
|
194
|
+
var compactNodeCenterX2 = ((_c = treeDataStructure[d.parentID]) === null || _c === void 0 ? void 0 : _c.x) + compactNodeWidth / 2 + gap / 2;
|
|
195
|
+
var longNodeCenterX = (_d = treeDataStructure[d.parentID]) === null || _d === void 0 ? void 0 : _d.x;
|
|
196
|
+
var dy = (_e = children[0]) === null || _e === void 0 ? void 0 : _e.y;
|
|
197
|
+
for (var itr = 0; itr < children.length; ++itr) {
|
|
198
|
+
var child = children[itr];
|
|
199
|
+
// Given Composition
|
|
200
|
+
if (this.composition !== undefined) {
|
|
201
|
+
// For compact compostion
|
|
202
|
+
if (this.composition === 0) {
|
|
203
|
+
this.addNodeShapetoSVG(child.data.name, child.data.subname, child.data.bodytext, child.data.metricName,
|
|
204
|
+
// If the leaf node count is 1 ,
|
|
205
|
+
//irrespective of provided composition we should always use long composition
|
|
206
|
+
itr % 2 === 0 ? (children.length === 1 ? longNodeCenterX : compactNodeCenterX1) : compactNodeCenterX2, dy, child.data.fill, children.length === 1 ? rectWidth : compactNodeWidth, rectHeight, child.id, parentInfo);
|
|
207
|
+
if (itr % 2 === 1) {
|
|
208
|
+
dy += compactNodeHeight + gap;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
// For long compostion
|
|
212
|
+
else {
|
|
213
|
+
this.addNodeShapetoSVG(child.data.name, child.data.subname, child.data.bodytext, child.data.metricName, longNodeCenterX, dy, child.data.fill, rectWidth, rectHeight, child.id, parentInfo);
|
|
214
|
+
dy += compactNodeHeight + gap;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
// Automatic Node Composition
|
|
218
|
+
else {
|
|
219
|
+
if (children.length > 2) {
|
|
220
|
+
this.addNodeShapetoSVG(child.data.name, child.data.subname, child.data.bodytext, child.data.metricName, itr % 2 === 0 ? compactNodeCenterX1 : compactNodeCenterX2, dy, child.data.fill, children.length === 1 ? rectWidth : compactNodeWidth, rectHeight, child.id, parentInfo);
|
|
221
|
+
if (itr % 2 === 1) {
|
|
222
|
+
dy += compactNodeHeight + gap;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
this.addNodeShapetoSVG(child.data.name, child.data.subname, child.data.bodytext, child.data.metricName, longNodeCenterX, dy, child.data.fill, rectWidth, rectHeight, child.id, parentInfo);
|
|
227
|
+
dy += compactNodeHeight + gap;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
if (d.children || treeHeight <= 2) {
|
|
233
|
+
// <------------------ Nodes section ------------------>
|
|
234
|
+
// Since the height <=2 we will be using long compositon.
|
|
235
|
+
this.addNodeShapetoSVG(d.dataName, d.subName, d.bodyText, d.metricName, d.x, d.y, d.fill, rectWidth, rectHeight, d.id, parentInfo);
|
|
236
|
+
// <------------------ Links section ------------------>
|
|
237
|
+
if (d.id === 0 && d.children) {
|
|
238
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
239
|
+
var children = (_f = treeDataStructure[d.id]) === null || _f === void 0 ? void 0 : _f.children;
|
|
240
|
+
var childXMin = d3Min(children, function (child) { return child.x; });
|
|
241
|
+
var childXMax = d3Max(children, function (child) { return child.x; });
|
|
242
|
+
this.addLinktoSVG(d.id, d.x, d.y, childXMin, d.children[0].y, false, rectWidth, rectHeight, gap, childXMax);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
return LayeredTree;
|
|
248
|
+
}(StandardTree));
|
|
249
|
+
var TreeChartBase = /** @class */ (function (_super) {
|
|
250
|
+
__extends(TreeChartBase, _super);
|
|
251
|
+
function TreeChartBase(props) {
|
|
252
|
+
var _a, _b, _c, _d, _e;
|
|
253
|
+
var _this = _super.call(this, props) || this;
|
|
254
|
+
_this._nodeElements = [];
|
|
255
|
+
_this._linkElements = [];
|
|
256
|
+
_this._margin = {
|
|
257
|
+
top: ((_a = _this.props.margins) === null || _a === void 0 ? void 0 : _a.top) || 30,
|
|
258
|
+
bottom: ((_b = _this.props.margins) === null || _b === void 0 ? void 0 : _b.bottom) || 30,
|
|
259
|
+
left: ((_c = _this.props.margins) === null || _c === void 0 ? void 0 : _c.left) || 50,
|
|
260
|
+
right: ((_d = _this.props.margins) === null || _d === void 0 ? void 0 : _d.right) || 20,
|
|
261
|
+
};
|
|
262
|
+
_this._width = _this.props.width || 1500;
|
|
263
|
+
_this._height = _this.props.height || 700;
|
|
264
|
+
_this._treeData = _this.props.treeData;
|
|
265
|
+
_this._composition = (_e = _this.props) === null || _e === void 0 ? void 0 : _e.composition;
|
|
266
|
+
_this._treeTraversal = _this.props.treeTraversal;
|
|
267
|
+
_this.state = {
|
|
268
|
+
_width: _this._width,
|
|
269
|
+
_height: _this._height,
|
|
270
|
+
};
|
|
271
|
+
return _this;
|
|
272
|
+
}
|
|
273
|
+
TreeChartBase.prototype.componentDidMount = function () {
|
|
274
|
+
var _a = this.props, theme = _a.theme, className = _a.className, styles = _a.styles;
|
|
275
|
+
// Get classNames to create component styling
|
|
276
|
+
this._classNames = getClassNames(styles, {
|
|
277
|
+
theme: theme,
|
|
278
|
+
className: className,
|
|
279
|
+
});
|
|
280
|
+
// Call createTreeChart function in componentDidMount
|
|
281
|
+
this.createTreeChart();
|
|
282
|
+
this.setState({
|
|
283
|
+
_width: this.props.width || 1500,
|
|
284
|
+
_height: this.props.height || 700,
|
|
285
|
+
});
|
|
286
|
+
};
|
|
287
|
+
TreeChartBase.prototype.componentDidUpdate = function (prevProps) {
|
|
288
|
+
if (prevProps.layoutWidth !== this.props.layoutWidth) {
|
|
289
|
+
var svgText = selectAll('text');
|
|
290
|
+
var svgRect = selectAll('rect');
|
|
291
|
+
var svgLink = selectAll('path');
|
|
292
|
+
if (this._nodeElements.length === 0 && this._linkElements.length === 0) {
|
|
293
|
+
svgText.remove();
|
|
294
|
+
svgRect.remove();
|
|
295
|
+
svgLink.remove();
|
|
296
|
+
}
|
|
297
|
+
this.createTreeChart();
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
TreeChartBase.prototype.createTreeChart = function () {
|
|
301
|
+
var nodeElements = [];
|
|
302
|
+
var linkElements = [];
|
|
303
|
+
// Instantiate inherited class and call createTree function for the object
|
|
304
|
+
var treeObject = new LayeredTree(this._treeData, this._composition, this._classNames, nodeElements, linkElements, this._treeTraversal);
|
|
305
|
+
var width = this.state._width - this._margin.left - this._margin.right;
|
|
306
|
+
treeObject.createTree(this.props.layoutWidth, width);
|
|
307
|
+
this._nodeElements = nodeElements;
|
|
308
|
+
this._linkElements = linkElements;
|
|
309
|
+
};
|
|
310
|
+
TreeChartBase.prototype.render = function () {
|
|
311
|
+
var _a;
|
|
312
|
+
return (React.createElement(FocusZone, null,
|
|
313
|
+
React.createElement("div", { className: (_a = this._classNames) === null || _a === void 0 ? void 0 : _a.root },
|
|
314
|
+
React.createElement("svg", { className: "svgTree", width: this.state._width - this._margin.left - this._margin.right, height: this.state._height - this._margin.top - this._margin.bottom },
|
|
315
|
+
React.createElement("g", { className: "svgNode" }, this._nodeElements.map(function (element) { return element; })),
|
|
316
|
+
React.createElement("g", { className: "svgLink" }, this._linkElements.map(function (element) { return element; }))))));
|
|
317
|
+
};
|
|
318
|
+
return TreeChartBase;
|
|
319
|
+
}(React.Component));
|
|
320
|
+
export { TreeChartBase };
|
|
321
|
+
//# sourceMappingURL=TreeChart.base.js.map
|