@fluentui/react-charting 5.25.5 → 5.25.7
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 +87 -1
- package/CHANGELOG.md +28 -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
|
@@ -5,7 +5,7 @@ import { Callout } from '@fluentui/react/lib/Callout';
|
|
|
5
5
|
import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';
|
|
6
6
|
import { select as d3Select } from 'd3-selection';
|
|
7
7
|
import { formatToLocaleString } from '@fluentui/chart-utilities';
|
|
8
|
-
import { createNumericXAxis, createStringXAxis, getAccessibleDataObject, createDateXAxis, XAxisTypes, YAxisType, createWrapOfXLabels, rotateXAxisLabels, Points, pointTypes, calculateLongestLabelWidth, createYAxisLabels, ChartTypes, wrapContent, getSecureProps, truncateString, tooltipOfAxislabels, DEFAULT_WRAP_WIDTH, } from '../../utilities/index';
|
|
8
|
+
import { createNumericXAxis, createStringXAxis, getAccessibleDataObject, createDateXAxis, XAxisTypes, YAxisType, createWrapOfXLabels, rotateXAxisLabels, Points, pointTypes, calculateLongestLabelWidth, createYAxisLabels, ChartTypes, wrapContent, getSecureProps, truncateString, tooltipOfAxislabels, DEFAULT_WRAP_WIDTH, getChartTitleInlineStyles, autoLayoutXAxisLabels, } from '../../utilities/index';
|
|
9
9
|
import { Shape } from '../Legends/index';
|
|
10
10
|
import { SVGTooltipText } from '../../utilities/SVGTooltipText';
|
|
11
11
|
import { ChartAnnotationLayer } from './Annotations/ChartAnnotationLayer';
|
|
@@ -83,8 +83,8 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
83
83
|
};
|
|
84
84
|
_this._calculateChartMinWidth = function () {
|
|
85
85
|
// Adding 10px for padding on both sides
|
|
86
|
-
var labelWidth = _this._calcMaxLabelWidthWithTransform(_this.
|
|
87
|
-
var minChartWidth = _this.margins.left + _this.margins.right + labelWidth * (_this.
|
|
86
|
+
var labelWidth = _this._calcMaxLabelWidthWithTransform(_this._tickLabels) + 10;
|
|
87
|
+
var minChartWidth = _this.margins.left + _this.margins.right + labelWidth * (_this._tickLabels.length - 1);
|
|
88
88
|
if ([ChartTypes.GroupedVerticalBarChart, ChartTypes.VerticalBarChart, ChartTypes.VerticalStackedBarChart].includes(_this.props.chartType)) {
|
|
89
89
|
var minDomainMargin = 8;
|
|
90
90
|
minChartWidth += minDomainMargin * 2;
|
|
@@ -119,11 +119,11 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
119
119
|
}
|
|
120
120
|
// Case: truncated labels
|
|
121
121
|
if (_this.props.showXAxisLablesTooltip) {
|
|
122
|
-
var
|
|
122
|
+
var tickLabels = x.map(function (val) {
|
|
123
123
|
var numChars = _this.props.noOfCharsToTruncate || 4;
|
|
124
124
|
return val.toString().length > numChars ? "".concat(val.toString().slice(0, numChars), "...") : val;
|
|
125
125
|
});
|
|
126
|
-
var longestLabelWidth_2 = calculateLongestLabelWidth(
|
|
126
|
+
var longestLabelWidth_2 = calculateLongestLabelWidth(tickLabels, ".".concat(_this._classNames.xAxis, " text"));
|
|
127
127
|
return Math.ceil(longestLabelWidth_2);
|
|
128
128
|
}
|
|
129
129
|
// Case: wrapped labels
|
|
@@ -168,6 +168,7 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
168
168
|
showXAxisLablesTooltip: _this.props.showXAxisLablesTooltip || false,
|
|
169
169
|
noOfCharsToTruncate: _this.props.noOfCharsToTruncate || 4,
|
|
170
170
|
width: maxXAxisLabelWidth,
|
|
171
|
+
container: _this.chartContainer,
|
|
171
172
|
};
|
|
172
173
|
_this._removalValueForTextTuncate = (_b = createWrapOfXLabels(wrapLabelProps)) !== null && _b !== void 0 ? _b : 0;
|
|
173
174
|
}
|
|
@@ -292,8 +293,8 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
292
293
|
CartesianChartBase.prototype.render = function () {
|
|
293
294
|
var _a, _b, _c, _d;
|
|
294
295
|
var _this = this;
|
|
295
|
-
var _e, _f, _g, _h, _j, _k;
|
|
296
|
-
var
|
|
296
|
+
var _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
297
|
+
var _p = this.props, calloutProps = _p.calloutProps, points = _p.points, chartType = _p.chartType, chartHoverProps = _p.chartHoverProps, svgFocusZoneProps = _p.svgFocusZoneProps, svgProps = _p.svgProps, culture = _p.culture, dateLocalizeOptions = _p.dateLocalizeOptions, timeFormatLocale = _p.timeFormatLocale, customDateTimeFormatter = _p.customDateTimeFormatter;
|
|
297
298
|
if (this.props.parentRef) {
|
|
298
299
|
this._fitParentContainer();
|
|
299
300
|
}
|
|
@@ -324,7 +325,7 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
324
325
|
// will only be available in the next render, as it's set after the axis is created.
|
|
325
326
|
// Solution: Delay the creation of gridlines until after the transformation has been applied,
|
|
326
327
|
// or precompute the required height for transformed labels (_removalValueForTextTuncate).
|
|
327
|
-
containerHeight: this.state.containerHeight - this._removalValueForTextTuncate, margins: this.margins, xAxisElement: this.xAxisElement, showRoundOffXTickValues: (_e = this.props.showRoundOffXTickValues) !== null && _e !== void 0 ? _e : true, xAxisCount: this.props.xAxisTickCount, xAxistickSize: this.props.xAxistickSize, tickPadding: this.props.tickPadding || this.props.showXAxisLablesTooltip ? 5 : 10, xAxisPadding: this.props.xAxisPadding, xAxisInnerPadding: this.props.xAxisInnerPadding, xAxisOuterPadding: this.props.xAxisOuterPadding, containerWidth: this.state.containerWidth, hideTickOverlap: this.props.hideTickOverlap, calcMaxLabelWidth: this._calcMaxLabelWidthWithTransform, xMinValue: this.props.xMinValue, xMaxValue: this.props.xMaxValue }, this.props.xAxis);
|
|
328
|
+
containerHeight: this.state.containerHeight - this._removalValueForTextTuncate, margins: this.margins, xAxisElement: this.xAxisElement, showRoundOffXTickValues: (_e = this.props.showRoundOffXTickValues) !== null && _e !== void 0 ? _e : true, xAxisCount: this.props.xAxisTickCount, xAxistickSize: this.props.xAxistickSize, tickPadding: this.props.tickPadding || this.props.showXAxisLablesTooltip ? 5 : 10, xAxisPadding: this.props.xAxisPadding, xAxisInnerPadding: this.props.xAxisInnerPadding, xAxisOuterPadding: this.props.xAxisOuterPadding, containerWidth: this.state.containerWidth, hideTickOverlap: this.props.rotateXAxisLables || ((_f = this.props.xAxis) === null || _f === void 0 ? void 0 : _f.tickLayout) === 'auto' ? false : this.props.hideTickOverlap, calcMaxLabelWidth: this._calcMaxLabelWidthWithTransform, xMinValue: this.props.xMinValue, xMaxValue: this.props.xMaxValue }, this.props.xAxis);
|
|
328
329
|
/**
|
|
329
330
|
* These scales used for 2 purposes.
|
|
330
331
|
* 1. To create x and y axis
|
|
@@ -334,22 +335,28 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
334
335
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
335
336
|
var xScale = void 0;
|
|
336
337
|
var tickValues = void 0;
|
|
338
|
+
var tickLabels = void 0;
|
|
337
339
|
switch (this.props.xAxisType) {
|
|
338
340
|
case XAxisTypes.NumericAxis:
|
|
339
|
-
(_a = createNumericXAxis(XAxisParams, this.props.tickParams, this.props.chartType, culture, this.props.xScaleType), xScale = _a.xScale, tickValues = _a.tickValues);
|
|
341
|
+
(_a = createNumericXAxis(XAxisParams, this.props.tickParams, this.props.chartType, culture, this.props.xScaleType), xScale = _a.xScale, tickValues = _a.tickValues, tickLabels = _a.tickLabels);
|
|
340
342
|
break;
|
|
341
343
|
case XAxisTypes.DateAxis:
|
|
342
|
-
(_b = createDateXAxis(XAxisParams, this.props.tickParams, culture, dateLocalizeOptions, timeFormatLocale, customDateTimeFormatter, this.props.useUTC, this.props.chartType), xScale = _b.xScale, tickValues = _b.tickValues);
|
|
344
|
+
(_b = createDateXAxis(XAxisParams, this.props.tickParams, culture, dateLocalizeOptions, timeFormatLocale, customDateTimeFormatter, this.props.useUTC, this.props.chartType), xScale = _b.xScale, tickValues = _b.tickValues, tickLabels = _b.tickLabels);
|
|
343
345
|
break;
|
|
344
346
|
case XAxisTypes.StringAxis:
|
|
345
|
-
(_c = createStringXAxis(XAxisParams, this.props.tickParams, this.props.datasetForXAxisDomain, culture), xScale = _c.xScale, tickValues = _c.tickValues);
|
|
347
|
+
(_c = createStringXAxis(XAxisParams, this.props.tickParams, this.props.datasetForXAxisDomain, culture), xScale = _c.xScale, tickValues = _c.tickValues, tickLabels = _c.tickLabels);
|
|
346
348
|
break;
|
|
347
349
|
default:
|
|
348
|
-
(_d = createNumericXAxis(XAxisParams, this.props.tickParams, this.props.chartType, culture, this.props.xScaleType), xScale = _d.xScale, tickValues = _d.tickValues);
|
|
350
|
+
(_d = createNumericXAxis(XAxisParams, this.props.tickParams, this.props.chartType, culture, this.props.xScaleType), xScale = _d.xScale, tickValues = _d.tickValues, tickLabels = _d.tickLabels);
|
|
349
351
|
}
|
|
350
352
|
this._xScale = xScale;
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
353
|
+
this._tickLabels = tickLabels;
|
|
354
|
+
if (((_g = this.props.xAxis) === null || _g === void 0 ? void 0 : _g.tickLayout) === 'auto') {
|
|
355
|
+
this._removalValueForTextTuncate = autoLayoutXAxisLabels(tickValues, tickLabels, xScale, this.xAxisElement, this.state.containerWidth, this.chartContainer);
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
this._transformXAxisLabels();
|
|
359
|
+
}
|
|
353
360
|
var YAxisParams = __assign({ margins: this.props.getYDomainMargins ? this.props.getYDomainMargins(this.state.containerHeight) : this.margins, containerWidth: this.state.containerWidth, containerHeight: this.state.containerHeight - this._removalValueForTextTuncate, yAxisElement: this.yAxisElement, yAxisTickFormat: this.props.yAxisTickFormat, yAxisTickCount: this.props.yAxisTickCount, yMinValue: this.props.yMinValue || 0, yMaxValue: this.props.yMaxValue || 0, tickPadding: 10, maxOfYVal: this.props.maxOfYVal, yMinMaxValues: this.props.getMinMaxOfYAxis(points, this.props.yAxisType),
|
|
354
361
|
// please note these padding default values must be consistent in here
|
|
355
362
|
// and the parent chart(HBWA/Vertical etc..) for more details refer example
|
|
@@ -371,7 +378,7 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
371
378
|
// rendering the secondary y-axis. Therefore, rather than checking the secondaryYScaleOptions
|
|
372
379
|
// prop to determine whether to create a secondary y-axis, it's more appropriate to check if any
|
|
373
380
|
// data points are assigned to use the secondary y-scale.
|
|
374
|
-
if ((
|
|
381
|
+
if ((_h = this.props) === null || _h === void 0 ? void 0 : _h.secondaryYScaleOptions) {
|
|
375
382
|
var YAxisParamsSecondary = {
|
|
376
383
|
margins: this.margins,
|
|
377
384
|
containerWidth: this.state.containerWidth,
|
|
@@ -379,8 +386,8 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
379
386
|
yAxisElement: this.yAxisElementSecondary,
|
|
380
387
|
yAxisTickFormat: this.props.yAxisTickFormat,
|
|
381
388
|
yAxisTickCount: this.props.yAxisTickCount,
|
|
382
|
-
yMinValue: ((
|
|
383
|
-
yMaxValue: (
|
|
389
|
+
yMinValue: ((_j = this.props.secondaryYScaleOptions) === null || _j === void 0 ? void 0 : _j.yMinValue) || 0,
|
|
390
|
+
yMaxValue: (_l = (_k = this.props.secondaryYScaleOptions) === null || _k === void 0 ? void 0 : _k.yMaxValue) !== null && _l !== void 0 ? _l : 100,
|
|
384
391
|
tickPadding: 10,
|
|
385
392
|
yMinMaxValues: this.props.getMinMaxOfYAxis(points, this.props.yAxisType, true),
|
|
386
393
|
yAxisPadding: this.props.yAxisPadding,
|
|
@@ -391,34 +398,36 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
391
398
|
}
|
|
392
399
|
this._yAxisTickText = axisData.yAxisTickText;
|
|
393
400
|
this.props.getAxisData && this.props.getAxisData(axisData);
|
|
394
|
-
// Removing
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
401
|
+
// Removing previously created tooltips.
|
|
402
|
+
try {
|
|
403
|
+
// eslint-disable-next-line @nx/workspace-no-restricted-globals
|
|
404
|
+
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
405
|
+
// eslint-disable-next-line no-empty
|
|
406
|
+
}
|
|
407
|
+
catch (e) { }
|
|
408
|
+
// Used to display tooltip at x axis labels.
|
|
409
|
+
if (this.props.showXAxisLablesTooltip || ((_m = this.props.xAxis) === null || _m === void 0 ? void 0 : _m.tickLayout) === 'auto') {
|
|
410
|
+
var xAxisElement = this.xAxisElement ? d3Select(this.xAxisElement).call(xScale) : null;
|
|
411
|
+
var tooltipProps = {
|
|
412
|
+
tooltipCls: this._classNames.tooltip,
|
|
413
|
+
id: this._tooltipId,
|
|
414
|
+
axis: xAxisElement,
|
|
415
|
+
container: this.chartContainer,
|
|
416
|
+
};
|
|
417
|
+
xAxisElement && tooltipOfAxislabels(tooltipProps);
|
|
403
418
|
}
|
|
404
419
|
// Used to display tooltip at y axis labels.
|
|
405
420
|
if (this.props.showYAxisLablesTooltip) {
|
|
406
421
|
// To create y axis tick values by if specified truncating the rest of the text
|
|
407
422
|
// and showing elipsis or showing the whole string,
|
|
408
423
|
yScalePrimary &&
|
|
409
|
-
// Note: This function should be invoked within the showYAxisLablesTooltip check,
|
|
410
|
-
// as its sole purpose is to truncate labels that exceed the noOfCharsToTruncate limit.
|
|
411
424
|
createYAxisLabels(this.yAxisElement, yScalePrimary, this.props.noOfCharsToTruncate || 4, this.props.showYAxisLablesTooltip || false, this._isRtl);
|
|
412
|
-
var yAxisElement = d3Select(this.yAxisElement).call(yScalePrimary);
|
|
413
|
-
try {
|
|
414
|
-
document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
|
|
415
|
-
//eslint-disable-next-line no-empty
|
|
416
|
-
}
|
|
417
|
-
catch (e) { }
|
|
425
|
+
var yAxisElement = this.yAxisElement ? d3Select(this.yAxisElement).call(yScalePrimary) : null;
|
|
418
426
|
var ytooltipProps = {
|
|
419
427
|
tooltipCls: this._classNames.tooltip,
|
|
420
428
|
id: this._tooltipId,
|
|
421
429
|
axis: yAxisElement,
|
|
430
|
+
container: this.chartContainer,
|
|
422
431
|
};
|
|
423
432
|
yAxisElement && tooltipOfAxislabels(ytooltipProps);
|
|
424
433
|
}
|
|
@@ -441,7 +450,7 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
441
450
|
width: plotWidth,
|
|
442
451
|
height: plotHeight,
|
|
443
452
|
};
|
|
444
|
-
var annotations = (
|
|
453
|
+
var annotations = (_o = this.props.annotations) !== null && _o !== void 0 ? _o : [];
|
|
445
454
|
var hasAnnotations = annotations.length > 0;
|
|
446
455
|
var annotationContext = hasAnnotations
|
|
447
456
|
? {
|
|
@@ -520,13 +529,44 @@ var CartesianChartBase = /** @class */ (function (_super) {
|
|
|
520
529
|
textAnchor: 'middle',
|
|
521
530
|
'aria-hidden': true,
|
|
522
531
|
}, maxWidth: xAxisTitleMaxWidth }, commonSvgToolTipProps))),
|
|
523
|
-
this.props.xAxisAnnotation !== undefined &&
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
'
|
|
529
|
-
|
|
532
|
+
this.props.xAxisAnnotation !== undefined &&
|
|
533
|
+
this.props.xAxisAnnotation !== '' &&
|
|
534
|
+
(function () {
|
|
535
|
+
var _a, _b, _c, _d, _e;
|
|
536
|
+
var _f = (_a = _this.props.titleStyles) !== null && _a !== void 0 ? _a : {}, titleFont = _f.titleFont, titleXAnchor = _f.titleXAnchor, titleYAnchor = _f.titleYAnchor, titlePad = _f.titlePad;
|
|
537
|
+
var fontSize = typeof (titleFont === null || titleFont === void 0 ? void 0 : titleFont.size) === 'number' ? titleFont.size : 13;
|
|
538
|
+
var padL = (_b = titlePad === null || titlePad === void 0 ? void 0 : titlePad.l) !== null && _b !== void 0 ? _b : 0;
|
|
539
|
+
var padR = (_c = titlePad === null || titlePad === void 0 ? void 0 : titlePad.r) !== null && _c !== void 0 ? _c : 0;
|
|
540
|
+
var padT = (_d = titlePad === null || titlePad === void 0 ? void 0 : titlePad.t) !== null && _d !== void 0 ? _d : 0;
|
|
541
|
+
var padB = (_e = titlePad === null || titlePad === void 0 ? void 0 : titlePad.b) !== null && _e !== void 0 ? _e : 0;
|
|
542
|
+
var xPos = (titleXAnchor === 'left'
|
|
543
|
+
? _this.margins.left + AXIS_TITLE_PADDING
|
|
544
|
+
: titleXAnchor === 'right'
|
|
545
|
+
? _this.margins.left + AXIS_TITLE_PADDING + xAxisTitleMaxWidth
|
|
546
|
+
: _this.margins.left + AXIS_TITLE_PADDING + xAxisTitleMaxWidth / 2) +
|
|
547
|
+
padL -
|
|
548
|
+
padR;
|
|
549
|
+
var yPos = Math.max(fontSize + AXIS_TITLE_PADDING, VERTICAL_MARGIN_FOR_XAXIS_TITLE - AXIS_TITLE_PADDING) +
|
|
550
|
+
padT -
|
|
551
|
+
padB;
|
|
552
|
+
var textAnchor = titleXAnchor === 'left' ? 'start' : titleXAnchor === 'right' ? 'end' : 'middle';
|
|
553
|
+
var dominantBaseline = titleYAnchor === 'top'
|
|
554
|
+
? 'hanging'
|
|
555
|
+
: titleYAnchor === 'bottom'
|
|
556
|
+
? 'alphabetic'
|
|
557
|
+
: titleYAnchor === 'middle'
|
|
558
|
+
? 'central'
|
|
559
|
+
: 'auto';
|
|
560
|
+
return (React.createElement(SVGTooltipText, __assign({ content: _this.props.xAxisAnnotation, textProps: {
|
|
561
|
+
x: xPos,
|
|
562
|
+
y: yPos,
|
|
563
|
+
className: _this._classNames.axisAnnotation,
|
|
564
|
+
textAnchor: textAnchor,
|
|
565
|
+
dominantBaseline: dominantBaseline,
|
|
566
|
+
'aria-hidden': true,
|
|
567
|
+
style: getChartTitleInlineStyles(titleFont),
|
|
568
|
+
}, maxWidth: xAxisTitleMaxWidth }, commonSvgToolTipProps)));
|
|
569
|
+
})(),
|
|
530
570
|
React.createElement("g", { ref: function (e) {
|
|
531
571
|
_this.yAxisElement = e;
|
|
532
572
|
}, id: "yAxisGElement".concat(this.idForGraph), transform: "translate(".concat(this._isRtl ? svgDimensions.width - this.margins.right : this.margins.left, ", 0)"), className: this._classNames.yAxis }),
|