TimeAxis item width #1154
Unanswered
RazvanMocan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am trying to set a fixed width for an item no matter the scale. I need to have 3 zoom levels: day, week and month and would like to have the same width, just the labels to differ on zoom in/out. I tried using setWindow and zoomMin and max or timeAxis.scale, but they all depend on the window width. Is there a way to specify a fixed width for the time axis element?
I also have a question regarding clustering. I tried to use a custom clustering function to cluster the items based on scale, but from what I logged it seems that the function is only called for overlapping items. At the moment I am updating the items when zooming. Can I do something to get the function called on all items from the same week/month/day(based on scale)?
Beta Was this translation helpful? Give feedback.
All reactions