mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
remove previous time range mode (#104830)
This commit is contained in:
parent
9744de2a1a
commit
030f77b089
2 changed files with 0 additions and 9 deletions
|
@ -301,9 +301,6 @@ image::images/lens_advanced_5_2.png[Line chart with cumulative sum of orders mad
|
|||
*Lens* allows you to compare the currently selected time range with historical data using the *Time shift* option. To calculate the percent
|
||||
change, use *Formula*.
|
||||
|
||||
Time shifts can be used on any metric. The special shift *previous* will show the time window preceding the currently selected one, spanning the same duration.
|
||||
For example, if *Last 7 days* is selected in the time filter, *previous* will show data from 14 days ago to 7 days ago.
|
||||
|
||||
If multiple time shifts are used in a single chart, a multiple of the date histogram interval should be chosen - otherwise data points might not line up in the chart and empty spots can occur.
|
||||
For example, if a daily interval is used, shifting one series by *36h*, and another one by *1d*, is not recommended. In this scenario, either reduce the interval to *12h*, or create two separate charts.
|
||||
|
||||
|
|
|
@ -81,12 +81,6 @@ export const timeShiftOptions = [
|
|||
}),
|
||||
value: '1y',
|
||||
},
|
||||
{
|
||||
label: i18n.translate('xpack.lens.indexPattern.timeShift.previous', {
|
||||
defaultMessage: 'Previous time range',
|
||||
}),
|
||||
value: 'previous',
|
||||
},
|
||||
];
|
||||
|
||||
export const timeShiftOptionOrder = timeShiftOptions.reduce<{ [key: string]: number }>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue