[DOCS] Inline editing in Lens (#170649)

## Summary

With the arrival of inline editing to Lens panels the [Create
visualizations](https://www.elastic.co/guide/en/kibana/current/lens.html#create-the-visualization-panel)
'Edit and delete' section has been updated. Users can now use the option
**Edit visualization** to make edits to Lens visualizations using a
flyout panel, without having to leave the dashboard and go into the Lens
application.

The [Edit
panels](https://www.elastic.co/guide/en/kibana/current/dashboard.html#edit-panels)
section on the 'Dashboards and visualizations' page has been edited as
the **Edit Lens** option has been removed from the UI.

Relates to: #166169 &
[#243](https://github.com/elastic/platform-docs-team/issues/243)
This commit is contained in:
amyjtechwriter 2023-11-06 15:25:03 +00:00 committed by GitHub
parent 1292c87b65
commit 5e8414779a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 13 deletions

View file

@ -287,8 +287,6 @@ To make changes to the panel, use the panel menu options.
. Open the panel menu, then use the following options:
* *Edit lens* — Opens *Lens* so you can make changes to the visualization.
* *Edit visualization* — Opens the editor so you can make changes to the panel.
+
To make changes without changing the original version, open the panel menu, then click *More > Unlink from library*.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

@ -39,15 +39,19 @@ Choose the data you want to visualize.
Edit and delete.
. To change the aggregation *Quick function* and display options, click the field in the layer pane.
. Click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu to clear Lens visualization layers] on the panel, then **Edit visualization**.
. To delete a field, close the configuration options, then click *X* next to the field.
. To change the aggregation *Quick function* and, click the field in the flyout.
. To duplicate a layer, click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu to duplicate Lens visualization layers] in the layer pane, then select *Duplicate layer*.
. To delete a field, click image:dashboard/images/trash_can.png[Actions menu icon to delete a field, width=5%] next to the field.
. To clear the layer configuration, click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu to clear Lens visualization layers] in the layer pane, then select *Clear layer*.
. To duplicate a layer, click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu to duplicate Lens visualization layers] in the flyout, then select *Duplicate layer*.
TIP: You can manually apply the changes you make, which is helpful when creating large and complex visualizations. To manually apply your changes, click *Settings* in the toolbar, then deselect *Auto-apply visualization changes*.
. To clear the layer configuration, click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu to clear Lens visualization layers] in the flyout, then select *Clear layer*.
. Click **Apply and close**.
TIP: Use the **Edit visualization** flyout to make edits without having to leave the dashboard, or click **Edit in Lens** to make edits using the Lens application.
[float]
[[change-the-fields]]
@ -189,21 +193,20 @@ To create partition charts with multiple metrics, use the layer settings. Multip
[float]
[[improve-visualization-loading-time]]
=== Improve visualization loading time
==== Improve visualization loading time
preview::[]
Data sampling allows you to improve the visualization loading time. To decrease the loading time, use a lower sampling percentage, which also decreases the accuracy.
Use low sampling percentages on large datasets.
. In the layer pane, click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu for the partition visualization layer], then select *Layer settings*.
. In the **Edit visualization** flyout, click image:dashboard/images/lens_layerActions_8.5.0.png[Actions menu for the partition visualization layer], then select *Layer settings*.
. To select the *Sampling* percentage, use the slider.
. Click *X*.
+
When you add the visualization to dashboards, image:dashboard/images/lens_visualizationModifierPopup_8.8.0.png[Visualization modifier popup] appears,
which allows you to view settings changes to the visualization.
. Click *Apply and close*.
. Click **Save**.
[float]
[[add-annotations]]