Basic object styling
These examples show how to apply basic styling to your Qlik Sense objects using custom themes. All properties referenced in the examples below are described in detail in Custom theme JSON properties.
Styling the titles
You can style the appearance of the titles of all chart types by defining the title object. It consists of the following properties:
- main: options to define the font color and the font size of the main title for all chart types, including custom object (visualization extensions and widgets).
- subTitle: options to define the font color and the font size of the subtitle for all chart types, including custom object (visualization extensions and widgets).
- footer: options to define the font color and the font size of the footer for all chart types, including custom object (visualization extensions and widgets). Also an option to define the background color of the footer.
Styling the labels
The appearance of the labels are styled by defining properties in the label object. You can define the font color and the font size for the name of the label and for the value labels.
Styling the chart axes
You can style the appearance of the axes of all chart types by defining the axis object. It consists of the following properties:
- title: options to define the font color and the font size of the axis titles for all chart types, including custom object (visualization extensions and widgets).
- label: options to define the font color and the font size of the axis labels for all chart types, including custom object (visualization extensions and widgets).
- line: options to define the major line color and the minor line color for all chart types, including custom object (visualization extensions and widgets).
Styling the chart grid
You can style the grid line color by defining properties in the grid object.
Styling the reference lines
You can style the reference line label font size and color by defining the referenceLine object. You can also style the appearance of reference lines that are out of range.
Styling the legends
The appearance of the chart legends are styled by defining properties in the legend object. You can define the font color and the font size for the legend title and for the legend labels.