summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing
AgeCommit message (Collapse)Author
2023-04-07Fix Layout/EmptyLinesAroundBlockBody offensesGeremia Taglialatela
``` rubocop --only Layout/EmptyLinesAroundBlockBody -a ```
2023-04-06Fix Layout offenses related to access modifiersGeremia Taglialatela
``` rubocop --only Layout/EmptyLinesAroundAccessModifier,Layout/AccessModifierIndentation -a ```
2023-04-06Fix Layout/CommentIndentation offensesGeremia Taglialatela
``` rubocop --only Layout/CommentIndentation -a ```
2023-04-06Fix Layout/EmptyLineBetweenDefs offensesGeremia Taglialatela
``` rubocop --only Layout/EmptyLineBetweenDefs -a ```
2023-04-06Fix Layout/EmptyLines offensesGeremia Taglialatela
``` rubocop --only Layout/EmptyLines -a ```
2023-04-06Fix Style/Encoding offensesGeremia Taglialatela
``` rubocop --only Style/Encoding -a ```
2023-04-06Fix Layout/TrailingEmptyLines offensesGeremia Taglialatela
``` rubocop --only Layout/TrailingEmptyLines -a ```
2023-04-06Remove Layout/TrailingWhitespace offensesGeremia Taglialatela
``` rubocop --only Layout/TrailingWhitespace -a ```
2022-06-05Implement “rounded corners” setting for chartsStefan
Until now this setting was not present in the generated XML. According to the ECMA spec the setting defaults to true, so charts always had rounded corners. Now rounded corners can be disabled explicitly.
2022-06-01Implement “plot visible only” setting for chartsStefan
Until now this setting was hardcoded to `true`. The setting affects whether data from hidden cells (cells width zero height or width) is used when plotting the chart.
2022-05-18Completely hide chart titles if blankStefan
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.
2022-05-18Implement `Title#empty?`Stefan
This is primarily a refactoring, but exposing it as a public method seems useful.
2022-05-18Fix missing cell reference for chart title when cell emptyStefan
Before this change, creating a chart title referencing an empty cell would lose the cell reference. If the cell was later set to a non-blank value (either during generating the file, or while editing it in a spreadsheet app), the chart title would stay blank.
2022-03-02instance_values -> instance_values_forpjskennedy
2022-03-02Update references to use new class methodpjskennedy
2022-02-07Merge branch 'master' into feature/manageable-scatter-markersOleg Yakovenko
2021-07-25Fix gap width validator for bar charts (#108)Zsolt Kozaroczy
`gap_width` and `gap_depth` now allow only integers in the range of 0–500. The previous behaviour (requiring a percentage value) was according to the current version of the OOXML spec, but Excel seems to rely on an older version, where the gap amount was required to be a simple integer. Also, `gapDepth` is only allowed in 3D bar charts, so it is now no longer available for 2D bar charts.
2021-07-24Add overlap to bar charts (#107)Zsolt Kozaroczy
2021-04-26Add option to define a series color for the BarSeries (#81)Zsolt Kozaroczy
2021-03-05feature: useless assignment removedOleg Yakovenko
2021-03-05feature: helper method naming adjustmentOleg Yakovenko
2021-03-05feature: spec fixOleg Yakovenko
2021-03-05feature: handle default marker symbolOleg Yakovenko
2021-03-02feature: respect marker preferences without color specificationOleg Yakovenko
2021-03-01feature: marker symbol management for scatter seriesOleg Yakovenko
2021-03-01feature: scatter series should respect marker preference of parent chartOleg Yakovenko
2020-08-24Explosion explosion fixed - issue 58Noel Peden
2020-07-09fix typo in documentation for label_position (#52)Viktor Polyakov
2019-12-29Escape special characters in charts (#40)Zsolt Kozaroczy
Fixes #37
2019-12-17Fix typos in BarChart commentsKoza
2019-12-15Fix rdoc for BarSeries#shapeStefan Daschek
2018-02-08chore(coverage) increase coverage and cleanuprandym
2018-02-06Merge branch 'master' into release-3.0.0randym
2017-11-17Add support for non-3D bar chartsDavid N. Robinson
2017-11-07Add support for area chartsDavid N. Robinson
2017-04-01chore(doc): document some membersrandym
2017-04-01fix(options): fix parsing for start_at end_atrandym
2017-04-01fix(two_cell_anchor): spat arguments for start_at, end_at when they are in ↵randym
the options hash
2016-11-12fix warning: constant ::Fixnum is deprecatedtakkanm
fix Fixnum deprecated warning on Ruby2.4-preview3. Fixnum was unify into Integer. https://bugs.ruby-lang.org/issues/12005
2015-09-22Escape special characters in chart `StrVal`Clark Cutler
So that, for example, pie charts can render with labels that include an ampersand
2015-08-07Merge branch 'master' of https://github.com/woto/axlsxRuslan Kornev
2015-08-07allow to use d_lbl_pos for LineChartRuslan Kornev
2015-07-29num_val.rb, str_val.rb: added checking for nil values in to_xml_stringErik Veijola
Signed-off-by: Erik Veijola <[email protected]>
2015-07-28scatter_series.rb: added line_width to scatter seriesErik Veijola
Signed-off-by: Erik Veijola <[email protected]>
2015-07-28chart.rb: added method to set font size of Title object in chartErik Veijola
Signed-off-by: Erik Veijola <[email protected]>
2015-07-28title.rb: added text_size to set the font size of the titleErik Veijola
Signed-off-by: Erik Veijola <[email protected]>
2015-07-05Fix Axlsx::LineSeries#marker_symbol and add testsJonathan Tron
2015-07-05Merge branch 'marker_symbols' of https://github.com/mfrank01/axlsx into ↵Jonathan Tron
mfrank01-marker_symbols
2015-07-04Add a little bit of doc, remove warning by using attr_readerJonathan Tron
2015-07-04Merge branch 'master' of https://github.com/alankessler/axlsx into ↵Jonathan Tron
alankessler-master