LegendConfig

interface LegendConfig : Font, Stroke

The configuration for the Legend.

Properties

backgroundColor
Link copied to clipboard
common
abstract var backgroundColor: Color?
Legend background color.
fontColor
Link copied to clipboard
common
abstract var fontColor: Color
The font Color.
fontFamily
Link copied to clipboard
common
abstract var fontFamily: FontFamily
The font family (FontFamily).
fontSize
Link copied to clipboard
common
abstract var fontSize: Double
The font size.
fontStyle
Link copied to clipboard
common
abstract var fontStyle: FontPosture
The font posture (FontPosture): italic or normal.
fontWeight
Link copied to clipboard
common
abstract var fontWeight: FontWeight
The font weight (FontWeight): bold or normal.
layout
Link copied to clipboard
common
abstract var layout: LegendLayout
The layout details how to display the legend.
padding
Link copied to clipboard
common
abstract var padding: Padding
Padding of your legend box.
position
Link copied to clipboard
common
abstract var position: LegendPosition
The position details where to display the legend.
show
Link copied to clipboard
common
abstract var show: LegendVisibility
Show or hide the Legend.
strokeColor
Link copied to clipboard
common
abstract var strokeColor: Color?
The stroke Color, use null for no stroke.
strokeWidth
Link copied to clipboard
common
abstract var strokeWidth: Double?
The stroke thickness, null for no stroke.