Reputation: 25
I am trying to use gvis Column chart in R shiny. I have just 1 column with multiple levels and I want to color different levels with different colors. I,m not able to achieve this.
Eg. Data
Gender Count
1 Female 309
2 Male 280
My Code :
colGvis <- gvisColumnChart(reqData)
Output :
I want different colors for male and female.
If there are other gvis charts that can do the same, let me know.
Upvotes: 1
Views: 369