As a user of PxWeb 2 I would like to be able to download the graph I have made to a file.
Requirements for downloaded file
- The downloaded file should include source, table title, and dynamic table title.
- The developers need to explore how we can differentiate between what is shown in the interface versus what is included in the downloaded file.
- Should it be possible to toggle on/off what is included in the downloaded file via config, or should we have chart settings similar to PxWeb 1? The latter (chart settings) is not a priority for now, but it might be important to think of future features.
How it should look and work in the interface
- The file formats for graph is only shown as an option when the user has chosen to display the table as a graph.
- The graph file formats should show at the top of the list under "Download as file".
- The icon used is FileImage (in Storybook).
- Should the table file formats be removed when in graph view? (Something to think about.)
Language:
- Norsk: Graf
- Svensk: Diagram
- Engelsk: Chart
Acceptance criteria
- The downloaded file includes source, table title, and dynamic table title
- The file formats png and svg are shown as an option under "Download as file" when the table is shown as a graph. They are at the top of the list
- It is possible to download these file formats
As a user of PxWeb 2 I would like to be able to download the graph I have made to a file.
Requirements for downloaded file
How it should look and work in the interface
Language:
Acceptance criteria