Skip to content

to attach or to extend? #118

@smarc

Description

@smarc

Hi,

thanks a lot for the work of adding an abstract layer to d3, although I'm still climbing the learning curve.

I'm trying to add a layer to the contributed chart d3.chart.candlestick in the miso project page...The layer depends on another set of data namely a set of transactions. I initially tried extend the chart as I thought I was only adding a layer, however as the dataset now consists of additional data, the whole base chart functions break down. What is the strategy for such as case, should I be composing 2 charts in one using .attach and <?>.demux ? one doubt I have is that both charts share the same scales, so not sure how to re-use was is available in the candlestick chart.

thanks,
Stefan

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