Skip to main content Skip to complementary content

KpiLayout Class

Namespace: Qlik.Sense.Client.Visualizations
Assembly: Qlik.Sense.Client.dll

Inheritance

Syntax

public class KpiLayout : VisualizationBaseLayout, IDisposable, IKpiLayout, IVisualizationBaseLayout, IGenericObjectLayout, IAbstractStructure

Constructors

Name Description
KpiLayout()

Creates an instance of the KpiLayout class

Properties

Name Description
Color

JSON property name: color

FontSize

Changes the font size of the main value. [S : small, M : medium, L : large]

JSON property name: fontSize

HyperCube

JSON property name: qHyperCube

OpenUrlInNewTab

Boolean to set if the KPI will open in another tab when clicked (if false it will only redirect from the current page)

JSON property name: openUrlInNewTab

The id (as a string) of the sheet to link to

JSON property name: sheetLink

ShowMeasureTitle

Boolean to set if the main title (from the first measure) should be shown

JSON property name: showMeasureTitle

TextAlign

Aligns the text in the KPI object. [left, center, right]

JSON property name: textAlign

Boolean to set if the KPI will link to another sheet when clicked

JSON property name: useLink

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!