palantir / plottable

:bar_chart: A library of modular chart components built on D3
http://plottablejs.org/
MIT License
2.96k stars 224 forks source link

stacked bar with two of the same X value in the same Dataset renders incorrectly #3418

Open hellochar opened 6 years ago

hellochar commented 6 years ago

Bug report

Live example URL: http://jsfiddle.net/awgpcog5/1/

Steps to repro:

  1. create stacked bar with two of the same X value in the same Dataset

Expected behavior

two stacked bars on top of each other with the same color

Actual behavior

the first stack is not drawn; only the last stack with a given X value is drawn, although the other data points affect the height