diff options
| author | Stefan <[email protected]> | 2022-05-15 19:16:55 +0200 |
|---|---|---|
| committer | Stefan Daschek <[email protected]> | 2022-05-18 13:04:15 +0200 |
| commit | 3c8831827fc789cda2fe5333910710f4d75547d5 (patch) | |
| tree | c9039891c89d022caf87d25929edc3296a552bcd /lib/axlsx/drawing/num_data_source.rb | |
| parent | 7a1ec08ad38c989ba7b9b30ef69d0143f71ba746 (diff) | |
| download | caxlsx-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
