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

Specify number of rows, and which interval goes on which row #4

Open
ErikThorsell opened this issue Oct 25, 2018 · 1 comment
Open

Comments

@ErikThorsell
Copy link

I am missing the functionality to specify where an interval should be placed. As far as I can make out, the library will try to minimize the number of rows used, but I can see a use case where I have some predefined number of actors/items that I would like to visualize the allocated interval of time for.

I presume this could be part of the mapper (and I assumed group did this, but I cannot find any documentation regarding the matter nor get it to work).

Great library so far.

@pmeisen
Copy link
Owner

pmeisen commented Oct 25, 2018

Hi Erik,

thanks for the feedback. There is no such functionality in the library that an interval is currently align to a group which would map it in a specific "row". I know that there are several implementations out there that add this as well. In my specific use-case, when I wrote this library this was not needed.

The positioning happens in the determineSwimlane method in IntervalView.js. If you would like the to change the positioning it would be easy to do it by overriding this method. If you have a nice extension, please fell free to push it or send it to me and I see if I can get it integrated nicely.

Once more thanks a lot for the feedback,
Philipp

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

No branches or pull requests

2 participants