Logan Ickert
06/27/2022, 3:29 PM{ id: 'scripttopop',
label: 'Script to populate canvas',
type: serverWidget.FieldType.INLINEHTML,
breakType: serverWidget.FieldBreakType.STARTROW,
layoutType: serverWidget.FieldLayoutType.OUTSIDEBELOW,
`defaultValue: `<canvas id="mychart" width="100px" height="50px></canvas><script type="text/javascript" src="url in the file cab for the chartjs lib">const myChart = new Chart(document.getElementById('mychart'),${config});</script>``
}
If someone could either help me figure out why this isn't rendering, or point me in the direction of a different lib that would be great!Zoran R-DATAGRAM
06/27/2022, 3:36 PMZoran R-DATAGRAM
06/27/2022, 3:40 PMZoran R-DATAGRAM
06/27/2022, 3:42 PMLogan Ickert
06/27/2022, 3:53 PMZoran R-DATAGRAM
06/27/2022, 4:00 PMZoran R-DATAGRAM
06/27/2022, 4:03 PMLogan Ickert
06/27/2022, 4:05 PM