Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Donut chart warning: Unexpected value 1 parsing stdDeviation attribute #132

Closed
lucafaggianelli opened this issue Sep 26, 2018 · 3 comments
Closed

Comments

@lucafaggianelli
Copy link

Codepen

https://codepen.io/anon/pen/PyYYvV?editors=0011

Explanation

When drawing a donut chart, a warning occurs on the console (actually 1 warn per donut slice).
The chart renders correctly, but I don't know if the warn is real or can be ignored

  • What is the behavior you expect?
    To have no warns in console

  • What is happening instead?
    Console warn

  • What error message are you getting?
    Unexpected value 1 parsing stdDeviation attribute

@junedchhipa
Copy link
Contributor

I am not getting any warnings for the demo you provided.
Do you get the warning after doing certain actions?

@lucafaggianelli
Copy link
Author

No you get it as soon as the chart draws and it shows only in browser dev tools, not in code pen console. I'm using latest Firefox quantum. Anyway, just digging the web I saw that stdDeviation belongs to svg blur filters realm... I managed to get rid of the warn disabling the data labels drop shadow. Maybe this is browser dependant

@junedchhipa
Copy link
Contributor

Right! I saw the warning in Firefox - and it indeed leads to svg.js drop shadow method.
Thanks for providing additional info, I will dig more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants