You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0dece9f
Browse filesBrowse the repository at this point in the historyBrowse files
feat: support a series limit on PromQL line, stacked bar, pie and bar charts
6
+
7
+
The Display Settings drawer now offers Series Limit for PromQL charts. On line and stacked bar charts it keeps the top N series by peak value (leave empty for the default of 250, or set 0 for unlimited). On pie and bar charts it keeps the N largest slices or bars (leave empty to show all).
// Table display options. Alternate Row Background is purely presentational
229
230
// (it stripes rendered rows), so it applies to any table tile. Group By
@@ -315,7 +316,7 @@ export default function ChartDisplaySettingsDrawer({
315
316
size="xs"
316
317
label="Series Limit"
317
318
description={
318
-
isRawSqlTimeChart
319
+
isClientSideSeriesLimit
319
320
? `Maximum number of series rendered, keeping those with the largest values. Leave empty for the default (${MAX_RENDERED_TIME_CHART_SERIES}); set 0 for unlimited.`
320
321
: `Maximum number of series fetched for a group-by chart, keeping those with the largest values. Leave empty for the default (${MAX_RENDERED_TIME_CHART_SERIES}); set 0 for unlimited.`
0 commit comments