-
Notifications
You must be signed in to change notification settings - Fork 167
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
Timeline start and end options are not taken into account #346
Comments
Hm passing start and end via .draw is being deprecated (you should see a deprecation warning in your console). See commit 15fcd83). I didn't realize this would be a breaking change, should have been published as a breaking release. |
Yes, I know this deprecation warning and I know your commit. We don't pass options via .draw due to this warning. But now, we have a problem because start and end dates are not considered. I think this is easy to fix. Thanks in advance. |
I don't expect to have time to fix this very soon, but if you could put together a PR would be great. |
Sure, I can put PR, but a little bit later (the same - no time to fix this very soon). |
… into account)
Done. The pull request is here https://github.com/almende/chap-links-library/pull/351/files Thanks. |
The docu says:
start
: "The initial start date for the axis of the timeline. If not provided, the earliest date present in the events is taken as start date."end
: "The initial end date for the axis of the timeline. If not provided, the latest date present in the events is taken as end date."But you have removed in the last version the logic for
this.options.start
andthis.options.end
from thefunction links.Timeline.prototype.draw
. We hadbut now we have
The problem is that
this.setVisibleChartRangeAuto()
doesn't takestart
andend
options into account. They are simple ignored.The text was updated successfully, but these errors were encountered: