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
Change graph label colors #8
Comments
Try to add this to callback option, like:
|
Worked great! I was also able to change the label colors with:
Thanks for the help and the sweet library! |
Hi kevgliss, krispo I'm trying to do the same you did, but it is not working for me.... the callback function is executing before the piechart renders, I've placed your code as last function in my controller, and I cannot figure out what could be wrong, Is there any setting to add for the callback to execute after the piechart renders?? Thanks! |
Can you show your controller code? |
Thanks for the quick response! I've ended up using callback="callbackFunction()" instead of options in the HTML and worked like a charm, awesome library, it is making things a lot simpler for me. |
This might have to do with nvd3 but would you happen to know an easy way to change the label colors of a graph?
I can change the color with:
in the console, but am unsure how where to make the corrections in relation to angular + nvd3 lifecycle
The text was updated successfully, but these errors were encountered: