Skip to content

Commit 83e70cd

Browse files
committed
Integrate reviewer's comments
1 parent 7035f2f commit 83e70cd

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
:::{dropdown} Advanced settings
2-
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:
33

44
- **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.
67
:::

explore-analyze/visualize/charts/line-charts.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Instructions and best practices for building line charts with Kiban
1010

1111
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.
1212

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).
1414

1515
You can create line charts in {{kib}} using [**Lens**](../lens.md).
1616

@@ -38,10 +38,6 @@ Using the visualization type dropdown, select **Line**.
3838
1. Select the {{data-source}} that contains your data.
3939
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.
4040

41-
:::{note}
42-
You might need to extend the time range and set the time filter to **Last 30 days**.
43-
:::
44-
4541
Optionally:
4642
- Add more numeric fields to create additional series, or drag a categorical field to **Break down by** to split the series.
4743
- 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
5450
: Assign colors that match your users' expectations and consider your specific context.
5551

5652
**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.
5854

5955
For layout, hierarchy, and color guidance on dashboards, check the EUI’s [Dashboard good practices](https://eui.elastic.co/docs/dataviz/dashboard-good-practices/).
6056
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
10298
**Data**
10399
: **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.
104100
: **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.
106102
: **Rank by**: Choose which metric determines the order of your data.
107103
: **Rank direction**: Sort values from highest to lowest.
108104

@@ -112,15 +108,14 @@ Customize your line chart to display exactly the information you need, formatted
112108
### Vertical axis settings [vertical-axis-settings]
113109

114110
**Data**
115-
: 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.
116112

117113
:::{include} ../../_snippets/line-vertical-axis-advanced-settings.md
118114
:::
119115

120116
**Appearance**
121-
: Define the series style, including:
122117
- **Name**: Customize the legend label with a descriptive name.
123-
- **Value format**: Line or area variants, with optional stacking for area.
118+
- **Value format**: Control how numeric values are displayed on the vertical axis of your visualization.
124119
- **Series color**: Select a palette or specific color per series.
125120
- **Axis side**: Control where axis labels and tick marks appear.
126121

0 commit comments

Comments
 (0)