Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Issue with stacked charts #76

@WoodMKII

Description

@WoodMKII

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

> react-dc-js@0.2.0-beta 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions