API Reference > imodeljs-common > DisplayStyles > AnalysisStyleScalar AnalysisStyleScalar Class Describes how an AnalysisStyle recolors Polyface vertices by mapping scalar values supplied by an AuxChannel to colors supplied by a AnalysisStyleScalar.Gradient image. see AnalysisStyle.scalar. Methods Name Description equals(other: AnalysisStyleScalar): boolean Return true if this is equivalent to other. toJSON(): AnalysisStyleScalarProps Convert to JSON representation. fromJSON(props: AnalysisStyleScalarProps): AnalysisStyleScalar Static Create from JSON representation. Properties Name Type Description channelName Readonly string The name of the AuxChannel supplying the scalar values from which the vertex colors are computed. gradient Accessor ReadOnly Gradient.Symb The gradient computed from AnalysisStyleScalar.thematicSettings. range Readonly Readonly<Range1d> The minimum and maximum scalar values that map to colors in the AnalysisStyleScalar.Gradient image. thematicSettings Readonly ThematicGradientSettings Settings used to produce the AnalysisStyleScalar.Gradient image. Defined in core/common/src/AnalysisStyle.ts Line 84 Last Updated: 12 June, 2024