GEOCHART INPUTS (these parameters will be parsed and sent to the Chart.js props on the right and GeoChart created below)
CHART.JS PROPS (these Chart.js native parameters are used to draw the actual chart itself)
GEOCHART INPUTS
\ No newline at end of file
+ // This is hacky, but it's only to load default values off the start. It is also because we don't have a cgpv.init callback.
+ setTimeout(() => {
+ buildChartInputs();
+ }, 1000);
+
+ // Listen on the chart parsed to update the UI
+ window.addEventListener('chart/parsed', handleChartLoaded);