Class: Ambling::Column::Settings::Background

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

Overview

BACKGROUND

Constant Summary collapse

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

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

0

(0 - 100) use 0 if you are using custom swf or jpg for background



358
359
360
# File 'lib/ambling/column.rb', line 358

def alpha
  @alpha
end

#border_alphaObject

0

(0 - 100)



368
369
370
# File 'lib/ambling/column.rb', line 368

def border_alpha
  @border_alpha
end

#border_colorObject

#000000

(hex color code)



363
364
365
# File 'lib/ambling/column.rb', line 363

def border_color
  @border_color
end

#colorObject

#FFFFFF

(hex color code) Separate color codes with comas for gradient



353
354
355
# File 'lib/ambling/column.rb', line 353

def color
  @color
end

#fileObject

The chart will look for this file in “path” folder (“path” is set in HTML)



373
374
375
# File 'lib/ambling/column.rb', line 373

def file
  @file
end