A charting library streamlined for building interactive visualizations for the Qlik product suites.

A charting library streamlined for building interactive visualizations for the Qlik product suites.
npm install picasso.js
The picasso-chart-authoring skill is included in each picasso.js npm release under skills/, so its guidance matches the installed package version. After installing Picasso in your project, install the skill with:
npx skills add ./node_modules/picasso.js/skills --skill picasso-chart-authoring --copy --yes
The command can be rerun after updating Picasso to refresh the skill. To install directly from a tagged repository release instead:
npx skills add https://github.com/qlik-oss/picasso.js/tree/v2.10.0/.github/skills/picasso-chart-authoring --skill picasso-chart-authoring --copy --yes
import picasso from 'picasso.js';
picasso.chart({
element: document.querySelector('#container'), // container must have a width and height specified
settings: {
scales: {
budget: { max: 5000, min: 0 },
sales: { max: 11000, min: 3000, invert: true },
},
components: [
{
type: 'axis',
scale: 'budget',
layout: {
dock: 'bottom',
},
},
{
type: 'axis',
scale: 'sales',
layout: {
dock: 'left',
},
},
{
type: 'point',
data: [
{ sales: 7456, margin: 0.3, budget: 4557 },
{ sales: 5603, margin: 0.7, budget: 2234 },
{ sales: 8603, margin: 0.6, budget: 4121 },
{ sales: 4562, margin: 0.4, budget: 1234 },
{ sales: 9873, margin: 0.9, budget: 3453 },
],
settings: {
x: { scale: 'budget', fn: (d) => d.scale(d.datum.value.budget) },
y: { scale: 'sales', fn: (d) => d.scale(d.datum.value.sales) },
size: (d) => d.datum.value.margin,
},
},
],
},
});
More examples and documentation can be found at qlik.dev
The API can be found at the Qlik developer portal
| name | status | description |
|---|---|---|
| picasso.js | A charting library streamlined for building visualizations for the Qlik Sense Analytics platform. | |
| picasso-plugin-hammer | A plugin that binds events using HammerJS. This plugin provides an API for binding HammerJS recognizers to the chart element in a declarative way. | |
| picasso-plugin-q | The q plugin registers a q dataset type that makes it a bit easier to extract data from a QIX hypercube. It also contains a brush helper that can be used to find appropriate selections in the underlying data engine. |
picasso.js is MIT licensed.
Please follow the instructions in our contributing guide.
Dependency Dashboard
https://github.com/qlik-oss/picasso.js/issues/843
Labels: None
Labels on points
https://github.com/qlik-oss/picasso.js/issues/765
Labels: None
Combo chart
https://github.com/qlik-oss/picasso.js/issues/764
Labels: None
paddingLeft with anchor: 'center' does not work?
https://github.com/qlik-oss/picasso.js/issues/763
Labels: None
You are more than welcome to contribute to picasso.js! Follow these guidelines and you will be ready to start:
Please read and follow our Code of conduct
Bugs can be reported by adding issues in the repository. Submit your bug fix by creating a Pull Request, following the GIT guidelines.
Please make sure to browse through existing issues before creating a new one.
Features can be requested by adding issues in the repository. If the feature includes new designs or bigger changes, please be prepared to discuss the changes with us so we can cooperate on how to best include them.
Submit your feature by creating a Pull Request, following the GIT guidelines. Include any related documentation changes.
This is a multi-package repository which uses lerna for package task management and publishing.
docs/: contains documentation templatesexamples/: contains simple examples of usageplugins/: contains plugin packagespackages/picasso.js: contains the main picasso.js packagescripts/: contains build scriptstest/: contains test configsTo install and build all packages run:
$ pnpm
$ pnpm build
This will generate UMD packages for:
/packages/picasso.js/dist/plugins/*/distpnpm build generates UMD bundles for all packagespnpm lint checks code stylepnpm test runs all testsGenerally, development should be done directly towards the master branch.
Fork and clone the repository
git clone git@github.com:YOUR-USERNAME/picasso.js.git
Create a branch in the fork
The branch should be based on the master branch in the master repository.
git checkout -b my-feature-or-bugfix master
Commit changes on your branch
Commit changes to your branch, following the commit message format.
git commit -m "fix: properly formatted SET statements."
Push the changes to your fork
git push -u myfork my-feature-or-bugfix
Create a Pull Request
Before creating a Pull Request, make sure to sign the CLA
In the Github UI of your fork, create a Pull Request to the master branch of the master repository.
If the branch has merge conflicts or has been outdated, please do a rebase against the master branch.
Commit messages should follow the commit message convention.
Should be one of the following:
The <scope> of the commit is optional and can be omitted. When used though, it should describe the place or part of the project, e.g. docs(examples), feat(data) etc.
We need you to sign our Contributor License Agreement (CLA) before we can accept your Pull Request. Visit this link for more information: https://github.com/qlik-oss/open-source/blob/master/sign-cla.md.