I have been searching on WEB for removing the crossbars in the legend of the below ggplot barplot. But, no success. Could you please help me to fix this. Please see below for the data "temp" and the code I am using. Could you also let me know how can use patterns on the bars? Thank you.
temp:
type var value
A k1 20
A l1 30
B k1 10
B l1 15
ggplot(temp,aes(type, value)) + geom_bar(stat="identity", aes(group=var, fill=type, facets=var),colour="blue1", position="identity") + facet_grid(.~var) + theme_bw()