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 an alternative chart type from chartDefinition #186

Closed StRhys closed 1 year ago

StRhys commented 1 year ago

An issue in chart builder was meaning older map charts (ones already on live sites) where not loading correctly. Newer charts have their chartType set on creation but this was only introduced in a later build of chart builder. Use an alternative chart type which is available in chartDefinition if chart type isn't available.

Was previously displaying as image

Now will be correct: image

To test, copy the src folder from chart builder, go into the cms folder-> volto-> src-> addons-> chart-builder and replace the src folder within. Load up the CMS, with climate change and go to the adaptation dashboard.