NuCivic / react-nvd3

React component for NVD3 re-usable charting library
MIT License
136 stars 44 forks source link

tooltip "confused" about location after legend toggle #79

Closed grahambryan closed 6 years ago

grahambryan commented 7 years ago

Hello, I am currently working with the Line graph example.

Problem: Tooltip behaves correctly at start screen shot 2017-08-16 at 9 10 10 am

Then once I toggle the legends and turn them both back on, this happens

screen shot 2017-08-16 at 9 09 40 am

Has anyone seen this before?

React.createElement(NVD3Chart, { xAxis: { tickFormat: function(d){ return d; }, axisLabel: 'Period' }, yAxis: { tickFormat: function(d) {return parseFloat(d).toFixed(2); }, axisLabel: 'Values' }, title: 'RPY', type:'lineChart', datum: data, x: 'label', y: 'value', duration: 1000, margin: { left: 160 }, focusEnable: true, height: 500, useInteractiveGuideline: true, renderEnd: function(){ console.log('renderEnd'); } })

topicus commented 7 years ago

This is a weird one. I will need to take a look.

grahambryan commented 7 years ago

Any updates on this?

grahambryan commented 6 years ago

ended up being a render issue on my end.