summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/chart.rb
diff options
context:
space:
mode:
authorrandym <[email protected]>2017-04-01 18:45:54 +0900
committerrandym <[email protected]>2017-04-01 18:45:54 +0900
commit83e23982914e87bb4f2feb00c508580b8fa85cdb (patch)
tree26f13718f0a2494a65c73a2c3d95146cc50b5bf4 /lib/axlsx/drawing/chart.rb
parentb4bdbfa6a3da344a7bd5a1d433be6488435b94f8 (diff)
downloadcaxlsx-83e23982914e87bb4f2feb00c508580b8fa85cdb.tar.gz
caxlsx-83e23982914e87bb4f2feb00c508580b8fa85cdb.zip
chore(doc): document some members
Diffstat (limited to 'lib/axlsx/drawing/chart.rb')
-rw-r--r--lib/axlsx/drawing/chart.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/chart.rb b/lib/axlsx/drawing/chart.rb
index de87b91a..d3a7e9ff 100644
--- a/lib/axlsx/drawing/chart.rb
+++ b/lib/axlsx/drawing/chart.rb
@@ -56,7 +56,7 @@ module Axlsx
# Indicates that colors should be varied by datum
# @return [Boolean]
attr_reader :vary_colors
-
+
# Configures the vary_colors options for this chart
# @param [Boolean] v The value to set
def vary_colors=(v) Axlsx::validate_boolean(v); @vary_colors = v; end
@@ -129,6 +129,8 @@ module Axlsx
end
# The size of the Title object of the chart.
+ # @param [String] v The size for the title object
+ # @see Title
def title_size=(v)
@title.text_size = v unless v.to_s.empty?
end