I have a dataset where measurements are made for different groups at different days.
I want to have side by side bars representing the measurements at the different
sometimes you put aes(x=tasks,y=val,fill=group) in geom_bar rather than ggplot. This causes the problem since ggplot looking forward x and you specify it by the location of each group.
aes(x=tasks,y=val,fill=group)
geom_bar
ggplot
x