Sha256: 138909474077b4f1720557d6415753b54b6ab796742ca58d749c48abefacc7df
Contents?: true
Size: 629 Bytes
Versions: 11
Compression:
Stored size: 629 Bytes
Contents
# encoding: UTF-8 module Axlsx # A series title is a Title with a slightly different serialization than chart titles. class SeriesTitle < Title # Serializes the object # @param [String] str # @return [String] def to_xml_string(str = '') str << '<c:tx>' str << '<c:strRef>' str << ('<c:f>' << Axlsx::cell_range([@cell]) << '</c:f>') str << '<c:strCache>' str << '<c:ptCount val="1"/>' str << '<c:pt idx="0">' str << ('<c:v>' << @text << '</c:v>') str << '</c:pt>' str << '</c:strCache>' str << '</c:strRef>' str << '</c:tx>' end end end
Version data entries
11 entries across 11 versions & 6 rubygems