documentation at https://github.com/PMSI-AlignAlytics/dimple/wiki/dimple.axis#timePeriod states "Be sure to use the plural versions here."
Also, the example syntax refers to d3 v3. The syntax in v4 has changed and also the plural versions don't work, instead the singular version works.
In d3 it boils down to this function:
function tickInterval(interval, start, stop, step) {
if (interval == null) interval = 10;
// If a desired tick count is specified, pick a reasonable tick interval
// based on the extent of the domain and a rough estimate of tick size.
// Otherwise, assume interval is already a time interval and use it.
if (typeof interval === "number") {
///... irrelevant, not executed in this case
}
return step == null ? interval : interval.every(step);
}
interval is what is set as timePeriod and timeRanges (which the plural versions are) don't have every(), instead the singular versions have.
Please update docu.
documentation at https://github.com/PMSI-AlignAlytics/dimple/wiki/dimple.axis#timePeriod states "Be sure to use the plural versions here." Also, the example syntax refers to d3 v3. The syntax in v4 has changed and also the plural versions don't work, instead the singular version works.
In d3 it boils down to this function:
interval is what is set as timePeriod and timeRanges (which the plural versions are) don't have every(), instead the singular versions have. Please update docu.