Skip to main content
Yianni_Ververis
Employee
Employee

Nebula.js is an open source “collection of JavaScript libraries, visualizations, and CLIs that helps developers build and integrate visualizations on top of Qlik's Associative Engine”.

It connects to all of our available Qlik Sense products, including the Qlik hosted, Qlik Sense Business and Qlik Sense Enterprise for SaaS.

You can find documentation and how to get started here
https://qlik.dev/libraries-and-tools/nebulajs.

Nebula.js is an open source “collection of JavaScript libraries, visualizations, and CLIs that helps developers build and integrate visualizations on top of Qlik's Associative Engine”.

It connects to all of our available Qlik Sense products, including the Qlik hosted, Qlik Sense Business and Qlik Sense Enterprise for SaaS.

You can find documentation and how to get started here
https://qlik.dev/libraries-and-tools/nebulajs.

There are also some tutorials like
- https://qlik.dev/tutorials/build-a-helloworld-extension-using-nebulajs
- https://qlik.dev/tutorials/build-a-simple-mashup-using-nebulajs
- https://qlik.dev/tutorials/build-a-simple-web-app

 

React.js

Today I will show you a template that I put together that uses the React framework and some of the available Picasso charts.

The template can be found here https://github.com/yianni-ververis/nebula-react.

From bash, powershell or any other cli interface start by
- Downloading the repository ‘git clone git@github.com:yianni-ververis/nebula-react.git’
- Add your Qlik Sense url, appId and/or the webIntegrationId if you are building against the Qlik Hosted, Qlik Sense Business and Qlik Sense Enterprise for SaaS, in the src/components/Provider.jsx
- Install the appropriate packages by running ‘npm install’
- Change the dimensions and measures in the charts. You can start by changing the dimension and measure fields in the Barchart at scr/containers/Barchart.jsx, Lines 22 and 25. The ones in the template are from the Helpdesk app.

This is how you can start with a React template.

You can view it live at https://qdt-apps.qlik.com/nebula-react/index.html.

 

Simple Html

If you do not want to use any framework and you want to use the library and the charts in a simple html page, I have put together samples in observablehq where you can copy or fork and test it against your Qlik Sense installation at https://observablehq.com/collection/@yianni-ververis/nebula.

 

barchart.pnglinechart.pngpiechart.pngmekkochart.pngfunnelchart.pngsankeychart.png

/Yianni

 

5 Comments
EitanL_OneBi
Partner - Contributor
Partner - Contributor

Hello Yianni,

Thank you for this example.

I am trying to run this locally and access an app on Qlik cloud. I need to create a web integration for it.

Is there a way to deploy this react app on a virtual server such as http-server in order to host it locally and have the ability to access my app on Qlik cloud ?

@Yianni_Ververis 

 

@Yianni_Ververis 

 

 

 

0 Likes
3,331 Views
Yianni_Ververis
Employee
Employee

Of course.

 

just add the webIntegrationId into the config

3,313 Views
Yianni_Ververis
Employee
Employee

And Allow Origin of your https server in the administration of your tenant 

3,282 Views
EitanL_OneBi
Partner - Contributor
Partner - Contributor

Thanks, it's working.

0 Likes
3,259 Views
dev_human
Contributor
Contributor

Hi @Yianni_Ververis , I want to render whole sheet using nebula, please help me out with this.

0 Likes
1,918 Views