@fluentui/react-charting 5.24.24 → 5.24.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +16 -1
- package/CHANGELOG.md +11 -2
- package/dist/react-charting.d.ts +55 -1
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +9 -0
- package/lib/components/CommonComponents/CartesianChart.base.js +10 -5
- package/lib/components/CommonComponents/CartesianChart.base.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/PlotlySchemaAdapter.js +165 -29
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +37 -0
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/utilities.d.ts +7 -3
- package/lib/utilities/utilities.js +131 -17
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +10 -5
- package/lib-amd/components/CommonComponents/CartesianChart.base.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/PlotlySchemaAdapter.js +167 -32
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/index.d.ts +1 -1
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +37 -0
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +7 -3
- package/lib-amd/utilities/utilities.js +132 -16
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +10 -5
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.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/PlotlySchemaAdapter.js +167 -31
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/index.d.ts +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +37 -0
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +7 -3
- package/lib-commonjs/utilities/utilities.js +132 -16
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CommonComponents/CartesianChart.types.ts +19 -0
package/package.json
CHANGED
|
@@ -7,6 +7,7 @@ import { ICalloutProps } from '@fluentui/react/lib/Callout';
|
|
|
7
7
|
import { ILegendsProps } from '../Legends/index';
|
|
8
8
|
import {
|
|
9
9
|
AxisCategoryOrder,
|
|
10
|
+
AxisProps,
|
|
10
11
|
AxisScaleType,
|
|
11
12
|
IAccessibilityProps,
|
|
12
13
|
IChart,
|
|
@@ -532,6 +533,24 @@ export interface ICartesianChartProps {
|
|
|
532
533
|
* @default 'default'
|
|
533
534
|
*/
|
|
534
535
|
secondaryYScaleType?: AxisScaleType;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Explicit set of tick values for the y-axis.
|
|
539
|
+
* If provided, these values override automatic tick generation.
|
|
540
|
+
*/
|
|
541
|
+
yAxisTickValues?: number[] | Date[] | string[];
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Configuration for the x-axis.
|
|
545
|
+
* Use this to control `tickStep`, `tick0`, etc.
|
|
546
|
+
*/
|
|
547
|
+
xAxis?: AxisProps;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Configuration for the y-axis.
|
|
551
|
+
* Use this to control `tickStep`, `tick0`, etc.
|
|
552
|
+
*/
|
|
553
|
+
yAxis?: AxisProps;
|
|
535
554
|
}
|
|
536
555
|
|
|
537
556
|
export interface IYValueHover {
|