Sha256: 1096032ec9549c560745d1554ffd8ce36a4278e2810c3293d1280ab4f7655e64

Contents?: true

Size: 1.28 KB

Versions: 11

Compression:

Stored size: 1.28 KB

Contents

# -----------------------------------------------------------------------------
# Sets up a transition when the chart first renders
#
# Author:: Fernand Galiana
# -----------------------------------------------------------------------------
module Ziya::Components
  # Sets the transition attributes for the chart elements.
  #
  # <tt>type</tt>:      The type of the transition. Valid values are dissolve, drop, spin, scale, zoom,
  #                     blink, slide_right, slide_left, slide_up, slide_down, and none.
  #                     The default is none, which draws the chart immediately without a transition.
  # <tt>delay</tt>:     The delay in seconds before starting the transition.
  #                     The default is zero.
  # <tt>duration</tt>:  The transition's duration in seconds.
  #                     The default is 1.
  # <tt>order</tt>:     The order in which to transition the chart's parts. Valid values are series,
  #                     category, and all.
  #                     The default is all.
  #
  # See http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=chart_transition
  # for additional documentation, examples and futher detail.  
  class ChartTransition < Base      
    has_attribute :type, :delay, :duration, :order                  
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

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