Class: Ziya::Charts::Support::ChartTransition

Inherits:
Base
  • Object
show all
Defined in:
lib/ziya/charts/support/chart_transition.rb

Overview

Sets the transition attributes for the chart elements.

type: 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.

delay: The delay in seconds before starting the transition.

The default is zero.

duration: The transition’s duration in seconds.

The default is 1.

order: The order in which to transition the chart’s parts. Valid values are series,

category, and all.
The default is all.

See www.maani.us/xml_charts/index.php?menu=Reference&submenu=chart_transition for additional documentation, examples and futher detail.

Method Summary

Methods inherited from Base

#==, attributes, #attributes_for, #configured?, #flatten, has_attribute, #has_sub_components, #initialize, #merge, #options, #options_as_string

Constructor Details

This class inherits a constructor from Ziya::Charts::Support::Base