Qlik visual is a custom element definition, <qlik-visual>, that uses the Visualization API and exposes it as a web component. It allows you to create and modify visualizations on the fly without making use of the Qlik Sense client. Qlik visual supports:
- Displaying an existing visualization (by defining a visid to the element) in a web page.
- Creating visualizations on the fly using an existing app by injecting them into the web page.
- Dynamically modifying properties and attributes of the visualizations.
See: Creating visualizations on the fly with Qlik visual to get started using the <qlik-visual> web component.
Examples of use
Learn how to use the <qlik-visual> web component.
Qlik Sense app id.
If all Qlik visuals use visualizations from the same app, you only need to define appid for the first instance.
If you use visualizations from different apps you should always define appid.
Additional configuration parameters:
Visualization id. Used when displaying existing visualizations.
Visualization type. Used when creating a visualization on the fly. Can be one of:
Optional. Options to set.
See: Options for all the properties that can be set for each visualization type.
Column definitions, dimensions and measures. Each entry can be of the following structures:
If the NxDimension or the NxMeasure refer to a library dimension or a library measure, you also need to add qType : "measure" or "dimension".
This parameter is optional. Leave empty for visualizations that does not have dimensions or measures.
See: Columns for details and examples.