@ecmwf.int/single-page-charts

0.9.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ecmwf.int/single-page-charts

Weekly Downloads

5

Version

0.9.2

License

Apache-2.0

Unpacked Size

548 kB

Total Files

10

Last publish

Collaborators

  • ecmwf