The following functionality needs to be tested, for example, by accessing time series data in a GitHub repository.
Now that the chart component is being used more, we need to ensure that it handles using a full URL for the time series file. This will allow InfoMapper configurations served on one URL (e.g., https://poudre.openwaterfoundation.org/) to access data on another URL (e.g., https://data.openwaterfoundation.org). There may be CORS issues if the domains are different but if all is being served from an OWF domain, we can avoid that issue for now. An example of a graph template file for a time series as follows:
The TSID property specifies a file path relative to the application root data. If the data were stored on another URL, the property might look like the following. This can be tested by saving a data file in GitHub and testing using that URL.
The following functionality needs to be tested, for example, by accessing time series data in a GitHub repository.
Now that the chart component is being used more, we need to ensure that it handles using a full URL for the time series file. This will allow InfoMapper configurations served on one URL (e.g.,
https://poudre.openwaterfoundation.org/
) to access data on another URL (e.g.,https://data.openwaterfoundation.org
). There may be CORS issues if the domains are different but if all is being served from an OWF domain, we can avoid that issue for now. An example of a graph template file for a time series as follows:The
TSID
property specifies a file path relative to the application root data. If the data were stored on another URL, the property might look like the following. This can be tested by saving a data file in GitHub and testing using that URL.Enhancement
The following enhancements would provide more flexibility.
If application properties are added (define a property in the InfoMapper configuration), it would be possible to do something like the following:
If dashboard properties are added (define a property in the dashboard configuration), it would be possible to do something like the following: