I'm working with NVD3
charts with angular2
following this link. I'm getting line chart fine. In line chart on mouse over tooltip gets shown on Yaxis 3 points.
YAxis have Line lines so three points we need a display on somewhere in the page.We tried to like this
yAxis: {
axisLabel: 'Voltage (v)',
tickFormat: function(d){
this.username = d3.format('.02f')(d);
return d3.format('.02f')(d);
},
axisLabelDistance: -10
}
HTML
<div>
<nvd3 [options]="options" [data]="data"></nvd3>
<p>Hello {{username}}</p>
</div>
We are not getting anything. What do I miss?
Hello {{points}}
.Please guide to us – Pavan Alapati Jun 15 '17 at 06:24