最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - line + scatter chart in nvd3 - Stack Overflow

programmeradmin2浏览0评论

Is it possible bine 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 bine chart types?

Is it possible bine 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 bine chart types?

Share Improve this question asked Dec 19, 2012 at 18:54 outside2344outside2344 2,1152 gold badges32 silver badges56 bronze badges 1
  • 1 did you find any solution to the problem. I also need the same! Thanks. – Dinesh Commented Mar 29, 2014 at 21:57
Add a ment  | 

3 Answers 3

Reset to default 3

looke at this fiddle, gives you some idea

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

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?

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

发布评论

评论列表(0)

  1. 暂无评论