GSS-Cogs / chart-builder

The Chart Builder is a proof-of-concept app to understand the feasibility of using a CSV file (or SPARQL query) to generate and customise a chart or data visualisation
https://chart-builder-no4vxskx7a-nw.a.run.app
2 stars 0 forks source link

add optional chaining #202

Closed StRhys closed 1 year ago

StRhys commented 1 year ago

This was to deal with an issue that would happen when updating chart data source/file, where the new data does not having matching names on the data columns, this would throw an error and not allowing updated data.

The fix in place returns undefined instead of throwing an error. This will also cause the data columns with mismatched names to be blank. image