Archive for May, 2014

DC.js 2.0.0-dev Pareto + Workaround

May 24, 2014

JS: dc.js (workaround, line/bar composite)

Published: May 2014

When I created a DC.js Pareto chart, as a composite of barChart and lineChart, I found the line chart’s samples and xaxis ordering wasn’t consistent – The lines between sample points were jumbled, but the point Y values were correct. So I implemented a workaround. I found a new entry concerning this issue in the DC issues list, along with a question about it on SO. I created the following plunker to demonstrate the workaround.

Please, if you find my contribution useful, consider a donation. Thanks.

Please consider a donation if you find value in my free/open source contributions.