dc.js icon indicating copy to clipboard operation
dc.js copied to clipboard

Stacked line charts overlap

Open b2mdevelopment opened this issue 13 years ago • 4 comments

Stacking area line charts results in the two areas overlapping.

overlapping-stacks

This sample code exhibits the problem.

Is there something wrong with the way we are using crossfilter?

@roylines and @jamesbloomer

b2mdevelopment avatar Jun 19 '13 14:06 b2mdevelopment

hmm.. this seems to be a bug when stacking on top of zero value area. will try to fix it in the up-coming v1.4 release.

NickQiZhu avatar Jun 19 '13 15:06 NickQiZhu

Thank you Nick. Do you have an ETA for v1.4?

@roylines and @jamesbloomer

b2mdevelopment avatar Jun 19 '13 16:06 b2mdevelopment

Actually I have to push it to v1.5 since v1.4 is too close to its release. Also I am planning to rewrite a large portion of coordinate charts in v1.5 which should fix this issue.

NickQiZhu avatar Jun 20 '13 23:06 NickQiZhu

Fixed on master for v1.5 release. Also overhauled the grid coordinate chart and the stacking algorithm.

NickQiZhu avatar Jul 24 '13 20:07 NickQiZhu