Skip to content

Prop to coalesce duplicate Axes #368

@nickofthyme

Description

@nickofthyme

Is your feature request related to a problem? Please describe.
Allow hideDuplicateAxes prop to remove duplicate axes.

Axis should be hidden if all of the following conditions are true:

  • The first and last tick labels (with applied tickFormat) match
  • The length of the ticks match
  • The titles match, can be both undefined
  • The position on the spec match (i.e. top, right, bottom, left)

Describe the solution you'd like
hideDuplicateAxes prop to remove duplicate axes.

Describe alternatives you've considered
Check axis domains manually

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

Labels

:TSVBKibana TSVB related:axisAxis related issueenhancementNew feature or requestkibana cross issueHas a Kibana issue counterpartreleasedIssue released publicly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions