org-scn-design-studio-community / sdkpackage

SDK Package of SCN Design Studio Community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot obtain selection from Info Chart based on BYOD data-source

ephraimrosenfeld opened this issue · comments

The Info Chart component allows the user to capture the selected bar/series using the following function:
INFOCHART.getSelectedMember(DATA_SOURCE.getDimensions()[0]);

However, for an Info Chart based upon a "Bring Your Own Data" - Datasource, this operation fails with the following error:
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined (getDimensions#10)
See the InfoChartBasedOnBYOD_SelectionStackTrace.txt for the full stack-trace.

Attached is an exported sample Analysis Application: Test_BYOD_w_InfoChart-20170306150937.zip, in which the issue can be reproduced.

The 'UI5 Table 2.0' SDK component seems to work well with the BYOD - Datasource but I have yet to find a chart/graph component that does the same.

Any guidance, instruction, or tips would be greatly appreciated.

Thank you in advance.