Hi all,
I'm trying to use this example for charts, but use data with an API key:
https://developers.arcgis.com/javascript/latest/tutorials/display-and-create-charts-components/
I'm using esriconfig:
import esriConfig from "@arcgis/core/config.js";
esriConfig.apiKey= "YOUR_ACCESS_TOKEN";
The chart is in a map. That map uses the same API key and is on the same website and it works, but not the chart.