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

Fix stacked bar chart totals for eeaDataConnector data #112

Closed charlesons closed 2 years ago

charlesons commented 2 years ago

eeaDataConnector data returns y series values as an array of strings, whereas tidyDataConnector returns them as numbers.

The fix uses parseInt to convert the strings to numbers in chartDefinition.ts

Issue #346 aims to solve the problem at source.

Planning action also initiated to revisit the definition of the chart builder data interface (the data convention convention)