Multiple requests on demand for graph Highchart #1008
Unanswered
laurent512
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Please take a look at https://swr.vercel.app/getting-started#make-it-reusable, which is a good pattern for implementing applications like this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I work on a dashboard to show a stock chart (using Highcharts).
When the dashboard is opened, a default stock curve is shown. Next to it, a side panel contains several checkboxes allowing the visitor to superpose other stock curve on the already visible one.
Each chart curve contains unique data and has to be fetched from external API.
Problem is that many different graphs will be available and I assume they should not be loaded at the same time via a single API call and unique fetch.
I believe that "hard writing" multiple fetcher for each chart is not the ideal solution. (maybe it is ? )
Could you guide me towards the right approach?
Thank you so much.
Beta Was this translation helpful? Give feedback.
All reactions