Sha256: 501d1a566b5c042dd9fcee265257c7c5c52404360eaaab4b8fc13bc91e6e8775

Contents?: true

Size: 1.35 KB

Versions: 11

Compression:

Stored size: 1.35 KB

Contents

# -----------------------------------------------------------------------------
# Sets up chart vertical grid configuration
#
# Author:: Fernand
# -----------------------------------------------------------------------------
module Ziya::Components
  # Sets the chart's vertical grid attributes.
  #
  # <tt>thickness</tt>:   The thickness of the grid's vertical lines. Valid values are zero and above.
  #                       Zero makes the vertical lines invisible.
  #                       The default is zero.
  # <tt>color</tt>:       The grid's vertical color. This must be a string holding triple hexadecimal values
  #                       representing the red, green, and blue components for a color.
  #                       The default is "000000" (black).
  # <tt>alpha</tt>:       The grid's vertical transparency value. Valid values are 0 (fully transparent)
  #                       to 100 (fully opaque).
  #                       The default is 20.
  # <tt>type</tt>:        The grid's vertical line type. Valid values are solid, dotted, and dashed.
  #                       The default is solid.
  #
  # See http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=chart_grid_v
  # for additional documentation, examples and futher detail.
  #  
  class ChartGridV < Base  
    has_attribute :thickness, :color, :alpha, :type                 
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
derailed-ziya-2.0.4 lib/ziya/components/chart_grid_v.rb
derailed-ziya-2.0.6 lib/ziya/components/chart_grid_v.rb
derailed-ziya-2.0.8 lib/ziya/components/chart_grid_v.rb
ziya-2.0.0 lib/ziya/components/chart_grid_v.rb
ziya-2.0.1 lib/ziya/components/chart_grid_v.rb
ziya-2.0.2 lib/ziya/components/chart_grid_v.rb
ziya-2.0.6 lib/ziya/components/chart_grid_v.rb
ziya-2.0.7 lib/ziya/components/chart_grid_v.rb
ziya-2.0.5 lib/ziya/components/chart_grid_v.rb
ziya-2.0.4 lib/ziya/components/chart_grid_v.rb
ziya-2.0.3 lib/ziya/components/chart_grid_v.rb