@fluentui/react-charting 5.25.5 → 5.25.6
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 +60 -1
- package/CHANGELOG.md +17 -2
- package/bundle-size/PolarChart.fixture.js +7 -0
- package/dist/react-charting.d.ts +388 -1
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +85 -1
- package/lib/PolarChart.d.ts +1 -0
- package/lib/PolarChart.js +2 -0
- package/lib/PolarChart.js.map +1 -0
- package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js +1 -1
- package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -1
- package/lib/components/AreaChart/AreaChart.base.d.ts +0 -1
- package/lib/components/AreaChart/AreaChart.base.js +2 -31
- package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib/components/ChartTable/ChartTable.base.js +12 -4
- package/lib/components/ChartTable/ChartTable.base.js.map +1 -1
- package/lib/components/ChartTable/ChartTable.styles.js +3 -0
- package/lib/components/ChartTable/ChartTable.styles.js.map +1 -1
- package/lib/components/ChartTable/ChartTable.types.d.ts +11 -0
- package/lib/components/ChartTable/ChartTable.types.js.map +1 -1
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js +11 -6
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.d.ts +1 -0
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.js +17 -1
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.js.map +1 -1
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.types.d.ts +5 -0
- package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.d.ts +1 -1
- package/lib/components/CommonComponents/CartesianChart.base.js +82 -42
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.styles.js +31 -27
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +16 -1
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.js +24 -28
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +3 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +202 -217
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.base.d.ts +1 -0
- package/lib/components/DonutChart/DonutChart.base.js +16 -4
- package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.styles.js +3 -1
- package/lib/components/DonutChart/DonutChart.styles.js.map +1 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +13 -0
- package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib/components/FunnelChart/FunnelChart.base.js +14 -8
- package/lib/components/FunnelChart/FunnelChart.base.js.map +1 -1
- package/lib/components/FunnelChart/FunnelChart.styles.js +3 -0
- package/lib/components/FunnelChart/FunnelChart.styles.js.map +1 -1
- package/lib/components/FunnelChart/FunnelChart.types.d.ts +13 -0
- package/lib/components/FunnelChart/FunnelChart.types.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.base.js +2 -2
- package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.styles.js +16 -22
- package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -1
- package/lib/components/GaugeChart/GaugeChart.types.d.ts +9 -0
- package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +2 -18
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.d.ts +0 -1
- package/lib/components/LineChart/LineChart.base.js +1 -25
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/components/PolarChart/PolarChart.base.d.ts +3 -0
- package/lib/components/PolarChart/PolarChart.base.js +426 -0
- package/lib/components/PolarChart/PolarChart.base.js.map +1 -0
- package/lib/components/PolarChart/PolarChart.d.ts +7 -0
- package/lib/components/PolarChart/PolarChart.js +9 -0
- package/lib/components/PolarChart/PolarChart.js.map +1 -0
- package/lib/components/PolarChart/PolarChart.styles.d.ts +2 -0
- package/lib/components/PolarChart/PolarChart.styles.js +39 -0
- package/lib/components/PolarChart/PolarChart.styles.js.map +1 -0
- package/lib/components/PolarChart/PolarChart.types.d.ts +185 -0
- package/lib/components/PolarChart/PolarChart.types.js +2 -0
- package/lib/components/PolarChart/PolarChart.types.js.map +1 -0
- package/lib/components/PolarChart/PolarChart.utils.d.ts +43 -0
- package/lib/components/PolarChart/PolarChart.utils.js +180 -0
- package/lib/components/PolarChart/PolarChart.utils.js.map +1 -0
- package/lib/components/PolarChart/index.d.ts +2 -0
- package/lib/components/PolarChart/index.js +3 -0
- package/lib/components/PolarChart/index.js.map +1 -0
- package/lib/components/SankeyChart/SankeyChart.base.js +9 -2
- package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.styles.js +3 -0
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +18 -0
- package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.base.js +1 -28
- package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +1 -73
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +1 -26
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +88 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/ChartTitle.d.ts +55 -0
- package/lib/utilities/ChartTitle.js +45 -0
- package/lib/utilities/ChartTitle.js.map +1 -0
- package/lib/utilities/Common.styles.d.ts +51 -0
- package/lib/utilities/Common.styles.js +70 -1
- package/lib/utilities/Common.styles.js.map +1 -1
- package/lib/utilities/image-export-utils.js +4 -4
- package/lib/utilities/image-export-utils.js.map +1 -1
- package/lib/utilities/index.d.ts +1 -0
- package/lib/utilities/index.js +1 -0
- package/lib/utilities/index.js.map +1 -1
- package/lib/utilities/utilities.d.ts +28 -6
- package/lib/utilities/utilities.js +210 -104
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/PolarChart.d.ts +1 -0
- package/lib-amd/PolarChart.js +6 -0
- package/lib-amd/PolarChart.js.map +1 -0
- package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.js +1 -1
- package/lib-amd/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -1
- package/lib-amd/components/AreaChart/AreaChart.base.js +1 -29
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-amd/components/ChartTable/ChartTable.base.js +12 -5
- package/lib-amd/components/ChartTable/ChartTable.base.js.map +1 -1
- package/lib-amd/components/ChartTable/ChartTable.styles.js +3 -1
- package/lib-amd/components/ChartTable/ChartTable.styles.js.map +1 -1
- package/lib-amd/components/ChartTable/ChartTable.types.d.ts +11 -0
- package/lib-amd/components/ChartTable/ChartTable.types.js.map +1 -1
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.js +11 -6
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.d.ts +1 -0
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.js +17 -1
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.js.map +1 -1
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.types.d.ts +5 -0
- package/lib-amd/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +81 -41
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +30 -26
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +16 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +22 -28
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +3 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +204 -219
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +1 -0
- package/lib-amd/components/DonutChart/DonutChart.base.js +15 -3
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.styles.js +2 -0
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +13 -0
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-amd/components/FunnelChart/FunnelChart.base.js +14 -9
- package/lib-amd/components/FunnelChart/FunnelChart.base.js.map +1 -1
- package/lib-amd/components/FunnelChart/FunnelChart.styles.js +3 -1
- package/lib-amd/components/FunnelChart/FunnelChart.styles.js.map +1 -1
- package/lib-amd/components/FunnelChart/FunnelChart.types.d.ts +13 -0
- package/lib-amd/components/FunnelChart/FunnelChart.types.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.js +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js +16 -23
- package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +1 -1
- package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +9 -0
- package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -16
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -1
- package/lib-amd/components/LineChart/LineChart.base.js +0 -24
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/components/PolarChart/PolarChart.base.d.ts +3 -0
- package/lib-amd/components/PolarChart/PolarChart.base.js +421 -0
- package/lib-amd/components/PolarChart/PolarChart.base.js.map +1 -0
- package/lib-amd/components/PolarChart/PolarChart.d.ts +7 -0
- package/lib-amd/components/PolarChart/PolarChart.js +11 -0
- package/lib-amd/components/PolarChart/PolarChart.js.map +1 -0
- package/lib-amd/components/PolarChart/PolarChart.styles.d.ts +2 -0
- package/lib-amd/components/PolarChart/PolarChart.styles.js +43 -0
- package/lib-amd/components/PolarChart/PolarChart.styles.js.map +1 -0
- package/lib-amd/components/PolarChart/PolarChart.types.d.ts +185 -0
- package/lib-amd/components/PolarChart/PolarChart.types.js +5 -0
- package/lib-amd/components/PolarChart/PolarChart.types.js.map +1 -0
- package/lib-amd/components/PolarChart/PolarChart.utils.d.ts +43 -0
- package/lib-amd/components/PolarChart/PolarChart.utils.js +183 -0
- package/lib-amd/components/PolarChart/PolarChart.utils.js.map +1 -0
- package/lib-amd/components/PolarChart/index.d.ts +2 -0
- package/lib-amd/components/PolarChart/index.js +7 -0
- package/lib-amd/components/PolarChart/index.js.map +1 -0
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +9 -3
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js +3 -1
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +18 -0
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.base.js +0 -27
- package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +1 -72
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +1 -25
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-amd/index.d.ts +2 -0
- package/lib-amd/index.js +3 -2
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +88 -0
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/ChartTitle.d.ts +55 -0
- package/lib-amd/utilities/ChartTitle.js +46 -0
- package/lib-amd/utilities/ChartTitle.js.map +1 -0
- package/lib-amd/utilities/Common.styles.d.ts +51 -0
- package/lib-amd/utilities/Common.styles.js +74 -2
- package/lib-amd/utilities/Common.styles.js.map +1 -1
- package/lib-amd/utilities/image-export-utils.js +3 -3
- package/lib-amd/utilities/image-export-utils.js.map +1 -1
- package/lib-amd/utilities/index.d.ts +1 -0
- package/lib-amd/utilities/index.js +2 -1
- package/lib-amd/utilities/index.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +28 -6
- package/lib-amd/utilities/utilities.js +217 -107
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/PolarChart.d.ts +1 -0
- package/lib-commonjs/PolarChart.js +5 -0
- package/lib-commonjs/PolarChart.js.map +1 -0
- package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js +1 -1
- package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -1
- package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -29
- package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
- package/lib-commonjs/components/ChartTable/ChartTable.base.js +12 -4
- package/lib-commonjs/components/ChartTable/ChartTable.base.js.map +1 -1
- package/lib-commonjs/components/ChartTable/ChartTable.styles.js +3 -0
- package/lib-commonjs/components/ChartTable/ChartTable.styles.js.map +1 -1
- package/lib-commonjs/components/ChartTable/ChartTable.types.d.ts +11 -0
- package/lib-commonjs/components/ChartTable/ChartTable.types.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js +11 -6
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.d.ts +1 -0
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.js +17 -1
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.styles.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.types.d.ts +5 -0
- package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +81 -41
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +30 -26
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +16 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +23 -27
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +3 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +204 -219
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +1 -0
- package/lib-commonjs/components/DonutChart/DonutChart.base.js +15 -3
- package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js +2 -0
- package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -1
- package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +13 -0
- package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
- package/lib-commonjs/components/FunnelChart/FunnelChart.base.js +14 -8
- package/lib-commonjs/components/FunnelChart/FunnelChart.base.js.map +1 -1
- package/lib-commonjs/components/FunnelChart/FunnelChart.styles.js +3 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.styles.js.map +1 -1
- package/lib-commonjs/components/FunnelChart/FunnelChart.types.d.ts +13 -0
- package/lib-commonjs/components/FunnelChart/FunnelChart.types.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +16 -22
- package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -1
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +9 -0
- package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -1
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -16
- package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js +0 -24
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/components/PolarChart/PolarChart.base.d.ts +3 -0
- package/lib-commonjs/components/PolarChart/PolarChart.base.js +429 -0
- package/lib-commonjs/components/PolarChart/PolarChart.base.js.map +1 -0
- package/lib-commonjs/components/PolarChart/PolarChart.d.ts +7 -0
- package/lib-commonjs/components/PolarChart/PolarChart.js +12 -0
- package/lib-commonjs/components/PolarChart/PolarChart.js.map +1 -0
- package/lib-commonjs/components/PolarChart/PolarChart.styles.d.ts +2 -0
- package/lib-commonjs/components/PolarChart/PolarChart.styles.js +43 -0
- package/lib-commonjs/components/PolarChart/PolarChart.styles.js.map +1 -0
- package/lib-commonjs/components/PolarChart/PolarChart.types.d.ts +185 -0
- package/lib-commonjs/components/PolarChart/PolarChart.types.js +3 -0
- package/lib-commonjs/components/PolarChart/PolarChart.types.js.map +1 -0
- package/lib-commonjs/components/PolarChart/PolarChart.utils.d.ts +43 -0
- package/lib-commonjs/components/PolarChart/PolarChart.utils.js +188 -0
- package/lib-commonjs/components/PolarChart/PolarChart.utils.js.map +1 -0
- package/lib-commonjs/components/PolarChart/index.d.ts +2 -0
- package/lib-commonjs/components/PolarChart/index.js +6 -0
- package/lib-commonjs/components/PolarChart/index.js.map +1 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +9 -2
- package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +3 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -1
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +18 -0
- package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +0 -27
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -1
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -72
- package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -1
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -25
- package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/index.d.ts +2 -0
- package/lib-commonjs/index.js +3 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +88 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/ChartTitle.d.ts +55 -0
- package/lib-commonjs/utilities/ChartTitle.js +49 -0
- package/lib-commonjs/utilities/ChartTitle.js.map +1 -0
- package/lib-commonjs/utilities/Common.styles.d.ts +51 -0
- package/lib-commonjs/utilities/Common.styles.js +74 -2
- package/lib-commonjs/utilities/Common.styles.js.map +1 -1
- package/lib-commonjs/utilities/image-export-utils.js +3 -3
- package/lib-commonjs/utilities/image-export-utils.js.map +1 -1
- package/lib-commonjs/utilities/index.d.ts +1 -0
- package/lib-commonjs/utilities/index.js +1 -0
- package/lib-commonjs/utilities/index.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +28 -6
- package/lib-commonjs/utilities/utilities.js +217 -107
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +4 -12
- package/project.json +0 -1
- package/src/components/ChartTable/ChartTable.types.ts +13 -0
- package/src/components/CommonComponents/Annotations/ChartAnnotationLayer.types.ts +5 -0
- package/src/components/CommonComponents/CartesianChart.types.ts +17 -1
- package/src/components/DonutChart/DonutChart.types.ts +16 -0
- package/src/components/FunnelChart/FunnelChart.types.ts +16 -0
- package/src/components/GaugeChart/GaugeChart.types.ts +11 -0
- package/src/components/PolarChart/PolarChart.types.ts +232 -0
- package/src/components/SankeyChart/SankeyChart.types.ts +22 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,66 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 27 Jan 2026 05:17:08 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.25.6",
|
|
7
|
+
"version": "5.25.6",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "anushgupta@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "ac121640c52fc058f59c2ed650692489732596e7",
|
|
14
|
+
"comment": "support chart title from plotly schema"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"commit": "c39e1d30eea7f12a312ef89a43c4ef2fede411ca",
|
|
20
|
+
"comment": "feat(react-charting): Add prop to regulate removal of default annotation styling"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "kumarkshitij@microsoft.com",
|
|
24
|
+
"package": "@fluentui/react-charting",
|
|
25
|
+
"commit": "182caa4ff028038c61d9e35979ab3e93a7cf0cd3",
|
|
26
|
+
"comment": "feat: improve x-axis tick label layout with automatic wrapping, truncation, or multi-level rendering based on available space"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "kumarkshitij@microsoft.com",
|
|
30
|
+
"package": "@fluentui/react-charting",
|
|
31
|
+
"commit": "fb1285feb479f5821dc0fc1fc10485025730e6a1",
|
|
32
|
+
"comment": "feat: add PolarChart"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui/react-charting",
|
|
37
|
+
"comment": "Bump @fluentui/react-focus to v8.10.4",
|
|
38
|
+
"commit": "ac121640c52fc058f59c2ed650692489732596e7"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui/react-charting",
|
|
43
|
+
"comment": "Bump @fluentui/theme-samples to v8.7.223",
|
|
44
|
+
"commit": "ac121640c52fc058f59c2ed650692489732596e7"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui/react-charting",
|
|
49
|
+
"comment": "Bump @fluentui/react to v8.125.4",
|
|
50
|
+
"commit": "ac121640c52fc058f59c2ed650692489732596e7"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"none": [
|
|
54
|
+
{
|
|
55
|
+
"author": "martinhochel@microsoft.com",
|
|
56
|
+
"package": "@fluentui/react-charting",
|
|
57
|
+
"commit": "5e245979f55d1694e2f2f7e303701628285c62dc",
|
|
58
|
+
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"date": "Mon, 05 Jan 2026 14:47:16 GMT",
|
|
6
65
|
"tag": "@fluentui/react-charting_v5.25.5",
|
|
7
66
|
"version": "5.25.5",
|
|
8
67
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 27 Jan 2026 05:17:08 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.25.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.6)
|
|
8
|
+
|
|
9
|
+
Tue, 27 Jan 2026 05:17:08 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.5..@fluentui/react-charting_v5.25.6)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- support chart title from plotly schema ([PR #35643](https://github.com/microsoft/fluentui/pull/35643) by anushgupta@microsoft.com)
|
|
15
|
+
- feat(react-charting): Add prop to regulate removal of default annotation styling ([PR #35647](https://github.com/microsoft/fluentui/pull/35647) by 120183316+srmukher@users.noreply.github.com)
|
|
16
|
+
- feat: improve x-axis tick label layout with automatic wrapping, truncation, or multi-level rendering based on available space ([PR #35605](https://github.com/microsoft/fluentui/pull/35605) by kumarkshitij@microsoft.com)
|
|
17
|
+
- feat: add PolarChart ([PR #35651](https://github.com/microsoft/fluentui/pull/35651) by kumarkshitij@microsoft.com)
|
|
18
|
+
- Bump @fluentui/react-focus to v8.10.4 ([PR #35643](https://github.com/microsoft/fluentui/pull/35643) by beachball)
|
|
19
|
+
- Bump @fluentui/theme-samples to v8.7.223 ([PR #35643](https://github.com/microsoft/fluentui/pull/35643) by beachball)
|
|
20
|
+
- Bump @fluentui/react to v8.125.4 ([PR #35643](https://github.com/microsoft/fluentui/pull/35643) by beachball)
|
|
21
|
+
|
|
7
22
|
## [5.25.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.25.5)
|
|
8
23
|
|
|
9
|
-
Mon, 05 Jan 2026 14:
|
|
24
|
+
Mon, 05 Jan 2026 14:47:16 GMT
|
|
10
25
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.25.4..@fluentui/react-charting_v5.25.5)
|
|
11
26
|
|
|
12
27
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { CurveFactory } from 'd3-shape';
|
|
2
2
|
import { FocusZoneDirection } from '@fluentui/react-focus';
|
|
3
|
+
import type { Font } from '@fluentui/chart-utilities';
|
|
3
4
|
import { ICalloutContentStyleProps } from '@fluentui/react/lib/Callout';
|
|
4
5
|
import { ICalloutContentStyles } from '@fluentui/react/lib/Callout';
|
|
5
6
|
import { ICalloutProps } from '@fluentui/react/lib/Callout';
|
|
7
|
+
import { ICalloutProps as ICalloutProps_2 } from '@fluentui/react';
|
|
6
8
|
import { IFocusZoneProps } from '@fluentui/react-focus';
|
|
7
9
|
import { IHoverCardStyleProps } from '@fluentui/react/lib/HoverCard';
|
|
8
10
|
import { IHoverCardStyles } from '@fluentui/react/lib/HoverCard';
|
|
@@ -559,6 +561,24 @@ export declare interface IAreaChartStyleProps extends ICartesianChartStyleProps
|
|
|
559
561
|
export declare interface IAreaChartStyles extends ICartesianChartStyles {
|
|
560
562
|
}
|
|
561
563
|
|
|
564
|
+
/**
|
|
565
|
+
* Represents a areapolar series.
|
|
566
|
+
*/
|
|
567
|
+
declare interface IAreaPolarSeries extends IDataSeries {
|
|
568
|
+
/**
|
|
569
|
+
* Type discriminator: always 'areapolar' for this series.
|
|
570
|
+
*/
|
|
571
|
+
type: 'areapolar';
|
|
572
|
+
/**
|
|
573
|
+
* Array of data points for the series.
|
|
574
|
+
*/
|
|
575
|
+
data: IPolarDataPoint[];
|
|
576
|
+
/**
|
|
577
|
+
* Additional line rendering options (e.g., stroke width, curve type).
|
|
578
|
+
*/
|
|
579
|
+
lineOptions?: ILineChartLineOptions;
|
|
580
|
+
}
|
|
581
|
+
|
|
562
582
|
declare interface IAxisData {
|
|
563
583
|
yAxisDomainValues: number[];
|
|
564
584
|
yAxisTickText: string[];
|
|
@@ -657,6 +677,10 @@ export declare interface IBasestate {
|
|
|
657
677
|
* {@docCategory CartesianChart}
|
|
658
678
|
*/
|
|
659
679
|
export declare interface ICartesianChartProps {
|
|
680
|
+
/**
|
|
681
|
+
* Title styles configuration for the chart title
|
|
682
|
+
*/
|
|
683
|
+
titleStyles?: ITitleStyles;
|
|
660
684
|
/**
|
|
661
685
|
* Below height used for resizing of the chart
|
|
662
686
|
* Wrap chart in your container and send the updated height and width to these props.
|
|
@@ -939,7 +963,17 @@ export declare interface ICartesianChartProps {
|
|
|
939
963
|
* Configuration for the x-axis.
|
|
940
964
|
* Use this to control `tickStep`, `tick0`, etc.
|
|
941
965
|
*/
|
|
942
|
-
xAxis?: AxisProps
|
|
966
|
+
xAxis?: AxisProps & {
|
|
967
|
+
/**
|
|
968
|
+
* Controls how x-axis tick labels are laid out.
|
|
969
|
+
*
|
|
970
|
+
* - `'auto'`: Tick labels are automatically wrapped, truncated, and staggered
|
|
971
|
+
* across alternating levels based on the available space to prevent overlap.
|
|
972
|
+
*
|
|
973
|
+
* @default 'default'
|
|
974
|
+
*/
|
|
975
|
+
tickLayout?: 'default' | 'auto';
|
|
976
|
+
};
|
|
943
977
|
/**
|
|
944
978
|
* Configuration for the y-axis.
|
|
945
979
|
* Use this to control `tickStep`, `tick0`, etc.
|
|
@@ -1321,6 +1355,10 @@ export declare interface IChartProps {
|
|
|
1321
1355
|
* {@docCategory ChartTable}
|
|
1322
1356
|
*/
|
|
1323
1357
|
export declare interface IChartTableProps {
|
|
1358
|
+
/**
|
|
1359
|
+
* Title styles configuration for the chart title
|
|
1360
|
+
*/
|
|
1361
|
+
titleStyles?: ITitleStyles;
|
|
1324
1362
|
/**
|
|
1325
1363
|
* 1d or 2d Array of header values.
|
|
1326
1364
|
*/
|
|
@@ -1345,6 +1383,10 @@ export declare interface IChartTableProps {
|
|
|
1345
1383
|
* @default '650px'
|
|
1346
1384
|
*/
|
|
1347
1385
|
height?: string | number;
|
|
1386
|
+
/**
|
|
1387
|
+
* Chart title to display above the table
|
|
1388
|
+
*/
|
|
1389
|
+
chartTitle?: string;
|
|
1348
1390
|
/**
|
|
1349
1391
|
* Theme (provided through customization)
|
|
1350
1392
|
*/
|
|
@@ -1379,6 +1421,8 @@ export declare interface IChartTableStyles {
|
|
|
1379
1421
|
headerCell?: IStyle;
|
|
1380
1422
|
bodyCell?: IStyle;
|
|
1381
1423
|
chart?: IStyle;
|
|
1424
|
+
chartTitle?: IStyle;
|
|
1425
|
+
svgTooltip?: IStyle;
|
|
1382
1426
|
}
|
|
1383
1427
|
|
|
1384
1428
|
export declare interface IChildProps {
|
|
@@ -1549,6 +1593,10 @@ export declare interface IDonutChart {
|
|
|
1549
1593
|
* {@docCategory DonutChart}
|
|
1550
1594
|
*/
|
|
1551
1595
|
export declare interface IDonutChartProps extends ICartesianChartProps {
|
|
1596
|
+
/**
|
|
1597
|
+
* Title styles configuration for the chart title
|
|
1598
|
+
*/
|
|
1599
|
+
titleStyles?: ITitleStyles;
|
|
1552
1600
|
/**
|
|
1553
1601
|
* Data to render in the chart.
|
|
1554
1602
|
*/
|
|
@@ -1635,6 +1683,10 @@ export declare interface IDonutChartStyles {
|
|
|
1635
1683
|
* Style for the legend container.
|
|
1636
1684
|
*/
|
|
1637
1685
|
legendContainer: IStyle;
|
|
1686
|
+
/**
|
|
1687
|
+
* Style for the chart title.
|
|
1688
|
+
*/
|
|
1689
|
+
chartTitle?: IStyle;
|
|
1638
1690
|
/**
|
|
1639
1691
|
* styles for axis annotation
|
|
1640
1692
|
*/
|
|
@@ -1643,6 +1695,10 @@ export declare interface IDonutChartStyles {
|
|
|
1643
1695
|
* Styles for the chart wrapper div
|
|
1644
1696
|
*/
|
|
1645
1697
|
chartWrapper?: IStyle;
|
|
1698
|
+
/**
|
|
1699
|
+
* Style for SVG tooltip text
|
|
1700
|
+
*/
|
|
1701
|
+
svgTooltip?: IStyle;
|
|
1646
1702
|
}
|
|
1647
1703
|
|
|
1648
1704
|
declare interface IEventAnnotation {
|
|
@@ -1696,6 +1752,10 @@ declare interface IFunnelChartDataPoint {
|
|
|
1696
1752
|
* {@docCategory FunnelChart}
|
|
1697
1753
|
*/
|
|
1698
1754
|
export declare interface IFunnelChartProps {
|
|
1755
|
+
/**
|
|
1756
|
+
* Title styles configuration for the chart title
|
|
1757
|
+
*/
|
|
1758
|
+
titleStyles?: ITitleStyles;
|
|
1699
1759
|
/**
|
|
1700
1760
|
* Data points for the funnel chart
|
|
1701
1761
|
*/
|
|
@@ -1788,10 +1848,18 @@ export declare interface IFunnelChartStyles {
|
|
|
1788
1848
|
* Styles for the chart
|
|
1789
1849
|
*/
|
|
1790
1850
|
chart?: IStyle;
|
|
1851
|
+
/**
|
|
1852
|
+
* Style for the chart title.
|
|
1853
|
+
*/
|
|
1854
|
+
chartTitle?: IStyle;
|
|
1791
1855
|
/**
|
|
1792
1856
|
* Styles for text elements
|
|
1793
1857
|
*/
|
|
1794
1858
|
text?: IStyle;
|
|
1859
|
+
/**
|
|
1860
|
+
* Style for SVG tooltip text
|
|
1861
|
+
*/
|
|
1862
|
+
svgTooltip?: IStyle;
|
|
1795
1863
|
/**
|
|
1796
1864
|
* Styles for sub-components
|
|
1797
1865
|
*/
|
|
@@ -1921,6 +1989,10 @@ export declare interface IGanttChartStyles extends ICartesianChartStyles {
|
|
|
1921
1989
|
* {@docCategory GaugeChart}
|
|
1922
1990
|
*/
|
|
1923
1991
|
export declare interface IGaugeChartProps {
|
|
1992
|
+
/**
|
|
1993
|
+
* Title styles configuration for the chart title
|
|
1994
|
+
*/
|
|
1995
|
+
titleStyles?: ITitleStyles;
|
|
1924
1996
|
/**
|
|
1925
1997
|
* Width of the chart
|
|
1926
1998
|
*/
|
|
@@ -2120,6 +2192,10 @@ export declare interface IGaugeChartStyles {
|
|
|
2120
2192
|
* Styles for the needle
|
|
2121
2193
|
*/
|
|
2122
2194
|
needle?: IStyle;
|
|
2195
|
+
/**
|
|
2196
|
+
* Styles for SVG tooltip background
|
|
2197
|
+
*/
|
|
2198
|
+
svgTooltip?: IStyle;
|
|
2123
2199
|
/**
|
|
2124
2200
|
* Styles for the chart title
|
|
2125
2201
|
*/
|
|
@@ -3467,6 +3543,24 @@ export declare interface ILineDataInVerticalStackedBarChart {
|
|
|
3467
3543
|
lineOptions?: ILineChartLineOptions;
|
|
3468
3544
|
}
|
|
3469
3545
|
|
|
3546
|
+
/**
|
|
3547
|
+
* Represents a linepolar series.
|
|
3548
|
+
*/
|
|
3549
|
+
declare interface ILinePolarSeries extends IDataSeries {
|
|
3550
|
+
/**
|
|
3551
|
+
* Type discriminator: always 'linepolar' for this series.
|
|
3552
|
+
*/
|
|
3553
|
+
type: 'linepolar';
|
|
3554
|
+
/**
|
|
3555
|
+
* Array of data points for the series.
|
|
3556
|
+
*/
|
|
3557
|
+
data: IPolarDataPoint[];
|
|
3558
|
+
/**
|
|
3559
|
+
* Additional line rendering options (e.g., stroke width, curve type).
|
|
3560
|
+
*/
|
|
3561
|
+
lineOptions?: ILineChartLineOptions;
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3470
3564
|
/**
|
|
3471
3565
|
* Represents a line series.
|
|
3472
3566
|
*/
|
|
@@ -4000,6 +4094,194 @@ export declare interface IPieChartStyles {
|
|
|
4000
4094
|
chartTitle?: IStyle;
|
|
4001
4095
|
}
|
|
4002
4096
|
|
|
4097
|
+
/**
|
|
4098
|
+
* Polar Chart properties
|
|
4099
|
+
* {@docCategory PolarChart}
|
|
4100
|
+
*/
|
|
4101
|
+
export declare interface IPolarChartProps {
|
|
4102
|
+
/**
|
|
4103
|
+
* Data series to be rendered in the polar chart.
|
|
4104
|
+
*/
|
|
4105
|
+
data: (IAreaPolarSeries | ILinePolarSeries | IScatterPolarSeries)[];
|
|
4106
|
+
/**
|
|
4107
|
+
* Width of the polar chart.
|
|
4108
|
+
* @default 200
|
|
4109
|
+
*/
|
|
4110
|
+
width?: number;
|
|
4111
|
+
/**
|
|
4112
|
+
* Height of the polar chart.
|
|
4113
|
+
* @default 200
|
|
4114
|
+
*/
|
|
4115
|
+
height?: number;
|
|
4116
|
+
/**
|
|
4117
|
+
* Margins around the chart area.
|
|
4118
|
+
*/
|
|
4119
|
+
margins?: IMargins;
|
|
4120
|
+
/**
|
|
4121
|
+
* If true, hides the legend.
|
|
4122
|
+
* @default false
|
|
4123
|
+
*/
|
|
4124
|
+
hideLegend?: boolean;
|
|
4125
|
+
/**
|
|
4126
|
+
* If true, hides the tooltip.
|
|
4127
|
+
* @default false
|
|
4128
|
+
*/
|
|
4129
|
+
hideTooltip?: boolean;
|
|
4130
|
+
legendProps?: Partial<ILegendsProps>;
|
|
4131
|
+
/**
|
|
4132
|
+
* Title of the chart.
|
|
4133
|
+
*/
|
|
4134
|
+
chartTitle?: string;
|
|
4135
|
+
/**
|
|
4136
|
+
* Fraction of the radius to cut out from the center of the chart.
|
|
4137
|
+
* Accepts values in the range [0, 1].
|
|
4138
|
+
*/
|
|
4139
|
+
hole?: number;
|
|
4140
|
+
/**
|
|
4141
|
+
* Shape of the polar chart.
|
|
4142
|
+
* @default 'circle'
|
|
4143
|
+
*/
|
|
4144
|
+
shape?: 'circle' | 'polygon';
|
|
4145
|
+
/**
|
|
4146
|
+
* Direction in which the chart is drawn.
|
|
4147
|
+
* @default 'counterclockwise'
|
|
4148
|
+
*/
|
|
4149
|
+
direction?: 'clockwise' | 'counterclockwise';
|
|
4150
|
+
/**
|
|
4151
|
+
* Configuration options for the radial axis.
|
|
4152
|
+
*/
|
|
4153
|
+
radialAxis?: PolarAxisProps;
|
|
4154
|
+
/**
|
|
4155
|
+
* Configuration options for the angular axis.
|
|
4156
|
+
*/
|
|
4157
|
+
angularAxis?: PolarAxisProps & {
|
|
4158
|
+
/**
|
|
4159
|
+
* Format unit for angular values.
|
|
4160
|
+
* @default 'degrees'
|
|
4161
|
+
*/
|
|
4162
|
+
unit?: 'radians' | 'degrees';
|
|
4163
|
+
};
|
|
4164
|
+
/**
|
|
4165
|
+
* Optional callback to access the Chart interface. Use this instead of ref for accessing
|
|
4166
|
+
* the public methods and properties of the component.
|
|
4167
|
+
*/
|
|
4168
|
+
componentRef?: React_2.Ref<IChart>;
|
|
4169
|
+
/**
|
|
4170
|
+
* Locale identifier string used to format numbers and dates according to the specified culture.
|
|
4171
|
+
* Example: 'en-US', 'fr-FR'.
|
|
4172
|
+
*/
|
|
4173
|
+
culture?: string;
|
|
4174
|
+
/**
|
|
4175
|
+
* Options for localizing date values.
|
|
4176
|
+
*/
|
|
4177
|
+
dateLocalizeOptions?: Intl.DateTimeFormatOptions;
|
|
4178
|
+
/**
|
|
4179
|
+
* If true, date values are treated as UTC dates.
|
|
4180
|
+
* @default false
|
|
4181
|
+
*/
|
|
4182
|
+
useUTC?: boolean;
|
|
4183
|
+
/**
|
|
4184
|
+
* Theme (provided through customization)
|
|
4185
|
+
*/
|
|
4186
|
+
theme?: ITheme_2;
|
|
4187
|
+
/**
|
|
4188
|
+
* Call to provide customized styling that will layer on top of the variant rules
|
|
4189
|
+
*/
|
|
4190
|
+
styles?: IStyleFunctionOrObject_2<IPolarChartStyleProps, IPolarChartStyles>;
|
|
4191
|
+
/**
|
|
4192
|
+
* Props for the callout in the chart
|
|
4193
|
+
*/
|
|
4194
|
+
calloutProps?: Partial<ICalloutProps_2>;
|
|
4195
|
+
}
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* Polar Chart style properties
|
|
4199
|
+
* {@docCategory PolarChart}
|
|
4200
|
+
*/
|
|
4201
|
+
export declare interface IPolarChartStyleProps {
|
|
4202
|
+
/**
|
|
4203
|
+
* Theme (provided through customization)
|
|
4204
|
+
*/
|
|
4205
|
+
theme: ITheme_2;
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
/**
|
|
4209
|
+
* Polar Chart styles
|
|
4210
|
+
* {@docCategory PolarChart}
|
|
4211
|
+
*/
|
|
4212
|
+
export declare interface IPolarChartStyles {
|
|
4213
|
+
/**
|
|
4214
|
+
* Style for the root element.
|
|
4215
|
+
*/
|
|
4216
|
+
root?: IStyle_2;
|
|
4217
|
+
/**
|
|
4218
|
+
* Style for the chart wrapper element.
|
|
4219
|
+
*/
|
|
4220
|
+
chartWrapper?: IStyle_2;
|
|
4221
|
+
/**
|
|
4222
|
+
* Style for the chart element.
|
|
4223
|
+
*/
|
|
4224
|
+
chart?: IStyle_2;
|
|
4225
|
+
/**
|
|
4226
|
+
* Style for the inner grid lines.
|
|
4227
|
+
*/
|
|
4228
|
+
gridLineInner?: IStyle_2;
|
|
4229
|
+
/**
|
|
4230
|
+
* Style for the outer grid lines.
|
|
4231
|
+
*/
|
|
4232
|
+
gridLineOuter?: IStyle_2;
|
|
4233
|
+
/**
|
|
4234
|
+
* Style for the tick labels.
|
|
4235
|
+
*/
|
|
4236
|
+
tickLabel?: IStyle_2;
|
|
4237
|
+
/**
|
|
4238
|
+
* Style for the legend container.
|
|
4239
|
+
*/
|
|
4240
|
+
legendContainer?: IStyle_2;
|
|
4241
|
+
}
|
|
4242
|
+
|
|
4243
|
+
/**
|
|
4244
|
+
* Represents a single data point in a polar series.
|
|
4245
|
+
*/
|
|
4246
|
+
declare interface IPolarDataPoint {
|
|
4247
|
+
/**
|
|
4248
|
+
* Radial value of the data point.
|
|
4249
|
+
*/
|
|
4250
|
+
r: string | number | Date;
|
|
4251
|
+
/**
|
|
4252
|
+
* Angular value of the data point, specified as a category or in degrees.
|
|
4253
|
+
*/
|
|
4254
|
+
theta: string | number;
|
|
4255
|
+
/**
|
|
4256
|
+
* Optional click handler for the data point.
|
|
4257
|
+
*/
|
|
4258
|
+
onClick?: () => void;
|
|
4259
|
+
/**
|
|
4260
|
+
* Custom text to show in the callout in place of the radial axis value.
|
|
4261
|
+
*/
|
|
4262
|
+
radialAxisCalloutData?: string;
|
|
4263
|
+
/**
|
|
4264
|
+
* Custom text to show in the callout in place of the angular axis value.
|
|
4265
|
+
*/
|
|
4266
|
+
angularAxisCalloutData?: string;
|
|
4267
|
+
/**
|
|
4268
|
+
* Accessibility properties for the data point.
|
|
4269
|
+
*/
|
|
4270
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
4271
|
+
/**
|
|
4272
|
+
* Custom marker size for the data point.
|
|
4273
|
+
*/
|
|
4274
|
+
markerSize?: number;
|
|
4275
|
+
/**
|
|
4276
|
+
* Optional text to annotate or label the data point.
|
|
4277
|
+
*/
|
|
4278
|
+
text?: string;
|
|
4279
|
+
/**
|
|
4280
|
+
* Color of the data point. If not provided, it will inherit the series color.
|
|
4281
|
+
*/
|
|
4282
|
+
color?: string;
|
|
4283
|
+
}
|
|
4284
|
+
|
|
4003
4285
|
export declare interface IRefArrayData {
|
|
4004
4286
|
index?: string;
|
|
4005
4287
|
refElement?: SVGGElement;
|
|
@@ -4089,6 +4371,10 @@ export declare interface ISankeyChartData {
|
|
|
4089
4371
|
* {@docCategory SankeyChart}
|
|
4090
4372
|
*/
|
|
4091
4373
|
export declare interface ISankeyChartProps {
|
|
4374
|
+
/**
|
|
4375
|
+
* Title styles configuration for the chart title
|
|
4376
|
+
*/
|
|
4377
|
+
titleStyles?: ITitleStyles;
|
|
4092
4378
|
/**
|
|
4093
4379
|
* Data to render in the chart.
|
|
4094
4380
|
*/
|
|
@@ -4159,6 +4445,11 @@ export declare interface ISankeyChartProps {
|
|
|
4159
4445
|
* props for the callout in the chart
|
|
4160
4446
|
*/
|
|
4161
4447
|
calloutProps?: Partial<ICalloutProps>;
|
|
4448
|
+
/**
|
|
4449
|
+
* Whether to hide the legend
|
|
4450
|
+
* @default false
|
|
4451
|
+
*/
|
|
4452
|
+
hideLegend?: boolean;
|
|
4162
4453
|
}
|
|
4163
4454
|
|
|
4164
4455
|
/**
|
|
@@ -4222,6 +4513,14 @@ export declare interface ISankeyChartStyles {
|
|
|
4222
4513
|
* Styles for the chart svg element
|
|
4223
4514
|
*/
|
|
4224
4515
|
chart?: IStyle;
|
|
4516
|
+
/**
|
|
4517
|
+
* Style for SVG tooltip text
|
|
4518
|
+
*/
|
|
4519
|
+
svgTooltip?: IStyle;
|
|
4520
|
+
/**
|
|
4521
|
+
* Style for the chart title.
|
|
4522
|
+
*/
|
|
4523
|
+
chartTitle?: IStyle;
|
|
4225
4524
|
}
|
|
4226
4525
|
|
|
4227
4526
|
/**
|
|
@@ -4328,6 +4627,20 @@ export declare interface IScatterChartStyles extends ICartesianChartStyles {
|
|
|
4328
4627
|
markerLabel?: IStyle_2;
|
|
4329
4628
|
}
|
|
4330
4629
|
|
|
4630
|
+
/**
|
|
4631
|
+
* Represents a scatterpolar series.
|
|
4632
|
+
*/
|
|
4633
|
+
declare interface IScatterPolarSeries extends IDataSeries {
|
|
4634
|
+
/**
|
|
4635
|
+
* Type discriminator: always 'scatterpolar' for this series.
|
|
4636
|
+
*/
|
|
4637
|
+
type: 'scatterpolar';
|
|
4638
|
+
/**
|
|
4639
|
+
* Array of data points for the series.
|
|
4640
|
+
*/
|
|
4641
|
+
data: IPolarDataPoint[];
|
|
4642
|
+
}
|
|
4643
|
+
|
|
4331
4644
|
export declare interface IShapeProps {
|
|
4332
4645
|
svgProps: React_2.SVGAttributes<SVGElement>;
|
|
4333
4646
|
pathProps: React_2.SVGAttributes<SVGPathElement>;
|
|
@@ -4665,6 +4978,35 @@ declare interface ITextboxProps {
|
|
|
4665
4978
|
fill?: string;
|
|
4666
4979
|
}
|
|
4667
4980
|
|
|
4981
|
+
/**
|
|
4982
|
+
* Shared interface for chart title styling properties.
|
|
4983
|
+
* Used by components that display a chart title with customizable font, alignment, and padding.
|
|
4984
|
+
* {@docCategory TitleStyles}
|
|
4985
|
+
*/
|
|
4986
|
+
declare interface ITitleStyles {
|
|
4987
|
+
/**
|
|
4988
|
+
* Font configuration for the title
|
|
4989
|
+
*/
|
|
4990
|
+
titleFont?: Partial<Font>;
|
|
4991
|
+
/**
|
|
4992
|
+
* Horizontal anchor/alignment for the chart title
|
|
4993
|
+
*/
|
|
4994
|
+
titleXAnchor?: 'auto' | 'left' | 'center' | 'right';
|
|
4995
|
+
/**
|
|
4996
|
+
* Vertical anchor/alignment for the chart title
|
|
4997
|
+
*/
|
|
4998
|
+
titleYAnchor?: 'auto' | 'top' | 'middle' | 'bottom';
|
|
4999
|
+
/**
|
|
5000
|
+
* Padding for the chart title
|
|
5001
|
+
*/
|
|
5002
|
+
titlePad?: {
|
|
5003
|
+
t?: number;
|
|
5004
|
+
r?: number;
|
|
5005
|
+
b?: number;
|
|
5006
|
+
l?: number;
|
|
5007
|
+
};
|
|
5008
|
+
}
|
|
5009
|
+
|
|
4668
5010
|
/**
|
|
4669
5011
|
* {@docCategory TreeChart}
|
|
4670
5012
|
*/
|
|
@@ -5444,6 +5786,51 @@ declare enum Points {
|
|
|
5444
5786
|
octagon = 7
|
|
5445
5787
|
}
|
|
5446
5788
|
|
|
5789
|
+
/**
|
|
5790
|
+
* Configuration options for a polar axis.
|
|
5791
|
+
* {@docCategory PolarChart}
|
|
5792
|
+
*/
|
|
5793
|
+
export declare type PolarAxisProps = AxisProps & {
|
|
5794
|
+
/**
|
|
5795
|
+
* Values at which ticks should be placed on the axis.
|
|
5796
|
+
*/
|
|
5797
|
+
tickValues?: number[] | Date[] | string[];
|
|
5798
|
+
/**
|
|
5799
|
+
* Format string for the axis ticks.
|
|
5800
|
+
* For numbers, see: https://d3js.org/d3-format.
|
|
5801
|
+
* And for dates see: https://d3js.org/d3-time-format.
|
|
5802
|
+
*/
|
|
5803
|
+
tickFormat?: string;
|
|
5804
|
+
/**
|
|
5805
|
+
* Number of ticks to display on the axis.
|
|
5806
|
+
*/
|
|
5807
|
+
tickCount?: number;
|
|
5808
|
+
/**
|
|
5809
|
+
* Defines the order of categories on the axis.
|
|
5810
|
+
* @default 'default'
|
|
5811
|
+
*/
|
|
5812
|
+
categoryOrder?: AxisCategoryOrder;
|
|
5813
|
+
/**
|
|
5814
|
+
* Scale type for the axis.
|
|
5815
|
+
* @default 'default'
|
|
5816
|
+
*/
|
|
5817
|
+
scaleType?: AxisScaleType;
|
|
5818
|
+
/**
|
|
5819
|
+
* Start value of the axis range.
|
|
5820
|
+
*/
|
|
5821
|
+
rangeStart?: number | Date;
|
|
5822
|
+
/**
|
|
5823
|
+
* End value of the axis range.
|
|
5824
|
+
*/
|
|
5825
|
+
rangeEnd?: number | Date;
|
|
5826
|
+
};
|
|
5827
|
+
|
|
5828
|
+
/**
|
|
5829
|
+
* PolarChart component.
|
|
5830
|
+
* {@docCategory PolarChart}
|
|
5831
|
+
*/
|
|
5832
|
+
export declare const PolarChart: React_2.FunctionComponent<IPolarChartProps>;
|
|
5833
|
+
|
|
5447
5834
|
/**
|
|
5448
5835
|
* Responsive Container component
|
|
5449
5836
|
* {@docCategory ResponsiveContainer}
|