Add a randomly generated gradientID to so each chart has a unique gradient

This commit is contained in:
Alex Holliday committed 2024-11-19 13:54:51 +08:00
1 parent e3c13d93ec
commit 9cf2be774b
2 files changed
+4 -2

No files matched your search

@@ -17,7 +17,7 @@
*/
export const createGradient = ({
id = "colorUv",
id,
startColor,
endColor,
startOpacity = 0.8,