Change color of graphical symbols (svg's) #1702
tobias-carlbom
started this conversation in
General
Replies: 1 comment
-
多谢分享。很有帮助的思路 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I just wanted to share how to change color of a graphical symbol, like a circle. Perhaps this isnt news to you guys but i want to share it for future preferences :)
Add a Circle to your View and name it shape_3
Add this client side script function:
And yes, its possible to apply this to all shapes in the current View. Eg using document.querySelectorAll('[data-name^="shape_"]');
Beta Was this translation helpful? Give feedback.
All reactions