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

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

Open
ephraimrosenfeld opened this issue Mar 6, 2017 · 0 comments

Comments

@ephraimrosenfeld
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant