Skip to content

[Lens] Format range labels in tables #93265

@flash1293

Description

@flash1293

There are a bunch of places in Lens where the current approach of formatters (a function "value -> formatted string", tied to the field of the index pattern) falls short, because in a lot of cases the context (in this case the visualization) has to be taken into account as well:

  • Number histogram in a transposed table: The labels are built from the start of the bucket without information about the interval. This makes sense in xy charts, but in a table a range format should be used (1000 -> 3000, 3000 -> 5000 instead of 3000, 5000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:LensTeam:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//enhancementNew value added to drive a business resultimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.🧊 iceboxed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions