Skip to content

Export guide_axis() and consider improvements #3322

Closed
@hadley

Description

@hadley

Currently we have no equivalent to guide_legend() for axes (there is an non-exported guide_axis() but it draws the axes rather than describing their parameters). We should have an exported guide object to make it possible to have new types of axes.

The build in guide_axes() also needs to gain better tools for handling long labels:

  • Should haveangle parameter which handles all related theme settings
  • Should optionally trim overlapping labels by starting and either end and bisecting inwards (cf check.overlap = TRUE in grid.text()
  • Should be able to draw multiple lines of labels, alternating the position to avoid overlaps

And generally look at what vega-lite does for other ideas of useful parameters.

Metadata

Metadata

Assignees

Labels

featurea feature request or enhancementguides 📏wipwork in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions