How do you use a JavaScript variable within a rule in ZingChart?

Problem:
I want to do something like this:

const foo = 5;
`%v == ${foo}`

Is that possible?

Answer:
Unfortunately, we can't use variables in rules yet.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us