Skip to content

Smarter duplicate ticks finder #667

@markov00

Description

@markov00

Is your feature request related to a problem? Please describe.
We introduced the showDuplicateTicks property to show/hide duplicated ticks on a specific axis.
This works great until the user wants a set of repeated tick like in the following example:
I'm rendering a line series chart, where my x-axis has a time scale. My data spans 3 days, and I want to display ticks at midnight and at twelve o'clock.
Should the library be smart enough to detect this situation or should we leave the consumer to choose and handle that case?

This is, for example, the current situation in TSVB when choosing a time range of 3 days and an auto time interval.

Screenshot 2020-05-07 at 10 52 59

The showDuplicateTicks is off by default and the ticks are wrongly deduplicated.

Kibana Cross Issues
elastic/kibana#47045
elastic/kibana#70956

Checklist

Delete any items that are not applicable to this feature request.

  • 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

:axisAxis related issue:xyBar/Line/Area chart relatedbugSomething isn't workingreleasedIssue released publiclyreleased on @19.8.x

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