krispo / angular-nvd3

AngularJS directive for NVD3 reusable charting library (based on D3). Easily customize your charts via JSON API.
http://krispo.github.io/angular-nvd3
MIT License
1.29k stars 377 forks source link

Graph does not shows tooltip #715

Open kwangin opened 6 years ago

kwangin commented 6 years ago

Hello. I have encountered to an issue that tooltip is not displayed in line chart.

2017-10-10 9 32 32

It does not shows all the time. It usually happens when putting mouse cursor inside the graph before it receives the data and rendering with it. Does some one knows about this?

patrickmcd121 commented 6 years ago

I've been experiencing the same issues. The first and last value will display, but none of the rest. I have noticed this issues occurs where I use an array stored in a variable which is populated by a for loop. If I use hard coded i.e. values: [[12341, 0.5], [54838, 0.9], [82382, 1.2], [29724, 0.65]], it works just fine. I need to populate an array with a response from the back-end so I can't hard-code it.