We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddc717a commit 3c02b71Copy full SHA for 3c02b71
1 file changed
packages/layout-engine/painters/dom/src/chart-renderer.ts
@@ -168,6 +168,8 @@ function applyGuardrails(chart: ChartModel): { series: ChartSeriesData[]; trunca
168
name: s.name,
169
categories: s.categories.slice(0, MAX_POINTS_PER_SERIES),
170
values: s.values.slice(0, MAX_POINTS_PER_SERIES),
171
+ ...(s.xValues && { xValues: s.xValues.slice(0, MAX_POINTS_PER_SERIES) }),
172
+ ...(s.bubbleSizes && { bubbleSizes: s.bubbleSizes.slice(0, MAX_POINTS_PER_SERIES) }),
173
};
174
});
175
0 commit comments