Legends : Legends for variables and samples

# customLegend

Custom legends : Array of objects [{ size : [], shape : [], shapeColor : [], line : [], lineColor : [], lineStart : [], lineEnd : [], text : [], x : number, y : number, title : string }]
Type: array
Default: []

# legendBackgroundBorderColor

Color for the border in legend background
Type: color
Default: rgba(255,255,255,0)

# legendBackgroundBorderLineType

Type of line for the border in legend background
Type: string
Default: solid
Options: rect, solid, spline, dotted, dashed, dotdash, longdash, twodash

# legendBackgroundBorderSize

Size for the border line in legend background
Type: float
Default: 0.5

# legendBackgroundColor

Color for the legend background
Type: color
Default: rgba(255,255,255,0)

# legendColumns


# legendDirection

Direction for the legend
Type: string
Default: vertical
Options: vertical, horizontal

# legendInside


# legendKeyBackgroundBorderColor

Color for the border in legend key background
Type: color
Default: rgba(255,255,255,0)

# legendKeyBackgroundBorderLineType

Type of line for the border in legend key background
Type: string
Default: solid
Options: rect, solid, spline, dotted, dashed, dotdash, longdash, twodash

# legendKeyBackgroundBorderSize

Size for the border line in legend key background
Type: float
Default: 1

# legendKeyBackgroundColor

Color for the legend key background
Type: color
Default: rgba(255,255,255,0)

# legendOrder

Object to specify custom order for the levels in the legends. The key of the object is the name of a valid sample or variable annotation included in the data object. The value for element is an array with the levels for the corresponding factor
Type: object
Default: false

# legendOrderByCols


# legendPosition

Position for the the legend
Type: string
Default: right
Options: topRight, right, bottomRight, bottom, bottomLeft, left, topLeft, top

# legendRows


# legendTextAlign

Align for the legends
Type: string
Default: left
Options: left, center, right

# legendTextBaseline

Baseline for the legends
Type: string
Default: middle
Options: top, middle, bottom

# legendTextColor


# legendTextFontSize

Font size for the text in legends. Be aware that auto scaling font must be turned off for this property to take effect. A more convenient way to modify the size is to use the legendTextScaleFontFactor
Type: integer
Default: 12

# legendTextFontStyle

Font style for the legends
Type: string
Default:
Options: , bold, italic, bold italic

# legendTextMargin


# legendTextRotate


# legendTextScaleFontFactor

Scaling factor used to increase or decrease the legends font size in the canvas
Type: float
Default: 1

# legendTitleAlign

Align for the legends
Type: string
Default: center
Options: left, center, right

# legendTitleBaseline

Baseline for the legends
Type: string
Default: middle
Options: top, middle, bottom

# legendTitleColor


# legendTitleFontSize

Font size for the text in legends. Be aware that auto scaling font must be turned off for this property to take effect. A more convenient way to modify the size is to use the legendTitleScaleFontFactor
Type: integer
Default: 13

# legendTitleFontStyle

Font style for the legends
Type: string
Default:
Options: , bold, italic, bold italic

# legendTitleMargin


# legendTitleRotate


# legendTitleScaleFontFactor

Scaling factor used to increase or decrease the legends font size in the canvas
Type: float
Default: 1

# showColorEdgeLegend


# showColorNodeLegend


# showLegend


# showLegendBorder


# showLegendTitle


# showPatternNodeLegend

Flag to show/hide the legend node pattern
Type: boolean
Default: true

# showShapeNodeLegend


# showSizeEdgeLegend


# showSizeNodeLegend