Skip to content

[Charts]: Issues with multiple measure accessors as getters #5774

@allen138

Description

@allen138

Describe the bug

Hi team,

We found if we generate the measures array with an Array.map() then it will not render all the measures. A simple hack solution is in the loop override the .toString() function of the accessor to be unique.
Current Behavior:
image

Expected:
image

Please see isolated example below.

Thanks!

Isolated Example

https://stackblitz.com/edit/github-ybgbgx?file=src%2FApp.tsx

Reproduction steps

  1. Open the stackblitz
  2. test by commenting and uncommenting line 112
    ...

Expected Behaviour

No response

Screenshots or Videos

No response

UI5 Web Components for React Version

main

UI5 Web Components Version

main

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

SF

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions