Is there a way to define the number of decimals/format of the labels in the toc when using the class breaks renderer (GraduatedColorsRendererDefinition).
And,, if the field used for the renderer is empty. show a diferent output in the toc.
GraduatedColorsRendererDefinition gcDef = new GraduatedColorsRendererDefinition()
{
ClassificationField = "xyz",
ClassificationMethod = ClassificationMethod.NaturalBreaks,
BreakCount = 5,
ColorRamp = colorRamp,
ExclusionClause = $"{xyz} IS Null Or {xyz} = 0",
ExclusionSymbol = emptySymbol,
ExclusionLabel = "No value",
};
No values shows :
