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

Dashboard: custom legend labels #173

Closed
henricasanova opened this issue May 28, 2020 · 1 comment
Closed

Dashboard: custom legend labels #173

henricasanova opened this issue May 28, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@henricasanova
Copy link
Contributor

henricasanova commented May 28, 2020

This is something that we discussed with Gautam, but I figured if we make it into an issue then we won't forget.

The idea is to enhance the dashboard graph functions so that an (optional) argument can be passed to customize the caption labels. For instance, in the task execution graph, it says "reading input", but sometimes we really want this to say "receiving input". Or sometimes, we don't want to see anything.For instance, it's weird to see the "reading input" and "writing output" caption items in a (pedagogic) simulation in which there is no input or output.

Also, it would be good for the "task data" table to specify which columns to show, for the same reason as above.

@rafaelfsilva
Copy link
Member

The generateGanttChart and populateWorkflowTaskDataTable functions have now a label parameter that can be parameterized as follows:

{
    read: {display: true, label: "Reading Input"},
    compute: {display: true, label: "Performing Computation"},
    write: {display: true, label: "Writing Output"},
}

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