Chart component linked to an external API

Greetings, I am trying to create a few line or bar chart components that I can link through API to an external service like yahoo finance.

The plan is to have the chart behave like a normal stocks chart, when the price of a stock goes up, to have the chart in my glide app go up as well, when it goes down, to also go down.

The problem is that I don’t know how to create a dynamic chart that changes as the price of a stock changes. Does anyone know how I can do that?

Thank you!

I think the ultimate problem here is not the chart, but how you pull the data into your app. If Yahoo Finance provides an endpoint for an API call, you can call that API using a call API action, or try to use JavaScript to fetch from that endpoint.

Then try structuring the data that you receive to fit with what you want to display in the chart. It will likely need a helper table to separate the data into multiple rows, if that’s stock data.

1 Like