Class: Ambling::Xy::Settings::PlotArea

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

Overview

PLOT AREA (the area between axes)

Defined Under Namespace

Classes: Margins

Constant Summary collapse

VALUES =
[:color,:alpha,:border_color,:border_alpha,:margins]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

0

(0 - 100) if you want it to be different than background color, use bigger than 0 value



241
242
243
# File 'lib/ambling/xy.rb', line 241

def alpha
  @alpha
end

#border_alphaObject

0

(0 - 100)



251
252
253
# File 'lib/ambling/xy.rb', line 251

def border_alpha
  @border_alpha
end

#border_colorObject

#000000

(hex color code)



246
247
248
# File 'lib/ambling/xy.rb', line 246

def border_color
  @border_color
end

#colorObject

[#FFFFFF](hex color code) Separate color codes with comas for gradient



236
237
238
# File 'lib/ambling/xy.rb', line 236

def color
  @color
end

#marginsObject

plot area margins



256
257
258
# File 'lib/ambling/xy.rb', line 256

def margins
  @margins
end