Class Ambling::Column::Settings::Legend
In: lib/ambling/column.rb
Parent: Object

LEGEND

Included Modules

Base

Classes and Modules

Class Ambling::Column::Settings::Legend::Key

Constants

VALUES = [:enabled,:x,:y,:width,:max_columns,:color,:alpha,:border_color,:border_alpha,:text_color,:text_size,:spacing,:margins,:reverse_order,:key]

Attributes

alpha  [RW] 
0
(0 - 100) background alpha
border_alpha  [RW] 
0
(0 - 100) border alpha
border_color  [RW] 
000000
(hex color code) border color
color  [RW] 
FFFFFF
(hex color code) background color
enabled  [RW] 
true
(true / false)
key  [RW]  KEY (the color box near every legend entry)
margins  [RW] 
0
(Number) legend margins (space between legend border and legend entries, recommended to use only if legend border is visible or background color is different from chart area background color)
max_columns  [RW] 
(Number) the maximum number of columns in the legend
reverse_order  [RW] 
false
(true / false) whether to sort legend entries in a reverse order
spacing  [RW] 
10
(Number) vertical and horizontal gap between legend entries
text_color  [RW] 
text_color
(hex color code)
text_size  [RW] 
text_size
(Number)
width  [RW] 
(Number) if empty, will be equal to plot area width
x  [RW] 
(Number) if empty, will be equal to left margin
y  [RW] 
(Number) if empty, will be below plot area

[Validate]