Hi, I am trying to update filter using JS events but nothing is happening.
I have a look

First I followed up this documentation
Then, I created Look and integrated it to iframe and deployed it to website. The live preview can be seen here:
http://manage.cloudamize.com/
This is the source code:
<iframe
id="looker"
src='https://cloudamize.looker.com/embed/public/k8YXBHzQ8Nfp6ygCTYM5BVxrKDfsFQdN'
></iframe>
Now, On the browser console (http://manage.cloudamize.com), I am trying to run this javascript to change X-axis weekly to monthly:
document.getElementById('looker').contentWindow.postMessage(
JSON.stringify(
{
"type": "look:filters:update",
"filters": {
"billing_summary.usage_date_filter": "month",
}
}
),
'https://cloudamize.looker.com'
);
But nothing is happing! You can try your own by browsing http://manage.cloudamize.com
Can anybody please suggest me that How do I solve it?