digrich/bubblechart-panel

Error: <circle> attribute r: Expected length, "NaN" (with Grafana v7.0.6)

nguyenlamlll opened this issue · 3 comments

Hi digrich, first of all, thank you very much for your plugin!

I just want to submit and log an issue I have encountered a few times when using this plugin.

Sometimes, when you load the graphs, a bubble chart will fail to display, appearing like the picture below. We can also see that it does not happen to all of them. The next one is still rendering normally.

image

When opening the console log, the error is

d3.v3.min.js:1 Error: <circle> attribute r: Expected length, "NaN".

Moreover, if this info helps, with that chart, I'm using TestDB data source of Grafana.

Anyways, I might clone the repo and debug this later when I'm available.

@nguyenlamlll - This usually happen when all values are zero. Is that the case here?

Hi, I don't think that's the case. I see that it seems to only happen when I use the TestDB data source (even with the settings so the values never reach 0).

@nguyenlamlll - Can you please check with the latest version of plugin?