Test Meta Pixel Firing
Coordinates
A working example of a chart is below. It uses a WIX iframe (#html1). The code in the iframe has placeholders to hold text and the chart.
The iframe ONLY gets data from the page by sending an array using postMessage(array). the <script></script> section of the iframe creates the new Chart. The chart is displayed within CANVAS tags. The CANVAS name and the CHART's name have to match. For example "myChart" the Chart object is created inside the page and passed as an argument. This is ideal as they look can be completely controlled by code and the iframe can take on simple resulable code. Note also, the chart.js package is not used. it is used within the iframe code via src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js"
Cample Chart Objects for all kinds of charts are here: https://www.w3schools.com/js/js_graphics_chartjs.asp
