mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat(timeseries): remove stream style for bar charts (#37532)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user