Hi all, I've created a stacked bar chart but the y-axis does not show the correct scale. How can I fix it?
Note I've used a data set in long form using "tidyr" and "gather".
Code:
library(ggplot2)
ggplot(df_long, aes(x = Well_ID, y = Measurement, fill = Analyte)) +
geom_bar(stat = "identity") +
xlab("Well ID") +
ylab("Concentration") +
theme_minimal()
A snapshot of the plot is attached below.
