equitablegrowth / Playfair

Web application for creating publication ready charts and graphs
http://www.austinclemens.com/Playfair/playfair.html
56 stars 6 forks source link

what is the appropriate behavior of an area chart with both positive and negative values? #172

Closed austinclemens closed 8 years ago

austinclemens commented 8 years ago

currently if there is only one group this is handled fine. >1 group won't ever be handled correctly and it is unclear to me what the 'correct' behavior is. It makes sense to maybe allow area charts >1 group where one group is always positive and one group is always negative but that's the only real exception I can think of. Using groups with areas that cross the y-axis seems like a bad thing.

austinclemens commented 8 years ago

Consolidated with another idea - should be possible to have an area geom where top-y and bottom-y are specified instead of assuming additive.

Also, there is some kind of bug that happens with area charts when you have any missing data - see this in Jobs - g6 when you try to add a row for 3-month averages for example.