Legends
Legends for variables and samples
legendBackgroundColor
color
Color for the legend background
See also:
legendBox
Default:
rgb(255,255,255)
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
legendBox
boolean
Flag to create a box around the legend
See also:
legendBackgroundColor,
legendBoxColor
Default:
true
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
legendBoxColor
color
Color for the box around the legend
See also:
legendBox
Default:
rgb(204,204,204)
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
legendColor
color
Color for the legends
Default:
rgb(0,0,0)
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
Font for the legends
Default:
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
legendFontSize
integer
Font size for the 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 legend scaling
factor
See also:
autoScaleFont,
legendScaleFontFactor
Default:
10
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
legendFontStyle
option
Font style for the legend. @default
Default:
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
legendPosition
option
Position for the legend in the graphs
Default:
right
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
legendScaleFontFactor
float
Scaling factor used to increase or decrease legend font size in the canvas.
Default:
1
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap
showLegend
boolean
Flag to show or not the legend in the graphs
Default:
true
Used in:
Area,
AreaLine,
Bar,
Barline,
Boxplot,
Candlestick,
Correletion,
DotLine,
Dotplot,
Heatmap,
Line,
Pie,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
TagCloud,
Treemap