-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error trying to create MicroBarChart SVG #9
Comments
What version of React are you on? I haven't updated this module for a while so something might of broken on the latest version(s) of React. |
I'm on 0.13.1. I have a deadline next Tuesday, so I'll just go with the Sparklines for now, but would probably switch over after if you get a chance to update. |
Not sure what the problem is. I updated the dependencies to the latest version of React and friends and everything works fine. |
Hmm. Ok, I’ll give another shot this afternoon to switching out the sparkline for the bar chart. If it doesn’t work, I’ll have to put off figuring out why until after I launch the budget app next week, but I’ll let you know in any case. Thanks for the quick response though! Eric
|
Well, that appeared to fix it on my end - now both sparkling and microbarcharts work. Thanks!
|
I am getting an error when I try to create a simple micro bar chart:
If I delete the MicroBarChart line, the spark line draws fine.
The error is below. It happens in the render function creating the SVG element (not in
renderBarChart
).Any ideas? I can make do with the sparkline, but I would prefer the bar chart.
The code I'm using it in is here: https://github.com/DemocracyApps/GBE/blob/master/gbe/resources/assets/js/components/ChangeExplorer.js (test is on line 280, actual use is 253. The spark lines work fine (though I do get a warning: "mutating the [[Prototype]] of an object will cause your code to run very slowly").
The text was updated successfully, but these errors were encountered: