Module: GoogleChart::Label
- Included in:
- PieChart
- Defined in:
- lib/google_chart/modules/label.rb
Overview
This module is used as a mixin for providing legend functionality
Class Method Summary (collapse)
Class Method Details
+ (Object) included(mod)
4 5 6 7 8 9 10 11 12 |
# File 'lib/google_chart/modules/label.rb', line 4 def self.included(mod) mod.class_eval do attr_accessor :show_labels def show_labels? @show_labels end end end |