Shading portion of each bar in a bar chart?

Hello all,

Using ggplot geom_bar - my dataframe has 3 columns:

Date, new entries for that date, cumulative total of all entries.

The graph I have is date on the X axis and cumulative total of all entries to date on the Y axis.

What I'm trying to do is shade in the upper portion of each bar to represent the number of new entries for that date and the height of each bar represent the cumulative number of entries to date.

Any assistance is appreciated.

Ice

Add another column by reducing daily numbers and then draw one plot over other. I mean another geom_bar on top of it. This is how I have achieved similar results in past. Not sure if there is any better way.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.