@fluentui/react-charting 5.23.52 → 5.23.54
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 +39 -1
- package/CHANGELOG.md +20 -2
- package/dist/react-charting.d.ts +8 -3
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +4 -3
- package/lib/components/CommonComponents/CartesianChart.base.js +7 -2
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +8 -3
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +7 -0
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/DonutChart/Arc/Arc.js +3 -1
- package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js +5 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib/components/LineChart/LineChart.base.js +2 -1
- package/lib/components/LineChart/LineChart.base.js.map +1 -1
- package/lib/utilities/utilities.d.ts +4 -2
- package/lib/utilities/utilities.js +86 -36
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +7 -2
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +8 -3
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +7 -0
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/DonutChart/Arc/Arc.js +3 -1
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +5 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-amd/components/LineChart/LineChart.base.js +2 -1
- package/lib-amd/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +4 -2
- package/lib-amd/utilities/utilities.js +86 -36
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +7 -2
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +8 -3
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +7 -0
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.js +3 -1
- package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +5 -1
- package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js +2 -1
- package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +4 -2
- package/lib-commonjs/utilities/utilities.js +86 -36
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +1 -1
- package/project.json +1 -1
- package/src/components/CommonComponents/CartesianChart.types.ts +9 -3
package/package.json
CHANGED
package/project.json
CHANGED
|
@@ -236,7 +236,7 @@ export interface ICartesianChartProps {
|
|
|
236
236
|
* This is a optional parameter if not specified D3 will decide which values appear on the x-axis for you
|
|
237
237
|
* 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
|
|
238
238
|
*/
|
|
239
|
-
tickValues?: number[] | Date[];
|
|
239
|
+
tickValues?: number[] | Date[] | string[];
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* the format for the data on x-axis. For date object this can be specified to your requirement. Eg: '%m/%d', '%d'
|
|
@@ -458,6 +458,12 @@ export interface ICartesianChartProps {
|
|
|
458
458
|
* the public methods and properties of the component.
|
|
459
459
|
*/
|
|
460
460
|
componentRef?: IRefObject<IChart>;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* Determines whether overlapping x-axis tick labels should be hidden.
|
|
464
|
+
* @default false
|
|
465
|
+
*/
|
|
466
|
+
hideTickOverlap?: boolean;
|
|
461
467
|
}
|
|
462
468
|
|
|
463
469
|
export interface IYValueHover {
|
|
@@ -557,7 +563,7 @@ export interface IModifiedCartesianChartProps extends ICartesianChartProps {
|
|
|
557
563
|
* Tick params are applicable for date axis only.
|
|
558
564
|
*/
|
|
559
565
|
tickParams?: {
|
|
560
|
-
tickValues?: number[] | Date[];
|
|
566
|
+
tickValues?: number[] | Date[] | string[];
|
|
561
567
|
tickFormat?: string;
|
|
562
568
|
};
|
|
563
569
|
|
|
@@ -691,7 +697,7 @@ export interface IModifiedCartesianChartProps extends ICartesianChartProps {
|
|
|
691
697
|
isRTL: boolean,
|
|
692
698
|
xAxisType: XAxisTypes,
|
|
693
699
|
barWidth: number,
|
|
694
|
-
tickValues: Date[] | number[] | undefined,
|
|
700
|
+
tickValues: Date[] | number[] | string[] | undefined,
|
|
695
701
|
shiftX: number,
|
|
696
702
|
) => IDomainNRange;
|
|
697
703
|
|