@activfinancial/time-series-chart v0.3.51
cg-api-examples
Examples using the ACTIV Financial ContentGateway Web API.
Prerequisites
The API uses WebAssembly and as such requires quite recent versions of JavaScript run-times.
Browser versions
- Firefox 54 or higher.
- Chrome 61 or higher.
- Edge 40.15063.0.0 (Windows 10 Creators Update) or higher. You may need to enable experimental JavaScript features in about:flags for versions prior to Windows 10 Fall Creators Update.
- Safari 11 or higher.
Node version
8 or higher.
OpenFin version
9 or higher.
Building the examples from the repository sources
yarnis assumed to be available in your path. Install either with your package manager (e.g.sudo dnf install nodejs-yarnfor Fedora), or from here.- Clone this repository somewhere.
- From the root directory of the repository clone,
yarn install: install dependencies and cross-link packages (inpackages/*). yarn develop: build each package (equivalent toyarn developin each package, but taking care of any ordering dependencies) with webpack development mode.- Alternatively,
yarn build: build using webpack production mode. - To make locally built packages available in preference to globally published versions, run
yarn yarn:publish-links. To remove the links, runyarn yarn:unpublish-links. - To use locally built versions of dependencies (specifically,
cg-api), rather than globally published versions, runyarn yarn:use-links. To remove the links, runyarn yarn:disuse-links. Note at this time, thecg-apiitself is hosted in a private repository.
Visual Studio Code
The repository has various pre-configured tasks and debug launch configurations for Visual Studio Code.
Note: the default build task runs yarn develop at the top level.
Types of run-times
Examples for various run-times are available. See the appropriate README for more information:
Programming with the API
To see how the API can be used, read our getting started tutorial.
There is also a minimal starter application in a separate repository available here.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago