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

Cannot change background color of chart #12

Closed
UglyHobbitFeet opened this issue Apr 11, 2019 · 2 comments
Closed

Cannot change background color of chart #12

UglyHobbitFeet opened this issue Apr 11, 2019 · 2 comments
Assignees

Comments

@UglyHobbitFeet
Copy link

UglyHobbitFeet commented Apr 11, 2019

There is no option (that I can see) to pass in a color for the background. For example, in a Line Graph, the colors array only seems to be for line colors.

If I do the following, it does not change the color since it seems like the vue-graph code uses an svg child element.
<graph-line-datablock style="background-color:#ff0000"

@seogi1004
Copy link
Contributor

seogi1004 commented Apr 16, 2019

https://github.com/juijs/vue-graph/blob/master/README.md

You can use 'styles' props.

@UglyHobbitFeet
Copy link
Author

UglyHobbitFeet commented Apr 16, 2019 via email

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