Yes, you would need to declare the data in the HTML/HUBL. Something like:
HTML/HUBL
<script>
window.data = {
{{ contact.tenancy_created_company|tojson }}
}
</script>
JS
series: [{
name: 'sales',
data: window.data
}]
Yes, you would need to declare the data in the HTML/HUBL. Something like:
HTML/HUBL
<script>
window.data = {
{{ contact.tenancy_created_company|tojson }}
}
</script>
JS
series: [{
name: 'sales',
data: window.data
}]