[BUG] All graphs are monotonically increasing `y = x`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
Describe your context
Please provide us your environment, so we can easily reproduce the issue.
- replace the result of
pip list | grep dashbelow
dash 2.9.3
dash-ag-grid 32.3.1
dash-bootstrap-components 1.7.1
dash-core-components 2.0.0
dash-html-components 2.0.0
dash-table 5.0.0
django-plotly-dash 2.5.0
-
if frontend related, tell us your Browser, Version and OS
- MacOS 14.3
- Firefox 142.0
Describe the bug
In production, all graphs are monotonically increasing linear graphs:
These are the included scripts:
<script src="https://unpkg.com/@babel/polyfill@7.12.1/dist/polyfill.min.js"></script>
<script src="https://unpkg.com/react@16.14.0/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16.14.0/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/prop-types@15.8.1/prop-types.min.js"></script>
<script src="https://unpkg.com/dash-ag-grid@32.3.1/dash_ag_grid/dash_ag_grid.min.js"></script>
<script src="https://unpkg.com/dash-renderer@1.15.1/build/dash_renderer.min.js"></script>
<script src="https://unpkg.com/dash-core-components@2.9.2/dash_core_components/dash_core_components.js"></script>
<script src="https://unpkg.com/dash-core-components@2.9.2/dash_core_components/dash_core_components-shared.js"></script>
<script src="https://unpkg.com/dash-html-components@2.0.11/dash_html_components/dash_html_components.min.js"></script>
<script src="https://unpkg.com/dash-table@5.2.4/dash_table/bundle.js"></script>
In development, the graphs display data correctly:
The script included are these:
<script src="https://unpkg.com/@babel/polyfill@7.12.1/dist/polyfill.min.js"></script>
<script src="https://unpkg.com/react@16.14.0/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16.14.0/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/prop-types@15.8.1/prop-types.min.js"></script>
<script src="https://unpkg.com/dash-ag-grid@31.3.0/dash_ag_grid/dash_ag_grid.min.js"></script>
<script src="https://unpkg.com/dpd-components@0.1.0/dpd_components/bundle.js"></script>
<script src="https://unpkg.com/dash-renderer@1.15.1/build/dash_renderer.min.js"></script>
<script src="https://unpkg.com/dash-core-components@2.9.2/dash_core_components/dash_core_components.js"></script>
<script src="https://unpkg.com/dash-core-components@2.9.2/dash_core_components/dash_core_components-shared.js"></script>
<script src="https://unpkg.com/dash-html-components@2.0.11/dash_html_components/dash_html_components.min.js"></script>
<script src="https://unpkg.com/dash-table@5.2.4/dash_table/bundle.js"></script>
Even in production, if I add legends that extract the numerical values from the data, those correctly display the values. The issue is only in graphs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the production and development script lists, especially the dash-ag-grid versions and the production-only absence of dpd-components, then reproduce the graph rendering behavior in Firefox. Verify whether the graph component receives the same numerical data as the correctly rendered legends; done means production graphs display the supplied data rather than monotonically increasing lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python, react
- Domain
- data-visualization, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100