mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TimeSeries: Support multiple timezones in x axis (#52424)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
@@ -173,6 +173,11 @@ OptionsWithLegend: {
|
||||
legend: VizLegendOptions
|
||||
} @cuetsy(kind="interface")
|
||||
|
||||
// TODO docs
|
||||
OptionsWithTimezones: {
|
||||
timezones?: [...string]
|
||||
} @cuetsy(kind="interface")
|
||||
|
||||
// TODO docs
|
||||
OptionsWithTextFormatting: {
|
||||
text?: VizTextDisplayOptions
|
||||
|
||||
@@ -208,6 +208,14 @@ export interface OptionsWithLegend {
|
||||
legend: VizLegendOptions;
|
||||
}
|
||||
|
||||
export interface OptionsWithTimezones {
|
||||
timezones?: string[];
|
||||
}
|
||||
|
||||
export const defaultOptionsWithTimezones: Partial<OptionsWithTimezones> = {
|
||||
timezones: [],
|
||||
};
|
||||
|
||||
export interface OptionsWithTextFormatting {
|
||||
text?: VizTextDisplayOptions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user