API Reference
The SAS Visual Analytics SDK provides a set of components and APIs that enable you to render reports and report parts. It also enables you to use SAS data to drive your own components or visualizations.
Top-Level Exports
SASReportElement
SASReportPageElement
SASReportObjectElement
connectToServer
registerDataDrivenContent
DataDrivenContentHandle
Loading with <script>
When you load the library with a script element, the vaReportComponents
global variable is not ready to use until all of the other
assets are loaded. The vaReportComponents.loaded
event is dispatched once it is ready.
<script async src="https://unpkg.com/@sassoftware/va-report-components@0.12.0/dist/umd/va-report-components.js"></script>
<script>
window.addEventListener('vaReportComponents.loaded', function() {
// The SAS Visual Analytics SDK is loaded and ready
const connectToServer = vaReportComponents.connectToServer;
});
</script>