Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar/Column-Stacked: Displaying 21 records and above results to console error and missing legend #1675

Closed
NicholTamayo opened this issue Apr 12, 2024 · 0 comments · Fixed by infor-design/enterprise#8705
Assignees
Labels
team: homepages Issues for the homepages team type: bug 🐛 [3] Velocity rating (Fibonacci)

Comments

@NicholTamayo
Copy link

Describe the bug
When the using a chart type "Bar-stacked" and "Column-stacked", displaying 21 and above record results to a console error: TypeError: Cannot read properties of undefined (reading 'substr').

Related to infor-design/enterprise#7941 and infor-design/enterprise#8367

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://stackblitz.com/edit/ids-enterprise-4940-kb5xlb?file=index.js,index.html' (for column-stacked) or 'https://stackblitz.com/edit/ids-enterprise-4930-8uxng1?file=index.js,index.html' (for bar-stacked)
  2. Click on 'Console' or open devtool > console.

Expected behavior
No console error is encountered and the graph's legend are displaying. It would be also great if the color loops, currently the 21 and above slices are only being displayed in color black.

Version

  • ids-enterprise: 4.93.0 and above.

Screenshots
Column-stacked with 20 records
image

Column-stacked with 21 or more records
image

Bar-stacked with 20 records
image

Bar-stacked with 21 or more records
image

Platform

  • Infor Application/Team Name: Homepages/PortalV2
  • OS Version: Windows 11
  • Browser Name: Chrome
  • Browser Version 123.0.6312.106 (Official Build) (64-bit)

Additional context
The modals in Homepages and PortalV2 became broken when the console is encountered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: homepages Issues for the homepages team type: bug 🐛 [3] Velocity rating (Fibonacci)
Development

Successfully merging a pull request may close this issue.

4 participants