Sha256: 56f7ed46177900be8c26d840a7270905d394ed8c32aa18591fec42a597da003e

Contents?: true

Size: 895 Bytes

Versions: 11

Compression:

Stored size: 895 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, :note => "Hi there !"} ] )
#
# Author:: Fernand Galiana
# -----------------------------------------------------------------------------
module Ziya::Charts::Support
  # Specifies an annotation look and feel on a chart. 
  # See http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=chart_note
  # for additional documentation, examples and futher detail.          
  class ChartNote < Base  
    has_attribute :type, :x, :y, :offset_x, :offset_y,
                  :font, :bold, :size, :color, :alpha, 
                  :background_color, :background_alpha, :shadow, :bevel, :glow, :blur        
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
derailed-ziya-2.1.0 lib/ziya/charts/support/chart_note.rb
derailed-ziya-2.1.1 lib/ziya/charts/support/chart_note.rb
derailed-ziya-2.1.2 lib/ziya/charts/support/chart_note.rb
derailed-ziya-2.1.3 lib/ziya/charts/support/chart_note.rb
derailed-ziya-2.1.4 lib/ziya/charts/support/chart_note.rb
derailed-ziya-2.1.5 lib/ziya/charts/support/chart_note.rb
ziya-2.3.0 lib/ziya/charts/support/chart_note.rb
ziya-2.1.9 lib/ziya/charts/support/chart_note.rb
ziya-2.1.8 lib/ziya/charts/support/chart_note.rb
ziya-2.1.7 lib/ziya/charts/support/chart_note.rb
ziya-2.1.6 lib/ziya/charts/support/chart_note.rb