Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Download: Single Chart #1742

Open
12 tasks
KerstinFaye opened this issue Sep 11, 2024 · 0 comments
Open
12 tasks

Image Download: Single Chart #1742

KerstinFaye opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels

Comments

@KerstinFaye
Copy link

KerstinFaye commented Sep 11, 2024

Is your feature request related to a problem? Please describe.
As a user I would like the possibility to download the visualization as an image. Users want to be able to use the visualizations in reports as a static version. They must be able to permanently display labels and data sources and export an image (PNG)

Describe the solution you'd like

  • Function to download/export an image of individual visualization
  • The Visualizations should be optimized for static use (labelling not interactive for these cases)

Scope

  • We will only offer one file type for export: PNG
  • We will adjust the image download to only show the necessary information (e.g. certain interactive UI elements, such as menus etc.)
  • Metadata: Timestamp on the download

Requirements BAKOM

  • On the publish page, a download-button should be available
  • The visualization is downloadable as .png file with an appropriate resolution
  • The filename should have a logical definition (f.e. publisher-downloadDate or visualizationTitle-downloadDate)

The visualization itself should ideally contain the following information

  • The dataset name
  • date of the dataset
  • selected filters
  • source of the data
  • visualize reference

The file should have the following information in the metadata

  • download time
  • publisher of the visualization
  • link to the visualization
  • dataset name and version

Things to think about (now or later)

  • How do we deal with graph types without scales, f.e. Pie-charts. There, it is very difficult to assume the values of a specific field. -> This shows again the importance of annotations.
  • In the regular publishable visualization the labels are rather small, maybe they should be in the case of an export a bit larger.

A separate issue has been created to download dashboards as images / PDFs here: #1929

Figma Design Section: https://www.figma.com/design/Hn9wvuEYLUmdJtg4KwZYUx/visualize.admin.ch---design?node-id=5622-75071&t=bC32fj9SN1TgPQ9l-4

@sosiology sosiology changed the title Image Download Image Download: Single Chart Dec 2, 2024
@sosiology sosiology added design and removed design labels Dec 2, 2024
@sosiology sosiology added the BAKOM label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants