Class: Ziya::Charts::Support::Filter
- Defined in:
- lib/ziya/charts/support/filter.rb
Overview
Specifies the various filters that can be reused across components ie blur, bevel, glow, etc… See www.maani.us/xml_charts/index.php?menu=Reference&submenu=filter for additional documentation, examples and futher detail.
Instance Method Summary collapse
-
#flatten(xml) ⇒ Object
————————————————————————- Dump has_attribute into xml element.
Methods inherited from Base
#==, attributes, #attributes_for, #configured?, has_attribute, #has_sub_components, #initialize, #merge, #options, #options_as_string
Constructor Details
This class inherits a constructor from Ziya::Charts::Support::Base
Instance Method Details
#flatten(xml) ⇒ Object
Dump has_attribute into xml element
18 19 20 21 22 23 24 |
# File 'lib/ziya/charts/support/filter.rb', line 18 def flatten( xml ) if filters xml.filter do filters.each { |comp| comp.flatten( xml ) } end end end |