7

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?

outside2344
  • 2,075
  • 2
  • 29
  • 52

3 Answers3

2

looke at this fiddle, gives you some idea

<code><a href="http://jsfiddle.net/7b48nzkm/">fiddle</a></code>
gani
  • 99
  • 1
  • 10
0

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?

z0r
  • 8,185
  • 4
  • 64
  • 83
0

I think you can do it by changing the style for the path and points(circle) in the line chart for different series.

Kyleinincubator
  • 313
  • 1
  • 5
  • 12