Skip to content

serverDelay() does not respect delays where data is from prior day #65

Description

@dmrenton

serverDelay() only allows for delays from teh current day from what I can tell. E.g. Look at the stock demo: http://bost.ocks.org/mike/cubism/intro/demo-stocks.html

The axis is showing the most current data is from year 2015, when in fact it is from 2012 (see http://bost.ocks.org/mike/cubism/intro/stocks/AAPL.csv) and here is the demo code
var context = cubism.context()
.serverDelay(new Date(2012, 4, 2) - Date.now())
.step(864e5)
.size(1280)
.stop();

I'm trying to trace through and see where this is happening, but maybe someone can beat me to it?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions