npm-stat.com icon indicating copy to clipboard operation
npm-stat.com copied to clipboard

Zoom Broken

Open bgub opened this issue 6 years ago • 6 comments
trafficstars

https://npm-stat.com/charts.html?package=squirrelly&from=2017-01-01&to=2019-11-03

Downloads per day doesn't allow zoom

bgub avatar Nov 05 '19 03:11 bgub

It does for me. What browser and OS are you using?

pvorb avatar Nov 05 '19 06:11 pvorb

@pvorb Linux and Chrome. Before I was using Windows + Chrome and had the same issue

bgub avatar Nov 06 '19 00:11 bgub

It shows the highlight when I click and drag, but when I close click it just resets the drag start position

bgub avatar Nov 06 '19 00:11 bgub

@pvorb tested on Firefox as well. Note that the problem is only with the "Downloads per Day" chart, all the other charts work fine

bgub avatar Nov 29 '19 00:11 bgub

Yeah, I could also reproduce it. But I have no idea what feature highcharts relies on, that no longer works in browsers. I'll probably have to update highcharts.

pvorb avatar Nov 29 '19 06:11 pvorb

Hi @pvorb! Some additional info - the error says

Uncaught TypeError: Cannot read property 'r' of undefined
    at Fa.setState (highcharts-3.0.10.min.js:293)
    at highcharts-3.0.10.min.js:148
    at Array.forEach (<anonymous>)
    at each (highcharts-3.0.10.min.js:22)
    at Q.Tooltip.refresh (highcharts-3.0.10.min.js:148)
    at Q.Pointer.runPointActions (highcharts-3.0.10.min.js:153)
    at Q.Pointer.onContainerMouseMove (highcharts-3.0.10.min.js:160)
    at HTMLDivElement.b.onmousemove (highcharts-3.0.10.min.js:162)
setState @ highcharts-3.0.10.min.js:293
(anonymous) @ highcharts-3.0.10.min.js:148
each @ highcharts-3.0.10.min.js:22
refresh @ highcharts-3.0.10.min.js:148
runPointActions @ highcharts-3.0.10.min.js:153
onContainerMouseMove @ highcharts-3.0.10.min.js:160
b.onmousemove @ highcharts-3.0.10.min.js:162

bgub avatar Jan 23 '20 03:01 bgub