@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,4557 @@
|
|
|
1
|
+
import { FocusZoneDirection } from '@fluentui/react-focus';
|
|
2
|
+
import { ICalloutContentStyleProps } from '@fluentui/react/lib/Callout';
|
|
3
|
+
import { ICalloutContentStyles } from '@fluentui/react/lib/Callout';
|
|
4
|
+
import { ICalloutProps } from '@fluentui/react/lib/Callout';
|
|
5
|
+
import { IFocusZoneProps } from '@fluentui/react-focus';
|
|
6
|
+
import { IHoverCardStyleProps } from '@fluentui/react/lib/HoverCard';
|
|
7
|
+
import { IHoverCardStyles } from '@fluentui/react/lib/HoverCard';
|
|
8
|
+
import { IOverflowSetProps } from '@fluentui/react/lib/OverflowSet';
|
|
9
|
+
import { IRefObject } from '@fluentui/react/lib/Utilities';
|
|
10
|
+
import { IRenderFunction } from '@fluentui/react/lib/Utilities';
|
|
11
|
+
import { IStyle } from '@fluentui/react/lib/Styling';
|
|
12
|
+
import { IStyle as IStyle_2 } from '@fluentui/react';
|
|
13
|
+
import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
|
|
14
|
+
import { IStyleFunctionOrObject as IStyleFunctionOrObject_2 } from '@fluentui/react';
|
|
15
|
+
import { ITheme } from '@fluentui/react/lib/Styling';
|
|
16
|
+
import { ITheme as ITheme_2 } from '@fluentui/react';
|
|
17
|
+
import * as React_2 from 'react';
|
|
18
|
+
import { SankeyLink } from 'd3-sankey';
|
|
19
|
+
import { SankeyNode } from 'd3-sankey';
|
|
20
|
+
import { ScaleBand } from 'd3-scale';
|
|
21
|
+
import { ScaleLinear } from 'd3-scale';
|
|
22
|
+
import { TimeLocaleDefinition } from 'd3-time-format';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Areachart component.
|
|
26
|
+
* {@docCategory AreaChart}
|
|
27
|
+
*/
|
|
28
|
+
export declare const AreaChart: React_2.FunctionComponent<IAreaChartProps>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Cartesian Chart component
|
|
32
|
+
* {@docCategory CartesianChart}
|
|
33
|
+
*/
|
|
34
|
+
export declare const CartesianChart: React_2.FunctionComponent<IModifiedCartesianChartProps>;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Chart data mode for chart data text
|
|
38
|
+
* default: show the datapoint.x value
|
|
39
|
+
* fraction: show the fraction of datapoint.x/datapoint.y
|
|
40
|
+
* percentage: show the percentage of (datapoint.x/datapoint.y)%
|
|
41
|
+
* {@docCategory HorizontalBarChart}
|
|
42
|
+
*/
|
|
43
|
+
export declare type ChartDataMode = 'default' | 'fraction' | 'percentage';
|
|
44
|
+
|
|
45
|
+
export declare const ChartHoverCard: React_2.FunctionComponent<IChartHoverCardProps>;
|
|
46
|
+
|
|
47
|
+
declare enum ChartTypes {
|
|
48
|
+
AreaChart = 0,
|
|
49
|
+
LineChart = 1,
|
|
50
|
+
VerticalBarChart = 2,
|
|
51
|
+
VerticalStackedBarChart = 3,
|
|
52
|
+
GroupedVerticalBarChart = 4,
|
|
53
|
+
HeatMapChart = 5,
|
|
54
|
+
HorizontalBarChartWithAxis = 6
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare enum CustomPoints {
|
|
58
|
+
dottedLine = 0
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export declare const DataVizGradientPalette: {
|
|
62
|
+
gradient1: string;
|
|
63
|
+
gradient2: string;
|
|
64
|
+
gradient3: string;
|
|
65
|
+
gradient4: string;
|
|
66
|
+
gradient5: string;
|
|
67
|
+
gradient6: string;
|
|
68
|
+
gradient7: string;
|
|
69
|
+
gradient8: string;
|
|
70
|
+
gradient9: string;
|
|
71
|
+
gradient10: string;
|
|
72
|
+
gradient1Ext: string;
|
|
73
|
+
gradient2Ext: string;
|
|
74
|
+
gradient3Ext: string;
|
|
75
|
+
gradient4Ext: string;
|
|
76
|
+
gradient5Ext: string;
|
|
77
|
+
gradient6Ext: string;
|
|
78
|
+
gradient7Ext: string;
|
|
79
|
+
gradient8Ext: string;
|
|
80
|
+
gradient9Ext: string;
|
|
81
|
+
gradient10Ext: string;
|
|
82
|
+
success: string;
|
|
83
|
+
highSuccess: string;
|
|
84
|
+
warning: string;
|
|
85
|
+
error: string;
|
|
86
|
+
highError: string;
|
|
87
|
+
disabled: string;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export declare const DataVizPalette: {
|
|
91
|
+
color1: string;
|
|
92
|
+
color2: string;
|
|
93
|
+
color3: string;
|
|
94
|
+
color4: string;
|
|
95
|
+
color5: string;
|
|
96
|
+
color6: string;
|
|
97
|
+
color7: string;
|
|
98
|
+
color8: string;
|
|
99
|
+
color9: string;
|
|
100
|
+
color10: string;
|
|
101
|
+
color11: string;
|
|
102
|
+
color12: string;
|
|
103
|
+
color13: string;
|
|
104
|
+
color14: string;
|
|
105
|
+
color15: string;
|
|
106
|
+
color16: string;
|
|
107
|
+
color17: string;
|
|
108
|
+
color18: string;
|
|
109
|
+
color19: string;
|
|
110
|
+
color20: string;
|
|
111
|
+
color21: string;
|
|
112
|
+
color22: string;
|
|
113
|
+
color23: string;
|
|
114
|
+
color24: string;
|
|
115
|
+
color25: string;
|
|
116
|
+
color26: string;
|
|
117
|
+
color27: string;
|
|
118
|
+
color28: string;
|
|
119
|
+
color29: string;
|
|
120
|
+
color30: string;
|
|
121
|
+
color31: string;
|
|
122
|
+
color32: string;
|
|
123
|
+
color33: string;
|
|
124
|
+
color34: string;
|
|
125
|
+
color35: string;
|
|
126
|
+
color36: string;
|
|
127
|
+
color37: string;
|
|
128
|
+
color38: string;
|
|
129
|
+
color39: string;
|
|
130
|
+
color40: string;
|
|
131
|
+
info: string;
|
|
132
|
+
disabled: string;
|
|
133
|
+
highError: string;
|
|
134
|
+
error: string;
|
|
135
|
+
warning: string;
|
|
136
|
+
success: string;
|
|
137
|
+
highSuccess: string;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* DeclarativeChart component.
|
|
142
|
+
* {@docCategory DeclarativeChart}
|
|
143
|
+
*/
|
|
144
|
+
export declare const DeclarativeChart: React_2.FunctionComponent<DeclarativeChartProps>;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* DeclarativeChart props.
|
|
148
|
+
* {@docCategory DeclarativeChart}
|
|
149
|
+
*/
|
|
150
|
+
export declare interface DeclarativeChartProps extends React_2.RefAttributes<HTMLDivElement> {
|
|
151
|
+
/**
|
|
152
|
+
* The schema representing the chart data, layout and configuration
|
|
153
|
+
*/
|
|
154
|
+
chartSchema: Schema;
|
|
155
|
+
/**
|
|
156
|
+
* Callback when an event occurs
|
|
157
|
+
*/
|
|
158
|
+
onSchemaChange?: (eventData: Schema) => void;
|
|
159
|
+
/**
|
|
160
|
+
* Optional callback to access the IDeclarativeChart interface. Use this instead of ref for accessing
|
|
161
|
+
* the public methods and properties of the component.
|
|
162
|
+
*/
|
|
163
|
+
componentRef?: IRefObject<IDeclarativeChart>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Donutchart component.
|
|
168
|
+
* {@docCategory DonutChart}
|
|
169
|
+
*/
|
|
170
|
+
export declare const DonutChart: React_2.FunctionComponent<IDonutChartProps>;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Gaugechart component.
|
|
174
|
+
* {@docCategory GaugeChart}
|
|
175
|
+
*/
|
|
176
|
+
export declare const GaugeChart: React_2.FunctionComponent<IGaugeChartProps>;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* {@docCategory GaugeChart}
|
|
180
|
+
*/
|
|
181
|
+
export declare enum GaugeChartVariant {
|
|
182
|
+
SingleSegment = "single-segment",
|
|
183
|
+
MultipleSegments = "multiple-segments"
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* {@docCategory GaugeChart}
|
|
188
|
+
*/
|
|
189
|
+
export declare enum GaugeValueFormat {
|
|
190
|
+
Percentage = "percentage",
|
|
191
|
+
Fraction = "fraction"
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export declare const getChartHoverCardStyles: (props: IChartHoverCardStyleProps) => IChartHoverCardStyles;
|
|
195
|
+
|
|
196
|
+
export declare const getColorFromToken: (token: string, isDarkTheme?: boolean) => string;
|
|
197
|
+
|
|
198
|
+
export declare const getGradientFromToken: (token: string, isDarkTheme?: boolean) => [string, string];
|
|
199
|
+
|
|
200
|
+
export declare const getNextColor: (index: number, offset?: number, isDarkTheme?: boolean) => string;
|
|
201
|
+
|
|
202
|
+
export declare const getNextGradient: (index: number, offset?: number, isDarkTheme?: boolean) => [string, string];
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* GroupedVerticalBarchart component.
|
|
206
|
+
* {@docCategory GroupedVerticalBarChart}
|
|
207
|
+
*/
|
|
208
|
+
export declare const GroupedVerticalBarChart: React_2.FunctionComponent<IGroupedVerticalBarChartProps>;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* HeatMapchart component.
|
|
212
|
+
* {@docCategory HeatMapChart}
|
|
213
|
+
*/
|
|
214
|
+
export declare const HeatMapChart: React_2.FunctionComponent<IHeatMapChartProps>;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* HorizontalBarchart component.
|
|
218
|
+
* {@docCategory HorizontalBarChart}
|
|
219
|
+
*/
|
|
220
|
+
export declare const HorizontalBarChart: React_2.FunctionComponent<IHorizontalBarChartProps>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* {@docCategory HorizontalBarChart}
|
|
224
|
+
*/
|
|
225
|
+
export declare enum HorizontalBarChartVariant {
|
|
226
|
+
PartToWhole = "part-to-whole",
|
|
227
|
+
AbsoluteScale = "absolute-scale"
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* HorizontalBarchartWithAxis component.
|
|
232
|
+
* {@docCategory HorizontalBarChartWithAxis}
|
|
233
|
+
*/
|
|
234
|
+
export declare const HorizontalBarChartWithAxis: React_2.FunctionComponent<IHorizontalBarChartWithAxisProps>;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* {@docCategory IChartProps}
|
|
238
|
+
*/
|
|
239
|
+
export declare interface IAccessibilityProps {
|
|
240
|
+
/**
|
|
241
|
+
* Accessibility aria-label
|
|
242
|
+
*/
|
|
243
|
+
ariaLabel?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Accessibility aria-labelledBy
|
|
246
|
+
*/
|
|
247
|
+
ariaLabelledBy?: string;
|
|
248
|
+
/**
|
|
249
|
+
* Accessibility aria-describedBy
|
|
250
|
+
*/
|
|
251
|
+
ariaDescribedBy?: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Area Chart properties.
|
|
256
|
+
* {@docCategory AreaChart}
|
|
257
|
+
*/
|
|
258
|
+
export declare interface IAreaChartProps extends ICartesianChartProps {
|
|
259
|
+
/**
|
|
260
|
+
* Data to render in the chart.
|
|
261
|
+
*/
|
|
262
|
+
data: IChartProps;
|
|
263
|
+
/**
|
|
264
|
+
* This prop is used to draw Y axis grid lines on the chart. Default value will be false
|
|
265
|
+
* @deprecated now lines are shown by default
|
|
266
|
+
* no need to use this prop
|
|
267
|
+
*/
|
|
268
|
+
showYAxisGridLines?: boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
271
|
+
*/
|
|
272
|
+
styles?: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;
|
|
273
|
+
/**
|
|
274
|
+
* Define a custom callout renderer for a data point
|
|
275
|
+
*/
|
|
276
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;
|
|
277
|
+
/**
|
|
278
|
+
* Define a custom callout renderer for a stack; default is to render per data point
|
|
279
|
+
*/
|
|
280
|
+
onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;
|
|
281
|
+
/**
|
|
282
|
+
* The prop used to define the culture to localized the numbers
|
|
283
|
+
*/
|
|
284
|
+
culture?: string;
|
|
285
|
+
/**
|
|
286
|
+
* @default false
|
|
287
|
+
* The prop used to enable the perf optimization
|
|
288
|
+
*/
|
|
289
|
+
enablePerfOptimization?: boolean;
|
|
290
|
+
optimizeLargeData?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* @default false
|
|
293
|
+
* The prop used to enable gradient fill color for the chart.
|
|
294
|
+
*/
|
|
295
|
+
enableGradient?: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* @default tonexty
|
|
298
|
+
* The prop used to define the Y axis mode (tonexty or tozeroy)
|
|
299
|
+
*/
|
|
300
|
+
mode?: 'tozeroy' | 'tonexty';
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Area Chart style properties
|
|
305
|
+
* {@docCategory AreaChart}
|
|
306
|
+
*/
|
|
307
|
+
export declare interface IAreaChartStyleProps extends ICartesianChartStyleProps {
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Area Chart styles
|
|
312
|
+
* {@docCategory AreaChart}
|
|
313
|
+
*/
|
|
314
|
+
export declare interface IAreaChartStyles extends ICartesianChartStyles {
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
declare interface IAxisData {
|
|
318
|
+
yAxisDomainValues: number[];
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export declare interface IBasestate {
|
|
322
|
+
_width?: number;
|
|
323
|
+
_height?: number;
|
|
324
|
+
activeLegend?: string;
|
|
325
|
+
color?: string;
|
|
326
|
+
dataForHoverCard?: number;
|
|
327
|
+
isCalloutVisible: boolean;
|
|
328
|
+
isLegendSelected?: boolean;
|
|
329
|
+
isLegendHovered?: boolean;
|
|
330
|
+
refSelected?: any;
|
|
331
|
+
YValueHover?: {
|
|
332
|
+
legend?: string;
|
|
333
|
+
y?: number;
|
|
334
|
+
color?: string;
|
|
335
|
+
}[];
|
|
336
|
+
hoverYValue?: string | number | null;
|
|
337
|
+
hoverXValue?: string | number | null;
|
|
338
|
+
xCalloutValue?: string;
|
|
339
|
+
yCalloutValue?: string;
|
|
340
|
+
lineColor?: string;
|
|
341
|
+
hoveredLineColor?: string;
|
|
342
|
+
selectedLegend?: string;
|
|
343
|
+
containerWidth?: number;
|
|
344
|
+
containerHeight?: number;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Cartesian Chart properties
|
|
349
|
+
* {@docCategory CartesianChart}
|
|
350
|
+
*/
|
|
351
|
+
export declare interface ICartesianChartProps {
|
|
352
|
+
/**
|
|
353
|
+
* Below height used for resizing of the chart
|
|
354
|
+
* Wrap chart in your container and send the updated height and width to these props.
|
|
355
|
+
* These values decide wheather chart re render or not. Please check examples for reference
|
|
356
|
+
*/
|
|
357
|
+
height?: number;
|
|
358
|
+
/**
|
|
359
|
+
* Below width used for resizing of the chart
|
|
360
|
+
* Wrap chart in your container and send the updated height and width to these props.
|
|
361
|
+
* These values decide wheather chart re render or not. Please check examples for reference
|
|
362
|
+
*/
|
|
363
|
+
width?: number;
|
|
364
|
+
/**
|
|
365
|
+
* this prop takes its parent as a HTML element to define the width and height of the chart
|
|
366
|
+
*/
|
|
367
|
+
parentRef?: HTMLElement | null;
|
|
368
|
+
/**
|
|
369
|
+
* Additional CSS class(es) to apply to the Chart.
|
|
370
|
+
*/
|
|
371
|
+
className?: string;
|
|
372
|
+
/**
|
|
373
|
+
* Theme (provided through customization.)
|
|
374
|
+
*/
|
|
375
|
+
theme?: ITheme;
|
|
376
|
+
/**
|
|
377
|
+
* Margins for the chart
|
|
378
|
+
* @default `{ top: 20, bottom: 35, left: 40, right: 20 }`
|
|
379
|
+
* To avoid edge cuttings to the chart, we recommend you use default values or greater then default values
|
|
380
|
+
*/
|
|
381
|
+
margins?: IMargins;
|
|
382
|
+
/** decides wether to show/hide legends
|
|
383
|
+
* @defaultvalue false
|
|
384
|
+
*/
|
|
385
|
+
hideLegend?: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Do not show tooltips in chart
|
|
388
|
+
* @default false
|
|
389
|
+
*/
|
|
390
|
+
hideTooltip?: boolean;
|
|
391
|
+
/**
|
|
392
|
+
* this prop takes values that you want the chart to render on x-axis
|
|
393
|
+
* This is a optional parameter if not specified D3 will decide which values appear on the x-axis for you
|
|
394
|
+
* Please look at https://github.com/d3/d3-scale for more information on how D3 decides what data to appear on the axis of chart
|
|
395
|
+
*/
|
|
396
|
+
tickValues?: number[] | Date[] | string[];
|
|
397
|
+
/**
|
|
398
|
+
* the format for the data on x-axis. For date object this can be specified to your requirement. Eg: '%m/%d', '%d'
|
|
399
|
+
* Please look at https://github.com/d3/d3-time-format for all the formats supported for date axis
|
|
400
|
+
* Only applicable for date axis. For y-axis format use yAxisTickFormat prop.
|
|
401
|
+
*/
|
|
402
|
+
tickFormat?: string;
|
|
403
|
+
/**
|
|
404
|
+
* Width of line stroke
|
|
405
|
+
*/
|
|
406
|
+
strokeWidth?: number;
|
|
407
|
+
/**
|
|
408
|
+
* x Axis labels tick padding. This defines the gap between tick labels and tick lines.
|
|
409
|
+
* @default 10
|
|
410
|
+
*/
|
|
411
|
+
xAxisTickPadding?: number;
|
|
412
|
+
/**
|
|
413
|
+
* the format in for the data on y-axis. For data object this can be specified to your requirement.
|
|
414
|
+
* Eg: d3.format(".0%")(0.123),d3.format("+20")(42);
|
|
415
|
+
* Please look at https://github.com/d3/d3-format for all the formats supported
|
|
416
|
+
*/
|
|
417
|
+
yAxisTickFormat?: any;
|
|
418
|
+
/**
|
|
419
|
+
* Secondary y-scale options
|
|
420
|
+
* By default this is not defined, meaning there will be no secondary y-scale.
|
|
421
|
+
*/
|
|
422
|
+
secondaryYScaleOptions?: {
|
|
423
|
+
/** Minimum value (0 by default) */
|
|
424
|
+
yMinValue?: number;
|
|
425
|
+
/** Maximum value (100 by default) */
|
|
426
|
+
yMaxValue?: number;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* minimum data value point in y-axis
|
|
430
|
+
*/
|
|
431
|
+
yMinValue?: number;
|
|
432
|
+
/**
|
|
433
|
+
* maximum data value point in y-axis
|
|
434
|
+
*/
|
|
435
|
+
yMaxValue?: number;
|
|
436
|
+
/**
|
|
437
|
+
* maximum data value point in x-axis
|
|
438
|
+
*/
|
|
439
|
+
xMaxValue?: number;
|
|
440
|
+
/**
|
|
441
|
+
* Number of ticks on the y-axis.
|
|
442
|
+
* Tick count should be factor of difference between (yMinValue, yMaxValue)?
|
|
443
|
+
* @default 4
|
|
444
|
+
*/
|
|
445
|
+
yAxisTickCount?: number;
|
|
446
|
+
/**
|
|
447
|
+
* defines the number of ticks on the x-axis. Tries to match the nearest interval satisfying the count.
|
|
448
|
+
* Does not work for string axis.
|
|
449
|
+
* @default 6
|
|
450
|
+
*/
|
|
451
|
+
xAxisTickCount?: number;
|
|
452
|
+
/**
|
|
453
|
+
* define the size of the tick lines on the x-axis
|
|
454
|
+
* @default 10
|
|
455
|
+
*/
|
|
456
|
+
xAxistickSize?: number;
|
|
457
|
+
/**
|
|
458
|
+
* defines the space between the tick line and the data label
|
|
459
|
+
* @default 10
|
|
460
|
+
*/
|
|
461
|
+
tickPadding?: number;
|
|
462
|
+
/**
|
|
463
|
+
* Url that the data-viz needs to redirect to upon clicking on it
|
|
464
|
+
*/
|
|
465
|
+
href?: string;
|
|
466
|
+
/**
|
|
467
|
+
* Label to apply to the whole chart.
|
|
468
|
+
* @deprecated - Use your chart label for the chart.
|
|
469
|
+
*/
|
|
470
|
+
chartLabel?: string;
|
|
471
|
+
/**
|
|
472
|
+
* overflow props for the legends
|
|
473
|
+
*/
|
|
474
|
+
legendsOverflowProps?: Partial<IOverflowSetProps>;
|
|
475
|
+
legendsOverflowText?: any;
|
|
476
|
+
/**
|
|
477
|
+
* focus zone props in hover card for legends
|
|
478
|
+
*/
|
|
479
|
+
focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;
|
|
480
|
+
/**
|
|
481
|
+
* Enable the legends to wrap lines if there is not enough space to show all legends on a single line
|
|
482
|
+
*/
|
|
483
|
+
enabledLegendsWrapLines?: boolean;
|
|
484
|
+
legendProps?: Partial<ILegendsProps>;
|
|
485
|
+
/**
|
|
486
|
+
*@default false
|
|
487
|
+
*Used for to elipse x axis labes and show tooltip on x axis labels
|
|
488
|
+
*/
|
|
489
|
+
showXAxisLablesTooltip?: boolean;
|
|
490
|
+
/**
|
|
491
|
+
* @default 4
|
|
492
|
+
* Used for X axis labels
|
|
493
|
+
* While Giving showXAxisLablesTooltip prop, need to define after how many chars, we need to truncate the word.
|
|
494
|
+
*/
|
|
495
|
+
noOfCharsToTruncate?: number;
|
|
496
|
+
/**
|
|
497
|
+
* @default false
|
|
498
|
+
* Used to wrap x axis labels values (whole value)
|
|
499
|
+
*/
|
|
500
|
+
wrapXAxisLables?: boolean;
|
|
501
|
+
/**
|
|
502
|
+
* @default false
|
|
503
|
+
* Used to rotate x axis labels by 45 degrees
|
|
504
|
+
*/
|
|
505
|
+
rotateXAxisLables?: boolean;
|
|
506
|
+
/**
|
|
507
|
+
* The prop used to define the date time localization options
|
|
508
|
+
*/
|
|
509
|
+
dateLocalizeOptions?: Intl.DateTimeFormatOptions;
|
|
510
|
+
/**
|
|
511
|
+
* The prop used to define a custom locale for the date time format.
|
|
512
|
+
*/
|
|
513
|
+
timeFormatLocale?: TimeLocaleDefinition;
|
|
514
|
+
/**
|
|
515
|
+
* The prop used to define a custom datetime formatter for date axis.
|
|
516
|
+
*/
|
|
517
|
+
customDateTimeFormatter?: (dateTime: Date) => string;
|
|
518
|
+
/**
|
|
519
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
520
|
+
*/
|
|
521
|
+
styles?: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;
|
|
522
|
+
/**
|
|
523
|
+
* Callout customization props
|
|
524
|
+
*/
|
|
525
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
526
|
+
/**
|
|
527
|
+
* props for the svg; use this to include aria-* or other attributes on the tag
|
|
528
|
+
*/
|
|
529
|
+
svgProps?: React_2.SVGProps<SVGSVGElement>;
|
|
530
|
+
/**
|
|
531
|
+
* Prop to disable shrinking of the chart beyond a certain limit and enable scrolling when the chart overflows
|
|
532
|
+
* @default True for LineChart but False for other charts
|
|
533
|
+
*/
|
|
534
|
+
enableReflow?: boolean;
|
|
535
|
+
/**
|
|
536
|
+
* Prop to set the x axis title
|
|
537
|
+
* @default undefined
|
|
538
|
+
* Minimum bottom margin required for x axis title is 55px
|
|
539
|
+
*/
|
|
540
|
+
xAxisTitle?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Prop to set the y axis title
|
|
543
|
+
* @default undefined
|
|
544
|
+
* Minimum left margin required for y axis title is 60px and for RTL is 40px
|
|
545
|
+
* Minimum right margin required for y axis title is 40px and for RTL is 60px
|
|
546
|
+
*/
|
|
547
|
+
yAxisTitle?: string;
|
|
548
|
+
/**
|
|
549
|
+
* Prop to set the secondary y axis title
|
|
550
|
+
* @default undefined
|
|
551
|
+
* If RTL is enabled, minimum left and right margins required for secondary y axis title is 60px
|
|
552
|
+
*/
|
|
553
|
+
secondaryYAxistitle?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Whether to use UTC time for axis scale, ticks, and the time display in callouts.
|
|
556
|
+
* When set to `true`, time is displayed equally, regardless of the user's timezone settings.
|
|
557
|
+
* @default true
|
|
558
|
+
*/
|
|
559
|
+
useUTC?: boolean;
|
|
560
|
+
/**
|
|
561
|
+
* @default false
|
|
562
|
+
* Used for enabling negative values in Y axis.
|
|
563
|
+
*/
|
|
564
|
+
supportNegativeData?: boolean;
|
|
565
|
+
/**
|
|
566
|
+
* @default false
|
|
567
|
+
* The prop used to decide rounded ticks on y axis
|
|
568
|
+
*/
|
|
569
|
+
roundedTicks?: boolean;
|
|
570
|
+
/**
|
|
571
|
+
* Optional callback to access the IChart interface. Use this instead of ref for accessing
|
|
572
|
+
* the public methods and properties of the component.
|
|
573
|
+
*/
|
|
574
|
+
componentRef?: IRefObject<IChart>;
|
|
575
|
+
/**
|
|
576
|
+
* Determines whether overlapping x-axis tick labels should be hidden.
|
|
577
|
+
* @default false
|
|
578
|
+
*/
|
|
579
|
+
hideTickOverlap?: boolean;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Cartesian Chart style properties
|
|
584
|
+
* {@docCategory CartesianChart}
|
|
585
|
+
*/
|
|
586
|
+
export declare interface ICartesianChartStyleProps {
|
|
587
|
+
/**
|
|
588
|
+
* Theme (provided through customization.)
|
|
589
|
+
*/
|
|
590
|
+
theme: ITheme;
|
|
591
|
+
/**
|
|
592
|
+
* Additional CSS class(es) to apply to the Chart.
|
|
593
|
+
*/
|
|
594
|
+
className?: string;
|
|
595
|
+
/**
|
|
596
|
+
* Width of the chart.
|
|
597
|
+
*/
|
|
598
|
+
width?: number;
|
|
599
|
+
/**
|
|
600
|
+
* Height of the chart.
|
|
601
|
+
*/
|
|
602
|
+
height?: number;
|
|
603
|
+
/**
|
|
604
|
+
* Color of the chart.
|
|
605
|
+
*/
|
|
606
|
+
color?: string;
|
|
607
|
+
/**
|
|
608
|
+
* Link to redirect if click action for graph
|
|
609
|
+
*/
|
|
610
|
+
href?: string;
|
|
611
|
+
/**
|
|
612
|
+
* prop to check if the chart is selected or hovered upon to determine opacity
|
|
613
|
+
*/
|
|
614
|
+
shouldHighlight?: boolean;
|
|
615
|
+
/**
|
|
616
|
+
* prop to check if the Page is in Rtl
|
|
617
|
+
*/
|
|
618
|
+
isRtl?: boolean;
|
|
619
|
+
/**
|
|
620
|
+
* color of the line
|
|
621
|
+
*/
|
|
622
|
+
lineColor?: string;
|
|
623
|
+
/**
|
|
624
|
+
* boolean flag which determines if shape is drawn in callout
|
|
625
|
+
*/
|
|
626
|
+
toDrawShape?: boolean;
|
|
627
|
+
/**
|
|
628
|
+
* Prop to disable shrinking of the chart beyond a certain limit and enable scrolling when the chart overflows
|
|
629
|
+
*/
|
|
630
|
+
enableReflow?: boolean;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Cartesian Chart styles
|
|
635
|
+
* {@docCategory CartesianChart}
|
|
636
|
+
*/
|
|
637
|
+
export declare interface ICartesianChartStyles {
|
|
638
|
+
/**
|
|
639
|
+
* Style for the root element.
|
|
640
|
+
*/
|
|
641
|
+
root?: IStyle;
|
|
642
|
+
/**
|
|
643
|
+
* Style for the element containing the x-axis.
|
|
644
|
+
*/
|
|
645
|
+
xAxis?: IStyle;
|
|
646
|
+
/**
|
|
647
|
+
* Style for the element containing the y-axis.
|
|
648
|
+
*/
|
|
649
|
+
yAxis?: IStyle;
|
|
650
|
+
/**
|
|
651
|
+
* Style for legend container
|
|
652
|
+
*/
|
|
653
|
+
legendContainer?: IStyle;
|
|
654
|
+
/**
|
|
655
|
+
* line hover box css
|
|
656
|
+
*/
|
|
657
|
+
hover?: IStyle;
|
|
658
|
+
/**
|
|
659
|
+
* styles for callout root-content
|
|
660
|
+
*/
|
|
661
|
+
calloutContentRoot?: IStyle;
|
|
662
|
+
/**
|
|
663
|
+
* styles for callout x-content
|
|
664
|
+
*/
|
|
665
|
+
calloutContentX?: IStyle;
|
|
666
|
+
/**
|
|
667
|
+
* styles for callout y-content
|
|
668
|
+
*/
|
|
669
|
+
calloutContentY?: IStyle;
|
|
670
|
+
/**
|
|
671
|
+
* styles for description message
|
|
672
|
+
*/
|
|
673
|
+
descriptionMessage?: IStyle;
|
|
674
|
+
/**
|
|
675
|
+
* styles for callout Date time container
|
|
676
|
+
*/
|
|
677
|
+
calloutDateTimeContainer?: IStyle;
|
|
678
|
+
/**
|
|
679
|
+
* styles for callout info container
|
|
680
|
+
*/
|
|
681
|
+
calloutInfoContainer?: IStyle;
|
|
682
|
+
/**
|
|
683
|
+
* styles for callout block container
|
|
684
|
+
*/
|
|
685
|
+
calloutBlockContainer?: IStyle;
|
|
686
|
+
/**
|
|
687
|
+
* styles for callout legend text
|
|
688
|
+
*/
|
|
689
|
+
calloutlegendText?: IStyle;
|
|
690
|
+
/**
|
|
691
|
+
* styles for tooltip
|
|
692
|
+
*/
|
|
693
|
+
tooltip?: IStyle;
|
|
694
|
+
/**
|
|
695
|
+
* styles for tooltip
|
|
696
|
+
*/
|
|
697
|
+
axisTitle?: IStyle;
|
|
698
|
+
/**
|
|
699
|
+
* Style for the chart Title.
|
|
700
|
+
*/
|
|
701
|
+
chartTitle?: IStyle;
|
|
702
|
+
/**
|
|
703
|
+
* Style to change the opacity of bars in dataviz when we hover on a single bar or legends
|
|
704
|
+
*/
|
|
705
|
+
opacityChangeOnHover?: IStyle;
|
|
706
|
+
/**
|
|
707
|
+
* styles for the shape object in the callout
|
|
708
|
+
*/
|
|
709
|
+
shapeStyles?: IStyle;
|
|
710
|
+
/**
|
|
711
|
+
* Styles for the chart wrapper div
|
|
712
|
+
*/
|
|
713
|
+
chartWrapper?: IStyle;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* {@docCategory Chart}
|
|
718
|
+
*/
|
|
719
|
+
export declare interface IChart {
|
|
720
|
+
chartContainer: HTMLElement | null;
|
|
721
|
+
toImage?: (opts?: IImageExportOptions) => Promise<string>;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* {@docCategory IChartData}
|
|
726
|
+
*/
|
|
727
|
+
export declare interface IChartDataPoint {
|
|
728
|
+
/**
|
|
729
|
+
* Legend text for the datapoint in the chart
|
|
730
|
+
*/
|
|
731
|
+
legend?: string;
|
|
732
|
+
/**
|
|
733
|
+
* data the datapoint in the chart
|
|
734
|
+
*/
|
|
735
|
+
data?: number;
|
|
736
|
+
/**
|
|
737
|
+
* data the datapoint in the chart
|
|
738
|
+
*/
|
|
739
|
+
horizontalBarChartdata?: IHorizontalDataPoint;
|
|
740
|
+
/**
|
|
741
|
+
* onClick action for each datapoint in the chart
|
|
742
|
+
*/
|
|
743
|
+
onClick?: VoidFunction;
|
|
744
|
+
/**
|
|
745
|
+
* Color for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
746
|
+
*/
|
|
747
|
+
color?: string;
|
|
748
|
+
/**
|
|
749
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
750
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
751
|
+
*/
|
|
752
|
+
gradient?: [string, string];
|
|
753
|
+
/**
|
|
754
|
+
* placeholder data point
|
|
755
|
+
*/
|
|
756
|
+
placeHolder?: boolean;
|
|
757
|
+
/**
|
|
758
|
+
* Callout data for x axis
|
|
759
|
+
* This is an optional prop, If haven;t given legend will take
|
|
760
|
+
*/
|
|
761
|
+
xAxisCalloutData?: string;
|
|
762
|
+
/**
|
|
763
|
+
* Callout data for y axis
|
|
764
|
+
* This is an optional prop, If haven't given data will take
|
|
765
|
+
*/
|
|
766
|
+
yAxisCalloutData?: string;
|
|
767
|
+
/**
|
|
768
|
+
* Accessibility data for callout
|
|
769
|
+
*/
|
|
770
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
export declare interface IChartHoverCardProps {
|
|
774
|
+
/**
|
|
775
|
+
* X value for hover card
|
|
776
|
+
*/
|
|
777
|
+
XValue?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Y value for hover card
|
|
780
|
+
*/
|
|
781
|
+
YValue?: string | number | Date;
|
|
782
|
+
/**
|
|
783
|
+
* Legend value for hover card
|
|
784
|
+
*/
|
|
785
|
+
Legend?: string | number | Date;
|
|
786
|
+
/**
|
|
787
|
+
* color for hover card
|
|
788
|
+
*/
|
|
789
|
+
color?: string;
|
|
790
|
+
/**
|
|
791
|
+
* ratio to show
|
|
792
|
+
* first number is numerator
|
|
793
|
+
* and second number is denominator
|
|
794
|
+
*/
|
|
795
|
+
ratio?: [number, number];
|
|
796
|
+
/**
|
|
797
|
+
* Theme (provided through customization.)
|
|
798
|
+
*/
|
|
799
|
+
theme?: ITheme_2;
|
|
800
|
+
/**
|
|
801
|
+
* description message in the callout
|
|
802
|
+
*/
|
|
803
|
+
descriptionMessage?: string;
|
|
804
|
+
/**
|
|
805
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
806
|
+
*/
|
|
807
|
+
styles?: IStyleFunctionOrObject_2<IChartHoverCardStyleProps, IChartHoverCardStyles>;
|
|
808
|
+
/**
|
|
809
|
+
* The prop used to define the culture to localized the numbers
|
|
810
|
+
*/
|
|
811
|
+
culture?: string;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
export declare interface IChartHoverCardStyleProps {
|
|
815
|
+
/**
|
|
816
|
+
* Theme (provided through customization.)
|
|
817
|
+
*/
|
|
818
|
+
theme: ITheme_2;
|
|
819
|
+
/**
|
|
820
|
+
* color for hover card
|
|
821
|
+
*/
|
|
822
|
+
color?: string;
|
|
823
|
+
/**
|
|
824
|
+
* X value for hover card
|
|
825
|
+
*/
|
|
826
|
+
XValue?: string;
|
|
827
|
+
/**
|
|
828
|
+
* indicate if denomination is present
|
|
829
|
+
*/
|
|
830
|
+
isRatioPresent?: boolean;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export declare interface IChartHoverCardStyles {
|
|
834
|
+
/**
|
|
835
|
+
* styles for callout root-content
|
|
836
|
+
*/
|
|
837
|
+
calloutContentRoot?: IStyle_2;
|
|
838
|
+
/**
|
|
839
|
+
* styles for callout Date time container
|
|
840
|
+
*/
|
|
841
|
+
calloutDateTimeContainer?: IStyle_2;
|
|
842
|
+
/**
|
|
843
|
+
* styles for callout Date time container
|
|
844
|
+
*/
|
|
845
|
+
calloutInfoContainer?: IStyle_2;
|
|
846
|
+
/**
|
|
847
|
+
* styles for callout Date time container
|
|
848
|
+
*/
|
|
849
|
+
calloutBlockContainer?: IStyle_2;
|
|
850
|
+
/**
|
|
851
|
+
* styles for callout y-content
|
|
852
|
+
*/
|
|
853
|
+
calloutlegendText?: IStyle_2;
|
|
854
|
+
/**
|
|
855
|
+
* styles for callout x-content
|
|
856
|
+
*/
|
|
857
|
+
calloutContentX?: IStyle_2;
|
|
858
|
+
/**
|
|
859
|
+
* styles for callout y-content
|
|
860
|
+
*/
|
|
861
|
+
calloutContentY?: IStyle_2;
|
|
862
|
+
/**
|
|
863
|
+
* styles for denomination
|
|
864
|
+
*/
|
|
865
|
+
ratio?: IStyle_2;
|
|
866
|
+
/**
|
|
867
|
+
* styles for numerator
|
|
868
|
+
*/
|
|
869
|
+
numerator?: IStyle_2;
|
|
870
|
+
/**
|
|
871
|
+
* styles for denominator
|
|
872
|
+
*/
|
|
873
|
+
denominator?: IStyle_2;
|
|
874
|
+
/**
|
|
875
|
+
* styles for the description
|
|
876
|
+
*/
|
|
877
|
+
descriptionMessage?: IStyle_2;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* {@docCategory IChartProps}
|
|
882
|
+
*/
|
|
883
|
+
export declare interface IChartProps {
|
|
884
|
+
/**
|
|
885
|
+
* chart title for the chart
|
|
886
|
+
*/
|
|
887
|
+
chartTitle?: string;
|
|
888
|
+
/**
|
|
889
|
+
* Accessibility data for chart title
|
|
890
|
+
*/
|
|
891
|
+
chartTitleAccessibilityData?: IAccessibilityProps;
|
|
892
|
+
/**
|
|
893
|
+
* data for the points in the chart
|
|
894
|
+
*/
|
|
895
|
+
chartData?: IChartDataPoint[];
|
|
896
|
+
/**
|
|
897
|
+
* Accessibility data for chart data
|
|
898
|
+
*/
|
|
899
|
+
chartDataAccessibilityData?: IAccessibilityProps;
|
|
900
|
+
/**
|
|
901
|
+
* data for the points in the line chart
|
|
902
|
+
*/
|
|
903
|
+
lineChartData?: ILineChartPoints[];
|
|
904
|
+
/**
|
|
905
|
+
* data for the points in the line chart
|
|
906
|
+
*/
|
|
907
|
+
SankeyChartData?: ISankeyChartData;
|
|
908
|
+
/**
|
|
909
|
+
* data for the points in the line chart
|
|
910
|
+
*/
|
|
911
|
+
pointOptions?: React_2.SVGProps<SVGCircleElement>;
|
|
912
|
+
/**
|
|
913
|
+
* data for the dotted line on hovering the point
|
|
914
|
+
*/
|
|
915
|
+
pointLineOptions?: React_2.SVGProps<SVGLineElement>;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export declare interface IChildProps {
|
|
919
|
+
xScale?: any;
|
|
920
|
+
yScale?: any;
|
|
921
|
+
yScaleSecondary?: any;
|
|
922
|
+
containerHeight?: number;
|
|
923
|
+
containerWidth?: number;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* {@docCategory LineChart}
|
|
928
|
+
*/
|
|
929
|
+
export declare interface IColorFillBarData {
|
|
930
|
+
startX: number | Date;
|
|
931
|
+
endX: number | Date;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* {@docCategory LineChart}
|
|
936
|
+
*/
|
|
937
|
+
export declare interface IColorFillBarsProps {
|
|
938
|
+
legend: string;
|
|
939
|
+
color: string;
|
|
940
|
+
data: IColorFillBarData[];
|
|
941
|
+
applyPattern?: boolean;
|
|
942
|
+
onLegendClick?: (selectedLegend: string | string[] | null) => void | undefined;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Used for custom callout data interface. As Area chart callout data will be prepared from given props.data,
|
|
947
|
+
* Those required data passing to onRenderCalloutPerDataPoint and onRenderCalloutPerStack.
|
|
948
|
+
* {@docCategory IChartData}
|
|
949
|
+
*/
|
|
950
|
+
export declare interface ICustomizedCalloutData {
|
|
951
|
+
x: number | string | Date;
|
|
952
|
+
values: ICustomizedCalloutDataPoint[];
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* {@docCategory IChartData}
|
|
957
|
+
*/
|
|
958
|
+
export declare interface ICustomizedCalloutDataPoint {
|
|
959
|
+
legend: string;
|
|
960
|
+
y: number;
|
|
961
|
+
color: string;
|
|
962
|
+
xAxisCalloutData?: string;
|
|
963
|
+
yAxisCalloutData?: string | {
|
|
964
|
+
[id: string]: number;
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* {@docCategory IChartData}
|
|
970
|
+
*/
|
|
971
|
+
export declare interface IDataPoint {
|
|
972
|
+
/**
|
|
973
|
+
* Independent value of the data point, rendered along the x-axis.
|
|
974
|
+
* If x is a number, then each y-coordinate is plotted at its x-coordinate.
|
|
975
|
+
* If x is a string, then the data is evenly spaced along the x-axis.
|
|
976
|
+
*/
|
|
977
|
+
x: number | string;
|
|
978
|
+
/**
|
|
979
|
+
* Dependent value of the data point, rendered along the y-axis.
|
|
980
|
+
*/
|
|
981
|
+
y: number;
|
|
982
|
+
/**
|
|
983
|
+
* onClick action for each datapoint in the chart
|
|
984
|
+
*/
|
|
985
|
+
onClick?: VoidFunction;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* {@docCategory DeclarativeChart}
|
|
990
|
+
*/
|
|
991
|
+
export declare interface IDeclarativeChart {
|
|
992
|
+
exportAsImage: (opts?: IImageExportOptions) => Promise<string>;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
declare interface IDomainNRange {
|
|
996
|
+
dStartValue: number | Date;
|
|
997
|
+
dEndValue: number | Date;
|
|
998
|
+
rStartValue: number;
|
|
999
|
+
rEndValue: number;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
export declare interface IDonutChart {
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Donut Chart properties.
|
|
1007
|
+
* {@docCategory DonutChart}
|
|
1008
|
+
*/
|
|
1009
|
+
export declare interface IDonutChartProps extends ICartesianChartProps {
|
|
1010
|
+
/**
|
|
1011
|
+
* Data to render in the chart.
|
|
1012
|
+
*/
|
|
1013
|
+
data?: IChartProps;
|
|
1014
|
+
/**
|
|
1015
|
+
* inner radius for donut size
|
|
1016
|
+
*/
|
|
1017
|
+
innerRadius?: number;
|
|
1018
|
+
/**
|
|
1019
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
1020
|
+
*/
|
|
1021
|
+
styles?: IStyleFunctionOrObject<IDonutChartStyleProps, IDonutChartStyles>;
|
|
1022
|
+
/**
|
|
1023
|
+
* props for inside donut value
|
|
1024
|
+
*/
|
|
1025
|
+
valueInsideDonut?: string | number;
|
|
1026
|
+
/**
|
|
1027
|
+
* Define a custom callout renderer for a data point
|
|
1028
|
+
*/
|
|
1029
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;
|
|
1030
|
+
/**
|
|
1031
|
+
* props for the callout in the chart
|
|
1032
|
+
*/
|
|
1033
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
1034
|
+
/**
|
|
1035
|
+
* The prop used to define the culture to localized the numbers
|
|
1036
|
+
*/
|
|
1037
|
+
culture?: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* Prop to show the arc labels in percentage format
|
|
1040
|
+
* @default false
|
|
1041
|
+
*/
|
|
1042
|
+
showLabelsInPercent?: boolean;
|
|
1043
|
+
/**
|
|
1044
|
+
* Prop to hide the arc labels
|
|
1045
|
+
* @default true
|
|
1046
|
+
*/
|
|
1047
|
+
hideLabels?: boolean;
|
|
1048
|
+
/**
|
|
1049
|
+
* Prop to enable the gradient in the chart
|
|
1050
|
+
* @default false
|
|
1051
|
+
*/
|
|
1052
|
+
enableGradient?: boolean;
|
|
1053
|
+
/**
|
|
1054
|
+
* Prop to enable the round corners in the chart
|
|
1055
|
+
* @default false
|
|
1056
|
+
*/
|
|
1057
|
+
roundCorners?: boolean;
|
|
1058
|
+
/**
|
|
1059
|
+
* Optional callback to access the IChart interface. Use this instead of ref for accessing
|
|
1060
|
+
* the public methods and properties of the component.
|
|
1061
|
+
*/
|
|
1062
|
+
componentRef?: IRefObject<IChart>;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Donut Chart style properties
|
|
1067
|
+
* {@docCategory DonutChart}
|
|
1068
|
+
*/
|
|
1069
|
+
export declare interface IDonutChartStyleProps extends ICartesianChartStyleProps {
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* Donut Chart styles
|
|
1074
|
+
* {@docCategory DonutChart}
|
|
1075
|
+
*/
|
|
1076
|
+
export declare interface IDonutChartStyles {
|
|
1077
|
+
/**
|
|
1078
|
+
* Style for the root element.
|
|
1079
|
+
*/
|
|
1080
|
+
root?: IStyle;
|
|
1081
|
+
/**
|
|
1082
|
+
* Style for the chart.
|
|
1083
|
+
*/
|
|
1084
|
+
chart?: IStyle;
|
|
1085
|
+
/**
|
|
1086
|
+
* Style for the legend container.
|
|
1087
|
+
*/
|
|
1088
|
+
legendContainer: IStyle;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
declare interface IEventAnnotation {
|
|
1092
|
+
date: Date;
|
|
1093
|
+
event: string;
|
|
1094
|
+
onRenderCard?: () => React_2.ReactNode;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* {@docCategory LineChart}
|
|
1099
|
+
*/
|
|
1100
|
+
export declare interface IEventsAnnotationProps {
|
|
1101
|
+
events: IEventAnnotation[];
|
|
1102
|
+
strokeColor?: string;
|
|
1103
|
+
labelColor?: string;
|
|
1104
|
+
labelHeight?: number;
|
|
1105
|
+
labelWidth?: number;
|
|
1106
|
+
mergedLabel: (count: number) => string;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Gauge Chart properties
|
|
1111
|
+
* {@docCategory GaugeChart}
|
|
1112
|
+
*/
|
|
1113
|
+
export declare interface IGaugeChartProps {
|
|
1114
|
+
/**
|
|
1115
|
+
* Width of the chart
|
|
1116
|
+
*/
|
|
1117
|
+
width?: number;
|
|
1118
|
+
/**
|
|
1119
|
+
* Height of the chart
|
|
1120
|
+
*/
|
|
1121
|
+
height?: number;
|
|
1122
|
+
/**
|
|
1123
|
+
* Title of the chart
|
|
1124
|
+
*/
|
|
1125
|
+
chartTitle?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Current value of the gauge
|
|
1128
|
+
*/
|
|
1129
|
+
chartValue: number;
|
|
1130
|
+
/**
|
|
1131
|
+
* Sections of the gauge
|
|
1132
|
+
*/
|
|
1133
|
+
segments: IGaugeChartSegment[];
|
|
1134
|
+
/**
|
|
1135
|
+
* Minimum value of the gauge
|
|
1136
|
+
* @defaultvalue 0
|
|
1137
|
+
*/
|
|
1138
|
+
minValue?: number;
|
|
1139
|
+
/**
|
|
1140
|
+
* Maximum value of the gauge
|
|
1141
|
+
*/
|
|
1142
|
+
maxValue?: number;
|
|
1143
|
+
/**
|
|
1144
|
+
* Additional text to display below the chart value
|
|
1145
|
+
*/
|
|
1146
|
+
sublabel?: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Hide the min and max values of the gauge
|
|
1149
|
+
* @defaultvalue false
|
|
1150
|
+
*/
|
|
1151
|
+
hideMinMax?: boolean;
|
|
1152
|
+
/**
|
|
1153
|
+
* Format of the chart value
|
|
1154
|
+
* @defaultvalue GaugeValueFormat.Percentage
|
|
1155
|
+
*/
|
|
1156
|
+
chartValueFormat?: GaugeValueFormat | ((sweepFraction: [number, number]) => string);
|
|
1157
|
+
/**
|
|
1158
|
+
* Decides whether to show/hide legends
|
|
1159
|
+
* @defaultvalue false
|
|
1160
|
+
*/
|
|
1161
|
+
hideLegend?: boolean;
|
|
1162
|
+
legendProps?: Partial<ILegendsProps>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Do not show tooltips in chart
|
|
1165
|
+
* @defaultvalue false
|
|
1166
|
+
*/
|
|
1167
|
+
hideTooltip?: boolean;
|
|
1168
|
+
/**
|
|
1169
|
+
* Additional CSS class(es) to apply to the chart
|
|
1170
|
+
*/
|
|
1171
|
+
className?: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* Theme (provided through customization)
|
|
1174
|
+
*/
|
|
1175
|
+
theme?: ITheme;
|
|
1176
|
+
/**
|
|
1177
|
+
* Call to provide customized styling that will layer on top of the variant rules
|
|
1178
|
+
*/
|
|
1179
|
+
styles?: IStyleFunctionOrObject<IGaugeChartStyleProps, IGaugeChartStyles>;
|
|
1180
|
+
/**
|
|
1181
|
+
* Defines the culture to localize the numbers and dates
|
|
1182
|
+
*/
|
|
1183
|
+
culture?: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* Props for the callout in the chart
|
|
1186
|
+
*/
|
|
1187
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Specifies the variant of GaugeChart to be rendered
|
|
1190
|
+
* @defaultvalue GaugeChartVariant.MultipleSegments
|
|
1191
|
+
*/
|
|
1192
|
+
variant?: GaugeChartVariant;
|
|
1193
|
+
/**
|
|
1194
|
+
* Prop to enable the gradient in the chart
|
|
1195
|
+
* @default false
|
|
1196
|
+
*/
|
|
1197
|
+
enableGradient?: boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* Prop to enable the round corners in the chart
|
|
1200
|
+
* @default false
|
|
1201
|
+
*/
|
|
1202
|
+
roundCorners?: boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* Optional callback to access the IChart interface. Use this instead of ref for accessing
|
|
1205
|
+
* the public methods and properties of the component.
|
|
1206
|
+
*/
|
|
1207
|
+
componentRef?: IRefObject<IChart>;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* Gauge Chart segment interface.
|
|
1212
|
+
* {@docCategory GaugeChart}
|
|
1213
|
+
*/
|
|
1214
|
+
export declare interface IGaugeChartSegment {
|
|
1215
|
+
/**
|
|
1216
|
+
* Legend text for a segment
|
|
1217
|
+
*/
|
|
1218
|
+
legend: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* Size of the segment
|
|
1221
|
+
*/
|
|
1222
|
+
size: number;
|
|
1223
|
+
/**
|
|
1224
|
+
* Color of the segment
|
|
1225
|
+
*/
|
|
1226
|
+
color?: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* Gradient color of the segment
|
|
1229
|
+
*/
|
|
1230
|
+
gradient?: [string, string];
|
|
1231
|
+
/**
|
|
1232
|
+
* Accessibility data for the segment
|
|
1233
|
+
*/
|
|
1234
|
+
accessibilityData?: IAccessibilityProps;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Gauge Chart style properties
|
|
1239
|
+
* {@docCategory GaugeChart}
|
|
1240
|
+
*/
|
|
1241
|
+
export declare interface IGaugeChartStyleProps {
|
|
1242
|
+
/**
|
|
1243
|
+
* Theme (provided through customization)
|
|
1244
|
+
*/
|
|
1245
|
+
theme: ITheme;
|
|
1246
|
+
/**
|
|
1247
|
+
* Font size of the chart value
|
|
1248
|
+
*/
|
|
1249
|
+
chartValueSize?: number;
|
|
1250
|
+
/**
|
|
1251
|
+
* Width of the chart
|
|
1252
|
+
*/
|
|
1253
|
+
chartWidth?: number;
|
|
1254
|
+
/**
|
|
1255
|
+
* Height of the chart
|
|
1256
|
+
*/
|
|
1257
|
+
chartHeight?: number;
|
|
1258
|
+
/**
|
|
1259
|
+
* Additional CSS class(es) to apply to the chart
|
|
1260
|
+
*/
|
|
1261
|
+
className?: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* Color of the line
|
|
1264
|
+
*/
|
|
1265
|
+
lineColor?: string;
|
|
1266
|
+
/**
|
|
1267
|
+
* Boolean flag which determines if shape is drawn in callout
|
|
1268
|
+
*/
|
|
1269
|
+
toDrawShape?: boolean;
|
|
1270
|
+
/**
|
|
1271
|
+
* solid color for the arc (when enableGradient is false)
|
|
1272
|
+
*/
|
|
1273
|
+
solidFill?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* gradient for the arc (when enableGradient is true)
|
|
1276
|
+
*/
|
|
1277
|
+
gradientFill?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* opacity of the arc
|
|
1280
|
+
*/
|
|
1281
|
+
opacity?: number;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Gauge Chart styles
|
|
1286
|
+
* {@docCategory GaugeChart}
|
|
1287
|
+
*/
|
|
1288
|
+
export declare interface IGaugeChartStyles {
|
|
1289
|
+
/**
|
|
1290
|
+
* Styles for the root element
|
|
1291
|
+
*/
|
|
1292
|
+
root?: IStyle;
|
|
1293
|
+
/**
|
|
1294
|
+
* Styles for the chart
|
|
1295
|
+
*/
|
|
1296
|
+
chart?: IStyle;
|
|
1297
|
+
/**
|
|
1298
|
+
* Styles for the min and max values
|
|
1299
|
+
*/
|
|
1300
|
+
limits?: IStyle;
|
|
1301
|
+
/**
|
|
1302
|
+
* Styles for the chart value
|
|
1303
|
+
*/
|
|
1304
|
+
chartValue?: IStyle;
|
|
1305
|
+
/**
|
|
1306
|
+
* Styles for the sublabel
|
|
1307
|
+
*/
|
|
1308
|
+
sublabel?: IStyle;
|
|
1309
|
+
/**
|
|
1310
|
+
* Styles for the needle
|
|
1311
|
+
*/
|
|
1312
|
+
needle?: IStyle;
|
|
1313
|
+
/**
|
|
1314
|
+
* Styles for the chart title
|
|
1315
|
+
*/
|
|
1316
|
+
chartTitle?: IStyle;
|
|
1317
|
+
/**
|
|
1318
|
+
* Styles for the segments
|
|
1319
|
+
*/
|
|
1320
|
+
segment?: IStyle;
|
|
1321
|
+
/**
|
|
1322
|
+
* Styles for gradient segments
|
|
1323
|
+
*/
|
|
1324
|
+
gradientSegment?: IStyle;
|
|
1325
|
+
/**
|
|
1326
|
+
* Styles for the legends container
|
|
1327
|
+
*/
|
|
1328
|
+
legendsContainer?: IStyle;
|
|
1329
|
+
/**
|
|
1330
|
+
* Styles for callout root-content
|
|
1331
|
+
*/
|
|
1332
|
+
calloutContentRoot?: IStyle;
|
|
1333
|
+
/**
|
|
1334
|
+
* Styles for callout x-content
|
|
1335
|
+
*/
|
|
1336
|
+
calloutContentX?: IStyle;
|
|
1337
|
+
/**
|
|
1338
|
+
* Styles for callout y-content
|
|
1339
|
+
*/
|
|
1340
|
+
calloutContentY?: IStyle;
|
|
1341
|
+
/**
|
|
1342
|
+
* Styles for description message
|
|
1343
|
+
*/
|
|
1344
|
+
descriptionMessage?: IStyle;
|
|
1345
|
+
/**
|
|
1346
|
+
* Styles for callout Date time container
|
|
1347
|
+
*/
|
|
1348
|
+
calloutDateTimeContainer?: IStyle;
|
|
1349
|
+
/**
|
|
1350
|
+
* Styles for callout info container
|
|
1351
|
+
*/
|
|
1352
|
+
calloutInfoContainer?: IStyle;
|
|
1353
|
+
/**
|
|
1354
|
+
* Styles for callout block container
|
|
1355
|
+
*/
|
|
1356
|
+
calloutBlockContainer?: IStyle;
|
|
1357
|
+
/**
|
|
1358
|
+
* Styles for callout legend text
|
|
1359
|
+
*/
|
|
1360
|
+
calloutlegendText?: IStyle;
|
|
1361
|
+
/**
|
|
1362
|
+
* Styles for the shape object in the callout
|
|
1363
|
+
*/
|
|
1364
|
+
shapeStyles?: IStyle;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* {@docCategory IChartData}
|
|
1369
|
+
*/
|
|
1370
|
+
export declare interface IGroupedVerticalBarChartData {
|
|
1371
|
+
/**
|
|
1372
|
+
* Data for X axis label
|
|
1373
|
+
*/
|
|
1374
|
+
name: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* Data points for Grouped vertical bar chart
|
|
1377
|
+
*/
|
|
1378
|
+
series: IGVBarChartSeriesPoint[];
|
|
1379
|
+
/**
|
|
1380
|
+
* Accessibility data for Group Bars Stack Callout
|
|
1381
|
+
*/
|
|
1382
|
+
stackCallOutAccessibilityData?: IAccessibilityProps;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* Grouped Vertical Bar Chart properties
|
|
1387
|
+
* {@docCategory GroupedVerticalBarChart}
|
|
1388
|
+
*/
|
|
1389
|
+
export declare interface IGroupedVerticalBarChartProps extends ICartesianChartProps {
|
|
1390
|
+
/**
|
|
1391
|
+
* chart title for the chart
|
|
1392
|
+
*/
|
|
1393
|
+
chartTitle?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* Data to render in the chart.
|
|
1396
|
+
*/
|
|
1397
|
+
data: IGroupedVerticalBarChartData[];
|
|
1398
|
+
/**
|
|
1399
|
+
* Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px,
|
|
1400
|
+
* which may decrease to prevent overlap. When set to `'auto'`, the bar width is calculated from padding values.
|
|
1401
|
+
* @default 16
|
|
1402
|
+
*/
|
|
1403
|
+
barwidth?: number | 'default' | 'auto';
|
|
1404
|
+
/**
|
|
1405
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
1406
|
+
*/
|
|
1407
|
+
styles?: IStyleFunctionOrObject<IGroupedVerticalBarChartStyleProps, IGroupedVerticalBarChartStyles>;
|
|
1408
|
+
/**
|
|
1409
|
+
* color of the datapoint legend
|
|
1410
|
+
* @deprecated Dont use this property. colour will pick from given data
|
|
1411
|
+
*/
|
|
1412
|
+
legendColor?: string;
|
|
1413
|
+
/**
|
|
1414
|
+
* This prop used to draw X axis grid line on tha chart. Default value will be false
|
|
1415
|
+
* @deprecated Dont use this property. Handling with default value.
|
|
1416
|
+
*/
|
|
1417
|
+
showXAxisGridLines?: boolean;
|
|
1418
|
+
/**
|
|
1419
|
+
* This prop used to draw Y axis grid lines on the chart. Default value will be true
|
|
1420
|
+
* @deprecated Dont use this property. Lines are drawn by default
|
|
1421
|
+
*/
|
|
1422
|
+
showYAxisGridLines?: boolean;
|
|
1423
|
+
/**
|
|
1424
|
+
* This prop takes the boolean value and used for to display x-axis path or transparent.
|
|
1425
|
+
* This is a optional prop and default value is false. It dont show X-Axis path as tranparent.
|
|
1426
|
+
* @deprecated Dont use this property. Axis line are removed by default
|
|
1427
|
+
*/
|
|
1428
|
+
showXAxisPath?: boolean;
|
|
1429
|
+
/**
|
|
1430
|
+
* This prop takes the boolean value and used for to display y-axis path or transparent.
|
|
1431
|
+
* This is a optional prop and default value is false. It dont show Y-Axis path as tranparent.
|
|
1432
|
+
* @deprecated Dont use this property. No need to display Y axis path. Handling default
|
|
1433
|
+
*/
|
|
1434
|
+
showYAxisPath?: boolean;
|
|
1435
|
+
/**
|
|
1436
|
+
* Define a custom callout renderer for a stack
|
|
1437
|
+
*/
|
|
1438
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<IGVBarChartSeriesPoint>;
|
|
1439
|
+
/**
|
|
1440
|
+
* The prop used to define the culture to localized the numbers
|
|
1441
|
+
*/
|
|
1442
|
+
culture?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* To display multi stack callout or single callout
|
|
1445
|
+
* @default false
|
|
1446
|
+
*/
|
|
1447
|
+
isCalloutForStack?: boolean;
|
|
1448
|
+
/**
|
|
1449
|
+
* Prop to hide the bar labels
|
|
1450
|
+
* @default false
|
|
1451
|
+
*/
|
|
1452
|
+
hideLabels?: boolean;
|
|
1453
|
+
/**
|
|
1454
|
+
* Maximum width of a bar, in pixels.
|
|
1455
|
+
* @default 24
|
|
1456
|
+
*/
|
|
1457
|
+
maxBarWidth?: number;
|
|
1458
|
+
/**
|
|
1459
|
+
* Padding between groups as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
|
|
1460
|
+
* Takes a number in the range [0, 1]. Only applicable to string x-axis.
|
|
1461
|
+
* Note: groupWidthInTermsOfBarWidth is calculated at runtime based on
|
|
1462
|
+
* the number of bars in a group and the gap between the bars.
|
|
1463
|
+
* @default 2 / (2 + groupWidthInTermsOfBarWidth)
|
|
1464
|
+
*/
|
|
1465
|
+
xAxisInnerPadding?: number;
|
|
1466
|
+
/**
|
|
1467
|
+
* Padding before the first group and after the last group as a fraction of
|
|
1468
|
+
* the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
|
|
1469
|
+
* Only applicable to string x-axis.
|
|
1470
|
+
*/
|
|
1471
|
+
xAxisOuterPadding?: number;
|
|
1472
|
+
/**
|
|
1473
|
+
* @default false
|
|
1474
|
+
* The prop used to enable gradient fill color for the chart.
|
|
1475
|
+
*/
|
|
1476
|
+
enableGradient?: boolean;
|
|
1477
|
+
/**
|
|
1478
|
+
* @default false
|
|
1479
|
+
* The prop used to enable rounded corners for the chart.
|
|
1480
|
+
*/
|
|
1481
|
+
roundCorners?: boolean;
|
|
1482
|
+
/**
|
|
1483
|
+
* Specifies the mode of the chart.
|
|
1484
|
+
* @default 'default'
|
|
1485
|
+
*/
|
|
1486
|
+
mode?: 'default' | 'plotly';
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Grouped Vertical Bar Chart style properties
|
|
1491
|
+
* {@docCategory GroupedVerticalBarChart}
|
|
1492
|
+
*/
|
|
1493
|
+
export declare interface IGroupedVerticalBarChartStyleProps extends ICartesianChartStyleProps {
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* Grouped Vertical Bar Chart styles
|
|
1498
|
+
* {@docCategory GroupedVerticalBarChart}
|
|
1499
|
+
*/
|
|
1500
|
+
export declare interface IGroupedVerticalBarChartStyles extends ICartesianChartStyles {
|
|
1501
|
+
/**
|
|
1502
|
+
* Style to change the opacity of bars in dataviz when we hover on a single bar or legends
|
|
1503
|
+
*/
|
|
1504
|
+
opacityChangeOnHover: IStyle;
|
|
1505
|
+
/**
|
|
1506
|
+
* Style for the bar labels
|
|
1507
|
+
*/
|
|
1508
|
+
barLabel: IStyle;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* {@docCategory IChartData}
|
|
1513
|
+
*/
|
|
1514
|
+
export declare interface IGVBarChartSeriesPoint {
|
|
1515
|
+
/**
|
|
1516
|
+
* Text for // need to check use of this
|
|
1517
|
+
*/
|
|
1518
|
+
key: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* Data for bar height of Grouped vertical bar chart
|
|
1521
|
+
*/
|
|
1522
|
+
data: number;
|
|
1523
|
+
/**
|
|
1524
|
+
* Color for the legend in the chart
|
|
1525
|
+
*/
|
|
1526
|
+
color: string;
|
|
1527
|
+
/**
|
|
1528
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
1529
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
1530
|
+
*/
|
|
1531
|
+
gradient?: [string, string];
|
|
1532
|
+
/**
|
|
1533
|
+
* Legend text in the chart
|
|
1534
|
+
*/
|
|
1535
|
+
legend: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Callout data for x axis
|
|
1538
|
+
* This is an optional prop, If haven;t given legend will take
|
|
1539
|
+
*/
|
|
1540
|
+
xAxisCalloutData?: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Callout data for y axis
|
|
1543
|
+
* This is an optional prop, If haven't given data will take
|
|
1544
|
+
*/
|
|
1545
|
+
yAxisCalloutData?: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* onClick action for each datapoint in the chart
|
|
1548
|
+
*/
|
|
1549
|
+
onClick?: VoidFunction;
|
|
1550
|
+
/**
|
|
1551
|
+
* Accessibility data for callout
|
|
1552
|
+
*/
|
|
1553
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
export declare interface IGVDataPoint {
|
|
1557
|
+
/**
|
|
1558
|
+
* This interface used for - While forming datapoints from given prop "data" in code
|
|
1559
|
+
* datapoints are used for to draw graph
|
|
1560
|
+
*/
|
|
1561
|
+
[key: string]: number | string;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
export declare interface IGVForBarChart {
|
|
1565
|
+
/**
|
|
1566
|
+
* While forming datapoints from given prop "data"
|
|
1567
|
+
* These datapoints are used for to draw graph.
|
|
1568
|
+
*/
|
|
1569
|
+
[key: string]: IGVBarChartSeriesPoint;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
export declare interface IGVSingleDataPoint {
|
|
1573
|
+
/**
|
|
1574
|
+
* While forming datapoints from given prop "data" in code.
|
|
1575
|
+
* These datapoints are used for to draw graph easily.
|
|
1576
|
+
*/
|
|
1577
|
+
[key: string]: IGVDataPoint;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* {@docCategory IChartData}
|
|
1582
|
+
*/
|
|
1583
|
+
export declare interface IHeatMapChartData {
|
|
1584
|
+
/**
|
|
1585
|
+
* name of the legend
|
|
1586
|
+
*/
|
|
1587
|
+
legend: string;
|
|
1588
|
+
data: IHeatMapChartDataPoint[];
|
|
1589
|
+
/**
|
|
1590
|
+
* This number will be used to get the color for the legend
|
|
1591
|
+
*/
|
|
1592
|
+
value: number;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* {@docCategory IChartData}
|
|
1597
|
+
*/
|
|
1598
|
+
export declare interface IHeatMapChartDataPoint {
|
|
1599
|
+
x: string | Date | number;
|
|
1600
|
+
y: string | Date | number;
|
|
1601
|
+
value: number;
|
|
1602
|
+
/**
|
|
1603
|
+
* The value/ text to be rendered in the rectange
|
|
1604
|
+
*/
|
|
1605
|
+
rectText?: string | number;
|
|
1606
|
+
/**
|
|
1607
|
+
* denomination to show in the callout
|
|
1608
|
+
*/
|
|
1609
|
+
ratio?: [number, number];
|
|
1610
|
+
/**
|
|
1611
|
+
* description message to the callout
|
|
1612
|
+
*/
|
|
1613
|
+
descriptionMessage?: string;
|
|
1614
|
+
/**
|
|
1615
|
+
* onClick action for each datapoint in the chart
|
|
1616
|
+
*/
|
|
1617
|
+
onClick?: VoidFunction;
|
|
1618
|
+
/**
|
|
1619
|
+
* Accessibility data for callout
|
|
1620
|
+
*/
|
|
1621
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* Heat Map Chart properties
|
|
1626
|
+
* {@docCategory HeatMapChart}
|
|
1627
|
+
*/
|
|
1628
|
+
export declare interface IHeatMapChartProps extends Pick<ICartesianChartProps, Exclude<keyof ICartesianChartProps, 'styles'>> {
|
|
1629
|
+
/**
|
|
1630
|
+
* chart title for the chart
|
|
1631
|
+
*/
|
|
1632
|
+
chartTitle?: string;
|
|
1633
|
+
/**
|
|
1634
|
+
* data to provide for Heat Map
|
|
1635
|
+
*/
|
|
1636
|
+
data: IHeatMapChartData[];
|
|
1637
|
+
/**
|
|
1638
|
+
* The domain value for the color scale,
|
|
1639
|
+
*
|
|
1640
|
+
*/
|
|
1641
|
+
domainValuesForColorScale: number[];
|
|
1642
|
+
/**
|
|
1643
|
+
* The range values for the color scale,
|
|
1644
|
+
* fill the array with colors in hex format
|
|
1645
|
+
* note:- it should contain values exactly as many as values in the array
|
|
1646
|
+
* `domainValuesForColorScale`
|
|
1647
|
+
*/
|
|
1648
|
+
rangeValuesForColorScale: string[];
|
|
1649
|
+
/**
|
|
1650
|
+
* date formatter of x axis,
|
|
1651
|
+
* if the x-axis data point are of date type then user can use this
|
|
1652
|
+
* prop to format the date
|
|
1653
|
+
* refer to https://github.com/d3/d3-time-format for string values
|
|
1654
|
+
* @default '%b/%d'
|
|
1655
|
+
*/
|
|
1656
|
+
xAxisDateFormatString?: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* date formatter of y axis,
|
|
1659
|
+
* if the y-axis data point are or date type then user can use this
|
|
1660
|
+
* prop to format the date
|
|
1661
|
+
* refer to https://github.com/d3/d3-time-format for string values
|
|
1662
|
+
* @default '%b/%d'
|
|
1663
|
+
*/
|
|
1664
|
+
yAxisDateFormatString?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* number formatter of x axis
|
|
1667
|
+
* if the x-axis data pints are of number type then user can
|
|
1668
|
+
* use this prop to format the number
|
|
1669
|
+
* refer to https://github.com/d3/d3-format for string values
|
|
1670
|
+
* @default '.2~s'
|
|
1671
|
+
*/
|
|
1672
|
+
xAxisNumberFormatString?: string;
|
|
1673
|
+
/**
|
|
1674
|
+
* number formatter of y axis
|
|
1675
|
+
* if the y-axis data pints are of number type then user can
|
|
1676
|
+
* use this prop to format the number
|
|
1677
|
+
* refer to https://github.com/d3/d3-format for string values
|
|
1678
|
+
* @default '.2~s'
|
|
1679
|
+
*/
|
|
1680
|
+
yAxisNumberFormatString?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* string formatter for x-axis.
|
|
1683
|
+
* This prop only applies if the x-axis is of string type
|
|
1684
|
+
*
|
|
1685
|
+
* For the accessiblity reason we sort the x-axis data point given by the consumer in ascending
|
|
1686
|
+
* order and then render in the x-axis. this behaviour would force the order of the data points.
|
|
1687
|
+
* to overcome , user can give x-axis point names as p1 p2...etc and map those p1 and p2 to custom name.
|
|
1688
|
+
* behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom
|
|
1689
|
+
* name to that point by using this prop, hence giving the us the flexiblity of the order in which
|
|
1690
|
+
* label should render
|
|
1691
|
+
*
|
|
1692
|
+
* see the example file for the usage of the prop
|
|
1693
|
+
*/
|
|
1694
|
+
xAxisStringFormatter?: (point: string) => string;
|
|
1695
|
+
/**
|
|
1696
|
+
* string formatter for y-axis.
|
|
1697
|
+
* This prop only applies if the y-axis is of string type
|
|
1698
|
+
*
|
|
1699
|
+
* For the accessiblity reason we sort the x-axis data point given by the consumer in ascending
|
|
1700
|
+
* order and then render in the y-axis. this behaviour would force the order of the data points.
|
|
1701
|
+
* to overcome , user can give y-axis point names as p1 p2...etc and map those p1 and p2 to custom name.
|
|
1702
|
+
* behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom
|
|
1703
|
+
* name to that point by using this prop, hence giving the us the flexiblity of the order in which
|
|
1704
|
+
* label should render
|
|
1705
|
+
*
|
|
1706
|
+
* see the exaple file for the usage of the prop
|
|
1707
|
+
*/
|
|
1708
|
+
yAxisStringFormatter?: (point: string) => string;
|
|
1709
|
+
/**
|
|
1710
|
+
* custom legend properties
|
|
1711
|
+
*/
|
|
1712
|
+
legendProps?: Partial<ILegendsProps>;
|
|
1713
|
+
/**
|
|
1714
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
1715
|
+
*/
|
|
1716
|
+
styles?: IStyleFunctionOrObject<IHeatMapChartStyleProps, IHeatMapChartStyles>;
|
|
1717
|
+
/**
|
|
1718
|
+
* The prop used to define the culture to localized the numbers
|
|
1719
|
+
*/
|
|
1720
|
+
culture?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
*@default false
|
|
1723
|
+
*Used for showing complete y axis lables */
|
|
1724
|
+
showYAxisLables?: boolean;
|
|
1725
|
+
/**
|
|
1726
|
+
* @default alphabetical
|
|
1727
|
+
* The prop used to decide order of string axis labels */
|
|
1728
|
+
sortOrder?: 'none' | 'alphabetical';
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* Heat Map Chart style properties
|
|
1733
|
+
* {@docCategory HeatMapChart}
|
|
1734
|
+
*/
|
|
1735
|
+
export declare interface IHeatMapChartStyleProps extends ICartesianChartStyleProps {
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* Heat Map Chart styles
|
|
1740
|
+
* {@docCategory HeatMapChart}
|
|
1741
|
+
*/
|
|
1742
|
+
export declare interface IHeatMapChartStyles {
|
|
1743
|
+
root?: IStyle;
|
|
1744
|
+
text?: IStyle;
|
|
1745
|
+
subComponentStyles: {
|
|
1746
|
+
cartesianStyles: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;
|
|
1747
|
+
calloutStyles: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;
|
|
1748
|
+
};
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Horizontal Bar Chart properties
|
|
1753
|
+
* {@docCategory HorizontalBarChart}
|
|
1754
|
+
*/
|
|
1755
|
+
export declare interface IHorizontalBarChartProps {
|
|
1756
|
+
/**
|
|
1757
|
+
* An array of chart data points for the Horizontal bar chart
|
|
1758
|
+
*/
|
|
1759
|
+
data?: IChartProps[];
|
|
1760
|
+
/**
|
|
1761
|
+
* Width of bar chart
|
|
1762
|
+
*/
|
|
1763
|
+
width?: number;
|
|
1764
|
+
/**
|
|
1765
|
+
* Height of bar chart
|
|
1766
|
+
* @default 15
|
|
1767
|
+
*/
|
|
1768
|
+
barHeight?: number;
|
|
1769
|
+
/**
|
|
1770
|
+
* Additional CSS class(es) to apply to the StackedBarChart.
|
|
1771
|
+
*/
|
|
1772
|
+
className?: string;
|
|
1773
|
+
/**
|
|
1774
|
+
* Theme (provided through customization.)
|
|
1775
|
+
*/
|
|
1776
|
+
theme?: ITheme;
|
|
1777
|
+
/**
|
|
1778
|
+
* This property tells whether to show ratio on top of stacked bar chart or not.
|
|
1779
|
+
*/
|
|
1780
|
+
hideRatio?: boolean[];
|
|
1781
|
+
/**
|
|
1782
|
+
* Do not show tooltips in chart
|
|
1783
|
+
*
|
|
1784
|
+
* @default false
|
|
1785
|
+
*/
|
|
1786
|
+
hideTooltip?: boolean;
|
|
1787
|
+
/**
|
|
1788
|
+
* This property tells how to show data text on top right of bar chart.
|
|
1789
|
+
* If barChartCustomData props added, then this props will be overrided.
|
|
1790
|
+
* @default 'default'
|
|
1791
|
+
*/
|
|
1792
|
+
chartDataMode?: ChartDataMode;
|
|
1793
|
+
/**
|
|
1794
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
1795
|
+
*/
|
|
1796
|
+
styles?: IStyleFunctionOrObject<IHorizontalBarChartStyleProps, IHorizontalBarChartStyles>;
|
|
1797
|
+
/**
|
|
1798
|
+
* Define a custom callout renderer for a horizontal bar
|
|
1799
|
+
*/
|
|
1800
|
+
onRenderCalloutPerHorizontalBar?: IRenderFunction<IChartDataPoint>;
|
|
1801
|
+
/**
|
|
1802
|
+
* props for the callout in the chart
|
|
1803
|
+
*/
|
|
1804
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
1805
|
+
/**
|
|
1806
|
+
* Custom text to the chart (right side of the chart)
|
|
1807
|
+
* IChartProps will be available as props to the method prop.
|
|
1808
|
+
* If this method not given, default values (IHorizontalDataPoint \{x,y\})
|
|
1809
|
+
* will be used to display the data/text based on given chartModeData prop.
|
|
1810
|
+
*/
|
|
1811
|
+
barChartCustomData?: IRenderFunction<IChartProps>;
|
|
1812
|
+
/**
|
|
1813
|
+
* The prop used to define the culture to localized the numbers
|
|
1814
|
+
*/
|
|
1815
|
+
culture?: string;
|
|
1816
|
+
/**
|
|
1817
|
+
* Prop to define the variant of HorizontalBarChart to render
|
|
1818
|
+
* @default HorizontalBarChartVariant.PartToWhole
|
|
1819
|
+
*/
|
|
1820
|
+
variant?: HorizontalBarChartVariant;
|
|
1821
|
+
/**
|
|
1822
|
+
* Prop to hide the bar labels
|
|
1823
|
+
* @default false
|
|
1824
|
+
*/
|
|
1825
|
+
hideLabels?: boolean;
|
|
1826
|
+
/**
|
|
1827
|
+
* @default false
|
|
1828
|
+
* The prop used to enable gradient fill color for the chart.
|
|
1829
|
+
*/
|
|
1830
|
+
enableGradient?: boolean;
|
|
1831
|
+
/**
|
|
1832
|
+
* @default false
|
|
1833
|
+
* The prop used to enable rounded corners for the chart.
|
|
1834
|
+
*/
|
|
1835
|
+
roundCorners?: boolean;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* Horizontal Bar Chart style properties
|
|
1840
|
+
* {@docCategory HorizontalBarChart}
|
|
1841
|
+
*/
|
|
1842
|
+
export declare interface IHorizontalBarChartStyleProps {
|
|
1843
|
+
/**
|
|
1844
|
+
* Theme (provided through customization.)
|
|
1845
|
+
*/
|
|
1846
|
+
theme: ITheme;
|
|
1847
|
+
/**
|
|
1848
|
+
* Additional CSS class(es) to apply to the StackedBarChart.
|
|
1849
|
+
*/
|
|
1850
|
+
className?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* Width of the chart.
|
|
1853
|
+
*/
|
|
1854
|
+
width: number | undefined;
|
|
1855
|
+
/**
|
|
1856
|
+
* line color for callout
|
|
1857
|
+
*/
|
|
1858
|
+
color?: string;
|
|
1859
|
+
/**
|
|
1860
|
+
* Height of bar chart
|
|
1861
|
+
* @default 15
|
|
1862
|
+
*/
|
|
1863
|
+
barHeight?: number;
|
|
1864
|
+
/**
|
|
1865
|
+
* prop to check if benchmark data is provided
|
|
1866
|
+
*/
|
|
1867
|
+
showTriangle?: boolean;
|
|
1868
|
+
/**
|
|
1869
|
+
* Prop to define the variant of HorizontalBarChart to render
|
|
1870
|
+
*/
|
|
1871
|
+
variant?: HorizontalBarChartVariant;
|
|
1872
|
+
/**
|
|
1873
|
+
* Prop to hide the bar labels
|
|
1874
|
+
*/
|
|
1875
|
+
hideLabels?: boolean;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* Horizontal Bar Chart styles
|
|
1880
|
+
* {@docCategory HorizontalBarChart}
|
|
1881
|
+
*/
|
|
1882
|
+
export declare interface IHorizontalBarChartStyles {
|
|
1883
|
+
/**
|
|
1884
|
+
* Styling for the root container
|
|
1885
|
+
*/
|
|
1886
|
+
root: IStyle;
|
|
1887
|
+
/**
|
|
1888
|
+
* Styling for each item in the container
|
|
1889
|
+
*/
|
|
1890
|
+
items: IStyle;
|
|
1891
|
+
/**
|
|
1892
|
+
* Style for the chart.
|
|
1893
|
+
*/
|
|
1894
|
+
chart: IStyle;
|
|
1895
|
+
/**
|
|
1896
|
+
* Style for the chart Title.
|
|
1897
|
+
*/
|
|
1898
|
+
chartTitle: IStyle;
|
|
1899
|
+
/**
|
|
1900
|
+
* Style for the bars.
|
|
1901
|
+
*/
|
|
1902
|
+
barWrapper: IStyle;
|
|
1903
|
+
/**
|
|
1904
|
+
* Style for left side text of the chart title
|
|
1905
|
+
*/
|
|
1906
|
+
chartTitleLeft: IStyle;
|
|
1907
|
+
/**
|
|
1908
|
+
* Style for right side text of the chart title
|
|
1909
|
+
*/
|
|
1910
|
+
chartTitleRight: IStyle;
|
|
1911
|
+
/**
|
|
1912
|
+
* Style for the chart data text denominator.
|
|
1913
|
+
*/
|
|
1914
|
+
chartDataTextDenominator: IStyle;
|
|
1915
|
+
/**
|
|
1916
|
+
* Style for the benchmark container
|
|
1917
|
+
*/
|
|
1918
|
+
benchmarkContainer: IStyle;
|
|
1919
|
+
/**
|
|
1920
|
+
* Style for the benchmark triangle
|
|
1921
|
+
*/
|
|
1922
|
+
triangle: IStyle;
|
|
1923
|
+
/**
|
|
1924
|
+
* Style for the bar labels
|
|
1925
|
+
*/
|
|
1926
|
+
barLabel: IStyle;
|
|
1927
|
+
/**
|
|
1928
|
+
* Style for the div containing the chart
|
|
1929
|
+
*/
|
|
1930
|
+
chartWrapper: IStyle;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* {@docCategory IChartData}
|
|
1935
|
+
*/
|
|
1936
|
+
export declare interface IHorizontalBarChartWithAxisDataPoint {
|
|
1937
|
+
/**
|
|
1938
|
+
* Dependent value of the data point, rendered along the x-axis.
|
|
1939
|
+
*/
|
|
1940
|
+
x: number;
|
|
1941
|
+
/**
|
|
1942
|
+
* Independent value of the data point, rendered along the y-axis.
|
|
1943
|
+
* If y is a number, then each y-coordinate is plotted at its y-coordinate.
|
|
1944
|
+
* If y is a string, then the data is evenly spaced along the y-axis.
|
|
1945
|
+
*/
|
|
1946
|
+
y: number | string;
|
|
1947
|
+
/**
|
|
1948
|
+
* Legend text for the datapoint in the chart
|
|
1949
|
+
*/
|
|
1950
|
+
legend?: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* color for the legend in the chart
|
|
1953
|
+
*/
|
|
1954
|
+
color?: string;
|
|
1955
|
+
/**
|
|
1956
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
1957
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
1958
|
+
*/
|
|
1959
|
+
gradient?: [string, string];
|
|
1960
|
+
/**
|
|
1961
|
+
* Callout data for x axis
|
|
1962
|
+
* This is an optional prop, If haven;t given legend will take
|
|
1963
|
+
*/
|
|
1964
|
+
xAxisCalloutData?: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* Callout data for y axis
|
|
1967
|
+
* This is an optional prop, If haven't given data will take
|
|
1968
|
+
*/
|
|
1969
|
+
yAxisCalloutData?: string;
|
|
1970
|
+
/**
|
|
1971
|
+
* onClick action for each datapoint in the chart
|
|
1972
|
+
*/
|
|
1973
|
+
onClick?: VoidFunction;
|
|
1974
|
+
/**
|
|
1975
|
+
* Accessibility data for callout
|
|
1976
|
+
*/
|
|
1977
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* Horizontal Bar Chart with Axis properties
|
|
1982
|
+
* {@docCategory HorizontalBarChartWithAxis}
|
|
1983
|
+
*/
|
|
1984
|
+
export declare interface IHorizontalBarChartWithAxisProps extends ICartesianChartProps {
|
|
1985
|
+
/**
|
|
1986
|
+
* Data to render in the chart.
|
|
1987
|
+
*/
|
|
1988
|
+
data?: IHorizontalBarChartWithAxisDataPoint[];
|
|
1989
|
+
/**
|
|
1990
|
+
* Define a custom callout renderer for a data point.
|
|
1991
|
+
*/
|
|
1992
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<IHorizontalBarChartWithAxisDataPoint>;
|
|
1993
|
+
/**
|
|
1994
|
+
* Width of each bar in the chart.
|
|
1995
|
+
*/
|
|
1996
|
+
barHeight?: number;
|
|
1997
|
+
/**
|
|
1998
|
+
* Colors from which to select the color of each bar.
|
|
1999
|
+
*/
|
|
2000
|
+
colors?: string[];
|
|
2001
|
+
/**
|
|
2002
|
+
* chart title for the chart
|
|
2003
|
+
*/
|
|
2004
|
+
chartTitle?: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* This prop makes sure that all the bars are of same color.
|
|
2007
|
+
* it will take the first color from the array of colors in
|
|
2008
|
+
* prop `colors` or if `colors` prop is not given then default color is palette.blueLight
|
|
2009
|
+
* @default false
|
|
2010
|
+
*/
|
|
2011
|
+
useSingleColor?: boolean;
|
|
2012
|
+
/**
|
|
2013
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
2014
|
+
*/
|
|
2015
|
+
styles?: IStyleFunctionOrObject<IHorizontalBarChartWithAxisStyleProps, IHorizontalBarChartWithAxisStyles>;
|
|
2016
|
+
/**
|
|
2017
|
+
* The prop used to define the culture to localized the numbers
|
|
2018
|
+
*/
|
|
2019
|
+
culture?: string;
|
|
2020
|
+
/**
|
|
2021
|
+
* it's padding between bar's or lines in the graph
|
|
2022
|
+
*/
|
|
2023
|
+
yAxisPadding?: number;
|
|
2024
|
+
/**
|
|
2025
|
+
*@default false
|
|
2026
|
+
*Used for to elipse y axis labes and show tooltip on x axis labels
|
|
2027
|
+
*/
|
|
2028
|
+
showYAxisLablesTooltip?: boolean;
|
|
2029
|
+
/**
|
|
2030
|
+
*@default false
|
|
2031
|
+
*Used for showing complete y axis lables */
|
|
2032
|
+
showYAxisLables?: boolean;
|
|
2033
|
+
/**
|
|
2034
|
+
* @default false
|
|
2035
|
+
* The prop used to enable gradient fill color for the chart.
|
|
2036
|
+
*/
|
|
2037
|
+
enableGradient?: boolean;
|
|
2038
|
+
/**
|
|
2039
|
+
* @default false
|
|
2040
|
+
* The prop used to enable rounded corners for the bars.
|
|
2041
|
+
*/
|
|
2042
|
+
roundCorners?: boolean;
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* Horizontal Bar Chart with Axis style properties
|
|
2047
|
+
* {@docCategory HorizontalBarChartWithAxis}
|
|
2048
|
+
*/
|
|
2049
|
+
export declare interface IHorizontalBarChartWithAxisStyleProps extends ICartesianChartStyleProps {
|
|
2050
|
+
/**
|
|
2051
|
+
* color of the datapoint legend
|
|
2052
|
+
*/
|
|
2053
|
+
legendColor?: string;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
/**
|
|
2057
|
+
* Horizontal Bar Chart with Axis styles
|
|
2058
|
+
* {@docCategory HorizontalBarChartWithAxis}
|
|
2059
|
+
*/
|
|
2060
|
+
export declare interface IHorizontalBarChartWithAxisStyles extends ICartesianChartStyles {
|
|
2061
|
+
/**
|
|
2062
|
+
* Style for the chart label.
|
|
2063
|
+
*
|
|
2064
|
+
*/
|
|
2065
|
+
chartLabel?: IStyle;
|
|
2066
|
+
/**
|
|
2067
|
+
* Style for the line representing the domain of the x-axis.
|
|
2068
|
+
*
|
|
2069
|
+
*/
|
|
2070
|
+
xAxisDomain?: IStyle;
|
|
2071
|
+
/**
|
|
2072
|
+
* Style for the lines representing the ticks along the x-axis.
|
|
2073
|
+
*
|
|
2074
|
+
*/
|
|
2075
|
+
xAxisTicks?: IStyle;
|
|
2076
|
+
/**
|
|
2077
|
+
* Style for the text labeling each tick along the x-axis.
|
|
2078
|
+
*
|
|
2079
|
+
*/
|
|
2080
|
+
xAxisText?: IStyle;
|
|
2081
|
+
/**
|
|
2082
|
+
* Style for the line representing the domain of the y-axis.
|
|
2083
|
+
*
|
|
2084
|
+
*/
|
|
2085
|
+
yAxisDomain?: IStyle;
|
|
2086
|
+
/**
|
|
2087
|
+
* Style for the lines representing the ticks along the y-axis.
|
|
2088
|
+
*
|
|
2089
|
+
*/
|
|
2090
|
+
yAxisTicks?: IStyle;
|
|
2091
|
+
/**
|
|
2092
|
+
* Style for the text labeling each tick along the y-axis.
|
|
2093
|
+
*
|
|
2094
|
+
*/
|
|
2095
|
+
yAxisText?: IStyle;
|
|
2096
|
+
/**
|
|
2097
|
+
* Style to change the opacity of bars in dataviz when we hover on a single bar or legends
|
|
2098
|
+
*/
|
|
2099
|
+
opacityChangeOnHover: IStyle;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* {@docCategory IChartData}
|
|
2104
|
+
*/
|
|
2105
|
+
export declare interface IHorizontalDataPoint {
|
|
2106
|
+
/**
|
|
2107
|
+
* Independent value of the data point, rendered along the x-axis.
|
|
2108
|
+
* If x is a number, then each y-coordinate is plotted at its x-coordinate.
|
|
2109
|
+
* If x is a string, then the data is evenly spaced along the x-axis.
|
|
2110
|
+
*/
|
|
2111
|
+
x: number;
|
|
2112
|
+
/**
|
|
2113
|
+
* Dependent value of the data point, rendered along the y-axis.
|
|
2114
|
+
*/
|
|
2115
|
+
y: number;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* {@docCategory Chart}
|
|
2120
|
+
*/
|
|
2121
|
+
export declare interface IImageExportOptions {
|
|
2122
|
+
width?: number;
|
|
2123
|
+
height?: number;
|
|
2124
|
+
scale?: number;
|
|
2125
|
+
background?: string;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* @public
|
|
2130
|
+
* ILegend interface
|
|
2131
|
+
* {@docCategory Legends}
|
|
2132
|
+
*/
|
|
2133
|
+
export declare interface ILegend {
|
|
2134
|
+
/**
|
|
2135
|
+
* Defines the title of the legend
|
|
2136
|
+
*/
|
|
2137
|
+
title: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* Defines the function that is executed on clicking this legend
|
|
2140
|
+
*/
|
|
2141
|
+
action?: VoidFunction;
|
|
2142
|
+
/**
|
|
2143
|
+
* Defines the function that is executed upon hovering over the legend
|
|
2144
|
+
*/
|
|
2145
|
+
hoverAction?: VoidFunction;
|
|
2146
|
+
/**
|
|
2147
|
+
* Defines the function that is executed upon moving the mouse away from the legend
|
|
2148
|
+
*/
|
|
2149
|
+
onMouseOutAction?: (isLegendFocused?: boolean) => void;
|
|
2150
|
+
/**
|
|
2151
|
+
* The color for the legend
|
|
2152
|
+
*/
|
|
2153
|
+
color: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* The opacity of the legend color
|
|
2156
|
+
*/
|
|
2157
|
+
opacity?: number;
|
|
2158
|
+
/**
|
|
2159
|
+
* The shape for the legend
|
|
2160
|
+
*/
|
|
2161
|
+
shape?: LegendShape;
|
|
2162
|
+
/**
|
|
2163
|
+
* Indicated whether or not to apply stripe pattern
|
|
2164
|
+
*/
|
|
2165
|
+
stripePattern?: boolean;
|
|
2166
|
+
/**
|
|
2167
|
+
* Indicates if the legend belongs to a line in the Bar Chart
|
|
2168
|
+
*/
|
|
2169
|
+
isLineLegendInBarChart?: boolean;
|
|
2170
|
+
nativeButtonProps?: React_2.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* {@docCategory Legends}
|
|
2175
|
+
*/
|
|
2176
|
+
declare interface ILegendContainer {
|
|
2177
|
+
toSVG: (svgWidth: number, isRTL?: boolean) => {
|
|
2178
|
+
node: SVGGElement | null;
|
|
2179
|
+
width: number;
|
|
2180
|
+
height: number;
|
|
2181
|
+
};
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
export declare interface ILegendDataItem {
|
|
2185
|
+
/**
|
|
2186
|
+
* Text to be displayed for legend item.
|
|
2187
|
+
*/
|
|
2188
|
+
legendText: string | number;
|
|
2189
|
+
/**
|
|
2190
|
+
* Color for the specific legend
|
|
2191
|
+
*/
|
|
2192
|
+
legendColor: string;
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
export declare interface ILegendOverflowData {
|
|
2196
|
+
primary: ILegend[];
|
|
2197
|
+
overflow?: ILegend[];
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* @public
|
|
2202
|
+
* Legend properties
|
|
2203
|
+
* {@docCategory Legends}
|
|
2204
|
+
*/
|
|
2205
|
+
export declare interface ILegendsProps {
|
|
2206
|
+
/**
|
|
2207
|
+
* Prop that takes list of legends
|
|
2208
|
+
*/
|
|
2209
|
+
legends: ILegend[];
|
|
2210
|
+
/**
|
|
2211
|
+
* Additional CSS class(es) to apply to the legneds component.
|
|
2212
|
+
*/
|
|
2213
|
+
className?: string;
|
|
2214
|
+
/**
|
|
2215
|
+
* Theme (provided through customization.)
|
|
2216
|
+
*/
|
|
2217
|
+
theme?: ITheme;
|
|
2218
|
+
/**
|
|
2219
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
2220
|
+
*/
|
|
2221
|
+
styles?: IStyleFunctionOrObject<ILegendStyleProps, ILegendsStyles>;
|
|
2222
|
+
/**
|
|
2223
|
+
* This prop makes the legends component align itself to the center in the container it is sitting in
|
|
2224
|
+
*/
|
|
2225
|
+
centerLegends?: boolean;
|
|
2226
|
+
/**
|
|
2227
|
+
* Enable the legends to wrap lines if there is not enough space to show all legends on a single line
|
|
2228
|
+
*/
|
|
2229
|
+
enabledWrapLines?: boolean;
|
|
2230
|
+
/**
|
|
2231
|
+
* props for the overflow set component
|
|
2232
|
+
*/
|
|
2233
|
+
overflowProps?: Partial<IOverflowSetProps>;
|
|
2234
|
+
/**
|
|
2235
|
+
* focus zone props in hover card
|
|
2236
|
+
*/
|
|
2237
|
+
focusZonePropsInHoverCard?: IFocusZoneProps;
|
|
2238
|
+
/**
|
|
2239
|
+
* text for overflow legends string
|
|
2240
|
+
*/
|
|
2241
|
+
overflowText?: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* prop that decides if legends are focusable
|
|
2244
|
+
* @default true
|
|
2245
|
+
*/
|
|
2246
|
+
allowFocusOnLegends?: boolean;
|
|
2247
|
+
/**
|
|
2248
|
+
* prop that decide if we can select multiple legends or single legend at a time
|
|
2249
|
+
* @default false
|
|
2250
|
+
*/
|
|
2251
|
+
canSelectMultipleLegends?: boolean;
|
|
2252
|
+
/**
|
|
2253
|
+
* Defines the function that is executed upon hiding of hover card
|
|
2254
|
+
* make sure to send prop when the prop is canSelectMultipleLegends is set to true
|
|
2255
|
+
* and empty the selected state legends
|
|
2256
|
+
*/
|
|
2257
|
+
onLegendHoverCardLeave?: VoidFunction;
|
|
2258
|
+
/**
|
|
2259
|
+
* Callback issued when the selected option changes.
|
|
2260
|
+
*/
|
|
2261
|
+
onChange?: (selectedLegends: string[], event: React_2.MouseEvent<HTMLButtonElement>, currentLegend?: ILegend) => void;
|
|
2262
|
+
/**
|
|
2263
|
+
* Keys (title) that will be initially used to set selected items. This prop is used for multi-select scenarios when
|
|
2264
|
+
* canSelectMultipleLegends is true; for single-select, use defaultSelectedLegend.
|
|
2265
|
+
*
|
|
2266
|
+
* Updating this prop does not change the selection after the component has been initialized. For controlled
|
|
2267
|
+
* selections, use selectedLegends instead.
|
|
2268
|
+
*
|
|
2269
|
+
* @see selectedLegends for setting the selected legends in controlled mode.
|
|
2270
|
+
* @see defaultSelectedLegend for setting the initially selected legend when canSelectMultipleLegends is false.
|
|
2271
|
+
*/
|
|
2272
|
+
defaultSelectedLegends?: string[];
|
|
2273
|
+
/**
|
|
2274
|
+
* Key that will be initially used to set selected item. This prop is used for single-select scenarios when
|
|
2275
|
+
* canSelectMultipleLegends is false or unspecified; for multi-select, use defaultSelectedLegends.
|
|
2276
|
+
*
|
|
2277
|
+
* Updating this prop does not change the selection after the component has been initialized. For controlled
|
|
2278
|
+
* selections, use selectedLegend instead.
|
|
2279
|
+
*
|
|
2280
|
+
* @see selectedLegend for setting the selected legend in controlled mode.
|
|
2281
|
+
* @see defaultSelectedLegends for setting the initially selected legends when canSelectMultipleLegends is true.
|
|
2282
|
+
*/
|
|
2283
|
+
defaultSelectedLegend?: string;
|
|
2284
|
+
/**
|
|
2285
|
+
* Keys (title) that will be used to set selected items in multi-select scenarios when canSelectMultipleLegends is
|
|
2286
|
+
* true. For single-select, use selectedLegend.
|
|
2287
|
+
*
|
|
2288
|
+
* When this prop is provided, the component is controlled and does not automatically update the selection based on
|
|
2289
|
+
* user interactions; the parent component must update the value passed to this property by handling the onChange
|
|
2290
|
+
* event.
|
|
2291
|
+
*
|
|
2292
|
+
* @see defaultSelectedLegends for setting the initially-selected legends in uncontrolled mode.
|
|
2293
|
+
* @see selectedLegends for setting the selected legends when `canSelectMultipleLegends` is `true`.
|
|
2294
|
+
*/
|
|
2295
|
+
selectedLegends?: string[];
|
|
2296
|
+
/**
|
|
2297
|
+
* Key (title) that will be used to set the selected item in single-select scenarios when canSelectMultipleLegends is
|
|
2298
|
+
* false or unspecified. For multi-select, use selectedLegends.
|
|
2299
|
+
*
|
|
2300
|
+
* When this prop is provided, the component is controlled and does not automatically update the selection based on
|
|
2301
|
+
* user interactions; the parent component must update the value passed to this property by handling the onChange
|
|
2302
|
+
* event.
|
|
2303
|
+
*
|
|
2304
|
+
* @see defaultSelectedLegend for setting the initially-selected legend in uncontrolled mode.
|
|
2305
|
+
* @see selectedLegend for setting the selected legend when `canSelectMultipleLegends` is `false`.
|
|
2306
|
+
*/
|
|
2307
|
+
selectedLegend?: string;
|
|
2308
|
+
/**
|
|
2309
|
+
* The shape for the legend.
|
|
2310
|
+
*/
|
|
2311
|
+
shape?: LegendShape;
|
|
2312
|
+
/**
|
|
2313
|
+
* Callback to access the public methods and properties of the component.
|
|
2314
|
+
*/
|
|
2315
|
+
ref?: IRefObject<ILegendContainer>;
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* @public
|
|
2320
|
+
* Legends styles
|
|
2321
|
+
* {@docCategory Legends}
|
|
2322
|
+
*/
|
|
2323
|
+
export declare interface ILegendsStyles {
|
|
2324
|
+
/**
|
|
2325
|
+
* Style set for the root of the legend component
|
|
2326
|
+
*/
|
|
2327
|
+
root: IStyle;
|
|
2328
|
+
/**
|
|
2329
|
+
* Style set for Legend. This is a wrapping class for text of legend and the rectange box that represents a legend
|
|
2330
|
+
*/
|
|
2331
|
+
legend: IStyle;
|
|
2332
|
+
/**
|
|
2333
|
+
* Style set for the rectangle that represents a legend
|
|
2334
|
+
*/
|
|
2335
|
+
rect: IStyle;
|
|
2336
|
+
/**
|
|
2337
|
+
* styles set for the shape that represents a legend
|
|
2338
|
+
*/
|
|
2339
|
+
shape: IStyle;
|
|
2340
|
+
/**
|
|
2341
|
+
* Style set for the triangle that represents a legend
|
|
2342
|
+
*/
|
|
2343
|
+
triangle: IStyle;
|
|
2344
|
+
/**
|
|
2345
|
+
* Style for the legend text
|
|
2346
|
+
*/
|
|
2347
|
+
text: IStyle;
|
|
2348
|
+
/**
|
|
2349
|
+
* Style for the legend text
|
|
2350
|
+
*/
|
|
2351
|
+
hoverChange: IStyle;
|
|
2352
|
+
/**
|
|
2353
|
+
* Style for the text that indicates the no.of legends that are in hovercard due to lack of space
|
|
2354
|
+
*/
|
|
2355
|
+
overflowIndicationTextStyle: IStyle;
|
|
2356
|
+
/**
|
|
2357
|
+
* Style for the overflow container
|
|
2358
|
+
*/
|
|
2359
|
+
hoverCardRoot: IStyle;
|
|
2360
|
+
/**
|
|
2361
|
+
* sub component styles
|
|
2362
|
+
*/
|
|
2363
|
+
subComponentStyles: ILegendSubComponentStyles;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* @public
|
|
2368
|
+
* Legend style properties
|
|
2369
|
+
* {@docCategory Legends}
|
|
2370
|
+
*/
|
|
2371
|
+
export declare interface ILegendStyleProps {
|
|
2372
|
+
theme?: ITheme;
|
|
2373
|
+
className?: string;
|
|
2374
|
+
colorOnSelectedState?: string;
|
|
2375
|
+
borderColor?: string;
|
|
2376
|
+
opacity?: number;
|
|
2377
|
+
overflow?: boolean;
|
|
2378
|
+
stripePattern?: boolean;
|
|
2379
|
+
isLineLegendInBarChart?: boolean;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* @public
|
|
2384
|
+
* {@docCategory Legends}
|
|
2385
|
+
*/
|
|
2386
|
+
export declare interface ILegendSubComponentStyles {
|
|
2387
|
+
hoverCardStyles: IStyleFunctionOrObject<IHoverCardStyleProps, IHoverCardStyles>;
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* {@docCategory IChartData}
|
|
2392
|
+
*/
|
|
2393
|
+
export declare interface ILineChartDataPoint {
|
|
2394
|
+
/**
|
|
2395
|
+
* Independent value of the data point, rendered along the x-axis.
|
|
2396
|
+
* If x is a number, then each y-coordinate is plotted at its x-coordinate.
|
|
2397
|
+
* If data type on x is Date, then the data is spaced evenly by d3-scale
|
|
2398
|
+
*/
|
|
2399
|
+
x: number | Date;
|
|
2400
|
+
/**
|
|
2401
|
+
* Dependent value of the data point, rendered along the y-axis.
|
|
2402
|
+
*/
|
|
2403
|
+
y: number;
|
|
2404
|
+
/**
|
|
2405
|
+
* Defines the function that is executed on clicking line
|
|
2406
|
+
*/
|
|
2407
|
+
onDataPointClick?: () => void;
|
|
2408
|
+
/**
|
|
2409
|
+
* Callout data for x axis
|
|
2410
|
+
*/
|
|
2411
|
+
xAxisCalloutData?: string;
|
|
2412
|
+
/**
|
|
2413
|
+
* Callout data for y axis
|
|
2414
|
+
*/
|
|
2415
|
+
yAxisCalloutData?: string | {
|
|
2416
|
+
[id: string]: number;
|
|
2417
|
+
};
|
|
2418
|
+
/**
|
|
2419
|
+
* Whether to hide callout data for the point.
|
|
2420
|
+
*/
|
|
2421
|
+
hideCallout?: boolean;
|
|
2422
|
+
/**
|
|
2423
|
+
* Accessibility data for callout
|
|
2424
|
+
*/
|
|
2425
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
2426
|
+
/**
|
|
2427
|
+
* X axis Accessibility data for callout
|
|
2428
|
+
*/
|
|
2429
|
+
xAxisCalloutAccessibilityData?: IAccessibilityProps;
|
|
2430
|
+
/**
|
|
2431
|
+
* Marker size of the points
|
|
2432
|
+
*/
|
|
2433
|
+
markerSize?: number;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
/**
|
|
2437
|
+
* {@docCategory IChartData}
|
|
2438
|
+
*/
|
|
2439
|
+
export declare interface ILineChartGap {
|
|
2440
|
+
/**
|
|
2441
|
+
* Starting index of the gap.
|
|
2442
|
+
*/
|
|
2443
|
+
startIndex: number;
|
|
2444
|
+
/**
|
|
2445
|
+
* Ending index of the gap.
|
|
2446
|
+
*/
|
|
2447
|
+
endIndex: number;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
/**
|
|
2451
|
+
* {@docCategory IChartProps}
|
|
2452
|
+
*/
|
|
2453
|
+
export declare interface ILineChartLineOptions extends React_2.SVGProps<SVGPathElement> {
|
|
2454
|
+
/**
|
|
2455
|
+
* Width of the line/stroke.
|
|
2456
|
+
* Overrides the strokeWidth set on ICartesianChartProps level.
|
|
2457
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-width
|
|
2458
|
+
*/
|
|
2459
|
+
strokeWidth?: number | string;
|
|
2460
|
+
/**
|
|
2461
|
+
* Pattern of dashes and gaps.
|
|
2462
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray
|
|
2463
|
+
*/
|
|
2464
|
+
strokeDasharray?: string | number;
|
|
2465
|
+
/**
|
|
2466
|
+
* Offset on rendering of stroke dash array.
|
|
2467
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dashoffset
|
|
2468
|
+
*/
|
|
2469
|
+
strokeDashoffset?: string | number;
|
|
2470
|
+
/**
|
|
2471
|
+
* Shape at the end of a subpath.
|
|
2472
|
+
* Default round.
|
|
2473
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linecap
|
|
2474
|
+
*/
|
|
2475
|
+
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit';
|
|
2476
|
+
/**
|
|
2477
|
+
* Width of border around the line. Default no border.
|
|
2478
|
+
*/
|
|
2479
|
+
lineBorderWidth?: string | number;
|
|
2480
|
+
/**
|
|
2481
|
+
* Color of border around the line. Default white.
|
|
2482
|
+
*/
|
|
2483
|
+
lineBorderColor?: string;
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* {@docCategory IChartData}
|
|
2488
|
+
*/
|
|
2489
|
+
export declare interface ILineChartPoints {
|
|
2490
|
+
/**
|
|
2491
|
+
* Legend text for the datapoint in the chart
|
|
2492
|
+
*/
|
|
2493
|
+
legend: string;
|
|
2494
|
+
/**
|
|
2495
|
+
* The shape for the legend
|
|
2496
|
+
* default: show the rect legend
|
|
2497
|
+
*/
|
|
2498
|
+
legendShape?: LegendShape;
|
|
2499
|
+
/**
|
|
2500
|
+
* dataPoints for the line chart
|
|
2501
|
+
*/
|
|
2502
|
+
data: ILineChartDataPoint[];
|
|
2503
|
+
/**
|
|
2504
|
+
* gaps in the line chart where a line is not drawn
|
|
2505
|
+
*/
|
|
2506
|
+
gaps?: ILineChartGap[];
|
|
2507
|
+
/**
|
|
2508
|
+
* color for the legend in the chart
|
|
2509
|
+
*/
|
|
2510
|
+
color?: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* opacity for chart fill color
|
|
2513
|
+
*/
|
|
2514
|
+
opacity?: number;
|
|
2515
|
+
/**
|
|
2516
|
+
* options for the line drawn
|
|
2517
|
+
*/
|
|
2518
|
+
lineOptions?: ILineChartLineOptions;
|
|
2519
|
+
/**
|
|
2520
|
+
* hide dots for points that are not active
|
|
2521
|
+
*/
|
|
2522
|
+
hideNonActiveDots?: boolean;
|
|
2523
|
+
/**
|
|
2524
|
+
* Defines the function that is executed on clicking this legend
|
|
2525
|
+
*/
|
|
2526
|
+
onLegendClick?: (selectedLegend: string | null | string[]) => void;
|
|
2527
|
+
/**
|
|
2528
|
+
* Defines the function that is executed on clicking line
|
|
2529
|
+
*/
|
|
2530
|
+
onLineClick?: () => void;
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* Line Chart properties
|
|
2535
|
+
* {@docCategory LineChart}
|
|
2536
|
+
*/
|
|
2537
|
+
export declare interface ILineChartProps extends ICartesianChartProps {
|
|
2538
|
+
/**
|
|
2539
|
+
* Data to render in the chart.
|
|
2540
|
+
*/
|
|
2541
|
+
data: IChartProps;
|
|
2542
|
+
/**
|
|
2543
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
2544
|
+
*/
|
|
2545
|
+
styles?: IStyleFunctionOrObject<ILineChartStyleProps, ILineChartStyles>;
|
|
2546
|
+
/**
|
|
2547
|
+
* Show event annotation
|
|
2548
|
+
*/
|
|
2549
|
+
eventAnnotationProps?: IEventsAnnotationProps;
|
|
2550
|
+
/**
|
|
2551
|
+
* Define a custom callout renderer for a data point
|
|
2552
|
+
*/
|
|
2553
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;
|
|
2554
|
+
/**
|
|
2555
|
+
* Define a custom callout renderer for a stack; default is to render per data point
|
|
2556
|
+
*/
|
|
2557
|
+
onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;
|
|
2558
|
+
/**
|
|
2559
|
+
* Callback for getting callout description message
|
|
2560
|
+
*/
|
|
2561
|
+
getCalloutDescriptionMessage?: (calloutDataProps: ICustomizedCalloutData) => string | undefined;
|
|
2562
|
+
colorFillBars?: IColorFillBarsProps[];
|
|
2563
|
+
/**
|
|
2564
|
+
* if this is set to true, then for each line there will be a unique shape assigned to the point,
|
|
2565
|
+
* there are total 8 shapes which are as follow circle, square, triangele, diamond, pyramid,
|
|
2566
|
+
* hexagon, pentagon and octagon, which will get assigned as respectively, if there are more
|
|
2567
|
+
* than 8 lines in the line chart then it will again start from cicle to octagon.
|
|
2568
|
+
* setting this flag to true will also change the behavior of the points, like for a
|
|
2569
|
+
* line, last point shape and first point shape will be visible all the times, and all
|
|
2570
|
+
* other points will get enlarge only when hovered over them
|
|
2571
|
+
* if set to false default shape will be circle, with the existing behavior
|
|
2572
|
+
* @default false
|
|
2573
|
+
*/
|
|
2574
|
+
allowMultipleShapesForPoints?: boolean;
|
|
2575
|
+
optimizeLargeData?: boolean;
|
|
2576
|
+
/**
|
|
2577
|
+
* The prop used to define the culture to localized the numbers
|
|
2578
|
+
*/
|
|
2579
|
+
culture?: string;
|
|
2580
|
+
/**
|
|
2581
|
+
* @default false
|
|
2582
|
+
* The prop used to enable the perf optimization
|
|
2583
|
+
*/
|
|
2584
|
+
enablePerfOptimization?: boolean;
|
|
2585
|
+
/**
|
|
2586
|
+
* @default default
|
|
2587
|
+
* The prop used to define line chart mode(default or scatter)
|
|
2588
|
+
*/
|
|
2589
|
+
lineMode?: 'default' | 'scatter';
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
/**
|
|
2593
|
+
* Line Chart style properties
|
|
2594
|
+
* {@docCategory LineChart}
|
|
2595
|
+
*/
|
|
2596
|
+
export declare interface ILineChartStyleProps extends ICartesianChartStyleProps {
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* Line Chart styles
|
|
2601
|
+
* {@docCategory LineChart}
|
|
2602
|
+
*/
|
|
2603
|
+
export declare interface ILineChartStyles extends ICartesianChartStyles {
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* {@docCategory IChartData}
|
|
2608
|
+
*/
|
|
2609
|
+
export declare interface ILineDataInVerticalBarChart {
|
|
2610
|
+
y: IVerticalBarChartDataPoint['y'];
|
|
2611
|
+
yAxisCalloutData?: string | undefined;
|
|
2612
|
+
/**
|
|
2613
|
+
* onClick action for each datapoint in the chart
|
|
2614
|
+
*/
|
|
2615
|
+
onClick?: VoidFunction;
|
|
2616
|
+
/**
|
|
2617
|
+
* Whether to use the secondary y scale or not
|
|
2618
|
+
* False by default.
|
|
2619
|
+
*/
|
|
2620
|
+
useSecondaryYScale?: boolean;
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
/**
|
|
2624
|
+
* {@docCategory IChartData}
|
|
2625
|
+
*/
|
|
2626
|
+
export declare interface ILineDataInVerticalStackedBarChart {
|
|
2627
|
+
y: number;
|
|
2628
|
+
color: string;
|
|
2629
|
+
legend: string;
|
|
2630
|
+
/**
|
|
2631
|
+
* Data to show in callout
|
|
2632
|
+
*/
|
|
2633
|
+
data?: number;
|
|
2634
|
+
yAxisCalloutData?: string;
|
|
2635
|
+
/**
|
|
2636
|
+
* Whether to use the secondary y scale or not
|
|
2637
|
+
* False by default.
|
|
2638
|
+
*/
|
|
2639
|
+
useSecondaryYScale?: boolean;
|
|
2640
|
+
/**
|
|
2641
|
+
* options for the line drawn
|
|
2642
|
+
*/
|
|
2643
|
+
lineOptions?: ILineChartLineOptions;
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* {@docCategory IChartProps}
|
|
2648
|
+
*/
|
|
2649
|
+
export declare interface IMargins {
|
|
2650
|
+
/**
|
|
2651
|
+
* left margin for the chart.
|
|
2652
|
+
*/
|
|
2653
|
+
left?: number;
|
|
2654
|
+
/**
|
|
2655
|
+
* Right margin for the chart.
|
|
2656
|
+
*/
|
|
2657
|
+
right?: number;
|
|
2658
|
+
/**
|
|
2659
|
+
* Top margin for the chart.
|
|
2660
|
+
*/
|
|
2661
|
+
top?: number;
|
|
2662
|
+
/**
|
|
2663
|
+
* Bottom margin for the chart.
|
|
2664
|
+
*/
|
|
2665
|
+
bottom?: number;
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
declare interface IMargins_2 {
|
|
2669
|
+
/**
|
|
2670
|
+
* left margin for the chart.
|
|
2671
|
+
* @default 40
|
|
2672
|
+
*/
|
|
2673
|
+
left?: number;
|
|
2674
|
+
/**
|
|
2675
|
+
* Right margin for the chart.
|
|
2676
|
+
* @default 20
|
|
2677
|
+
*/
|
|
2678
|
+
right?: number;
|
|
2679
|
+
/**
|
|
2680
|
+
* Top margin for the chart.
|
|
2681
|
+
* @default 20
|
|
2682
|
+
*/
|
|
2683
|
+
top?: number;
|
|
2684
|
+
/**
|
|
2685
|
+
* Bottom margin for the chart.
|
|
2686
|
+
* @default 35
|
|
2687
|
+
*/
|
|
2688
|
+
bottom?: number;
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
export declare interface IModifiedCartesianChartProps extends ICartesianChartProps {
|
|
2692
|
+
/**
|
|
2693
|
+
* Define the chart title
|
|
2694
|
+
*/
|
|
2695
|
+
chartTitle?: string;
|
|
2696
|
+
/**
|
|
2697
|
+
* Only used for Area chart
|
|
2698
|
+
* Value used to draw y axis of that chart.
|
|
2699
|
+
*/
|
|
2700
|
+
maxOfYVal?: number;
|
|
2701
|
+
/**
|
|
2702
|
+
* Data of the chart
|
|
2703
|
+
*/
|
|
2704
|
+
points: any;
|
|
2705
|
+
/**
|
|
2706
|
+
* Define type of the chart
|
|
2707
|
+
*/
|
|
2708
|
+
chartType: ChartTypes;
|
|
2709
|
+
/** X axis type */
|
|
2710
|
+
xAxisType: XAxisTypes;
|
|
2711
|
+
/** Y axis type */
|
|
2712
|
+
yAxisType?: YAxisType;
|
|
2713
|
+
/**
|
|
2714
|
+
* Legends of the chart.
|
|
2715
|
+
*/
|
|
2716
|
+
legendBars: JSX.Element | null;
|
|
2717
|
+
/**
|
|
2718
|
+
* Callout props
|
|
2719
|
+
*/
|
|
2720
|
+
calloutProps: Partial<ICalloutProps> & {
|
|
2721
|
+
isCalloutVisible: boolean;
|
|
2722
|
+
id: string;
|
|
2723
|
+
YValueHover?: IYValueHover[];
|
|
2724
|
+
hoverXValue?: string | number | null;
|
|
2725
|
+
legend?: string;
|
|
2726
|
+
color?: string;
|
|
2727
|
+
YValue?: string | number;
|
|
2728
|
+
XValue?: string;
|
|
2729
|
+
descriptionMessage?: string;
|
|
2730
|
+
};
|
|
2731
|
+
/**
|
|
2732
|
+
* Callback method used for to get margins to the chart.
|
|
2733
|
+
*/
|
|
2734
|
+
getmargins?: (margins: IMargins) => void;
|
|
2735
|
+
/**
|
|
2736
|
+
* This is a call back method to the chart from cartesian chart.
|
|
2737
|
+
* params are xScale, yScale, containerHeight, containerWidth. These values were used to draw the graph.
|
|
2738
|
+
* It also contians an optional param xAxisElement - defines as x axis scale element.
|
|
2739
|
+
* This param used to enable feature word wrap of Xaxis.
|
|
2740
|
+
*/
|
|
2741
|
+
getGraphData?: any;
|
|
2742
|
+
/**
|
|
2743
|
+
* Used for bar chart graphs.
|
|
2744
|
+
* To define width of the bar
|
|
2745
|
+
*/
|
|
2746
|
+
barwidth?: number;
|
|
2747
|
+
/**
|
|
2748
|
+
* Used for tick styles of the x axis of the chart
|
|
2749
|
+
* Tick params are applicable for date axis only.
|
|
2750
|
+
*/
|
|
2751
|
+
tickParams?: {
|
|
2752
|
+
tickValues?: number[] | Date[] | string[];
|
|
2753
|
+
tickFormat?: string;
|
|
2754
|
+
};
|
|
2755
|
+
/**
|
|
2756
|
+
* it's padding between bar's or lines in the graph
|
|
2757
|
+
*/
|
|
2758
|
+
xAxisPadding?: number;
|
|
2759
|
+
/**
|
|
2760
|
+
* it's padding between bar's or lines in the graph
|
|
2761
|
+
*/
|
|
2762
|
+
yAxisPadding?: number;
|
|
2763
|
+
/**
|
|
2764
|
+
* Children elements specific to derived chart types.
|
|
2765
|
+
*/
|
|
2766
|
+
children(props: IChildProps): React_2.ReactNode;
|
|
2767
|
+
/**
|
|
2768
|
+
* To enable callout for individualbar or complete stack. Using for only Vertical stacked bar chart.
|
|
2769
|
+
* @default false
|
|
2770
|
+
* @type \{boolean \}
|
|
2771
|
+
*/
|
|
2772
|
+
isCalloutForStack?: boolean;
|
|
2773
|
+
/** dataset values to find out domain of the String axis
|
|
2774
|
+
* Present using for only vertical stacked bar chart and grouped vertical bar chart
|
|
2775
|
+
*/
|
|
2776
|
+
datasetForXAxisDomain?: string[];
|
|
2777
|
+
/** Own callout design */
|
|
2778
|
+
customizedCallout?: any;
|
|
2779
|
+
/**
|
|
2780
|
+
* if the data points for the y-axis is of type string, then we need to give this
|
|
2781
|
+
* prop to construct the y-axis
|
|
2782
|
+
*/
|
|
2783
|
+
stringDatasetForYAxisDomain?: string[];
|
|
2784
|
+
/**
|
|
2785
|
+
* Focus zone direction to the chart
|
|
2786
|
+
* @default FocusZoneDirection.horizontal
|
|
2787
|
+
*/
|
|
2788
|
+
focusZoneDirection?: FocusZoneDirection;
|
|
2789
|
+
/**
|
|
2790
|
+
* props to send into the chart hover card
|
|
2791
|
+
*/
|
|
2792
|
+
chartHoverProps?: IChartHoverCardProps;
|
|
2793
|
+
/**
|
|
2794
|
+
* props to send to the focuszone
|
|
2795
|
+
*/
|
|
2796
|
+
svgFocusZoneProps?: IFocusZoneProps;
|
|
2797
|
+
/**
|
|
2798
|
+
* The prop used to define the culture to localize the numbers and date
|
|
2799
|
+
*/
|
|
2800
|
+
culture?: string;
|
|
2801
|
+
getAxisData?: any;
|
|
2802
|
+
/**
|
|
2803
|
+
* Callback method used when mouse leaves the chart boundary.
|
|
2804
|
+
*/
|
|
2805
|
+
onChartMouseLeave?: () => void;
|
|
2806
|
+
/** Callback method to get extra margins for domain */
|
|
2807
|
+
getDomainMargins?: (containerWidth: number) => IMargins;
|
|
2808
|
+
/** Padding between each bar/line-point */
|
|
2809
|
+
xAxisInnerPadding?: number;
|
|
2810
|
+
/** Padding before first bar/line-point and after last bar/line-point */
|
|
2811
|
+
xAxisOuterPadding?: number;
|
|
2812
|
+
/**
|
|
2813
|
+
*@default false
|
|
2814
|
+
*Used for to elipse y axis labes and show tooltip on x axis labels
|
|
2815
|
+
*/
|
|
2816
|
+
showYAxisLablesTooltip?: boolean;
|
|
2817
|
+
/**
|
|
2818
|
+
*@default false
|
|
2819
|
+
*Used for showing complete y axis lables */
|
|
2820
|
+
showYAxisLables?: boolean;
|
|
2821
|
+
/**
|
|
2822
|
+
* @default false
|
|
2823
|
+
* Used to control the first render cycle Performance optimization code.
|
|
2824
|
+
*/
|
|
2825
|
+
enableFirstRenderOptimization?: boolean;
|
|
2826
|
+
/**
|
|
2827
|
+
* Get the min and max values of the y-axis
|
|
2828
|
+
*/
|
|
2829
|
+
getMinMaxOfYAxis: (points: ILineChartPoints[] | IHorizontalBarChartWithAxisDataPoint[] | IVerticalBarChartDataPoint[] | IDataPoint[], yAxisType: YAxisType | undefined) => {
|
|
2830
|
+
startValue: number;
|
|
2831
|
+
endValue: number;
|
|
2832
|
+
};
|
|
2833
|
+
/**
|
|
2834
|
+
* Create the y-axis
|
|
2835
|
+
*/
|
|
2836
|
+
createYAxis: (yAxisParams: IYAxisParams, isRtl: boolean, axisData: IAxisData, isIntegralDataset: boolean, useSecondaryYScale?: boolean, supportNegativeData?: boolean, roundedTicks?: boolean) => ScaleLinear<number, number, never>;
|
|
2837
|
+
/**
|
|
2838
|
+
* Get the domain and range values
|
|
2839
|
+
*/
|
|
2840
|
+
getDomainNRangeValues: (points: ILineChartPoints[] | IVerticalBarChartDataPoint[] | IVerticalStackedBarDataPoint[] | IHorizontalBarChartWithAxisDataPoint[] | IGroupedVerticalBarChartData[] | IHeatMapChartDataPoint[], margins: IMargins, width: number, chartType: ChartTypes, isRTL: boolean, xAxisType: XAxisTypes, barWidth: number, tickValues: Date[] | number[] | string[] | undefined, shiftX: number) => IDomainNRange;
|
|
2841
|
+
/**
|
|
2842
|
+
* Create the string y-axis
|
|
2843
|
+
*/
|
|
2844
|
+
createStringYAxis: (yAxisParams: IYAxisParams, dataPoints: string[], isRtl: boolean, barWidth: number | undefined) => ScaleBand<string>;
|
|
2845
|
+
/**
|
|
2846
|
+
* Callback to access the public methods and properties of the component.
|
|
2847
|
+
*/
|
|
2848
|
+
ref?: IRefObject<IChart>;
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* Multi Stacked Bar Chart properties
|
|
2853
|
+
* {@docCategory MultiStackedBarChart}
|
|
2854
|
+
*/
|
|
2855
|
+
export declare interface IMultiStackedBarChartProps {
|
|
2856
|
+
/**
|
|
2857
|
+
* An array of chart data points for the multistacked bar chart
|
|
2858
|
+
*/
|
|
2859
|
+
data?: IChartProps[];
|
|
2860
|
+
/**
|
|
2861
|
+
* Width of bar chart
|
|
2862
|
+
*/
|
|
2863
|
+
width?: number;
|
|
2864
|
+
/**
|
|
2865
|
+
* Height of bar chart
|
|
2866
|
+
* @default 15
|
|
2867
|
+
*/
|
|
2868
|
+
barHeight?: number;
|
|
2869
|
+
/**
|
|
2870
|
+
* Additional CSS class(es) to apply to the StackedBarChart.
|
|
2871
|
+
*/
|
|
2872
|
+
className?: string;
|
|
2873
|
+
/**
|
|
2874
|
+
* Theme (provided through customization.)
|
|
2875
|
+
*/
|
|
2876
|
+
theme?: ITheme;
|
|
2877
|
+
/**
|
|
2878
|
+
* This property tells whether to show ratio on top of stacked bar chart or not.
|
|
2879
|
+
* This property is applicable only if there are 1 or 2 datapoints.
|
|
2880
|
+
*/
|
|
2881
|
+
hideRatio?: boolean[];
|
|
2882
|
+
/**
|
|
2883
|
+
* Do not show the legend at the bottom of chart
|
|
2884
|
+
*
|
|
2885
|
+
* @default false
|
|
2886
|
+
*/
|
|
2887
|
+
hideLegend?: boolean;
|
|
2888
|
+
/**
|
|
2889
|
+
* Do not show tooltips in chart
|
|
2890
|
+
*
|
|
2891
|
+
* @default false
|
|
2892
|
+
*/
|
|
2893
|
+
hideTooltip?: boolean;
|
|
2894
|
+
/**
|
|
2895
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
2896
|
+
*/
|
|
2897
|
+
styles?: IStyleFunctionOrObject<IMultiStackedBarChartStyleProps, IMultiStackedBarChartStyles>;
|
|
2898
|
+
/**
|
|
2899
|
+
* Url that the data-viz needs to redirect to upon clicking on it
|
|
2900
|
+
*/
|
|
2901
|
+
href?: string;
|
|
2902
|
+
/**
|
|
2903
|
+
* If this value is set to true the denominator will not be shown for the ratio above the chart
|
|
2904
|
+
* This prop is applicable only if hide ratio is false and there are exactly 2 datapoints.
|
|
2905
|
+
*/
|
|
2906
|
+
hideDenominator?: boolean[];
|
|
2907
|
+
/**
|
|
2908
|
+
* overflow props for legend
|
|
2909
|
+
*/
|
|
2910
|
+
legendsOverflowProps?: Partial<IOverflowSetProps>;
|
|
2911
|
+
/**
|
|
2912
|
+
* text for overflow legends string
|
|
2913
|
+
*/
|
|
2914
|
+
legendsOverflowText?: string;
|
|
2915
|
+
/**
|
|
2916
|
+
* focus zone props in hover card for legends
|
|
2917
|
+
*/
|
|
2918
|
+
focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;
|
|
2919
|
+
/**
|
|
2920
|
+
* props for the legends in the chart
|
|
2921
|
+
*/
|
|
2922
|
+
legendProps?: Partial<ILegendsProps>;
|
|
2923
|
+
/**
|
|
2924
|
+
* Define a custom callout renderer for a data point
|
|
2925
|
+
*/
|
|
2926
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;
|
|
2927
|
+
/**
|
|
2928
|
+
* props for the callout in the chart
|
|
2929
|
+
*/
|
|
2930
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
2931
|
+
/**
|
|
2932
|
+
* The prop used to define the culture to localized the numbers
|
|
2933
|
+
*/
|
|
2934
|
+
culture?: string;
|
|
2935
|
+
/**
|
|
2936
|
+
* Prop to define the variant of MultiStackedBarChart to render
|
|
2937
|
+
* @default MultiStackedBarChartVariant.PartToWhole
|
|
2938
|
+
*/
|
|
2939
|
+
variant?: MultiStackedBarChartVariant;
|
|
2940
|
+
/**
|
|
2941
|
+
* Prop to hide the bar labels
|
|
2942
|
+
* @default false
|
|
2943
|
+
*/
|
|
2944
|
+
hideLabels?: boolean;
|
|
2945
|
+
/**
|
|
2946
|
+
* @default false
|
|
2947
|
+
* The prop used to enable gradient fill color for the chart.
|
|
2948
|
+
*/
|
|
2949
|
+
enableGradient?: boolean;
|
|
2950
|
+
/**
|
|
2951
|
+
* @default false
|
|
2952
|
+
* The prop used to enable rounded corners for the chart.
|
|
2953
|
+
*/
|
|
2954
|
+
roundCorners?: boolean;
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
/**
|
|
2958
|
+
* Multi Stacked Bar Chart style properties
|
|
2959
|
+
* {@docCategory MultiStackedBarChart}
|
|
2960
|
+
*/
|
|
2961
|
+
export declare interface IMultiStackedBarChartStyleProps {
|
|
2962
|
+
/**
|
|
2963
|
+
* Theme (provided through customization.)
|
|
2964
|
+
*/
|
|
2965
|
+
theme: ITheme;
|
|
2966
|
+
/**
|
|
2967
|
+
* Additional CSS class(es) to apply to the StackedBarChart.
|
|
2968
|
+
*/
|
|
2969
|
+
className?: string;
|
|
2970
|
+
/**
|
|
2971
|
+
* Width of the chart.
|
|
2972
|
+
*/
|
|
2973
|
+
width?: number;
|
|
2974
|
+
/**
|
|
2975
|
+
* barHeight for each chart
|
|
2976
|
+
*/
|
|
2977
|
+
barHeight?: number;
|
|
2978
|
+
/**
|
|
2979
|
+
* color of the datapoint legend
|
|
2980
|
+
*/
|
|
2981
|
+
legendColor?: string;
|
|
2982
|
+
/**
|
|
2983
|
+
* prop to check if the chart is selcted or hovered upon to determine opacity
|
|
2984
|
+
*/
|
|
2985
|
+
shouldHighlight?: boolean;
|
|
2986
|
+
/**
|
|
2987
|
+
* prop to check to decide cursor type
|
|
2988
|
+
*/
|
|
2989
|
+
href?: string;
|
|
2990
|
+
/**
|
|
2991
|
+
* Prop to define the variant of MultiStackedBarChart to render
|
|
2992
|
+
*/
|
|
2993
|
+
variant?: MultiStackedBarChartVariant;
|
|
2994
|
+
/**
|
|
2995
|
+
* Prop to hide the bar labels
|
|
2996
|
+
*/
|
|
2997
|
+
hideLabels?: boolean;
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* Multi Stacked Bar Chart styles
|
|
3002
|
+
* {@docCategory MultiStackedBarChart}
|
|
3003
|
+
*/
|
|
3004
|
+
export declare interface IMultiStackedBarChartStyles {
|
|
3005
|
+
/**
|
|
3006
|
+
* Styling for the root container
|
|
3007
|
+
*/
|
|
3008
|
+
root: IStyle;
|
|
3009
|
+
/**
|
|
3010
|
+
* Styling for the root container of each chart in the multistacked bar chart
|
|
3011
|
+
*/
|
|
3012
|
+
singleChartRoot: IStyle;
|
|
3013
|
+
/**
|
|
3014
|
+
* Styling for each item in the container
|
|
3015
|
+
*/
|
|
3016
|
+
items: IStyle;
|
|
3017
|
+
/**
|
|
3018
|
+
* Styling for each svg in the multistacked bar chart
|
|
3019
|
+
*/
|
|
3020
|
+
chart: IStyle;
|
|
3021
|
+
/**
|
|
3022
|
+
* Styling for chart title of the stacked bar chart
|
|
3023
|
+
*/
|
|
3024
|
+
chartTitle: IStyle;
|
|
3025
|
+
/**
|
|
3026
|
+
* Style for left side text of the chart title
|
|
3027
|
+
*/
|
|
3028
|
+
chartTitleLeft: IStyle;
|
|
3029
|
+
/**
|
|
3030
|
+
* Style to change the opacity of bars in dataviz when we hover on a single bar or legends
|
|
3031
|
+
*/
|
|
3032
|
+
opacityChangeOnHover: IStyle;
|
|
3033
|
+
/**
|
|
3034
|
+
* Style for the chart ratio numerator
|
|
3035
|
+
*/
|
|
3036
|
+
ratioNumerator: IStyle;
|
|
3037
|
+
/**
|
|
3038
|
+
* Style for the chart ratio denominator
|
|
3039
|
+
*/
|
|
3040
|
+
ratioDenominator: IStyle;
|
|
3041
|
+
/**
|
|
3042
|
+
* Style to change the opacity of placeholder data point when we hover a single bar or legend
|
|
3043
|
+
*/
|
|
3044
|
+
placeHolderOnHover: IStyle;
|
|
3045
|
+
/**
|
|
3046
|
+
* Style for the legends container
|
|
3047
|
+
*/
|
|
3048
|
+
legendContainer: IStyle;
|
|
3049
|
+
/**
|
|
3050
|
+
* Style for stacked bar chart with no data
|
|
3051
|
+
*/
|
|
3052
|
+
noData: IStyle;
|
|
3053
|
+
/**
|
|
3054
|
+
* Style for the bar labels
|
|
3055
|
+
*/
|
|
3056
|
+
barLabel: IStyle;
|
|
3057
|
+
/**
|
|
3058
|
+
* Style for the div containing the chart
|
|
3059
|
+
*/
|
|
3060
|
+
chartWrapper: IStyle;
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
export declare interface IPieChart {
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
/**
|
|
3067
|
+
* Pie Chart properties
|
|
3068
|
+
* {@docCategory PieChart}
|
|
3069
|
+
*/
|
|
3070
|
+
export declare interface IPieChartProps {
|
|
3071
|
+
/**
|
|
3072
|
+
* Data to render in the chart.
|
|
3073
|
+
*/
|
|
3074
|
+
data?: IDataPoint[];
|
|
3075
|
+
/**
|
|
3076
|
+
* Width of the chart.
|
|
3077
|
+
*/
|
|
3078
|
+
width?: number;
|
|
3079
|
+
/**
|
|
3080
|
+
* Height of the chart.
|
|
3081
|
+
*/
|
|
3082
|
+
height?: number;
|
|
3083
|
+
/**
|
|
3084
|
+
* colors to render in the chart.
|
|
3085
|
+
*/
|
|
3086
|
+
colors?: string[];
|
|
3087
|
+
/**
|
|
3088
|
+
* Title to apply to the whole chart.
|
|
3089
|
+
*/
|
|
3090
|
+
chartTitle?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* Additional CSS class(es) to apply to the PieChart.
|
|
3093
|
+
*/
|
|
3094
|
+
className?: string;
|
|
3095
|
+
/**
|
|
3096
|
+
* Theme (provided through customization.)
|
|
3097
|
+
*/
|
|
3098
|
+
theme?: ITheme;
|
|
3099
|
+
/**
|
|
3100
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
3101
|
+
*/
|
|
3102
|
+
styles?: IStyleFunctionOrObject<IPieChartStyleProps, IPieChartStyles>;
|
|
3103
|
+
/**
|
|
3104
|
+
* Width of line stroke
|
|
3105
|
+
*/
|
|
3106
|
+
strokeWidth?: number;
|
|
3107
|
+
/**
|
|
3108
|
+
* The prop used to define the culture to localized the numbers
|
|
3109
|
+
*/
|
|
3110
|
+
culture?: string;
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* Pie Chart style properties
|
|
3115
|
+
* {@docCategory PieChart}
|
|
3116
|
+
*/
|
|
3117
|
+
export declare type IPieChartStyleProps = Required<Pick<IPieChartProps, 'theme' | 'width' | 'height'>> & Pick<IPieChartProps, 'className'>;
|
|
3118
|
+
|
|
3119
|
+
/**
|
|
3120
|
+
* Pie Chart styles
|
|
3121
|
+
* {@docCategory PieChart}
|
|
3122
|
+
*/
|
|
3123
|
+
export declare interface IPieChartStyles {
|
|
3124
|
+
/**
|
|
3125
|
+
* Style for the root element.
|
|
3126
|
+
*/
|
|
3127
|
+
root?: IStyle;
|
|
3128
|
+
/**
|
|
3129
|
+
* Style for the chart.
|
|
3130
|
+
*/
|
|
3131
|
+
chart?: IStyle;
|
|
3132
|
+
/**
|
|
3133
|
+
* Style for the chart Title.
|
|
3134
|
+
*/
|
|
3135
|
+
chartTitle?: IStyle;
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
export declare interface IRefArrayData {
|
|
3139
|
+
index?: string;
|
|
3140
|
+
refElement?: SVGGElement;
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
/**
|
|
3144
|
+
* Responsive Child props
|
|
3145
|
+
* {@docCategory ResponsiveContainer}
|
|
3146
|
+
*/
|
|
3147
|
+
export declare interface IResponsiveChildProps {
|
|
3148
|
+
width?: number;
|
|
3149
|
+
height?: number;
|
|
3150
|
+
shouldResize?: number;
|
|
3151
|
+
styles?: IStyleFunctionOrObject_2<{}, {
|
|
3152
|
+
root: IStyle_2;
|
|
3153
|
+
}>;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
/**
|
|
3157
|
+
* Responsive Container props
|
|
3158
|
+
* {@docCategory ResponsiveContainer}
|
|
3159
|
+
*/
|
|
3160
|
+
export declare interface IResponsiveContainerProps {
|
|
3161
|
+
/**
|
|
3162
|
+
* Aspect ratio (width / height) of the container. If specified, the height will be calculated by width / aspect.
|
|
3163
|
+
*/
|
|
3164
|
+
aspect?: number;
|
|
3165
|
+
/**
|
|
3166
|
+
* Width of the container
|
|
3167
|
+
*/
|
|
3168
|
+
width?: number | string;
|
|
3169
|
+
/**
|
|
3170
|
+
* Height of the container
|
|
3171
|
+
*/
|
|
3172
|
+
height?: number | string;
|
|
3173
|
+
/**
|
|
3174
|
+
* Minimum width of the container
|
|
3175
|
+
*/
|
|
3176
|
+
minWidth?: number | string;
|
|
3177
|
+
/**
|
|
3178
|
+
* Minimum height of the container
|
|
3179
|
+
*/
|
|
3180
|
+
minHeight?: number | string;
|
|
3181
|
+
/**
|
|
3182
|
+
* Maximum height of the container
|
|
3183
|
+
*/
|
|
3184
|
+
maxHeight?: number;
|
|
3185
|
+
/**
|
|
3186
|
+
* Callback providing the updated chart width and height values when the container is resized
|
|
3187
|
+
*/
|
|
3188
|
+
onResize?: (width: number, height: number) => void;
|
|
3189
|
+
/**
|
|
3190
|
+
* Child component to be rendered within the container
|
|
3191
|
+
*/
|
|
3192
|
+
children: React_2.ReactElement<IResponsiveChildProps>;
|
|
3193
|
+
}
|
|
3194
|
+
|
|
3195
|
+
/**
|
|
3196
|
+
* Set of strings which are used when rendering accessibility information within the chart.
|
|
3197
|
+
*/
|
|
3198
|
+
export declare interface ISankeyChartAccessibilityProps {
|
|
3199
|
+
/**
|
|
3200
|
+
* Aria label for when the chart is empty.
|
|
3201
|
+
*/
|
|
3202
|
+
emptyAriaLabel?: string;
|
|
3203
|
+
/**
|
|
3204
|
+
* A value similar to "node \{0\} with weight \{1\}".
|
|
3205
|
+
* \{0\} is the name of the node.
|
|
3206
|
+
* \{1\} is the weight of the node (as computed by the sankey layout engine via the links to or from this node).
|
|
3207
|
+
*/
|
|
3208
|
+
nodeAriaLabel?: string;
|
|
3209
|
+
/**
|
|
3210
|
+
* A value similar to "link from \{0\} to $\{1\} with weight $\{2\}".
|
|
3211
|
+
* \{0\} is the source node, \{1\} is the target node, and \{2\} is the value of the link.
|
|
3212
|
+
*/
|
|
3213
|
+
linkAriaLabel?: string;
|
|
3214
|
+
}
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* {@docCategory IChartData}
|
|
3218
|
+
*/
|
|
3219
|
+
export declare interface ISankeyChartData {
|
|
3220
|
+
nodes: SNode[];
|
|
3221
|
+
links: SLink[];
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
/**
|
|
3225
|
+
* Sankey Chart properties
|
|
3226
|
+
* {@docCategory SankeyChart}
|
|
3227
|
+
*/
|
|
3228
|
+
export declare interface ISankeyChartProps {
|
|
3229
|
+
/**
|
|
3230
|
+
* Data to render in the chart.
|
|
3231
|
+
*/
|
|
3232
|
+
data: IChartProps;
|
|
3233
|
+
/**
|
|
3234
|
+
* Width of the chart.
|
|
3235
|
+
*/
|
|
3236
|
+
width?: number;
|
|
3237
|
+
/**
|
|
3238
|
+
* Height of the chart.
|
|
3239
|
+
*/
|
|
3240
|
+
height?: number;
|
|
3241
|
+
/**
|
|
3242
|
+
* Additional CSS class(es) to apply to the SankeyChart.
|
|
3243
|
+
*/
|
|
3244
|
+
className?: string;
|
|
3245
|
+
/**
|
|
3246
|
+
* Theme (provided through customization.)
|
|
3247
|
+
*/
|
|
3248
|
+
theme?: ITheme;
|
|
3249
|
+
/**
|
|
3250
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
3251
|
+
*/
|
|
3252
|
+
styles?: IStyleFunctionOrObject<ISankeyChartStyleProps, ISankeyChartStyles>;
|
|
3253
|
+
/**
|
|
3254
|
+
* this prop takes its parent as a HTML element to define the width and height of the Sankey chart
|
|
3255
|
+
*/
|
|
3256
|
+
parentRef?: HTMLElement | null;
|
|
3257
|
+
/**
|
|
3258
|
+
* should chart resize when parent resize.
|
|
3259
|
+
*/
|
|
3260
|
+
shouldResize?: number;
|
|
3261
|
+
/**
|
|
3262
|
+
* Color for path
|
|
3263
|
+
*/
|
|
3264
|
+
pathColor?: string;
|
|
3265
|
+
/**
|
|
3266
|
+
* Colors for nodes
|
|
3267
|
+
*/
|
|
3268
|
+
colorsForNodes?: string[];
|
|
3269
|
+
/**
|
|
3270
|
+
* Colors for nodes border
|
|
3271
|
+
*/
|
|
3272
|
+
borderColorsForNodes?: string[];
|
|
3273
|
+
/**
|
|
3274
|
+
* Localized strings to show in the UX.
|
|
3275
|
+
*/
|
|
3276
|
+
strings?: ISankeyChartStrings;
|
|
3277
|
+
/**
|
|
3278
|
+
* Localized strings to use for the chart's accessibility features.
|
|
3279
|
+
*/
|
|
3280
|
+
accessibility?: ISankeyChartAccessibilityProps;
|
|
3281
|
+
/**
|
|
3282
|
+
* Format node and link values.
|
|
3283
|
+
*/
|
|
3284
|
+
formatNumberOptions?: Intl.NumberFormatOptions;
|
|
3285
|
+
/**
|
|
3286
|
+
* Prop to disable shrinking of the chart beyond a certain limit and enable scrolling when the chart overflows
|
|
3287
|
+
* @default true
|
|
3288
|
+
*/
|
|
3289
|
+
enableReflow?: boolean;
|
|
3290
|
+
/**
|
|
3291
|
+
* Optional callback to access the IChart interface. Use this instead of ref for accessing
|
|
3292
|
+
* the public methods and properties of the component.
|
|
3293
|
+
*/
|
|
3294
|
+
componentRef?: IRefObject<IChart>;
|
|
3295
|
+
/**
|
|
3296
|
+
* props for the callout in the chart
|
|
3297
|
+
*/
|
|
3298
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
/**
|
|
3302
|
+
* Set of strings which are used when rendering the chart.
|
|
3303
|
+
*/
|
|
3304
|
+
export declare interface ISankeyChartStrings {
|
|
3305
|
+
/**
|
|
3306
|
+
* A value similar to "from \{0\}" where \{0\} is the name of the source node for a link.
|
|
3307
|
+
* This is shown in the `ChartHoverCard` when the user hovers the mouse over a link.
|
|
3308
|
+
*/
|
|
3309
|
+
linkFrom?: string;
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* Sankey Chart style properties
|
|
3314
|
+
* {@docCategory SankeyChart}
|
|
3315
|
+
*/
|
|
3316
|
+
export declare interface ISankeyChartStyleProps {
|
|
3317
|
+
theme: ITheme;
|
|
3318
|
+
className?: string;
|
|
3319
|
+
width: number;
|
|
3320
|
+
height: number;
|
|
3321
|
+
pathColor?: string;
|
|
3322
|
+
enableReflow?: boolean;
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3325
|
+
/**
|
|
3326
|
+
* Sankey Chart styles
|
|
3327
|
+
* {@docCategory SankeyChart}
|
|
3328
|
+
*/
|
|
3329
|
+
export declare interface ISankeyChartStyles {
|
|
3330
|
+
/**
|
|
3331
|
+
* Style for the root element.
|
|
3332
|
+
*/
|
|
3333
|
+
root?: IStyle;
|
|
3334
|
+
/**
|
|
3335
|
+
* Style for the nodes.
|
|
3336
|
+
*/
|
|
3337
|
+
nodes?: IStyle;
|
|
3338
|
+
/**
|
|
3339
|
+
* Style for the links.
|
|
3340
|
+
*/
|
|
3341
|
+
links?: IStyle;
|
|
3342
|
+
/**
|
|
3343
|
+
* Style for the text inside node.
|
|
3344
|
+
*/
|
|
3345
|
+
nodeTextContainer?: IStyle;
|
|
3346
|
+
/**
|
|
3347
|
+
* Style for the tooltip ,when user hover over the truncated node detail.
|
|
3348
|
+
*/
|
|
3349
|
+
toolTip?: IStyle;
|
|
3350
|
+
/**
|
|
3351
|
+
* Style for the tooltip ,when user hover over the truncated node detail.
|
|
3352
|
+
*/
|
|
3353
|
+
calloutContentRoot?: IStyle;
|
|
3354
|
+
/**
|
|
3355
|
+
* Styles for the chart wrapper div
|
|
3356
|
+
*/
|
|
3357
|
+
chartWrapper?: IStyle;
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
export declare interface IShapeProps {
|
|
3361
|
+
svgProps: React_2.SVGAttributes<SVGElement>;
|
|
3362
|
+
pathProps: React_2.SVGAttributes<SVGPathElement>;
|
|
3363
|
+
shape: LegendShape;
|
|
3364
|
+
classNameForNonSvg?: string;
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
declare interface ISLinkExtra {
|
|
3368
|
+
/**
|
|
3369
|
+
* The index within `ISankeyChartData.nodes` of the source node.
|
|
3370
|
+
*/
|
|
3371
|
+
source: number;
|
|
3372
|
+
/**
|
|
3373
|
+
* The index within `ISankeyChartData.nodes` of the target node.
|
|
3374
|
+
*/
|
|
3375
|
+
target: number;
|
|
3376
|
+
/**
|
|
3377
|
+
* The weight of this link between the two nodes.
|
|
3378
|
+
*/
|
|
3379
|
+
value: number;
|
|
3380
|
+
unnormalizedValue?: number;
|
|
3381
|
+
}
|
|
3382
|
+
|
|
3383
|
+
declare interface ISNodeExtra {
|
|
3384
|
+
/**
|
|
3385
|
+
* A unique identifier for this node.
|
|
3386
|
+
*/
|
|
3387
|
+
nodeId: number | string;
|
|
3388
|
+
/**
|
|
3389
|
+
* The display name for this node in the UX.
|
|
3390
|
+
*/
|
|
3391
|
+
name: string;
|
|
3392
|
+
color?: string;
|
|
3393
|
+
borderColor?: string;
|
|
3394
|
+
actualValue?: number;
|
|
3395
|
+
layer?: number;
|
|
3396
|
+
}
|
|
3397
|
+
|
|
3398
|
+
/**
|
|
3399
|
+
* Sparkline properties
|
|
3400
|
+
* {@docCategory SparklineChart}
|
|
3401
|
+
*/
|
|
3402
|
+
export declare interface ISparklineProps {
|
|
3403
|
+
/**
|
|
3404
|
+
* An array of chart data points for the Sparkline chart
|
|
3405
|
+
*/
|
|
3406
|
+
data?: IChartProps;
|
|
3407
|
+
/**
|
|
3408
|
+
* Width of chart
|
|
3409
|
+
* * @default 80
|
|
3410
|
+
*/
|
|
3411
|
+
width?: number;
|
|
3412
|
+
/**
|
|
3413
|
+
* Height of chart
|
|
3414
|
+
* @default 20
|
|
3415
|
+
*/
|
|
3416
|
+
height?: number;
|
|
3417
|
+
/**
|
|
3418
|
+
* Width of value text
|
|
3419
|
+
* * @default 80
|
|
3420
|
+
*/
|
|
3421
|
+
valueTextWidth?: number;
|
|
3422
|
+
/**
|
|
3423
|
+
* Additional CSS class(es) to apply to the SparklineChart.
|
|
3424
|
+
*/
|
|
3425
|
+
className?: string;
|
|
3426
|
+
/**
|
|
3427
|
+
* Theme (provided through customization.)
|
|
3428
|
+
*/
|
|
3429
|
+
theme?: ITheme;
|
|
3430
|
+
/**
|
|
3431
|
+
* The prop used to define the culture to localized the numbers
|
|
3432
|
+
*/
|
|
3433
|
+
culture?: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* Prop used to determine whether to show the legend or not
|
|
3436
|
+
*/
|
|
3437
|
+
showLegend?: boolean;
|
|
3438
|
+
/**
|
|
3439
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
3440
|
+
*/
|
|
3441
|
+
styles?: IStyleFunctionOrObject<ISparklineStyleProps, ISparklineStyles>;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
export declare interface ISparklineStyleProps extends ICartesianChartStyleProps {
|
|
3445
|
+
}
|
|
3446
|
+
|
|
3447
|
+
/**
|
|
3448
|
+
* Sparkline styles
|
|
3449
|
+
* {@docCategory SparklineChart}
|
|
3450
|
+
*/
|
|
3451
|
+
export declare interface ISparklineStyles {
|
|
3452
|
+
inlineBlock?: IStyle;
|
|
3453
|
+
valueText?: IStyle;
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
export declare interface IStackedBarChart {
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
/**
|
|
3460
|
+
* Stacked Bar Chart properties
|
|
3461
|
+
* {@docCategory StackedBarChart}
|
|
3462
|
+
*/
|
|
3463
|
+
export declare interface IStackedBarChartProps {
|
|
3464
|
+
/**
|
|
3465
|
+
* Data to render in the chart.
|
|
3466
|
+
*/
|
|
3467
|
+
data?: IChartProps;
|
|
3468
|
+
/**
|
|
3469
|
+
* Benchmark Data to render in the chart.
|
|
3470
|
+
*/
|
|
3471
|
+
benchmarkData?: IChartDataPoint;
|
|
3472
|
+
/**
|
|
3473
|
+
* Target Data to render in the chart.
|
|
3474
|
+
*/
|
|
3475
|
+
targetData?: IChartDataPoint;
|
|
3476
|
+
/**
|
|
3477
|
+
* Width of the chart.
|
|
3478
|
+
*/
|
|
3479
|
+
width?: number;
|
|
3480
|
+
/**
|
|
3481
|
+
* Height of each bar in the chart.
|
|
3482
|
+
*/
|
|
3483
|
+
barHeight?: number;
|
|
3484
|
+
/**
|
|
3485
|
+
* Do not show the legend at the bottom of chart
|
|
3486
|
+
* when there are more than two datapoints
|
|
3487
|
+
*
|
|
3488
|
+
* @default false
|
|
3489
|
+
*/
|
|
3490
|
+
hideLegend?: boolean;
|
|
3491
|
+
/**
|
|
3492
|
+
* Do not show number/ratio on top of bar
|
|
3493
|
+
*
|
|
3494
|
+
* @default false
|
|
3495
|
+
*/
|
|
3496
|
+
hideNumberDisplay?: boolean;
|
|
3497
|
+
/**
|
|
3498
|
+
* Do not show tooltips in chart
|
|
3499
|
+
*
|
|
3500
|
+
* @default false
|
|
3501
|
+
*/
|
|
3502
|
+
hideTooltip?: boolean;
|
|
3503
|
+
/**
|
|
3504
|
+
* Additional CSS class(es) to apply to the StackedBarChart.
|
|
3505
|
+
*/
|
|
3506
|
+
className?: string;
|
|
3507
|
+
/**
|
|
3508
|
+
* Theme (provided through customization.)
|
|
3509
|
+
*/
|
|
3510
|
+
theme?: ITheme;
|
|
3511
|
+
/**
|
|
3512
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
3513
|
+
*/
|
|
3514
|
+
styles?: IStyleFunctionOrObject<IStackedBarChartStyleProps, IStackedBarChartStyles>;
|
|
3515
|
+
/**
|
|
3516
|
+
* Color setting of bar background color, this will show while all data points value is 0
|
|
3517
|
+
*/
|
|
3518
|
+
barBackgroundColor?: string;
|
|
3519
|
+
/**
|
|
3520
|
+
* Url that the data-viz needs to redirect to upon clicking on it
|
|
3521
|
+
*/
|
|
3522
|
+
href?: string;
|
|
3523
|
+
/**
|
|
3524
|
+
* If this value is set, the fixed display pattern for less than 2 data points chart will be ignore
|
|
3525
|
+
*/
|
|
3526
|
+
ignoreFixStyle?: boolean;
|
|
3527
|
+
/**
|
|
3528
|
+
* If this value is set to true the denominator will not be shown for the ratio above the chart
|
|
3529
|
+
*/
|
|
3530
|
+
hideDenominator?: boolean;
|
|
3531
|
+
/**
|
|
3532
|
+
* Enable the legends to wrap lines if there is not enough space to show all legends on a single line
|
|
3533
|
+
*/
|
|
3534
|
+
enabledLegendsWrapLines?: boolean;
|
|
3535
|
+
/**
|
|
3536
|
+
* overflow props for the legend
|
|
3537
|
+
*/
|
|
3538
|
+
legendsOverflowProps?: Partial<IOverflowSetProps>;
|
|
3539
|
+
/**
|
|
3540
|
+
* text for overflow legends string
|
|
3541
|
+
*/
|
|
3542
|
+
legendsOverflowText?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* focus zone props in hover card for legends
|
|
3545
|
+
*/
|
|
3546
|
+
focusZonePropsForLegendsInHoverCard?: IFocusZoneProps;
|
|
3547
|
+
/**
|
|
3548
|
+
* props for the legends in the chart
|
|
3549
|
+
*/
|
|
3550
|
+
legendProps?: Partial<ILegendsProps>;
|
|
3551
|
+
/**
|
|
3552
|
+
* Define a custom callout renderer for a data point
|
|
3553
|
+
*/
|
|
3554
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;
|
|
3555
|
+
/**
|
|
3556
|
+
* props for the callout in the chart
|
|
3557
|
+
*/
|
|
3558
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
3559
|
+
/**
|
|
3560
|
+
* The prop used to define the culture to localized the numbers
|
|
3561
|
+
*/
|
|
3562
|
+
culture?: string;
|
|
3563
|
+
/**
|
|
3564
|
+
* @default false
|
|
3565
|
+
* The prop used to enable gradient fill color for the chart.
|
|
3566
|
+
*/
|
|
3567
|
+
enableGradient?: boolean;
|
|
3568
|
+
/**
|
|
3569
|
+
* @default false
|
|
3570
|
+
* The prop used to enable rounded corners for the chart.
|
|
3571
|
+
*/
|
|
3572
|
+
roundCorners?: boolean;
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* Stacked Bar Chart style properties
|
|
3577
|
+
* {@docCategory StackedBarChart}
|
|
3578
|
+
*/
|
|
3579
|
+
export declare interface IStackedBarChartStyleProps {
|
|
3580
|
+
/**
|
|
3581
|
+
* Theme (provided through customization.)
|
|
3582
|
+
*/
|
|
3583
|
+
theme: ITheme;
|
|
3584
|
+
/**
|
|
3585
|
+
* Additional CSS class(es) to apply to the StackedBarChart.
|
|
3586
|
+
*/
|
|
3587
|
+
className?: string;
|
|
3588
|
+
/**
|
|
3589
|
+
* Width of the chart.
|
|
3590
|
+
*/
|
|
3591
|
+
width?: number;
|
|
3592
|
+
/**
|
|
3593
|
+
* Height of bar in the chart.
|
|
3594
|
+
*/
|
|
3595
|
+
barHeight?: number;
|
|
3596
|
+
/**
|
|
3597
|
+
* prop to show data of the chart with appropriate legend color
|
|
3598
|
+
*/
|
|
3599
|
+
legendColor?: string;
|
|
3600
|
+
/**
|
|
3601
|
+
* prop to check if the chart is selcted or hovered upon to determine opacity
|
|
3602
|
+
*/
|
|
3603
|
+
shouldHighlight?: boolean;
|
|
3604
|
+
/**
|
|
3605
|
+
* prop to check which specific section of the stacked bar chart is selected or hovered upon
|
|
3606
|
+
*/
|
|
3607
|
+
isChartSelected?: boolean;
|
|
3608
|
+
/**
|
|
3609
|
+
* prop to check to decide cursor type
|
|
3610
|
+
*/
|
|
3611
|
+
href?: string;
|
|
3612
|
+
/**
|
|
3613
|
+
* the color for the benchmark triangle
|
|
3614
|
+
*/
|
|
3615
|
+
benchmarkColor?: string;
|
|
3616
|
+
/**
|
|
3617
|
+
* the ratio position for the benchmark triangle
|
|
3618
|
+
*/
|
|
3619
|
+
benchmarkRatio?: number;
|
|
3620
|
+
/**
|
|
3621
|
+
* the color for the target triangle
|
|
3622
|
+
*/
|
|
3623
|
+
targetColor?: string;
|
|
3624
|
+
/**
|
|
3625
|
+
* the ratio position for the target triangle
|
|
3626
|
+
*/
|
|
3627
|
+
targetRatio?: number;
|
|
3628
|
+
/**
|
|
3629
|
+
* prop to check if benchmark data or target data is provided
|
|
3630
|
+
*/
|
|
3631
|
+
showTriangle?: boolean;
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
/**
|
|
3635
|
+
* Stacked Bar Chart styles
|
|
3636
|
+
* {@docCategory StackedBarChart}
|
|
3637
|
+
*/
|
|
3638
|
+
export declare interface IStackedBarChartStyles {
|
|
3639
|
+
/**
|
|
3640
|
+
* Style for the root element.
|
|
3641
|
+
*/
|
|
3642
|
+
root: IStyle;
|
|
3643
|
+
/**
|
|
3644
|
+
* Style for the chart.
|
|
3645
|
+
*/
|
|
3646
|
+
chart: IStyle;
|
|
3647
|
+
/**
|
|
3648
|
+
* Style for the chart Title.
|
|
3649
|
+
*/
|
|
3650
|
+
chartTitle: IStyle;
|
|
3651
|
+
/**
|
|
3652
|
+
* Style for left side text of the chart title
|
|
3653
|
+
*/
|
|
3654
|
+
chartTitleLeft: IStyle;
|
|
3655
|
+
/**
|
|
3656
|
+
* Style for the legend container div
|
|
3657
|
+
*/
|
|
3658
|
+
legendContainer: IStyle;
|
|
3659
|
+
/**
|
|
3660
|
+
* Style to change the opacity of bars in dataviz when we hover on a single bar or legends
|
|
3661
|
+
*/
|
|
3662
|
+
opacityChangeOnHover: IStyle;
|
|
3663
|
+
/**
|
|
3664
|
+
* Style for the chart ratio numerator
|
|
3665
|
+
*/
|
|
3666
|
+
ratioNumerator: IStyle;
|
|
3667
|
+
/**
|
|
3668
|
+
* Style for the chart ratio denominator
|
|
3669
|
+
*/
|
|
3670
|
+
ratioDenominator: IStyle;
|
|
3671
|
+
/**
|
|
3672
|
+
* Style for the benchmark container
|
|
3673
|
+
*/
|
|
3674
|
+
benchmarkContainer: IStyle;
|
|
3675
|
+
/**
|
|
3676
|
+
* Style for the benchmark triangle
|
|
3677
|
+
*/
|
|
3678
|
+
benchmark: IStyle;
|
|
3679
|
+
/**
|
|
3680
|
+
* Style for the target triangle
|
|
3681
|
+
*/
|
|
3682
|
+
target: IStyle;
|
|
3683
|
+
}
|
|
3684
|
+
|
|
3685
|
+
declare interface ITextboxProps {
|
|
3686
|
+
text: string;
|
|
3687
|
+
width: number;
|
|
3688
|
+
x: number;
|
|
3689
|
+
y: number;
|
|
3690
|
+
lineHeight: number;
|
|
3691
|
+
textAnchor?: 'start' | 'middle' | 'end';
|
|
3692
|
+
fontSize?: string;
|
|
3693
|
+
fill?: string;
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
/**
|
|
3697
|
+
* {@docCategory TreeChart}
|
|
3698
|
+
*/
|
|
3699
|
+
export declare interface ITreeChartDataPoint {
|
|
3700
|
+
/**
|
|
3701
|
+
* Node main text
|
|
3702
|
+
*/
|
|
3703
|
+
name: string;
|
|
3704
|
+
/**
|
|
3705
|
+
* Subtext value (optional)
|
|
3706
|
+
*/
|
|
3707
|
+
subname?: string;
|
|
3708
|
+
/**
|
|
3709
|
+
* Bodytext value (optional)
|
|
3710
|
+
*/
|
|
3711
|
+
bodytext?: string;
|
|
3712
|
+
/**
|
|
3713
|
+
* Metric text value (optional)
|
|
3714
|
+
*/
|
|
3715
|
+
metric?: string;
|
|
3716
|
+
/**
|
|
3717
|
+
* Color of the rectangular box
|
|
3718
|
+
*/
|
|
3719
|
+
fill: string;
|
|
3720
|
+
/**
|
|
3721
|
+
* Recursive datastructure for child node object
|
|
3722
|
+
*/
|
|
3723
|
+
children?: Array<ITreeChartDataPoint>;
|
|
3724
|
+
}
|
|
3725
|
+
|
|
3726
|
+
export declare interface ITreeDataStructure {
|
|
3727
|
+
/**
|
|
3728
|
+
* Node id of each node
|
|
3729
|
+
*/
|
|
3730
|
+
id: number;
|
|
3731
|
+
/**
|
|
3732
|
+
* Children node object
|
|
3733
|
+
*/
|
|
3734
|
+
children: Array<ITreeDataStructure>;
|
|
3735
|
+
/**
|
|
3736
|
+
* Node main text
|
|
3737
|
+
*/
|
|
3738
|
+
dataName: string;
|
|
3739
|
+
/**
|
|
3740
|
+
* Subtext value (optional)
|
|
3741
|
+
*/
|
|
3742
|
+
subName?: string;
|
|
3743
|
+
/**
|
|
3744
|
+
* Bodytext value (optional)
|
|
3745
|
+
*/
|
|
3746
|
+
bodyText?: string;
|
|
3747
|
+
/**
|
|
3748
|
+
* Metric text value (optional)
|
|
3749
|
+
*/
|
|
3750
|
+
metricName?: string;
|
|
3751
|
+
/**
|
|
3752
|
+
* Color of the rectangular box
|
|
3753
|
+
*/
|
|
3754
|
+
fill: string;
|
|
3755
|
+
/**
|
|
3756
|
+
* X-coordindate of node
|
|
3757
|
+
*/
|
|
3758
|
+
x: number;
|
|
3759
|
+
/**
|
|
3760
|
+
* Y-coordindate of node
|
|
3761
|
+
*/
|
|
3762
|
+
y: number;
|
|
3763
|
+
/**
|
|
3764
|
+
* Node id of each node's parent
|
|
3765
|
+
*/
|
|
3766
|
+
parentID: number;
|
|
3767
|
+
}
|
|
3768
|
+
|
|
3769
|
+
/**
|
|
3770
|
+
* Tree Chart properties
|
|
3771
|
+
* {@docCategory TreeChart}
|
|
3772
|
+
*/
|
|
3773
|
+
export declare interface ITreeProps {
|
|
3774
|
+
/**
|
|
3775
|
+
* An object of chart data points for the Tree chart
|
|
3776
|
+
*/
|
|
3777
|
+
treeData: ITreeChartDataPoint;
|
|
3778
|
+
/**
|
|
3779
|
+
* compostion for three layer chart, long: composition = 1; compact: composition = 0
|
|
3780
|
+
*/
|
|
3781
|
+
composition?: NodesComposition.long | NodesComposition.compact;
|
|
3782
|
+
/**
|
|
3783
|
+
* Node Width Size for the Tree Layout
|
|
3784
|
+
* * @default 75
|
|
3785
|
+
*/
|
|
3786
|
+
layoutWidth?: number;
|
|
3787
|
+
/**
|
|
3788
|
+
* traversal order for tree chart, preOrder = 1, levelOrder = 0
|
|
3789
|
+
*/
|
|
3790
|
+
treeTraversal?: TreeTraverse.preOrder | TreeTraverse.levelOrder;
|
|
3791
|
+
/**
|
|
3792
|
+
* Width of SVG tree chart
|
|
3793
|
+
* * @default 1500
|
|
3794
|
+
*/
|
|
3795
|
+
width?: number;
|
|
3796
|
+
/**
|
|
3797
|
+
* Height of SVG tree chart
|
|
3798
|
+
* * @default 700
|
|
3799
|
+
*/
|
|
3800
|
+
height?: number;
|
|
3801
|
+
/**
|
|
3802
|
+
* Margins for the chart
|
|
3803
|
+
* @default `{ top: 30, bottom: 30, left: 50, right: 20 }`
|
|
3804
|
+
* To avoid edge cuttings to the chart, we recommend you use default values or greater then default values
|
|
3805
|
+
*/
|
|
3806
|
+
margins?: IMargins;
|
|
3807
|
+
/**
|
|
3808
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
3809
|
+
*/
|
|
3810
|
+
styles?: IStyleFunctionOrObject<ITreeStyleProps, ITreeStyles>;
|
|
3811
|
+
/**
|
|
3812
|
+
* Additional CSS class(es) to apply to the TreeChart.
|
|
3813
|
+
*/
|
|
3814
|
+
className?: string;
|
|
3815
|
+
/**
|
|
3816
|
+
* Theme (provided through customization.)
|
|
3817
|
+
*/
|
|
3818
|
+
theme?: ITheme;
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
export declare interface ITreeState {
|
|
3822
|
+
/**
|
|
3823
|
+
* Width of SVG tree chart
|
|
3824
|
+
* * @default 1500
|
|
3825
|
+
*/
|
|
3826
|
+
_width: number;
|
|
3827
|
+
/**
|
|
3828
|
+
* Height of SVG tree chart
|
|
3829
|
+
* * @default 700
|
|
3830
|
+
*/
|
|
3831
|
+
_height: number;
|
|
3832
|
+
/**
|
|
3833
|
+
* Layout Width of SVG tree chart
|
|
3834
|
+
* * @default 75
|
|
3835
|
+
*/
|
|
3836
|
+
_layoutWidth?: number;
|
|
3837
|
+
}
|
|
3838
|
+
|
|
3839
|
+
/**
|
|
3840
|
+
* Tree Chart style properties
|
|
3841
|
+
* {@docCategory TreeChart}
|
|
3842
|
+
*/
|
|
3843
|
+
export declare interface ITreeStyleProps {
|
|
3844
|
+
/**
|
|
3845
|
+
* Theme (provided through customization.)
|
|
3846
|
+
*/
|
|
3847
|
+
theme: ITheme;
|
|
3848
|
+
/**
|
|
3849
|
+
* Additional CSS class(es) to apply to the TreeChart.
|
|
3850
|
+
*/
|
|
3851
|
+
className?: string;
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* Tree Chart styles
|
|
3856
|
+
* {@docCategory TreeChart}
|
|
3857
|
+
*/
|
|
3858
|
+
export declare interface ITreeStyles {
|
|
3859
|
+
/**
|
|
3860
|
+
* Style for the root element.
|
|
3861
|
+
*/
|
|
3862
|
+
root: IStyle;
|
|
3863
|
+
/**
|
|
3864
|
+
* Style for the Link/Path element.
|
|
3865
|
+
*/
|
|
3866
|
+
link: IStyle;
|
|
3867
|
+
/**
|
|
3868
|
+
* Style for rectangular Node
|
|
3869
|
+
*/
|
|
3870
|
+
rectNode: IStyle;
|
|
3871
|
+
/**
|
|
3872
|
+
* Style for the node main Text
|
|
3873
|
+
*/
|
|
3874
|
+
rectText: IStyle;
|
|
3875
|
+
/**
|
|
3876
|
+
* Style for the node sub Text
|
|
3877
|
+
*/
|
|
3878
|
+
rectSubText: IStyle;
|
|
3879
|
+
/**
|
|
3880
|
+
* Style for the node body Text
|
|
3881
|
+
*/
|
|
3882
|
+
rectBodyText: IStyle;
|
|
3883
|
+
/**
|
|
3884
|
+
* Style for the node metric value Text
|
|
3885
|
+
*/
|
|
3886
|
+
rectMetricText: IStyle;
|
|
3887
|
+
}
|
|
3888
|
+
|
|
3889
|
+
/**
|
|
3890
|
+
* {@docCategory IChartData}
|
|
3891
|
+
*/
|
|
3892
|
+
export declare interface IVerticalBarChartDataPoint {
|
|
3893
|
+
/**
|
|
3894
|
+
* Independent value of the data point, rendered along the x-axis.
|
|
3895
|
+
* If x is a number, then each y-coordinate is plotted at its x-coordinate.
|
|
3896
|
+
* If x is a string, then the data is evenly spaced along the x-axis.
|
|
3897
|
+
*/
|
|
3898
|
+
x: number | string | Date;
|
|
3899
|
+
/**
|
|
3900
|
+
* Dependent value of the data point, rendered along the y-axis.
|
|
3901
|
+
*/
|
|
3902
|
+
y: number;
|
|
3903
|
+
/**
|
|
3904
|
+
* Legend text for the datapoint in the chart
|
|
3905
|
+
*/
|
|
3906
|
+
legend?: string;
|
|
3907
|
+
/**
|
|
3908
|
+
* color for the legend in the chart
|
|
3909
|
+
*/
|
|
3910
|
+
color?: string;
|
|
3911
|
+
/**
|
|
3912
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
3913
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
3914
|
+
*/
|
|
3915
|
+
gradient?: [string, string];
|
|
3916
|
+
/**
|
|
3917
|
+
* Callout data for x axis
|
|
3918
|
+
* This is an optional prop, If haven;t given legend will take
|
|
3919
|
+
*/
|
|
3920
|
+
xAxisCalloutData?: string;
|
|
3921
|
+
/**
|
|
3922
|
+
* Callout data for y axis
|
|
3923
|
+
* This is an optional prop, If haven't given data will take
|
|
3924
|
+
*/
|
|
3925
|
+
yAxisCalloutData?: string;
|
|
3926
|
+
/**
|
|
3927
|
+
* data to render the line along with bars
|
|
3928
|
+
*/
|
|
3929
|
+
lineData?: ILineDataInVerticalBarChart;
|
|
3930
|
+
/**
|
|
3931
|
+
* onClick action for each datapoint in the chart
|
|
3932
|
+
*/
|
|
3933
|
+
onClick?: VoidFunction;
|
|
3934
|
+
/**
|
|
3935
|
+
* Accessibility data for callout
|
|
3936
|
+
*/
|
|
3937
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
/**
|
|
3941
|
+
* Vertical Bar Chart properties
|
|
3942
|
+
* {@docCategory VerticalBarChart}
|
|
3943
|
+
*/
|
|
3944
|
+
export declare interface IVerticalBarChartProps extends ICartesianChartProps {
|
|
3945
|
+
/**
|
|
3946
|
+
* Data to render in the chart.
|
|
3947
|
+
*/
|
|
3948
|
+
data?: IVerticalBarChartDataPoint[];
|
|
3949
|
+
/**
|
|
3950
|
+
* Define a custom callout renderer for a data point.
|
|
3951
|
+
*/
|
|
3952
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<IVerticalBarChartDataPoint>;
|
|
3953
|
+
/**
|
|
3954
|
+
* Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px,
|
|
3955
|
+
* which may decrease to prevent overlap. When set to `'auto'`, the bar width is calculated from padding values.
|
|
3956
|
+
* @default 16
|
|
3957
|
+
*/
|
|
3958
|
+
barWidth?: number | 'default' | 'auto';
|
|
3959
|
+
/**
|
|
3960
|
+
* Colors from which to select the color of each bar.
|
|
3961
|
+
*/
|
|
3962
|
+
colors?: string[];
|
|
3963
|
+
/**
|
|
3964
|
+
* chart title for the chart
|
|
3965
|
+
*/
|
|
3966
|
+
chartTitle?: string;
|
|
3967
|
+
/**
|
|
3968
|
+
* Legend text for the line datapoint in the chart
|
|
3969
|
+
*/
|
|
3970
|
+
lineLegendText?: string;
|
|
3971
|
+
/**
|
|
3972
|
+
* color for the legend of the line in the chart
|
|
3973
|
+
* @default theme.yellow
|
|
3974
|
+
*/
|
|
3975
|
+
lineLegendColor?: string;
|
|
3976
|
+
/**
|
|
3977
|
+
* This prop makes sure that all the bars are of same color.
|
|
3978
|
+
* it will take the first color from the array of colors in
|
|
3979
|
+
* prop `colors` or if `colors` prop is not given then default color is palette.blueLight
|
|
3980
|
+
* @default false
|
|
3981
|
+
*/
|
|
3982
|
+
useSingleColor?: boolean;
|
|
3983
|
+
/**
|
|
3984
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
3985
|
+
*/
|
|
3986
|
+
styles?: IStyleFunctionOrObject<IVerticalBarChartStyleProps, IVerticalBarChartStyles>;
|
|
3987
|
+
/**
|
|
3988
|
+
* The prop used to define the culture to localized the numbers
|
|
3989
|
+
*/
|
|
3990
|
+
culture?: string;
|
|
3991
|
+
/**
|
|
3992
|
+
* it's padding between bar's or lines in the graph
|
|
3993
|
+
*/
|
|
3994
|
+
xAxisPadding?: number;
|
|
3995
|
+
/**
|
|
3996
|
+
* options for the line drawn
|
|
3997
|
+
*/
|
|
3998
|
+
lineOptions?: ILineChartLineOptions;
|
|
3999
|
+
/**
|
|
4000
|
+
* Prop to hide the bar labels
|
|
4001
|
+
* @default false
|
|
4002
|
+
*/
|
|
4003
|
+
hideLabels?: boolean;
|
|
4004
|
+
/**
|
|
4005
|
+
* Maximum width of a bar, in pixels.
|
|
4006
|
+
* @default 24
|
|
4007
|
+
*/
|
|
4008
|
+
maxBarWidth?: number;
|
|
4009
|
+
/**
|
|
4010
|
+
* Padding between bars as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
|
|
4011
|
+
* Takes a number in the range [0, 1]. Only applicable to string x-axis.
|
|
4012
|
+
* @default 2/3
|
|
4013
|
+
*/
|
|
4014
|
+
xAxisInnerPadding?: number;
|
|
4015
|
+
/**
|
|
4016
|
+
* Padding before the first bar and after the last bar as a fraction of
|
|
4017
|
+
* the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
|
|
4018
|
+
* Only applicable to string x-axis.
|
|
4019
|
+
*/
|
|
4020
|
+
xAxisOuterPadding?: number;
|
|
4021
|
+
/**
|
|
4022
|
+
* @default false
|
|
4023
|
+
* The prop used to enable gradient fill color for the chart.
|
|
4024
|
+
*/
|
|
4025
|
+
enableGradient?: boolean;
|
|
4026
|
+
/**
|
|
4027
|
+
* @default false
|
|
4028
|
+
* The prop used to enable rounded corners for the chart.
|
|
4029
|
+
*/
|
|
4030
|
+
roundCorners?: boolean;
|
|
4031
|
+
/**
|
|
4032
|
+
* Specifies the mode of the chart.
|
|
4033
|
+
* @default 'default'
|
|
4034
|
+
*/
|
|
4035
|
+
mode?: 'default' | 'plotly';
|
|
4036
|
+
}
|
|
4037
|
+
|
|
4038
|
+
/**
|
|
4039
|
+
* Vertical Bar Chart style properties
|
|
4040
|
+
* {@docCategory VerticalBarChart}
|
|
4041
|
+
*/
|
|
4042
|
+
export declare interface IVerticalBarChartStyleProps extends ICartesianChartStyleProps {
|
|
4043
|
+
/**
|
|
4044
|
+
* color of the datapoint legend
|
|
4045
|
+
*/
|
|
4046
|
+
legendColor?: string;
|
|
4047
|
+
}
|
|
4048
|
+
|
|
4049
|
+
/**
|
|
4050
|
+
* Vertical Bar Chart styles
|
|
4051
|
+
* {@docCategory VerticalBarChart}
|
|
4052
|
+
*/
|
|
4053
|
+
export declare interface IVerticalBarChartStyles extends ICartesianChartStyles {
|
|
4054
|
+
/**
|
|
4055
|
+
* Style for the chart label.
|
|
4056
|
+
* @deprecated This style cannot be customized anymore
|
|
4057
|
+
*/
|
|
4058
|
+
chartLabel?: IStyle;
|
|
4059
|
+
/**
|
|
4060
|
+
* Style for the line representing the domain of the x-axis.
|
|
4061
|
+
* @deprecated This style cannot be customized anymore
|
|
4062
|
+
*/
|
|
4063
|
+
xAxisDomain?: IStyle;
|
|
4064
|
+
/**
|
|
4065
|
+
* Style for the lines representing the ticks along the x-axis.
|
|
4066
|
+
* @deprecated This style cannot be customized anymore
|
|
4067
|
+
*/
|
|
4068
|
+
xAxisTicks?: IStyle;
|
|
4069
|
+
/**
|
|
4070
|
+
* Style for the text labeling each tick along the x-axis.
|
|
4071
|
+
* @deprecated This style cannot be customized anymore
|
|
4072
|
+
*/
|
|
4073
|
+
xAxisText?: IStyle;
|
|
4074
|
+
/**
|
|
4075
|
+
* Style for the line representing the domain of the y-axis.
|
|
4076
|
+
* @deprecated This style cannot be customized anymore
|
|
4077
|
+
*/
|
|
4078
|
+
yAxisDomain?: IStyle;
|
|
4079
|
+
/**
|
|
4080
|
+
* Style for the lines representing the ticks along the y-axis.
|
|
4081
|
+
* @deprecated This style cannot be customized anymore
|
|
4082
|
+
*/
|
|
4083
|
+
yAxisTicks?: IStyle;
|
|
4084
|
+
/**
|
|
4085
|
+
* Style for the text labeling each tick along the y-axis.
|
|
4086
|
+
* @deprecated This style cannot be customized anymore
|
|
4087
|
+
*/
|
|
4088
|
+
yAxisText?: IStyle;
|
|
4089
|
+
/**
|
|
4090
|
+
* Style to change the opacity of bars in dataviz when we hover on a single bar or legends
|
|
4091
|
+
*/
|
|
4092
|
+
opacityChangeOnHover: IStyle;
|
|
4093
|
+
/**
|
|
4094
|
+
* Style for the bar labels
|
|
4095
|
+
*/
|
|
4096
|
+
barLabel: IStyle;
|
|
4097
|
+
}
|
|
4098
|
+
|
|
4099
|
+
/**
|
|
4100
|
+
* Vertical Stacked Bar Chart properties
|
|
4101
|
+
* {@docCategory VerticalStackedBarChart}
|
|
4102
|
+
*/
|
|
4103
|
+
export declare interface IVerticalStackedBarChartProps extends ICartesianChartProps {
|
|
4104
|
+
/**
|
|
4105
|
+
* Data to render in the chart.
|
|
4106
|
+
*/
|
|
4107
|
+
data: IVerticalStackedChartProps[];
|
|
4108
|
+
/**
|
|
4109
|
+
* Width of each bar in the chart. When set to `undefined` or `'default'`, the bar width defaults to 16px,
|
|
4110
|
+
* which may decrease to prevent overlap. When set to `'auto'`, the bar width is calculated from padding values.
|
|
4111
|
+
*/
|
|
4112
|
+
barWidth?: number | 'default' | 'auto';
|
|
4113
|
+
/**
|
|
4114
|
+
* Gap (max) between bars in a stack. When non-zero, the bars in a stack will
|
|
4115
|
+
* be separated by gaps. The actual size of each gap is calculated as 20% of
|
|
4116
|
+
* the height of that stack, with a minimum size of 1px and a maximum given by
|
|
4117
|
+
* this prop.
|
|
4118
|
+
* @default 0
|
|
4119
|
+
*/
|
|
4120
|
+
barGapMax?: number;
|
|
4121
|
+
/**
|
|
4122
|
+
* Corner radius of the bars
|
|
4123
|
+
* @default 0
|
|
4124
|
+
*/
|
|
4125
|
+
barCornerRadius?: number;
|
|
4126
|
+
/**
|
|
4127
|
+
* The minimum height of a bar; bars below this height will be displayed at
|
|
4128
|
+
* this height. Note that this setting will result in the height of these data
|
|
4129
|
+
* points not being to scale.
|
|
4130
|
+
* @default 0
|
|
4131
|
+
*/
|
|
4132
|
+
barMinimumHeight?: number;
|
|
4133
|
+
/**
|
|
4134
|
+
* Colors from which to select the color of each bar.
|
|
4135
|
+
* @deprecated Not using this prop. DIrectly taking color from given data.
|
|
4136
|
+
*/
|
|
4137
|
+
colors?: string[];
|
|
4138
|
+
/**
|
|
4139
|
+
* chart title for the chart
|
|
4140
|
+
*/
|
|
4141
|
+
chartTitle?: string;
|
|
4142
|
+
/**
|
|
4143
|
+
* To display multi stack callout or single callout
|
|
4144
|
+
* @default flase
|
|
4145
|
+
*/
|
|
4146
|
+
isCalloutForStack?: boolean;
|
|
4147
|
+
/**
|
|
4148
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
4149
|
+
*/
|
|
4150
|
+
styles?: IStyleFunctionOrObject<IVerticalStackedBarChartStyleProps, IVerticalStackedBarChartStyles>;
|
|
4151
|
+
/**
|
|
4152
|
+
* Define a custom callout renderer for a stack; default is to render per data point
|
|
4153
|
+
*/
|
|
4154
|
+
onRenderCalloutPerStack?: IRenderFunction<IVerticalStackedChartProps>;
|
|
4155
|
+
/**
|
|
4156
|
+
* Define a custom callout renderer for a data point
|
|
4157
|
+
*/
|
|
4158
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<IVSChartDataPoint>;
|
|
4159
|
+
/**
|
|
4160
|
+
* props for the callout in the chart
|
|
4161
|
+
*/
|
|
4162
|
+
calloutProps?: Partial<ICalloutProps>;
|
|
4163
|
+
/**
|
|
4164
|
+
* yMinValue is not supported for bar charts, so only allow "undefined"
|
|
4165
|
+
*/
|
|
4166
|
+
yMinValue?: undefined;
|
|
4167
|
+
/**
|
|
4168
|
+
* Allow hover actions on the legend
|
|
4169
|
+
* @default true
|
|
4170
|
+
*/
|
|
4171
|
+
allowHoverOnLegend?: boolean;
|
|
4172
|
+
/**
|
|
4173
|
+
* Click handler for bars; type of data is dependant on isCalloutForStack
|
|
4174
|
+
*/
|
|
4175
|
+
onBarClick?: (event: React_2.MouseEvent<SVGElement>, data: IVerticalStackedChartProps | IVSChartDataPoint) => void;
|
|
4176
|
+
/**
|
|
4177
|
+
* The prop used to define the culture to localized the numbers
|
|
4178
|
+
*/
|
|
4179
|
+
culture?: string;
|
|
4180
|
+
/**
|
|
4181
|
+
* it's padding between bar's or lines in the graph
|
|
4182
|
+
*/
|
|
4183
|
+
xAxisPadding?: number;
|
|
4184
|
+
/**
|
|
4185
|
+
* options for the line drawn
|
|
4186
|
+
*/
|
|
4187
|
+
lineOptions?: ILineChartLineOptions;
|
|
4188
|
+
/**
|
|
4189
|
+
* Prop to hide the bar labels
|
|
4190
|
+
* @default false
|
|
4191
|
+
*/
|
|
4192
|
+
hideLabels?: boolean;
|
|
4193
|
+
/**
|
|
4194
|
+
* Maximum width of a bar, in pixels.
|
|
4195
|
+
* @default 24
|
|
4196
|
+
*/
|
|
4197
|
+
maxBarWidth?: number;
|
|
4198
|
+
/**
|
|
4199
|
+
* Padding between bars as a fraction of the [step](https://d3js.org/d3-scale/band#band_step).
|
|
4200
|
+
* Takes a number in the range [0, 1]. Only applicable to string x-axis.
|
|
4201
|
+
* @default 2/3
|
|
4202
|
+
*/
|
|
4203
|
+
xAxisInnerPadding?: number;
|
|
4204
|
+
/**
|
|
4205
|
+
* Padding before the first bar and after the last bar as a fraction of
|
|
4206
|
+
* the [step](https://d3js.org/d3-scale/band#band_step). Takes a number in the range [0, 1].
|
|
4207
|
+
* Only applicable to string x-axis.
|
|
4208
|
+
*/
|
|
4209
|
+
xAxisOuterPadding?: number;
|
|
4210
|
+
/**
|
|
4211
|
+
* @default false
|
|
4212
|
+
* The prop used to enable gradient fill color for the chart.
|
|
4213
|
+
*/
|
|
4214
|
+
enableGradient?: boolean;
|
|
4215
|
+
/**
|
|
4216
|
+
* @default false
|
|
4217
|
+
* The prop used to enable rounded corners for the chart.
|
|
4218
|
+
*/
|
|
4219
|
+
roundCorners?: boolean;
|
|
4220
|
+
/**
|
|
4221
|
+
* Specifies the mode of the chart.
|
|
4222
|
+
* @default 'default'
|
|
4223
|
+
*/
|
|
4224
|
+
mode?: 'default' | 'plotly';
|
|
4225
|
+
}
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* Vertical Stacked Bar Chart style properties
|
|
4229
|
+
* {@docCategory VerticalStackedBarChart}
|
|
4230
|
+
*/
|
|
4231
|
+
export declare interface IVerticalStackedBarChartStyleProps extends ICartesianChartStyleProps {
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4234
|
+
/**
|
|
4235
|
+
* Vertical Stacked Bar Chart styles
|
|
4236
|
+
* {@docCategory VerticalStackedBarChart}
|
|
4237
|
+
*/
|
|
4238
|
+
export declare interface IVerticalStackedBarChartStyles extends ICartesianChartStyles {
|
|
4239
|
+
/**
|
|
4240
|
+
* Style to change the opacity of bars in dataviz when we hover on a single bar or legends
|
|
4241
|
+
*/
|
|
4242
|
+
opacityChangeOnHover?: IStyle;
|
|
4243
|
+
/**
|
|
4244
|
+
* Style for the bar labels
|
|
4245
|
+
*/
|
|
4246
|
+
barLabel: IStyle;
|
|
4247
|
+
/**
|
|
4248
|
+
* Style for the chart.
|
|
4249
|
+
* @deprecated use root instead.
|
|
4250
|
+
*/
|
|
4251
|
+
chart?: IStyle;
|
|
4252
|
+
/**
|
|
4253
|
+
* Style for the line representing the domain of the x-axis.
|
|
4254
|
+
* @deprecated - use xAxis instead.
|
|
4255
|
+
*/
|
|
4256
|
+
xAxisDomain?: IStyle;
|
|
4257
|
+
/**
|
|
4258
|
+
* Style for the lines representing the ticks along the x-axis.
|
|
4259
|
+
* @deprecated - use xAxis instead.
|
|
4260
|
+
*/
|
|
4261
|
+
xAxisTicks?: IStyle;
|
|
4262
|
+
/**
|
|
4263
|
+
* Style for the text labeling each tick along the x-axis.
|
|
4264
|
+
* @deprecated - use xAxis instead.
|
|
4265
|
+
*/
|
|
4266
|
+
xAxisText?: IStyle;
|
|
4267
|
+
/**
|
|
4268
|
+
* Style for the line representing the domain of the y-axis.
|
|
4269
|
+
* @deprecated - use xAxis instead.
|
|
4270
|
+
*/
|
|
4271
|
+
yAxisDomain?: IStyle;
|
|
4272
|
+
/**
|
|
4273
|
+
* Style for the lines representing the ticks along the y-axis.
|
|
4274
|
+
* @deprecated - use xAxis instead.
|
|
4275
|
+
*/
|
|
4276
|
+
yAxisTicks?: IStyle;
|
|
4277
|
+
/**
|
|
4278
|
+
* Style for the text labeling each tick along the y-axis.
|
|
4279
|
+
* @deprecated - use xAxis instead.
|
|
4280
|
+
*/
|
|
4281
|
+
yAxisText?: IStyle;
|
|
4282
|
+
}
|
|
4283
|
+
|
|
4284
|
+
/**
|
|
4285
|
+
* {@docCategory IChartData}
|
|
4286
|
+
*/
|
|
4287
|
+
export declare interface IVerticalStackedBarDataPoint extends Omit<IDataPoint, 'x'> {
|
|
4288
|
+
/**
|
|
4289
|
+
* Independent value of the data point, rendered along the x-axis.
|
|
4290
|
+
* If x is a number, then each y-coordinate is plotted at its x-coordinate.
|
|
4291
|
+
* If x is a string, then the data is evenly spaced along the x-axis.
|
|
4292
|
+
* If data type on x is Date, then the data is spaced evenly by d3-scale.
|
|
4293
|
+
*/
|
|
4294
|
+
x: number | string | Date;
|
|
4295
|
+
}
|
|
4296
|
+
|
|
4297
|
+
/**
|
|
4298
|
+
* {@docCategory IChartProps}
|
|
4299
|
+
*/
|
|
4300
|
+
export declare interface IVerticalStackedChartProps {
|
|
4301
|
+
/**
|
|
4302
|
+
* data for the points in the chart
|
|
4303
|
+
*/
|
|
4304
|
+
chartData: IVSChartDataPoint[];
|
|
4305
|
+
/**
|
|
4306
|
+
* Data for x axis label for multistacked Vertical bar chart
|
|
4307
|
+
*/
|
|
4308
|
+
xAxisPoint: number | string | Date;
|
|
4309
|
+
/**
|
|
4310
|
+
* Callout data for x axis
|
|
4311
|
+
* This is an optional prop, If haven't given, legend will take
|
|
4312
|
+
*/
|
|
4313
|
+
xAxisCalloutData?: string;
|
|
4314
|
+
/**
|
|
4315
|
+
* line data to render lines on stacked bar chart
|
|
4316
|
+
*/
|
|
4317
|
+
lineData?: ILineDataInVerticalStackedBarChart[];
|
|
4318
|
+
/**
|
|
4319
|
+
* Accessibility data for Whole stack callout
|
|
4320
|
+
*/
|
|
4321
|
+
stackCallOutAccessibilityData?: IAccessibilityProps;
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
/**
|
|
4325
|
+
* {@docCategory IChartData}
|
|
4326
|
+
*/
|
|
4327
|
+
export declare interface IVSChartDataPoint {
|
|
4328
|
+
/**
|
|
4329
|
+
* data the datapoint in the chart
|
|
4330
|
+
*/
|
|
4331
|
+
data: number;
|
|
4332
|
+
/**
|
|
4333
|
+
* Legend text for the datapoint in the chart
|
|
4334
|
+
*/
|
|
4335
|
+
legend: string;
|
|
4336
|
+
/**
|
|
4337
|
+
* color for the legend in the chart
|
|
4338
|
+
*/
|
|
4339
|
+
color?: string;
|
|
4340
|
+
/**
|
|
4341
|
+
* Gradient for the legend in the chart. If not provided, it will fallback on the default color palette.
|
|
4342
|
+
* If provided, it will override the color prop. granted `enableGradient` is set to true for the chart.
|
|
4343
|
+
*/
|
|
4344
|
+
gradient?: [string, string];
|
|
4345
|
+
/**
|
|
4346
|
+
* Callout data for x axis
|
|
4347
|
+
* This is an optional prop, If haven;t given legend will take
|
|
4348
|
+
*/
|
|
4349
|
+
xAxisCalloutData?: string;
|
|
4350
|
+
/**
|
|
4351
|
+
* Callout data for y axis
|
|
4352
|
+
* This is an optional prop, If haven't given data will take
|
|
4353
|
+
*/
|
|
4354
|
+
yAxisCalloutData?: string;
|
|
4355
|
+
/**
|
|
4356
|
+
* Accessibility data for callout
|
|
4357
|
+
*/
|
|
4358
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
4359
|
+
}
|
|
4360
|
+
|
|
4361
|
+
declare interface IYAxisParams {
|
|
4362
|
+
yMinMaxValues?: {
|
|
4363
|
+
startValue: number;
|
|
4364
|
+
endValue: number;
|
|
4365
|
+
};
|
|
4366
|
+
maxOfYVal?: number;
|
|
4367
|
+
margins: IMargins_2;
|
|
4368
|
+
containerWidth: number;
|
|
4369
|
+
containerHeight: number;
|
|
4370
|
+
yAxisElement?: SVGSVGElement | null;
|
|
4371
|
+
yAxisTickFormat?: any;
|
|
4372
|
+
yAxisTickCount: number;
|
|
4373
|
+
yMaxValue?: number;
|
|
4374
|
+
yMinValue?: number;
|
|
4375
|
+
tickPadding?: number;
|
|
4376
|
+
eventAnnotationProps?: IEventsAnnotationProps;
|
|
4377
|
+
eventLabelHeight?: number;
|
|
4378
|
+
yAxisPadding?: number;
|
|
4379
|
+
}
|
|
4380
|
+
|
|
4381
|
+
export declare interface IYValueHover {
|
|
4382
|
+
legend?: string;
|
|
4383
|
+
y?: number;
|
|
4384
|
+
color?: string;
|
|
4385
|
+
data?: string | number;
|
|
4386
|
+
shouldDrawBorderBottom?: boolean;
|
|
4387
|
+
yAxisCalloutData?: string | {
|
|
4388
|
+
[id: string]: number;
|
|
4389
|
+
};
|
|
4390
|
+
index?: number;
|
|
4391
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
4392
|
+
}
|
|
4393
|
+
|
|
4394
|
+
/**
|
|
4395
|
+
* Legends component
|
|
4396
|
+
* {@docCategory Legends}
|
|
4397
|
+
*/
|
|
4398
|
+
export declare const Legends: React_2.FunctionComponent<ILegendsProps>;
|
|
4399
|
+
|
|
4400
|
+
/**
|
|
4401
|
+
* @public
|
|
4402
|
+
* The shape for the legend
|
|
4403
|
+
* default: show the rect legend
|
|
4404
|
+
* triangle: show the triangle legend
|
|
4405
|
+
* {@docCategory Legends}
|
|
4406
|
+
*/
|
|
4407
|
+
export declare type LegendShape = 'default' | 'triangle' | keyof typeof Points | keyof typeof CustomPoints;
|
|
4408
|
+
|
|
4409
|
+
/**
|
|
4410
|
+
* Linechart component
|
|
4411
|
+
* {@docCategory LineChart}
|
|
4412
|
+
*/
|
|
4413
|
+
export declare const LineChart: React_2.FunctionComponent<ILineChartProps>;
|
|
4414
|
+
|
|
4415
|
+
/**
|
|
4416
|
+
* MultiStackedBarchart component
|
|
4417
|
+
* {@docCategory MultiStackedBarChart}
|
|
4418
|
+
*/
|
|
4419
|
+
export declare const MultiStackedBarChart: React_2.FunctionComponent<IMultiStackedBarChartProps>;
|
|
4420
|
+
|
|
4421
|
+
/**
|
|
4422
|
+
* {@docCategory MultiStackedBarChart}
|
|
4423
|
+
*/
|
|
4424
|
+
export declare enum MultiStackedBarChartVariant {
|
|
4425
|
+
PartToWhole = "part-to-whole",
|
|
4426
|
+
AbsoluteScale = "absolute-scale"
|
|
4427
|
+
}
|
|
4428
|
+
|
|
4429
|
+
/**
|
|
4430
|
+
* {@docCategory TreeChart}
|
|
4431
|
+
*/
|
|
4432
|
+
export declare enum NodesComposition {
|
|
4433
|
+
/**
|
|
4434
|
+
* NodeComposition enum val for long: number = 1
|
|
4435
|
+
*/
|
|
4436
|
+
long = 1,
|
|
4437
|
+
/**
|
|
4438
|
+
* NodeComposition enum val for compact: number = 0
|
|
4439
|
+
*/
|
|
4440
|
+
compact = 0
|
|
4441
|
+
}
|
|
4442
|
+
|
|
4443
|
+
/**
|
|
4444
|
+
* Piechart component
|
|
4445
|
+
* {@docCategory PieChart}
|
|
4446
|
+
*/
|
|
4447
|
+
export declare const PieChart: React_2.FunctionComponent<IPieChartProps>;
|
|
4448
|
+
|
|
4449
|
+
/**
|
|
4450
|
+
* we need to make sure that if we add any property to this, then
|
|
4451
|
+
* we need to also add that in pointTypes below and vise-versa
|
|
4452
|
+
*/
|
|
4453
|
+
declare enum Points {
|
|
4454
|
+
circle = 0,
|
|
4455
|
+
square = 1,
|
|
4456
|
+
triangle = 2,
|
|
4457
|
+
diamond = 3,
|
|
4458
|
+
pyramid = 4,
|
|
4459
|
+
hexagon = 5,
|
|
4460
|
+
pentagon = 6,
|
|
4461
|
+
octagon = 7
|
|
4462
|
+
}
|
|
4463
|
+
|
|
4464
|
+
/**
|
|
4465
|
+
* Responsive Container component
|
|
4466
|
+
* {@docCategory ResponsiveContainer}
|
|
4467
|
+
*/
|
|
4468
|
+
export declare const ResponsiveContainer: React_2.FC<IResponsiveContainerProps>;
|
|
4469
|
+
|
|
4470
|
+
/**
|
|
4471
|
+
* Sankeychart component
|
|
4472
|
+
* {@docCategory SankeyChart}
|
|
4473
|
+
*/
|
|
4474
|
+
export declare const SankeyChart: React_2.FunctionComponent<ISankeyChartProps>;
|
|
4475
|
+
|
|
4476
|
+
/**
|
|
4477
|
+
* DeclarativeChart schema.
|
|
4478
|
+
* {@docCategory DeclarativeChart}
|
|
4479
|
+
*/
|
|
4480
|
+
export declare interface Schema {
|
|
4481
|
+
/**
|
|
4482
|
+
* Plotly schema represented as JSON object
|
|
4483
|
+
*/
|
|
4484
|
+
plotlySchema: any;
|
|
4485
|
+
}
|
|
4486
|
+
|
|
4487
|
+
export declare const Shape: React_2.FC<IShapeProps>;
|
|
4488
|
+
|
|
4489
|
+
export declare type SLink = SankeyLink<ISNodeExtra, ISLinkExtra>;
|
|
4490
|
+
|
|
4491
|
+
export declare type SNode = SankeyNode<ISNodeExtra, ISLinkExtra>;
|
|
4492
|
+
|
|
4493
|
+
/**
|
|
4494
|
+
* Sparkline component
|
|
4495
|
+
* {@docCategory Sparkline}
|
|
4496
|
+
*/
|
|
4497
|
+
export declare const Sparkline: React_2.FunctionComponent<ISparklineProps>;
|
|
4498
|
+
|
|
4499
|
+
/**
|
|
4500
|
+
* StackedBarchart component
|
|
4501
|
+
* {@docCategory StackedBarChart}
|
|
4502
|
+
*/
|
|
4503
|
+
export declare const StackedBarChart: React_2.FunctionComponent<IStackedBarChartProps>;
|
|
4504
|
+
|
|
4505
|
+
export declare const Textbox: React_2.FunctionComponent<ITextboxProps>;
|
|
4506
|
+
|
|
4507
|
+
/**
|
|
4508
|
+
* Treechart component
|
|
4509
|
+
* {@docCategory TreeChart}
|
|
4510
|
+
*/
|
|
4511
|
+
export declare const TreeChart: React_2.FunctionComponent<ITreeProps>;
|
|
4512
|
+
|
|
4513
|
+
/**
|
|
4514
|
+
* {@docCategory TreeChart}
|
|
4515
|
+
*/
|
|
4516
|
+
export declare enum TreeTraverse {
|
|
4517
|
+
/**
|
|
4518
|
+
* TreeTraverse enum val for preOrder: number = 1
|
|
4519
|
+
*/
|
|
4520
|
+
preOrder = 1,
|
|
4521
|
+
/**
|
|
4522
|
+
* TreeTraverse enum val for levelOrder: number = 0
|
|
4523
|
+
*/
|
|
4524
|
+
levelOrder = 0
|
|
4525
|
+
}
|
|
4526
|
+
|
|
4527
|
+
/**
|
|
4528
|
+
* VerticalBarchart component
|
|
4529
|
+
* {@docCategory VerticalBarChart}
|
|
4530
|
+
*/
|
|
4531
|
+
export declare const VerticalBarChart: React_2.FunctionComponent<IVerticalBarChartProps>;
|
|
4532
|
+
|
|
4533
|
+
/**
|
|
4534
|
+
* VerticalStackedBarchart component
|
|
4535
|
+
* {@docCategory VerticalStackedBarChart}
|
|
4536
|
+
*/
|
|
4537
|
+
export declare const VerticalStackedBarChart: React_2.FunctionComponent<IVerticalStackedBarChartProps>;
|
|
4538
|
+
|
|
4539
|
+
/**
|
|
4540
|
+
* An HOC to update wrapped component on container resize.
|
|
4541
|
+
* {@docCategory ResponsiveContainer}
|
|
4542
|
+
*/
|
|
4543
|
+
export declare function withResponsiveContainer<TProps extends Omit<IResponsiveContainerProps, 'children'>>(WrappedComponent: React_2.ComponentType<TProps>): React_2.FC<TProps>;
|
|
4544
|
+
|
|
4545
|
+
declare enum XAxisTypes {
|
|
4546
|
+
NumericAxis = 0,
|
|
4547
|
+
DateAxis = 1,
|
|
4548
|
+
StringAxis = 2
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4551
|
+
declare enum YAxisType {
|
|
4552
|
+
NumericAxis = 0,
|
|
4553
|
+
DateAxis = 1,
|
|
4554
|
+
StringAxis = 2
|
|
4555
|
+
}
|
|
4556
|
+
|
|
4557
|
+
export { }
|