Skip to content

This is a component, developed for the widget editor of Qlik Sense. The goal of this component is to enable developer to create their own Picasso.js charts in the Widget Editor.

License

Notifications You must be signed in to change notification settings

q2g/q2g-com-picasso

Repository files navigation

Picasso Widget Component

Codacy Badge Codacy Badge Downloads

This is a component, developed for the widget editor of Qlik Sense. The goal of this component is to enable developer to create their own Picasso.js charts in the Widget Editor. The huge advantage of this approach is, that you can easily user the property panes to customize styling of your picasso.js chart without the effort of building a complete extension.

Intro

teaser

Example

<q2g-com-picasso model="data.model" settings="settings">
<!--
var settingsChart = {
	scales: {
		x: {
			data: {
				extract: {
				    field: 'qDimensionInfo/0'
				},
			},
			padding: 0.4
		},
		y: {
			data: {
				field: 'qMeasureInfo/0'
			},
			expand: 0.1,
			invert: true
		}
	},
	components: [{
		type: 'axis',
		scale: 'y',
		dock: 'left'
	}, {
		type: 'axis',
		scale: 'x',
		dock: 'bottom'
	}, {
	    key: "bar",
	    type: "box",
	    data: {
	        extract: {
	            field: "qDimensionInfo/0",
    	        props: {
    	            start: 0,
    	            end: {
    	                field: "qMeasureInfo/0"
    	            }
    	        }
	        },
	    },
	    settings: {
	        major: {
	            scale: "x"
	        },
	        minor: {
	            scale: "y"
	        },
	        box: {
              fill: settings.setCol
            }
	    }
	}]
};

let chart = picasso.chart({
	element: element,
	data: data,
	settings: settingsChart
});

console.log("CHART", chart);
-->
</q2g-com-picasso>

Install

binary

  1. Download the ZIP and unzip
  2. Qlik Sense Desktop Copy it to: %homeptah%\Documents\Qlik\Sense\Extensions and unzip
  3. Qlik Sense Entripse Import in the QMC

Make sure, that you have activate the new component in our widget

source

  1. Clone the Github Repo into extension directory
  2. Install nodejs
  3. Open Node.js command prompt
  4. npm install
  5. npm run build

About

This is a component, developed for the widget editor of Qlik Sense. The goal of this component is to enable developer to create their own Picasso.js charts in the Widget Editor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •