This repository contains the source and build script for a page that scans the HTML for elements with the 'data-chart' attribute. Any matching elements will have a chart widget instantiated on them. The attribute value should be the chart product name.
It also provides a demonstration page for example purposes.
It is used for example on https://atmosphere.copernicus.eu/
To build the javascript:
git clone https://software.ecmwf.int/stash/scm/~sdo/cams-single-page.git
cd cams-single-page
make init
make dist
Running make
will produce a non-minified version for development
and running make dist
will produce a tarred directory containing a minified
version suitable for deployment to www.ecmwf.int