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

How to remove the opacity of Radar shapes? #9

Closed
sivadass opened this issue Jan 10, 2018 · 4 comments
Closed

How to remove the opacity of Radar shapes? #9

sivadass opened this issue Jan 10, 2018 · 4 comments
Labels

Comments

@sivadass
Copy link

I want to remove opacity & add box shadow of all radars. I am trying to achieve something like this

Can you please guide me?

@derhuerst
Copy link
Owner

As the readme explains, you can add any CSS using a <style> element.

Please reopen if you have more questions or issues with this.

@sivadass
Copy link
Author

Thanks for your help @derhuerst, may i know how to render this chart in React JS?

Here is code sandbox i am trying.

@derhuerst
Copy link
Owner

Well you can use ugly hacks:

  • Stringify the vdom, pass it to react
  • convert vdom to react-dom

Not sure if they fully work though. The proper solution would be to change svg-radar-chart to accept the h function as an option. Then, you could directly render react-dom trees.

@derhuerst
Copy link
Owner

The proper solution would be to change svg-radar-chart to accept the h function as an option. Then, you could directly render react-dom trees.

see #14 for this.

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

No branches or pull requests

2 participants