Skip to content

Commit 4d7b0d4

Browse files
Update comment for isPercentileIdEqualToSeriesId
1 parent 08629f3 commit 4d7b0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/vis_types/xy/public/utils/accessors.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const getSplitSeriesAccessorFnMap = (
8383
return m;
8484
};
8585

86-
// For percentile aggregation id is coming in the form `%d.%d`, where first `%d` is `id` and the second - `percents`
86+
// For percentile, the aggregation id is coming in the form %s.%d, where %s is agg_id and %d - percents
8787
export const isPercentileIdEqualToSeriesId = (columnId: number | string, seriesColumnId: string) =>
8888
columnId.toString().split('.')[0] === seriesColumnId;
8989

0 commit comments

Comments
 (0)