Sha256: bc7186059bee6463c43d48996f3126511f042a59d3047219e6ac6ffaeaa43386

Contents?: true

Size: 937 Bytes

Versions: 2

Compression:

Stored size: 937 Bytes

Contents

# -----------------------------------------------------------------------------
# Describes the look and feel for a chart annotation. An annotation must be
# added using the Chart#add( :series) call using the hash definition ie
#
# chart.add( :series, "fred", [ { :value => 10, :tooltip => "Hi there !"} ] )
#
# Author:: Fernand Galiana
# -----------------------------------------------------------------------------
module Ziya::Components
  # Specifies the label for the chart element actual value. This can be setup to 
  # be fixed or as a tooltip
  # See http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=tooltip
  # for additional documentation, examples and futher detail.          
  class Tooltip < Base  
    has_attribute :font, :bold, :size, :color, :alpha, 
                  :background_color, :background_alpha, 
                  :duration,
                  :shadow, :bevel, :glow, :blur        
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
derailed-ziya-2.0.8 lib/ziya/components/tooltip.rb
ziya-2.0.7 lib/ziya/components/tooltip.rb