Reputation: 2105
Is it possible combine a line + scatter chart in nvd3.js without building a new model like is done with linePlusBarChart in the examples and code? Or is this the only way that you can combine chart types?
Upvotes: 7
Views: 2962
Reputation: 109
looke at this fiddle, gives you some idea
<code><a href="http://jsfiddle.net/7b48nzkm/">fiddle</a></code>
Upvotes: 3
Reputation: 313
I think you can do it by changing the style for the path and points(circle) in the line chart for different series.
Upvotes: 0
Reputation: 8585
There's a scatterPlusLineChart model, but I couldn't get it to work well for my data. If you just want to add markers to a line chart, see Is an NVD3 Line Plot with Markers Possible?
Upvotes: 0