feat(timeseries): remove stream style for bar charts (#37532)

This commit is contained in:
Luis Sánchez
2026-02-11 14:25:03 -03:00
committed by GitHub
parent 255a0ada81
commit 5f0001affc
4 changed files with 235 additions and 185 deletions

View File

@@ -76,6 +76,14 @@ export const AreaChartStackControlOptions: [
Exclude<ReactNode, null | undefined | boolean>,
][] = [...StackControlOptions, [StackControlsValue.Expand, t('Expand')]];
export const StackControlOptionsWithoutStream: [
JsonValue,
Exclude<ReactNode, null | undefined | boolean>,
][] = [
[null, t('None')],
[StackControlsValue.Stack, t('Stack')],
];
export const TIMEGRAIN_TO_TIMESTAMP = {
[TimeGranularity.HOUR]: 3600 * 1000,
[TimeGranularity.DAY]: 3600 * 1000 * 24,