react-dc-js icon indicating copy to clipboard operation
react-dc-js copied to clipboard

Issue with stacked charts

Open WoodMKII opened this issue 4 years ago • 2 comments

Hi,

I'm seeing an issue with stacked charts, running the playground does not produce a stacked line chart

Steps to reproduce (Node.js v14.13.1):

  • Clone repo (master branch)
  • cd react-dc-js
  • npm install
  • npm run-script build
  • cd playground
  • npm install
  • npm start

The loaded page seems to show all plots successfully, with the exception of the LineChart which does not show the stacked data, just the base data.

Output from npm test in main directory

> [email protected] test /workspaces/react-dc-js
> jest --silent

 PASS  test/mixins/base-mixin.test.js
 PASS  test/charts/use-chart.test.js
 PASS  test/charts/bar-chart.test.js
 PASS  test/mixins/stack-mixin.test.js
 PASS  test/charts/chart-context.test.js
 PASS  test/charts/box-plot.test.js

Test Suites: 6 passed, 6 total
Tests:       9 passed, 9 total
Snapshots:   2 passed, 2 total
Time:        3.316 s, estimated 4 s

I am running in a VSCode docker devcontainer environment, but I don't think that is the problem. If you need any more details, please let me know.

WoodMKII avatar Jun 24 '21 01:06 WoodMKII

Hi @WoodMKII, thanks for reporting. I confirmed the problem happens here too. I'll check it out and update this as soon as I've found something.

plourenco avatar Jun 24 '21 12:06 plourenco

Hi @plourenco is there any update on this, otherwise do you have any pointers and I'll take a look?

davorian avatar Aug 03 '21 22:08 davorian