lib/ziya/components/area.rb in ziya-1.0.0 vs lib/ziya/components/area.rb in ziya-2.0.0
- old
+ new
@@ -1,14 +1,17 @@
# -----------------------------------------------------------------------------
# Defines an area on a chart. Typically used to embed links and buttons
#
# Author:: Fernand Galiana
-# Date:: Dec 15th, 2006
# -----------------------------------------------------------------------------
require 'ziya/components/base'
module Ziya::Components
+ # Creates a linkable area on the chart to use with the link component.
+ # See http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=link
+ # for additional documentation, examples and futher detail.
class Area < Base
has_attribute :x, :y, :width, :height, :url, :priority, :target, :text,
- :font, :bold, :size, :color, :background_color, :alpha
+ :font, :bold, :size, :color, :background_color, :alpha,
+ :timeout, :retry, :spinning_wheel
end
end
\ No newline at end of file