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

Control of text - allow rows with no timeline #9

Closed
marcel111 opened this issue May 17, 2016 · 6 comments
Closed

Control of text - allow rows with no timeline #9

marcel111 opened this issue May 17, 2016 · 6 comments

Comments

@marcel111
Copy link

It would be helpful to be able to control the text on the left side of the Gantt chart more. Can we allow individual rows to have no corresponding timeline bar? Motivation: these items can serve as headers. Items below the header, with corresponding timebars, can be list items falling under the header. Thanks!

@marcel111
Copy link
Author

SampleGantt.pdf
I added a pdf example of the desired plot

@dankelley
Copy link
Owner

This works now in develop. ( @marcel111 Please see the website for how to install from github ... it was wrong the other day, which explains why it failed for both of us. ) See as.gantt for an example. Just set the end-time equal to the start-time (and, perhaps, alter the positioning as in as.gantt). Note that the positioning is not working right for me in OSX RStudio, most likely for the same reason that a lot of positioning fails in OSX RStudio (and has through about the past 4 releases ... the problem has been reported).

Below is a screenshot showing what example 7 from as.gantt gives. It's crude, but should be sufficient for simple work.

@marcel111 please close this if it has been addressed. ("It" refers to the question as posed in the title line; any nuances would be new issues, so that I can get some issues closed without losing track.)

screen shot 2016-05-21 at 9 30 55 am

@dankelley
Copy link
Owner

There is now an example of how to do this in the docs for ?"ganttAddTask.Rd", which is a new function that permits changing of existing gantt objects.

@dankelley
Copy link
Owner

The end of the updated vignette (in develop branch) now also gives an explanation how to get this feature.

@marcel111
Copy link
Author

This works great, thanks

@dankelley
Copy link
Owner

Please close issues when you think they have been addressed. It saves me from having to ask you to close it, then checking back after N days and asking again, then closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants