Skip to content

Commit 34b573b

Browse files
authored
docs(charts): improve dataset description (#6409)
Fixes #6334
1 parent 851229e commit 34b573b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/charts/src/interfaces/IChartBaseProps.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export interface IChartBaseProps<T = ICartesianChartConfig> extends Omit<CommonP
1717
*/
1818
loadingDelay?: number;
1919
/**
20-
* The `dataset` is an array of object which will be displayed in the chart.
20+
* The `dataset` is an array of objects that contains all the measures and dimensions.
21+
*
22+
* __Note:__ The values for measure data points must be of type `number`.
2123
*/
2224
dataset?: Record<string, unknown>[];
2325

0 commit comments

Comments
 (0)