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)

legendBackgroundBorderColor : "#9e0adb"

legendBackgroundBorderColor : "#ff7d00"


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

legendBackgroundBorderLineType : "rect"

legendBackgroundBorderLineType : "dashed"


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

legendBackgroundBorderSize : 2

legendBackgroundBorderSize : 0.5


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

legendBackgroundColor : "lightblue"

legendBackgroundColor : "lightgoldenrodyellow"


# legendColumns
Number of columns in legends
Type: integer
Default: 1

legendColumns : 1

legendColumns : 2

legendColumns : 3


# legendDirection
Direction for 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
Flag to position the legend inside the graphs
Type: boolean
Default: false

legendInside : true

legendInside : false


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

legendKeyBackgroundBorderColor : "#9e0adb"

legendKeyBackgroundBorderColor : "#ff7d00"


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

legendKeyBackgroundBorderLineType : "rect"

legendKeyBackgroundBorderLineType : "dotted"


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

legendKeyBackgroundBorderSize : 1

legendKeyBackgroundBorderSize : 0.5


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

legendKeyBackgroundColor : "#9e0adb"

legendKeyBackgroundColor : "#ff7d00"


# legendKeyMargin
Width in pixels for the legend key margin
Type: integer
Default: 5

# legendKeySize
Width in pixels for the legend key
Type: integer
Default: 15

legendKeySize : 5

legendKeySize : 50


# legendMax
Maximum number of items in the variable legends. If there are more items the legend will be hidden
Type: integer
Default: 50

legendMax : 2

legendMax : 4


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

# legendOrderByCols
Flag to draw legends by columns in the graphs
Type: boolean
Default: true

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

legendPosition : "right"

legendPosition : "bottom"


# legendRows
Number of rows in legends
Type: integer
Default: 1

# legendStyleGgplot
Flag to use ggplot style for the size legends
Type: boolean
Default: false

# legendTextColor
Color for the text in legends
Type: color
Default: rgb(0,0,0)

legendTextColor : "#9e0adb"

legendTextColor : "#ff7d00"


# 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

legendTextFontStyle : "bold"

legendTextFontStyle : "bold italic"


# legendTextMargin
Margin to pad or separate the characters in the legends
Type: float
Default: 8

legendTextMargin : 5

legendTextMargin : 15


# legendTextRotate
Rotation in degrees for the legends
Type: integer
Default:

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

legendTextScaleFontFactor : 0.5

legendTextScaleFontFactor : 1.5


# legendTitleAlign
Alignment (or position) for the legends
Type: string
Default: left
Options: left, center, right

legendTitleAlign : "left"

legendTitleAlign : "center"

legendTitleAlign : "right"


# legendTitleColor
Color for the text in legends
Type: color
Default: rgb(0,0,0)

legendTitleColor : "#9e0adb"

legendTitleColor : "#ff7d00"


# 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

legendTitleFontStyle : "bold"

legendTitleFontStyle : "bold italic"


# legendTitleMargin
Margin to pad or separate the characters in the legends
Type: float
Default: 8

legendTitleMargin : 5

legendTitleMargin : 15


# legendTitleRotate
Rotation in degrees for the legends
Type: integer
Default:

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

legendTitleScaleFontFactor : 0.5

legendTitleScaleFontFactor : 1.5


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

# showColorEdgeLegend
Flag to show/hide the legend edge color
Type: boolean
Default: true

showColorEdgeLegend : true

showColorEdgeLegend : false


# showColorLabelLegend
Flag to show/hide the legend label color
Type: boolean
Default: true

# showColorLegend
Flag to show/hide the legend color
Type: boolean
Default: true

showColorLegend : true

showColorLegend : false


# showColorNodeLegend
Flag to show/hide the legend node color
Type: boolean
Default: true

showColorNodeLegend : true

showColorNodeLegend : false


# showConnectLegend
Flag to show/hide the legend connect
Type: boolean
Default: true

showConnectLegend : true

showConnectLegend : false


# showLegend
Flag to show/hide the legend
Type: boolean
Default: true

showLegend : true

showLegend : false


# showLegendBorder
Flag to show/hide the the legend border
Type: boolean
Default: true

showLegendBorder : true

showLegendBorder : false


# showLegendTitle
Flag to show/hide the the legend title
Type: boolean
Default: true

showLegendTitle : true

showLegendTitle : false


# showLineLegend
Flag to show/hide the legend line
Type: boolean
Default: true

showLineLegend : true

showLineLegend : false


# showOutlineLegend
Flag to show/hide the legend outline
Type: boolean
Default: true

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

showPatternLegend : true

showPatternLegend : false


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

showPatternNodeLegend : true

showPatternNodeLegend : false


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

# showShapeLegend
Flag to show/hide the legend shape
Type: boolean
Default: true

showShapeLegend : true

showShapeLegend : false


# showShapeNodeLegend
Flag to show/hide the legend node shape
Type: boolean
Default: true

showShapeNodeLegend : true

showShapeNodeLegend : false


# showSizeEdgeLegend
Flag to show/hide the legend edge size
Type: boolean
Default: true

showSizeEdgeLegend : true

showSizeEdgeLegend : false


# showSizeLabelLegend
Flag to show/hide the legend label size
Type: boolean
Default: true

# showSizeLegend
Flag to show/hide the legend size
Type: boolean
Default: true

showSizeLegend : true

showSizeLegend : false


# showSizeNodeLegend
Flag to show/hide the legend node size
Type: boolean
Default: true

showSizeNodeLegend : true

showSizeNodeLegend : false


# showVariableLegend
Flag to show/hide the legend variable
Type: boolean
Default: true

showVariableLegend : true

showVariableLegend : false