ValueLegend
Type class
This class displays a color range used by areas (in case you set values for your areas).
Sources
This information about ValueLegend is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
ValueLegend does not extend any other symbol.
ValueLegend is not extended by any other symbol.
Properties
borderAlphaType
numberDefault1Border opacity.
borderColorType
colorDefault#FFFFFFBorder color.
borderThicknessType
numberDefault1Border thickness.
bottomType
numberDefault10Distance from bottom of the map container to the value legend.
colorType
colorDefault#000000Text color.
enabledType
booleanDefaulttrueSpecifies if value legend is enabled.
fontSizeType
numberDefault11Font size.
heightType
numberDefault12Height of value legend.
leftType
numberDefault10Distance from left of the map container to the value legend.
maxValueType
stringValue, which will be displayed on the right of the legend (will display max value in case not set any).
minValueType
stringDefault0Value which will be displayed on the left of a legend.
rightType
numberDistance from right of the map container to the value legend.
showAsGradientType
booleanDefaultfalseSpecifies if color range should be displayed as a gradient or as a set of rectangles, each with different color.
topType
numberDistance from top of the map container to the value legend.
widthType
numberDefault200Width of value legend.
Methods
ValueLegend does not have any methods.
Events
ValueLegend does not have any events.