StatisticsNZ / simplevis

Simple visualisation with ggplot2 and leaflet wrappers
https://StatisticsNZ.github.io/simplevis
Other
86 stars 11 forks source link

hpointrange: legend key is not horizontal #424

Closed davidhodge931 closed 2 years ago

davidhodge931 commented 2 years ago
image

Due to ggplot2 bug.

Hack solution:

For gg_pointrange: use geom_point + geom_linerange For gg_hpointrange: use geom_point + geom_errorbar

In ggplotly, displays a point in legend key, which is not perfect but good enough