Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-series line chart #210

Closed
deepeshnaik opened this issue Jul 1, 2013 · 4 comments
Closed

Multi-series line chart #210

deepeshnaik opened this issue Jul 1, 2013 · 4 comments
Labels

Comments

@deepeshnaik
Copy link

Is this chart possible in dc.js?
http://bl.ocks.org/mbostock/3884955

I agree that the nasdaq eg demonstrates stacked line chart but it plots "index fluctuation" and "avg index" after making groups for each of them.

I want to plot the multi-series line chart where-in the number of cities come on-the-fly.(and not statically like "avg index" and "index fluctuation").

@NickQiZhu
Copy link
Contributor

You can use a composite chart to generate this kind of layered line chart.

@deepeshnaik
Copy link
Author

If you dont mind can you please tell me how my dimension/group should look like...
or please guide me to a link?

P.s. it is already a composite chart with timeseries bar chart below line chart.

Thanks.

@christophe-g
Copy link
Contributor

You might want to have a look at this approach (though not sure it is still working with crossfliter and dc latest release):
#91
Cheers,
C.

@deepeshnaik
Copy link
Author

Yes this is it. I needed the pivot() of crossfilter and the series() of dc to make this work. I wonder why both aren't included in the newer versions.

But thanks this was of great help.

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

No branches or pull requests

3 participants