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

US-X_Labels-to-legend #11

Open
9 tasks
MariaAdner opened this issue Mar 8, 2024 · 0 comments
Open
9 tasks

US-X_Labels-to-legend #11

MariaAdner opened this issue Mar 8, 2024 · 0 comments

Comments

@MariaAdner
Copy link
Collaborator

MariaAdner commented Mar 8, 2024

Labels-to-legend

Value proposition

As a user I want to set a label for the legend of my data to improve my plot.

Description

Acceptance Criteria

  • Layout as in the description
  • User has a form where he can type the label for each y variable. This form is only rendered after the user has added new y variables. In each input field is a placeholder text to guide the user.
  • A "Submit"-Button to confirm what the user has written in the form

Tasks

  • Create a feature branch "Labels-to-legend"
  • Create a Legend Component:
    • Form with several inputs of type "text", whose number is equal to the number of y variables.
    • A yVariablesLabels variable is defined as an array with length corresponding to the number of y variables. Each element is set to the value of the corresponding input. Mapping is needed.
    • Button with handleLegend function, which saves the yVariableLabels to the local storage
  • In the Plotting component, for each object in the data attribute of the Plot component: set the value of the name key to the corresponding value from the yVariablesLabels array, like name: yVariablesLabels[index], . Mapping is needed.
@MariaAdner MariaAdner converted this from a draft issue Mar 8, 2024
@catdieval catdieval changed the title US-7_Labels-to-legend US-X_Labels-to-legend Mar 10, 2024
@github-project-automation github-project-automation bot moved this from Product Backlog to Quality Assurance in capstone-plotdata Mar 24, 2024
@catdieval catdieval moved this from Quality Assurance to Product Backlog in capstone-plotdata Mar 25, 2024
@catdieval catdieval reopened this Mar 25, 2024
@YavorLalev YavorLalev moved this from Product Backlog to Sprint Backlog in capstone-plotdata Apr 24, 2024
@YavorLalev YavorLalev moved this from Sprint Backlog to Product Backlog in capstone-plotdata Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Product Backlog
Development

No branches or pull requests

2 participants