The collection of external, third party libraries. Use this to include and then access third party libraries for drawing or building custom visuals.
- From version: 2020.20
External third party libraries, created to draw/render with the d3 framework.
const scale = d3.scale.scaleBand();
Additional external third party libraries that are provided as utilities in the Pyramid Api.
const uniqueId = cvApi2.externalLibraries.utils.uuid();
addExternalLibraries ( paths : string): void
Instantiates an external third party library into the application for drawing custom visuals.
cvApi2.externalLibraries.addExternalLibraries(["https://cdn.plot.ly/plotly-latest.min.js"]); Plotly.newPlot(divId, data, layout, config);
Each string represent the url for the library source.
This is a snippet