diff options
| -rw-r--r-- | lib/axlsx/drawing/chart.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/axlsx/drawing/chart.rb b/lib/axlsx/drawing/chart.rb index e7fcc9e8..de87b91a 100644 --- a/lib/axlsx/drawing/chart.rb +++ b/lib/axlsx/drawing/chart.rb @@ -128,6 +128,11 @@ module Axlsx end end + # The size of the Title object of the chart. + def title_size=(v) + @title.text_size = v unless v.to_s.empty? + end + # Show the legend in the chart # @param [Boolean] v # @return [Boolean] |
