Sha256: d265eb6b313319a050502a1357205c9967d9f3332d6844fa4575c286262ec99f

Contents?: true

Size: 1.36 KB

Versions: 11

Compression:

Stored size: 1.36 KB

Contents

# -----------------------------------------------------------------------------
# Sets up chart horizontal grid configuration
#
# Author:: Fernand
# -----------------------------------------------------------------------------
module Ziya::Charts::Support
  # Sets the chart's horizontal grid attributes.
  #
  # <tt>thickness</tt>:   The thickness of the grid's horizontal lines. Valid values are zero and above.
  #                       Zero makes the horizontal lines invisible.
  #                       The default is 1.
  # <tt>color</tt>:       The grid's horizontal 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 horizontal transparency value. Valid values are 0 (fully transparent)
  #                       to 100 (fully opaque).
  #                       The default is 20.
  # <tt>type</tt>:        The grid's horizontal 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_h
  # for additional documentation, examples and futher detail.  
  class ChartGridH < Base  
    has_attribute :thickness, :color, :alpha, :type           
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
derailed-ziya-2.1.0 lib/ziya/charts/support/chart_grid_h.rb
derailed-ziya-2.1.1 lib/ziya/charts/support/chart_grid_h.rb
derailed-ziya-2.1.2 lib/ziya/charts/support/chart_grid_h.rb
derailed-ziya-2.1.3 lib/ziya/charts/support/chart_grid_h.rb
derailed-ziya-2.1.4 lib/ziya/charts/support/chart_grid_h.rb
derailed-ziya-2.1.5 lib/ziya/charts/support/chart_grid_h.rb
ziya-2.3.0 lib/ziya/charts/support/chart_grid_h.rb
ziya-2.1.9 lib/ziya/charts/support/chart_grid_h.rb
ziya-2.1.8 lib/ziya/charts/support/chart_grid_h.rb
ziya-2.1.7 lib/ziya/charts/support/chart_grid_h.rb
ziya-2.1.6 lib/ziya/charts/support/chart_grid_h.rb