Skip to content

Axes tick labels should be hide-able #312

@cchaos

Description

@cchaos

Is your feature request related to a problem? Please describe.
There are times where a chart will want to keep the axis lines but hide axes tick labels. For instance on very small charts where the values can be described elsewhere.

Describe the solution you'd like
Either allow passing showTicks={false} or something else.

Describe alternatives you've considered
I'm currently using tickFormatter={() => {}} and it does remove the actual labels, but it doesn't remove the spacing.
image

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

    :axisAxis related issuebugSomething isn't workingenhancementNew feature or request

    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