Skip to content

[Lens] Area/line charts report last bucket empty #153079

@rajvi-patel-22

Description

@rajvi-patel-22

Kibana version: 8.5.0

Elasticsearch version: 8.5.0

Describe the issue:

The new feature was introduced in Kibana [Lens] Show value in legend. This feature is already available in TSVB but there is a minor difference over there. In TSVB, it shows value of last bucket without hovering over the chart. On the other hand, in lens, when this feature is enabled it doesn't show any default values. User must need to hover the chart to see the values.

In Lens,

Scenario 1 : Show value option is enabled and by default it doesn't show any value in the legend.
image

Scenario 2 : Show value option is enabled and it shows value when hover the chart.
image

In TSVB,

Scenario 1 : By default it shows value of last bucket in the legend (which is 0).
image

Scenario 2 : It shows value of count at particular timestamp when hover the chart.
image

Steps to reproduce:

  1. Go to Dashboard > Create Line chart in lens.
  2. Click on the Legend > select Show in Display option and enable Show value toggle
    image

Expected behavior:

  • Lens should show value of last bucket in legend when show value option is enabled and not hovering over the chart.

Actual behavior:

  • The value is not shown in the legend by default even when show value option is enabled.

Metadata

Metadata

Assignees

Labels

Feature:ElasticChartsIssues related to the elastic-charts libraryFeature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//blockedbugFixes for quality problems that affect the customer experienceimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions