Adding a chart within Granicus forms #11872
Taffmeister
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to add a chart.js graph to a granicus form.
When I try the code out of granicus it all works as expected.
Perhaps easier if I put the code in below.
all works apart from the background colors.
If I use barColors as the variable for the background colors it works, but if I use barColors2 as the variable it doesnt work.
if I dicument.write the 2 variables they are identical.
Any ideas why it would break using barColors2?
(Both work if i put them in an javascript editor such as w3schools it's just when in the granicus environment that it fails.)
Beta Was this translation helpful? Give feedback.
All reactions