Class: Ambling::Line::Settings::PlotArea

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/line.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



271
272
273
# File 'lib/ambling/line.rb', line 271

def alpha
  @alpha
end

#border_alphaObject

0

(0 - 100)



281
282
283
# File 'lib/ambling/line.rb', line 281

def border_alpha
  @border_alpha
end

#border_colorObject

#000000

(hex color code)



276
277
278
# File 'lib/ambling/line.rb', line 276

def border_color
  @border_color
end

#colorObject

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



266
267
268
# File 'lib/ambling/line.rb', line 266

def color
  @color
end

#marginsObject

plot area margins



286
287
288
# File 'lib/ambling/line.rb', line 286

def margins
  @margins
end