Angular chart (extension example)
The Angular chart code example demonstrates a simple chart visualization with basic AngularJS rendering.
See also: For more information about AngularJS, see AngularJS overview.
Finding the code examples
In a Qlik Sense Desktop environment, you find the code examples in ...\Users\<UserName>\Documents\Qlik\Examples\Extensions.
In a Qlik Sense environment, you find the code examples in ...\ProgramData\Qlik\Examples\Extensions.
Information noteThe code examples are not visible in Qlik Sense until you have deployed them. For more information about deploying examples, see Deploying your visualizations.
Full code example
Code example breakdown
-
Edit the applicable fields of the qext file to set a default title, description, icon and type.
-
Define properties and load reference to the html file where we code the AngularJS rendering:
define( ["jquery", "text!./template.html"], function ( $, template ) { 'use strict';