Sha256: 2747cdabd7c2f987b6cdb7c50f16a808d66f925cbc679e840e415482bf940c48
Contents?: true
Size: 778 Bytes
Versions: 20
Compression:
Stored size: 778 Bytes
Contents
# -*- coding: utf-8 -*- module Writexlsx class Chart class Caption include Writexlsx::Utility attr_accessor :name, :formula, :data_id, :name_font attr_reader :layout, :overlay, :none def initialize(chart) @chart = chart end def merge_with_hash(params) # :nodoc: @name, @formula = @chart.process_names(params[:name], params[:name_formula]) @data_id = @chart.data_id(@formula, params[:data]) @name_font = convert_font_args(params[:name_font]) @layout = @chart.layout_properties(params[:layout], 1) # Set the title overlay option. @overlay = params[:overlay] # Set the no automatic title option. @none = params[:none] end end end end
Version data entries
20 entries across 20 versions & 1 rubygems