I have plotted a line chart using NVD3 and i am using bootstrap for responsive design. In a 12 column grid i am trying to plot two line charts. Everything works fine except for the line chart on left the interactive guidelines are getting cut. Here is the html code
<div class="col-md-12 instance-chart-template">
<div class="col-md-6 widget-chart with-sidebar">
<div id="%%instance-name%%-line-chart1-nvd3" style="height: 260px;"><span class="spinner"></span></div>
</div>
<div class="col-md-6 widget-chart with-sidebar">
<div id="%%instance-name%%-line-chart2-nvd3" style="height: 260px;"><span class="spinner"></span></div>
</div>
</div>
I am using Interactive Guidelines when plotting the chart. Here is the Javascript
var chart = nv.models.lineChart()
.margin({ right: 100 })
.useInteractiveGuideline(true)
What can i do to solve this issue. Is there any way that i can define the chart area so that the tooltip floats in that area only and doesnot get cut off or any other solution would be appreciated. Let me know in comments if any more details are required. I tried to be as descriptive as possible.