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 have
angle 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.
Currently we have no equivalent to
guide_legend()for axes (there is an non-exportedguide_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:angleparameter which handles all related theme settingscheck.overlap = TRUEingrid.text()And generally look at what vega-lite does for other ideas of useful parameters.