Click or drag to resize
ColorMode Class
Color settings.
Inheritance Hierarchy
SystemObject
  Qlik.EngineAbstractStructure
    Qlik.Sense.Client.Visualizations.ComponentsColorMode

Namespace: Qlik.Sense.Client.Visualizations.Components
Assembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public class ColorMode : AbstractStructure, IColorMode, 
	IAbstractStructure

The ColorMode type exposes the following members.

Constructors
  NameDescription
Public methodColorMode
Creates an instance of the ColorMode class
Top
Methods
  NameDescription
Public methodAddT
Adds an element to the abstract structure
(Inherited from AbstractStructure.)
Public methodAsT
Interpret abstract structure as a different type.
(Inherited from AbstractStructure.)
Public methodCloneAsT
Clone object to another AbstractStructure type.
(Inherited from AbstractStructure.)
Public methodCloneSubstructureAsT
Clone a substructure of the abstract structure and interprets it as type T.
(Inherited from AbstractStructure.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from AbstractStructure.)
Public methodGetT(String)
Retrieves a relative element of the abstract structure
(Inherited from AbstractStructure.)
Public methodGetT(String, T)
Retrieves an element of the abstract structure and interprets it as type T.
(Inherited from AbstractStructure.)
Public methodGetAllProperties
Gets all the property names in the structure
(Inherited from AbstractStructure.)
Public methodGetAllPropertyPaths
Gets the path to all properties names in the structure
(Inherited from AbstractStructure.)
Public methodGetMemberT Obsolete.
Retrieves a relative element of the abstract structure
(Inherited from AbstractStructure.)
Public methodIsSet
Checks if a property is set
(Inherited from AbstractStructure.)
Public methodPrintStructure (Inherited from AbstractStructure.)
Public methodReadJson
Read the structure of the object from the argument reader.
(Inherited from AbstractStructure.)
Public methodSetT
Sets a relative element of the abstract structure
(Inherited from AbstractStructure.)
Public methodSetMemberT Obsolete.
Sets a relative element of the abstract structure
(Inherited from AbstractStructure.)
Public methodWriteJson
Write the full json structure of the object to the argument writer.
(Inherited from AbstractStructure.)
Top
Extension Methods
  NameDescription
Public Extension MethodIf (Defined by StructureExpressionExtensions.)
Public Extension MethodSwitch (Defined by StructureExpressionExtensions.)
Top
Properties
  NameDescription
Public propertyAuto
Use automatic coloring.
Public propertyAutoMinMax
Use automatic min/max for measure color.
Public propertyDimensionId
Id of the dimension to base coloring on. Should use the cId on the dimension.
Public propertyDimensionScheme
Dimension color scheme.
Public propertyExpressionIsColor
Whether the result of the expression is a valid CSS3 color.
Public propertyExpressionLabel
Label to show on tooltips when using an expression for coloring. Only used when expressionIsColor is set to false.
Public propertyMeasureMax
Public propertyMeasureMin
Public propertyMeasureScheme
Measure color scheme. 's' is for sequential, 'd' for diverging, 'g' for gradient, 'c' for classes.
Public propertyMode
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
Public propertyPersistent
Use persistent colors on data points between selections.
Public propertyReverseScheme
Reverse the color scheme.
Public propertySession
The session from which this structure was created.
(Inherited from AbstractStructure.)
Public propertySingleColor
Single color.
Top
See Also