Yes maybe
Here is an example of how to do this: https://gist.github.com/timelyportfolio/80d85f78a5a975fa29d7#file-code-r
The solution is to add a javascript function using vertical lines using NVD3 (read the comments carefully):
function drawVerticalLines(opts) {
And call this method in nv.addGraph Callback:
var sharedChart = null;
With opts ... (obviously you really don't need this):
var opts${widgetID.replace('-', '0')} = { "dom": "chart${widgetID}", "width": 800, "height": 400, "x": "date", "y": "value", "group": "variable", "type": "lineWithFocusChart", "id": "chart${widgetID}" };
Hope this helps, it took me quite a while to find it and make it work!
source share