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
Depending on the data you defined, several options allow you to apply additional filtering to the data taken into account to compute the metric's value:
2
+
Depending on the data you defined, you can use the following options to apply additional filtering:
3
3
4
4
-**Normalize by unit**: Normalize the metric values to show per unit of time.
5
-
-**Filter by**: Specify a query.
5
+
-**Filter by**: Specify a query that is going to be applied to the entire formula.
6
+
-**Reduced time range**: Reduce the time range specified in the global time filter from the end of the global time filter.
Copy file name to clipboardExpand all lines: explore-analyze/visualize/charts/line-charts.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ description: Instructions and best practices for building line charts with Kiban
10
10
11
11
Line charts are ideal for visualizing how metrics evolve over time, spotting seasonal patterns, and detecting spikes or regressions at a glance. Use them for KPIs like response time, error rate, throughput, or utilization, and compare multiple series or previous periods on the same chart.
12
12
13
-
You can create line charts from any numeric data using aggregations (for example, `Average`, `Percentile`, `Counter rate`) or with custom [formulas](../lens.md#lens-formulas). Line charts usually show time on the x-axis, but they can also display data grouped by numbers or categories.
13
+
You can create line charts from any numeric data using aggregations (for example, `Average`, `Percentile`, `Counter rate`) or with custom [formulas](../lens.md#lens-formulas).
14
14
15
15
You can create line charts in {{kib}} using [**Lens**](../lens.md).
16
16
@@ -38,10 +38,6 @@ Using the visualization type dropdown, select **Line**.
38
38
1. Select the {{data-source}} that contains your data.
39
39
2. Drag a time field to the **Horizontal axis** and a numeric field to the **Vertical axis**. {{kib}} automatically selects an appropriate aggregation function compatible with the selected field.
40
40
41
-
:::{note}
42
-
You might need to extend the time range and set the time filter to **Last 30 days**.
43
-
:::
44
-
45
41
Optionally:
46
42
- Add more numeric fields to create additional series, or drag a categorical field to **Break down by** to split the series.
47
43
- Add a [reference line](../lens.md#add-reference-lines) to mark targets or SLOs.
@@ -54,7 +50,7 @@ You can tweak the appearance of your chart by adjusting axes, legends, and serie
54
50
: Assign colors that match your users' expectations and consider your specific context.
55
51
56
52
**Provide context**
57
-
: Add descriptive axis titles and units to explain what the chart shows.
53
+
: Add descriptive axis titles or remove them for obvious axes.
58
54
59
55
For layout, hierarchy, and color guidance on dashboards, check the EUI’s [Dashboard good practices](https://eui.elastic.co/docs/dataviz/dashboard-good-practices/).
60
56
For more chart configuration options, go to the [Line chart settings](#settings) section.
@@ -102,7 +98,7 @@ Customize your line chart to display exactly the information you need, formatted
102
98
**Data**
103
99
: **Functions**: Allow you to group your data. For example, you can use `Date histogram` to group data points into time-based buckets, or `Intervals` to group values along specific numeric ranges.
104
100
: **Fields**: Determine which field from your data will be used for the horizontal axis.
105
-
: **Number of values**: The number of tiles to show. If more values are available for the selected breakdown field, an additional tile named **Other** shows if the **Group remaining values as "Other"** advanced option is on.
101
+
: **Number of values**: Control how many distinct values or data points are displayed along the horizontal axis.
106
102
: **Rank by**: Choose which metric determines the order of your data.
107
103
: **Rank direction**: Sort values from highest to lowest.
108
104
@@ -112,15 +108,14 @@ Customize your line chart to display exactly the information you need, formatted
: Represents the metrics or values you want to visualize. You can use quick functions like `Average`, `Count`, `Percentile`, `Counter rate`, or create custom calculations with formulas. Refer to [](/explore-analyze/visualize/lens.md#lens-formulas) for examples, or to the {icon}`documentation`**Formula reference** available from Lens.
111
+
: To represent the metrics or values you want to visualize, you can use quick functions like `Average`, `Count`, `Percentile`, `Counter rate`, or create custom calculations with formulas. Refer to [](/explore-analyze/visualize/lens.md#lens-formulas) for examples, or to the {icon}`documentation`**Formula reference** available from Lens.
0 commit comments