Skip to content

Allow dup_axis within scale_x_date #2244

Closed
@brianwdavis

Description

@brianwdavis

A question on SO led to wondering why duplicate axes aren't usable with scale_x_date or *_datetime. I worked up fairly hacky solutions by converting to numerics and working back from date_breaks, but it should "just work". While you're at it, I'm sure it would be nice to be able to have transformed sec_axis: e.g. hours on the x-bottom and days on the x-top.

See reprexes at: https://stackoverflow.com/a/45373735/3330437

example desired

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions