Class Ambling::Pie::Settings::Animation
In: lib/ambling/pie.rb
Parent: Object

Included Modules

Base

Constants

VALUES = [:start_time,:start_effect,:start_radius,:start_alpha,:pull_out_on_click,:pull_out_time,:pull_out_effect,:pull_out_radius,:pull_out_only_one]

Attributes

pull_out_effect  [RW] 
bounce
(bounce, regular, strong)
pull_out_on_click  [RW] 
true
(true / false) whether to pull out slices when user clicks on them (or on legend entry)
pull_out_only_one  [RW] 
false
(true / false) if set to true, when you click on any slice, all other slices will be pushed in
pull_out_radius  [RW] 
(Number) how far pie slices should be pulled-out then user clicks on them (if left empty, uses 20% of pie radius)
pull_out_time  [RW] 
0
(number) pull-out time (then user clicks on the slice)
start_alpha  [RW] 
0
(Number)
start_effect  [RW] 
bounce
(bounce, regular, strong)
start_radius  [RW] 
(Number) if left empty, will use pie.radius * 5
start_time  [RW] 
0
(Number) fly-in time in seconds. Leave 0 to appear instantly

[Validate]