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


# legendBackgroundBorderLineType

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

# legendBackgroundBorderSize


# legendBackgroundColor


# legendColumns


# legendDirection

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

# legendHorizontalJustification

Horizontal justification for legends when legend are in top or bottom positions
Type: float
Default: 0.5

# 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


# legendKeyBackgroundColor


# legendKeyMargin


# legendKeySize


# 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


# legendTextBaseline


# 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: 11

# 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


# legendTitleBaseline


# 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: 11

# 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

# legendVerticalJustification

Vertical justification for legends when legend are in left or right positions
Type: float
Default: 0.5

# showColorEdgeLegend


# showColorLabelLegend


# showColorLegend


# showColorNodeLegend


# showConnectLegend


# showLegend


# showLegendBorder


# showLegendTitle


# showLineLegend


# showOutlineLegend


# showPatternLegend


# showPatternNodeLegend


# showSampleLegend

Flag to show/hide the legend sample. Not implemented!!!!!
Type: boolean
Default: true

# showShapeLegend


# showShapeNodeLegend


# showSizeEdgeLegend


# showSizeLabelLegend


# showSizeLegend


# showSizeNodeLegend


# showVariableLegend