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

Using relativeTime() together with ending() causes hang #84

Open
geekman opened this issue Jun 21, 2016 · 0 comments
Open

Using relativeTime() together with ending() causes hang #84

geekman opened this issue Jun 21, 2016 · 0 comments

Comments

@geekman
Copy link

geekman commented Jun 21, 2016

I'm not sure what's causing it, but trying to specify a end date/time while using relativeTime() will cause it (and the browser) to hang.

Minimized test case as follows, by modifying the example html:

var data = [
{times: [{starting_time: 1466100000000, ending_time: 1466100000000}]},
];

var width = 600;
var chart = d3.timeline()
             .ending(1466100000000)
             .relativeTime();

var svg = d3.select("#timeline1").append("svg").attr("width", width)
            .datum(data).call(chart);
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

1 participant