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

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/column.rb

Overview

KEY (the color box near every legend entry)

Constant Summary collapse

VALUES =
[:size,:border_color]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#border_colorObject

(hex color code) leave empty if you don’t want to have border



905
906
907
# File 'lib/ambling/column.rb', line 905

def border_color
  @border_color
end

#sizeObject

16

(Number) key size



900
901
902
# File 'lib/ambling/column.rb', line 900

def size
  @size
end