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

Error when visualizing the EIV data as a scatterplot or pie chart #719

Closed
sosiology opened this issue Sep 16, 2022 · 0 comments · Fixed by #749 or #754
Closed

Error when visualizing the EIV data as a scatterplot or pie chart #719

sosiology opened this issue Sep 16, 2022 · 0 comments · Fixed by #749 or #754
Assignees
Labels
bug Something isn't working

Comments

@sosiology
Copy link
Contributor

Describe the bug
I get an error when I try to visualize the EIV data as scatterplot or pie chart. I guess the data is not adapted to such plots, but the I should not get stuck with an inresponsive app.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://test.visualize.admin.ch/en/browse?includeDrafts=false&search=EIV&order=SCORE&dataSource=Int'
  2. Select the data set "Einmalvergütung für Photovoltaikanlagen"
  3. click "Start a visualization"
  4. Select "scatterplot" or "pie chart"
  5. See error "Application error: a client-side exception has occurred (see the browser console for more information)."

Expected behavior
The chart types "Scatter plot" or "pie chart" should not be selectable, if it is not possible to visualize the data with these chart types

Screenshots
image

Environment (please complete the following information):

  • Visualize environment and version: TEST v3.8.0, Data Source: INT
  • Browser and version: Chrome

Additional context
Also reproducable on INT v3.8.0 (9b6863c) with Data Source: INT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants