summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/num_data_source.rb
diff options
context:
space:
mode:
authorStefan <[email protected]>2022-05-15 19:16:55 +0200
committerStefan Daschek <[email protected]>2022-05-18 13:04:15 +0200
commit3c8831827fc789cda2fe5333910710f4d75547d5 (patch)
treec9039891c89d022caf87d25929edc3296a552bcd /lib/axlsx/drawing/num_data_source.rb
parent7a1ec08ad38c989ba7b9b30ef69d0143f71ba746 (diff)
downloadcaxlsx-3c8831827fc789cda2fe5333910710f4d75547d5.tar.gz
caxlsx-3c8831827fc789cda2fe5333910710f4d75547d5.zip
Completely hide chart titles if blank
Before this change, a chart with a blank title would show up in Excel with a default title like “Chart title” or “Diagrammtitel”. It was not possible to completely hide a chart title: Setting it to an empty space would override Excel’s default, but the empty title did still occupy vertical space. Per OOXML standard the `title` element is optional, so omitting it if the title is blank looks like the right thing to do and seems to work correctly in Excel.
Diffstat (limited to 'lib/axlsx/drawing/num_data_source.rb')
0 files changed, 0 insertions, 0 deletions