Sha256: db6a1e720290d0ec3dd4d3e30e7a048e78fc12b089cf4c76837dbd7b7222ebac
Contents?: true
Size: 890 Bytes
Versions: 2
Compression:
Stored size: 890 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::Components # 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
derailed-ziya-2.0.8 | lib/ziya/components/chart_note.rb |
ziya-2.0.7 | lib/ziya/components/chart_note.rb |