Skip to main content
This library was created to allow Nebuly customers to easily embed charts into their own applications. It’s built with Web Components and can be used in any framework. The library is available as a npm package and can be installed using the following command:

How to use the library

Client

The library exports an HTTP client that can be used to get the charts data.
You can use the client to get list available reports in your project.
You can also use the client to get the data for a specific report.
The response of getReport will contain the list of the charts that are part of the report.

Components

Once you have the list of the charts, you can use the components to embed them in your application with the Web Compoents esported in. In order to use the components, you need to import @nebuly-ai/reports/web and register functionality for the components.
Then you can use the components in your HTML.
Or you can wrap them in your preferred framework.