Skip to main content Skip to complementary content

ColorMode Class

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

Color settings.

Inheritance

Syntax

public class ColorMode : AbstractStructure, IDisposable, IColorMode, IAbstractStructure

Constructors

Name Description
ColorMode()

Creates an instance of the ColorMode class

Properties

Name Description
Auto

Use automatic coloring.

JSON property name: auto

AutoMinMax

Use automatic min/max for measure color.

JSON property name: autoMinMax

DimensionScheme

Dimension color scheme.

JSON property name: dimensionScheme

ExpressionIsColor

Whether the result of the expression is a valid CSS3 color.

JSON property name: expressionIsColor

ExpressionLabel

Label to show on tooltips when using an expression for coloring. Only used when expressionIsColor is set to false.

JSON property name: expressionLabel

MeasureMax

JSON property name: measureMax

MeasureMin

JSON property name: measureMin

MeasureScheme

Measure color scheme. 's' is for sequential, 'd' for diverging, 'g' for gradient, 'c' for classes.

JSON property name: measureScheme

Mode

Sets the coloring mode for the chart. byExpression can only be used in conjunction with an attribute expression on the first measure: qHyperCubeDef.qMeasures.0.qAttributeExpressions.0.qExpression

JSON property name: mode

PaletteColor

Color information structure. Holds actual color and index in palette.

JSON property name: paletteColor

Persistent

Use persistent colors on data points between selections.

JSON property name: persistent

ReverseScheme

Reverse the color scheme.

JSON property name: reverseScheme

SingleColor

DEPRECATED: Use paletteColor instead.

JSON property name: singleColor

UseBaseColors

Use colors encoded in master items.

JSON property name: useBaseColors

UseDimColVal

Whether to apply colors from the used library dimension or not. Only used together with colorMode: byDimension.

JSON property name: useDimColVal

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!