Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

eventZoom recieves full dataset, not the d3 scale at the end of the zoom. #51

@goulu

Description

@goulu

creating a timeline with eventZoom callback as:

    var timelineChart = d3.chart.timeline()
        .eventZoom(function (d,i) {console.log(d,i);});

    d3.select('#timeline')
        .datum(data)
        .call(timelineChart);

when zooming, d parameter contains the full datum/data structure, not the d3 scale as stated in the doc.

(how to access to the scale's min+max ?)

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