Skip to content

Make the legend extra parameter customizable  #561

@markov00

Description

@markov00

Is your feature request related to a problem? Please describe.
The current legend extra parameter is used to display the latest value on the data series, or the hovered data point value. We should make this configurable to show other values or statistics, like the total value, averages etc

Describe the solution you'd like
We should move the legend props to it's own <Legend> component and allow the user to customize in some way the possible extra parameter

Describe alternatives you've considered
n/a

Additional context
continuation of #246

Kibana Cross Issues

Checklist

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present

Metadata

Metadata

Assignees

No one assigned

    Labels

    :legendLegend related issueenhancementNew feature or requestkibana cross issueHas a Kibana issue counterpart

    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