waffle
waffle copied to clipboard
Is that possible to using multiple icon in one plot?
For example, I like to plot a chart which has male/female data. I prefer to use male/female icon from awesome font, not to use color?
Is that possible?
Like this? https://github.com/hrbrmstr/waffle/pull/28
Great, that is what I need.
Another question.
I have run your example
waffle::waffle(c(1, 9, 2, 8), rows = 2, use_glyph = c("male", "female", "male", "female"))

It is nice. But when I like to assign own name not the "A"/'B"......
waffle::waffle(c("Male Fans" = 1, "Female Fans" = 9, "Male" = 2, "Female" = 8), rows = 2, use_glyph = c("male", "female", "male", "female"))

It seems that data order does not correspond with glyph order?
Did I miss something?
i'll take a look. i never use that submitted PR but i might be able to tweak to match factors.
On Wed, Nov 8, 2017 at 4:01 PM, fengqifang [email protected] wrote:
Great, that is what I need.
Another question.
I have run your example
waffle::waffle(c(1, 9, 2, 8), rows = 2, use_glyph = c("male", "female", "male", "female"))
[image: out1] https://user-images.githubusercontent.com/8107479/32573900-955f461a-c49d-11e7-898e-fe1689bd35f2.jpeg
It is nice. But when I like to assign own name not the "A"/'B"......
waffle::waffle(c("Male Fans" = 1, "Female Fans" = 9, "Male" = 2, "Female" = 8), rows = 2, use_glyph = c("male", "female", "male", "female"))
[image: out2] https://user-images.githubusercontent.com/8107479/32573968-c8ff4b32-c49d-11e7-8a8c-88ba131a1e89.jpeg
It seems that data order does not correspond with glyph order?
Did I miss something?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hrbrmstr/waffle/issues/40#issuecomment-342958024, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfHtvEP3McFWoEz1Q1LnK3Gr2eaUfWRks5s0haUgaJpZM4QU94J .