enterprise-ng icon indicating copy to clipboard operation
enterprise-ng copied to clipboard

Chart: Wrong type of the data property in SohoChartSelectEvent

Open kkoscielski opened this issue 3 years ago • 2 comments

The result that is logged in the console differs from the following Soho interfaces: SohoBarSelectEvent, SohoPieSelectEvent, SohoColumnSelectEvent, SohoLineSelectEvent.

  1. Go to https://design.infor.com/code/ids-enterprise/latest/demo/components/bar/test-selected?theme=uplift&variant=light
  2. Click on any bar.
  3. See the result that is logged in the console.
  4. The documentation suggests that the property called “data” is an array of any type: interface SohoBarSelectEvent { elem: HTMLElement[]; data: any[]; index: number; }

Expected behavior The actual result is not the array, but an object (see the attached photo):

Version

  • ids-enterprise-ng: ^13.1.1,

Screenshots image

kkoscielski avatar May 19 '22 14:05 kkoscielski

Do feel free to do a Pull request if you see a fix. It could take us a while to get to this

tmcconechy avatar May 19 '22 14:05 tmcconechy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.

github-actions[bot] avatar May 04 '24 01:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 18 '24 01:05 github-actions[bot]