outside2344
outside2344

Reputation: 2105

line + scatter chart in nvd3

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

Answers (3)

gani
gani

Reputation: 109

looke at this fiddle, gives you some idea

<code><a href="http://jsfiddle.net/7b48nzkm/">fiddle</a></code>

Upvotes: 3

Kyleinincubator
Kyleinincubator

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

z0r
z0r

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

Related Questions