I need to add several vertical lines (say 10 or 20) to an nvd3 line chart.
The question here suggests adding a series for this, but I would need to add 20 series, overcrowding the legend and the interactive tooltip.
From what I understand this can't be done out-of-the-box (please correct me if I'm wrong), so my question is what is the easiest way of doing this:
- Add D3 lines to the DOM (how would I go about scale, positioning them horizontally, etc?)
- Add generic support for this in nvd3
- Add support for hiding specific series from the legend and from the tooltip, and add 20 series
- Any other idea?