Skip to content

[Goal] Labels and values. #1600

@Kuznietsov

Description

@Kuznietsov

Problem description

While trying to replace the vislib gauge with the goal from the elastic-charts, it has been found the further issue.

The goal chart is not supporting couple of features, which are required for the current visualization:

  • Formatted value
  • labelMajor out of the circle
  • Hide too long labels

Formatted value

Current behavior: Right now goal chart is supporting label and sublabel via passing centralMajor and centralMinor only.

Feature: Support of the formatted value is required.

Current behavior:
Screenshot 2022-02-17 at 15 27 10

Expected behavior:
labels values


labelMajor out of the circle

Current behavior: Right now goal chart is placing labelMajor and labelMinor inside the circle.

Feature: Rendering labelMajor and labelMinor out of the chart.

Current behavior:
Image 17 02 2022 at 15 33

Expected behavior:
Image 17 02 2022 at 15 35


Hide too long labels

Current behavior: Right now goal chart is rendering labels inside the goal charts without any restrictions.

Feature: Hide too long labels, if the chart is too small to render them without truncation.

Current behavior:
Screenshot 2022-02-17 at 15 42 30

Expected behavior:

hidden.labels.mov

Version:

  • OS: macOS Big Sur, v11.6.1
  • Browser: chrome, Version 97.0.4692.99 (Official Build) (x86_64)
  • Elastic Charts: 43.1.1

Kibana Cross Issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    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