@fluentui/react-charting 5.24.2 → 5.24.3
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 +34 -1
- package/CHANGELOG.md +14 -2
- package/dist/react-charting.d.ts +170 -37
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +58 -11
- package/lib/ScatterChart.d.ts +1 -0
- package/lib/ScatterChart.js +2 -0
- package/lib/ScatterChart.js.map +1 -0
- package/lib/components/CommonComponents/CartesianChart.base.js +45 -9
- package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.styles.js +48 -26
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +21 -1
- package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib/components/DeclarativeChart/DeclarativeChart.js +157 -78
- package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +28 -13
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +252 -62
- package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib/components/ScatterChart/ScatterChart.base.d.ts +7 -0
- package/lib/components/ScatterChart/ScatterChart.base.js +453 -0
- package/lib/components/ScatterChart/ScatterChart.base.js.map +1 -0
- package/lib/components/ScatterChart/ScatterChart.d.ts +7 -0
- package/lib/components/ScatterChart/ScatterChart.js +10 -0
- package/lib/components/ScatterChart/ScatterChart.js.map +1 -0
- package/lib/components/ScatterChart/ScatterChart.styles.d.ts +2 -0
- package/lib/components/ScatterChart/ScatterChart.styles.js +7 -0
- package/lib/components/ScatterChart/ScatterChart.styles.js.map +1 -0
- package/lib/components/ScatterChart/ScatterChart.types.d.ts +42 -0
- package/lib/components/ScatterChart/ScatterChart.types.js +2 -0
- package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -0
- package/lib/components/ScatterChart/index.d.ts +2 -0
- package/lib/components/ScatterChart/index.js +3 -0
- package/lib/components/ScatterChart/index.js.map +1 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/types/IDataPoint.d.ts +73 -11
- package/lib/types/IDataPoint.js.map +1 -1
- package/lib/utilities/SVGTooltipText.d.ts +4 -0
- package/lib/utilities/SVGTooltipText.js +1 -2
- package/lib/utilities/SVGTooltipText.js.map +1 -1
- package/lib/utilities/utilities.d.ts +27 -3
- package/lib/utilities/utilities.js +102 -1
- package/lib/utilities/utilities.js.map +1 -1
- package/lib-amd/ScatterChart.d.ts +1 -0
- package/lib-amd/ScatterChart.js +6 -0
- package/lib-amd/ScatterChart.js.map +1 -0
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +45 -9
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +48 -26
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +21 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +155 -78
- package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +28 -13
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +264 -71
- package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-amd/components/ScatterChart/ScatterChart.base.d.ts +7 -0
- package/lib-amd/components/ScatterChart/ScatterChart.base.js +447 -0
- package/lib-amd/components/ScatterChart/ScatterChart.base.js.map +1 -0
- package/lib-amd/components/ScatterChart/ScatterChart.d.ts +7 -0
- package/lib-amd/components/ScatterChart/ScatterChart.js +12 -0
- package/lib-amd/components/ScatterChart/ScatterChart.js.map +1 -0
- package/lib-amd/components/ScatterChart/ScatterChart.styles.d.ts +2 -0
- package/lib-amd/components/ScatterChart/ScatterChart.styles.js +12 -0
- package/lib-amd/components/ScatterChart/ScatterChart.styles.js.map +1 -0
- package/lib-amd/components/ScatterChart/ScatterChart.types.d.ts +42 -0
- package/lib-amd/components/ScatterChart/ScatterChart.types.js +5 -0
- package/lib-amd/components/ScatterChart/ScatterChart.types.js.map +1 -0
- package/lib-amd/components/ScatterChart/index.d.ts +2 -0
- package/lib-amd/components/ScatterChart/index.js +7 -0
- package/lib-amd/components/ScatterChart/index.js.map +1 -0
- package/lib-amd/index.d.ts +3 -1
- package/lib-amd/index.js +3 -2
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types/IDataPoint.d.ts +73 -11
- package/lib-amd/types/IDataPoint.js.map +1 -1
- package/lib-amd/utilities/SVGTooltipText.d.ts +4 -0
- package/lib-amd/utilities/SVGTooltipText.js +1 -2
- package/lib-amd/utilities/SVGTooltipText.js.map +1 -1
- package/lib-amd/utilities/utilities.d.ts +27 -3
- package/lib-amd/utilities/utilities.js +106 -2
- package/lib-amd/utilities/utilities.js.map +1 -1
- package/lib-commonjs/ScatterChart.d.ts +1 -0
- package/lib-commonjs/ScatterChart.js +5 -0
- package/lib-commonjs/ScatterChart.js.map +1 -0
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +45 -9
- package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +48 -26
- package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +21 -1
- package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +157 -78
- package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +28 -13
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +263 -71
- package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.d.ts +7 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js +456 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.base.js.map +1 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.d.ts +7 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.js +13 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.js.map +1 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.styles.d.ts +2 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.styles.js +11 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.styles.js.map +1 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.d.ts +42 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.js +3 -0
- package/lib-commonjs/components/ScatterChart/ScatterChart.types.js.map +1 -0
- package/lib-commonjs/components/ScatterChart/index.d.ts +2 -0
- package/lib-commonjs/components/ScatterChart/index.js +6 -0
- package/lib-commonjs/components/ScatterChart/index.js.map +1 -0
- package/lib-commonjs/index.d.ts +3 -1
- package/lib-commonjs/index.js +3 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types/IDataPoint.d.ts +73 -11
- package/lib-commonjs/types/IDataPoint.js.map +1 -1
- package/lib-commonjs/utilities/SVGTooltipText.d.ts +4 -0
- package/lib-commonjs/utilities/SVGTooltipText.js +1 -2
- package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
- package/lib-commonjs/utilities/utilities.d.ts +27 -3
- package/lib-commonjs/utilities/utilities.js +106 -2
- package/lib-commonjs/utilities/utilities.js.map +1 -1
- package/package.json +2 -2
- package/src/components/CommonComponents/CartesianChart.types.ts +25 -1
- package/src/components/ScatterChart/ScatterChart.types.ts +61 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,40 @@
|
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 12 Jun 2025 07:19:48 GMT",
|
|
6
|
+
"tag": "@fluentui/react-charting_v5.24.3",
|
|
7
|
+
"version": "5.24.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "anushgupta@microsoft.com",
|
|
12
|
+
"package": "@fluentui/react-charting",
|
|
13
|
+
"commit": "96ebe14eefb14c65b03856f17ffc03e8120cdea7",
|
|
14
|
+
"comment": "axis title background fix"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "120183316+srmukher@users.noreply.github.com",
|
|
18
|
+
"package": "@fluentui/react-charting",
|
|
19
|
+
"commit": "3e902f17659ae2f04fbf92f72dba48b5e9c1cad5",
|
|
20
|
+
"comment": "feat(react-charting): Adding Scatter chart component"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "98592573+AtishayMsft@users.noreply.github.com",
|
|
24
|
+
"package": "@fluentui/react-charting",
|
|
25
|
+
"commit": "4524a28299ce317d53ca354f7c0e202e5a491d04",
|
|
26
|
+
"comment": "feat(react-charting): Enable support for multiplots in declarative chart"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui/react-charting",
|
|
31
|
+
"comment": "Bump @fluentui/chart-utilities to v1.1.16",
|
|
32
|
+
"commit": "96ebe14eefb14c65b03856f17ffc03e8120cdea7"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"date": "Fri, 06 Jun 2025 07:20:30 GMT",
|
|
6
39
|
"tag": "@fluentui/react-charting_v5.24.2",
|
|
7
40
|
"version": "5.24.2",
|
|
8
41
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-charting
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 12 Jun 2025 07:19:48 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [5.24.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.3)
|
|
8
|
+
|
|
9
|
+
Thu, 12 Jun 2025 07:19:48 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.2..@fluentui/react-charting_v5.24.3)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- axis title background fix ([PR #34621](https://github.com/microsoft/fluentui/pull/34621) by anushgupta@microsoft.com)
|
|
15
|
+
- feat(react-charting): Adding Scatter chart component ([PR #34374](https://github.com/microsoft/fluentui/pull/34374) by 120183316+srmukher@users.noreply.github.com)
|
|
16
|
+
- feat(react-charting): Enable support for multiplots in declarative chart ([PR #34626](https://github.com/microsoft/fluentui/pull/34626) by 98592573+AtishayMsft@users.noreply.github.com)
|
|
17
|
+
- Bump @fluentui/chart-utilities to v1.1.16 ([PR #34621](https://github.com/microsoft/fluentui/pull/34621) by beachball)
|
|
18
|
+
|
|
7
19
|
## [5.24.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-charting_v5.24.2)
|
|
8
20
|
|
|
9
|
-
Fri, 06 Jun 2025 07:20:
|
|
21
|
+
Fri, 06 Jun 2025 07:20:30 GMT
|
|
10
22
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-charting_v5.24.1..@fluentui/react-charting_v5.24.2)
|
|
11
23
|
|
|
12
24
|
### Patches
|
package/dist/react-charting.d.ts
CHANGED
|
@@ -58,7 +58,8 @@ declare enum ChartTypes {
|
|
|
58
58
|
VerticalStackedBarChart = 3,
|
|
59
59
|
GroupedVerticalBarChart = 4,
|
|
60
60
|
HeatMapChart = 5,
|
|
61
|
-
HorizontalBarChartWithAxis = 6
|
|
61
|
+
HorizontalBarChartWithAxis = 6,
|
|
62
|
+
ScatterChart = 7
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
declare type ColorwayType = 'default' | 'builtin' | 'others' | undefined;
|
|
@@ -335,6 +336,46 @@ declare interface IAxisData {
|
|
|
335
336
|
yAxisDomainValues: number[];
|
|
336
337
|
}
|
|
337
338
|
|
|
339
|
+
/**
|
|
340
|
+
* {@docCategory IChartData}
|
|
341
|
+
*/
|
|
342
|
+
export declare interface IBaseDataPoint {
|
|
343
|
+
/**
|
|
344
|
+
* Defines the function that is executed on clicking line
|
|
345
|
+
*/
|
|
346
|
+
onDataPointClick?: () => void;
|
|
347
|
+
/**
|
|
348
|
+
* Callout data for x axis
|
|
349
|
+
*/
|
|
350
|
+
xAxisCalloutData?: string;
|
|
351
|
+
/**
|
|
352
|
+
* Callout data for y axis
|
|
353
|
+
*/
|
|
354
|
+
yAxisCalloutData?: string | {
|
|
355
|
+
[id: string]: number;
|
|
356
|
+
};
|
|
357
|
+
/**
|
|
358
|
+
* Whether to hide callout data for the point.
|
|
359
|
+
*/
|
|
360
|
+
hideCallout?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* Accessibility data for callout
|
|
363
|
+
*/
|
|
364
|
+
callOutAccessibilityData?: IAccessibilityProps;
|
|
365
|
+
/**
|
|
366
|
+
* X axis Accessibility data for callout
|
|
367
|
+
*/
|
|
368
|
+
xAxisCalloutAccessibilityData?: IAccessibilityProps;
|
|
369
|
+
/**
|
|
370
|
+
* Marker size of the points
|
|
371
|
+
*/
|
|
372
|
+
markerSize?: number;
|
|
373
|
+
/**
|
|
374
|
+
* text labels of marker points
|
|
375
|
+
*/
|
|
376
|
+
text?: string;
|
|
377
|
+
}
|
|
378
|
+
|
|
338
379
|
export declare interface IBasestate {
|
|
339
380
|
_width?: number;
|
|
340
381
|
_height?: number;
|
|
@@ -594,6 +635,18 @@ export declare interface ICartesianChartProps {
|
|
|
594
635
|
* @default false
|
|
595
636
|
*/
|
|
596
637
|
hideTickOverlap?: boolean;
|
|
638
|
+
/**
|
|
639
|
+
* Prop to set the x axis annotation. Used to display additional information on the x-axis.
|
|
640
|
+
* This is shown on the top of the chart.
|
|
641
|
+
* @default undefined
|
|
642
|
+
*/
|
|
643
|
+
xAxisAnnotation?: string;
|
|
644
|
+
/**
|
|
645
|
+
* Prop to set the y axis annotation. Used to display additional information on the y-axis.
|
|
646
|
+
* This is shown on the right side of the chart. Not shown if secondary y-axis is enabled.
|
|
647
|
+
* @default undefined
|
|
648
|
+
*/
|
|
649
|
+
yAxisAnnotation?: string;
|
|
597
650
|
}
|
|
598
651
|
|
|
599
652
|
/**
|
|
@@ -709,9 +762,13 @@ export declare interface ICartesianChartStyles {
|
|
|
709
762
|
*/
|
|
710
763
|
tooltip?: IStyle;
|
|
711
764
|
/**
|
|
712
|
-
* styles for
|
|
765
|
+
* styles for axis title
|
|
713
766
|
*/
|
|
714
767
|
axisTitle?: IStyle;
|
|
768
|
+
/**
|
|
769
|
+
* styles for axis annotation
|
|
770
|
+
*/
|
|
771
|
+
axisAnnotation?: IStyle;
|
|
715
772
|
/**
|
|
716
773
|
* Style for the chart Title.
|
|
717
774
|
*/
|
|
@@ -728,6 +785,10 @@ export declare interface ICartesianChartStyles {
|
|
|
728
785
|
* Styles for the chart wrapper div
|
|
729
786
|
*/
|
|
730
787
|
chartWrapper?: IStyle;
|
|
788
|
+
/**
|
|
789
|
+
* Styles for the svg tooltip
|
|
790
|
+
*/
|
|
791
|
+
svgTooltip?: IStyle;
|
|
731
792
|
}
|
|
732
793
|
|
|
733
794
|
/**
|
|
@@ -918,6 +979,10 @@ export declare interface IChartProps {
|
|
|
918
979
|
* data for the points in the line chart
|
|
919
980
|
*/
|
|
920
981
|
lineChartData?: ILineChartPoints[];
|
|
982
|
+
/**
|
|
983
|
+
* data for the points in the scatter chart
|
|
984
|
+
*/
|
|
985
|
+
scatterChartData?: IScatterChartPoints[];
|
|
921
986
|
/**
|
|
922
987
|
* data for the points in the line chart
|
|
923
988
|
*/
|
|
@@ -2481,7 +2546,7 @@ export declare interface ILegendSubComponentStyles {
|
|
|
2481
2546
|
/**
|
|
2482
2547
|
* {@docCategory IChartData}
|
|
2483
2548
|
*/
|
|
2484
|
-
export declare interface ILineChartDataPoint {
|
|
2549
|
+
export declare interface ILineChartDataPoint extends IBaseDataPoint {
|
|
2485
2550
|
/**
|
|
2486
2551
|
* Independent value of the data point, rendered along the x-axis.
|
|
2487
2552
|
* If x is a number, then each y-coordinate is plotted at its x-coordinate.
|
|
@@ -2492,40 +2557,6 @@ export declare interface ILineChartDataPoint {
|
|
|
2492
2557
|
* Dependent value of the data point, rendered along the y-axis.
|
|
2493
2558
|
*/
|
|
2494
2559
|
y: number;
|
|
2495
|
-
/**
|
|
2496
|
-
* Defines the function that is executed on clicking line
|
|
2497
|
-
*/
|
|
2498
|
-
onDataPointClick?: () => void;
|
|
2499
|
-
/**
|
|
2500
|
-
* Callout data for x axis
|
|
2501
|
-
*/
|
|
2502
|
-
xAxisCalloutData?: string;
|
|
2503
|
-
/**
|
|
2504
|
-
* Callout data for y axis
|
|
2505
|
-
*/
|
|
2506
|
-
yAxisCalloutData?: string | {
|
|
2507
|
-
[id: string]: number;
|
|
2508
|
-
};
|
|
2509
|
-
/**
|
|
2510
|
-
* Whether to hide callout data for the point.
|
|
2511
|
-
*/
|
|
2512
|
-
hideCallout?: boolean;
|
|
2513
|
-
/**
|
|
2514
|
-
* Accessibility data for callout
|
|
2515
|
-
*/
|
|
2516
|
-
callOutAccessibilityData?: IAccessibilityProps;
|
|
2517
|
-
/**
|
|
2518
|
-
* X axis Accessibility data for callout
|
|
2519
|
-
*/
|
|
2520
|
-
xAxisCalloutAccessibilityData?: IAccessibilityProps;
|
|
2521
|
-
/**
|
|
2522
|
-
* Marker size of the points
|
|
2523
|
-
*/
|
|
2524
|
-
markerSize?: number;
|
|
2525
|
-
/**
|
|
2526
|
-
* text labels of marker points
|
|
2527
|
-
*/
|
|
2528
|
-
text?: string;
|
|
2529
2560
|
}
|
|
2530
2561
|
|
|
2531
2562
|
/**
|
|
@@ -3479,6 +3510,102 @@ export declare interface ISankeyChartStyles {
|
|
|
3479
3510
|
chartWrapper?: IStyle;
|
|
3480
3511
|
}
|
|
3481
3512
|
|
|
3513
|
+
/**
|
|
3514
|
+
* {@docCategory IChartData}
|
|
3515
|
+
* ScatterChartDataPoint interface.
|
|
3516
|
+
*/
|
|
3517
|
+
export declare interface IScatterChartDataPoint extends IBaseDataPoint {
|
|
3518
|
+
/**
|
|
3519
|
+
* Independent value of the data point, rendered along the x-axis.
|
|
3520
|
+
*/
|
|
3521
|
+
x: number | Date | string;
|
|
3522
|
+
/**
|
|
3523
|
+
* Dependent value of the data point, rendered along the y-axis.
|
|
3524
|
+
*/
|
|
3525
|
+
y: number;
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
/**
|
|
3529
|
+
* {@docCategory IChartData}
|
|
3530
|
+
*/
|
|
3531
|
+
export declare interface IScatterChartPoints {
|
|
3532
|
+
/**
|
|
3533
|
+
* Legend text for the datapoint in the chart
|
|
3534
|
+
*/
|
|
3535
|
+
legend: string;
|
|
3536
|
+
/**
|
|
3537
|
+
* The shape for the legend
|
|
3538
|
+
* default: show the rect legend
|
|
3539
|
+
*/
|
|
3540
|
+
legendShape?: LegendShape;
|
|
3541
|
+
/**
|
|
3542
|
+
* dataPoints for the line chart
|
|
3543
|
+
*/
|
|
3544
|
+
data: IScatterChartDataPoint[];
|
|
3545
|
+
/**
|
|
3546
|
+
* color for the legend in the chart
|
|
3547
|
+
*/
|
|
3548
|
+
color?: string;
|
|
3549
|
+
/**
|
|
3550
|
+
* opacity for chart fill color
|
|
3551
|
+
*/
|
|
3552
|
+
opacity?: number;
|
|
3553
|
+
/**
|
|
3554
|
+
* hide dots for points that are not active
|
|
3555
|
+
*/
|
|
3556
|
+
hideNonActiveDots?: boolean;
|
|
3557
|
+
/**
|
|
3558
|
+
* Defines the function that is executed on clicking this legend
|
|
3559
|
+
*/
|
|
3560
|
+
onLegendClick?: (selectedLegend: string | null | string[]) => void;
|
|
3561
|
+
/**
|
|
3562
|
+
* Whether to use the secondary y scale or not
|
|
3563
|
+
* False by default.
|
|
3564
|
+
*/
|
|
3565
|
+
useSecondaryYScale?: boolean;
|
|
3566
|
+
}
|
|
3567
|
+
|
|
3568
|
+
/**
|
|
3569
|
+
* Line Chart properties
|
|
3570
|
+
* {@docCategory LineChart}
|
|
3571
|
+
*/
|
|
3572
|
+
export declare interface IScatterChartProps extends ICartesianChartProps {
|
|
3573
|
+
/**
|
|
3574
|
+
* Data to render in the chart.
|
|
3575
|
+
*/
|
|
3576
|
+
data: IChartProps;
|
|
3577
|
+
/**
|
|
3578
|
+
* Call to provide customized styling that will layer on top of the variant rules.
|
|
3579
|
+
*/
|
|
3580
|
+
styles?: IScatterChartStyles;
|
|
3581
|
+
/**
|
|
3582
|
+
* Define a custom callout renderer for a data point
|
|
3583
|
+
*/
|
|
3584
|
+
onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;
|
|
3585
|
+
/**
|
|
3586
|
+
* Callback for getting callout description message
|
|
3587
|
+
*/
|
|
3588
|
+
getCalloutDescriptionMessage?: (calloutDataProps: ICustomizedCalloutData) => string | undefined;
|
|
3589
|
+
/**
|
|
3590
|
+
* The prop used to define the culture to localized the numbers
|
|
3591
|
+
*/
|
|
3592
|
+
culture?: string;
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
/**
|
|
3596
|
+
* Scatter Chart style properties
|
|
3597
|
+
* {@docCategory ScatterChart}
|
|
3598
|
+
*/
|
|
3599
|
+
export declare interface IScatterChartStyleProps extends ICartesianChartStyleProps {
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3602
|
+
/**
|
|
3603
|
+
* Scatter Chart styles
|
|
3604
|
+
* {@docCategory ScatterChart}
|
|
3605
|
+
*/
|
|
3606
|
+
export declare interface IScatterChartStyles extends ICartesianChartStyles {
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3482
3609
|
export declare interface IShapeProps {
|
|
3483
3610
|
svgProps: React_2.SVGAttributes<SVGElement>;
|
|
3484
3611
|
pathProps: React_2.SVGAttributes<SVGPathElement>;
|
|
@@ -4604,6 +4731,12 @@ export declare const ResponsiveContainer: React_2.FC<IResponsiveContainerProps>;
|
|
|
4604
4731
|
*/
|
|
4605
4732
|
export declare const SankeyChart: React_2.FunctionComponent<ISankeyChartProps>;
|
|
4606
4733
|
|
|
4734
|
+
/**
|
|
4735
|
+
* Scatterchart component
|
|
4736
|
+
* {@docCategory ScatterChart}
|
|
4737
|
+
*/
|
|
4738
|
+
export declare const ScatterChart: React_2.FunctionComponent<IScatterChartProps>;
|
|
4739
|
+
|
|
4607
4740
|
/**
|
|
4608
4741
|
* DeclarativeChart schema.
|
|
4609
4742
|
* {@docCategory DeclarativeChart}
|