Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

composite leaflet chart #21

Open
gordonwoodhull opened this issue Jun 23, 2016 · 1 comment
Open

composite leaflet chart #21

gordonwoodhull opened this issue Jun 23, 2016 · 1 comment

Comments

@gordonwoodhull
Copy link

Someone could fairly easily implement a composite leaflet chart - it wouldn't share any code with (dc.compositeChart)[https://github.com/dc-js/dc.js/blob/develop/web/docs/api-latest.md#dc.compositeChart] and very little interface, but the same concept of the composite chart owning the leaflet instance and the children drawing layers within it.

@gordonwoodhull
Copy link
Author

Note that it requires changing the individual charts just a little bit - they have to notice that they have a parent, and rely on the parent to do the top-level initialization.

It's not a perfect design but it would be a step forward.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant