Sha256: 05dc1df0bb9d102adc416a0854b883f1f3a664dff26476e834e246bfd1aac5ec

Contents?: true

Size: 841 Bytes

Versions: 11

Compression:

Stored size: 841 Bytes

Contents

# -----------------------------------------------------------------------------
# Sets up chart labels configuration. These are the labels on top on the chart.
#
# 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=chart_label
  # for additional documentation, examples and futher detail.          
  class ChartLabel < Base  
    has_attribute :prefix, :suffix, :decimals, :decimal_char, :separator, :position,
                  :hide_zero, :as_percentage, :font, :bold, :size, :color,
                  :background_color, :alpha, :shadow, :bevel, :glow, :blur        
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
derailed-ziya-2.0.4 lib/ziya/components/chart_label.rb
derailed-ziya-2.0.6 lib/ziya/components/chart_label.rb
derailed-ziya-2.0.8 lib/ziya/components/chart_label.rb
ziya-2.0.0 lib/ziya/components/chart_label.rb
ziya-2.0.1 lib/ziya/components/chart_label.rb
ziya-2.0.2 lib/ziya/components/chart_label.rb
ziya-2.0.6 lib/ziya/components/chart_label.rb
ziya-2.0.7 lib/ziya/components/chart_label.rb
ziya-2.0.5 lib/ziya/components/chart_label.rb
ziya-2.0.4 lib/ziya/components/chart_label.rb
ziya-2.0.3 lib/ziya/components/chart_label.rb