Skip to content

Adjust templates so that column mappings are in config #484

Description

@nrennie

Many of our chart templates rely on columns in the data being called specific things e.g. "name" or "date". This means that data.csv can't really be used as a data download file e.g. in numeric line charts, a variable called 'age' on the x axis would be in a column called 'date'.

If we tweak our templates such that the x axis column from the data is specified in a config like xColumn: "date" then data.csv would more closely resemble data download files for Chartbuilder charts and make it easier to move away from manual data download files.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions