Question: In R geomtextpath, does it's not support chinese
Does ‘geom_textpath’ not support Chinese ? As below sample, when using r error geom_textpath add label to the plot, it's only show englise letters. Anyone can help? Thanks!
library(tidyverse) library(geomtextpath) plot_data_2 <- data.frame(category=c('品类A','品类B','品类C','品类D'), amount=c(1,6,4,7)) plot_data_2 %>% ggplot(aes(x=1,y=amount,fill=category))+ geom_col()+geom_textpath(position = position_stack(vjust=0.5), aes(label=category))+ coord_polar()