summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/bar_3D_chart.rb
AgeCommit message (Collapse)Author
2023-05-31Remove redundant parenthesesGeremia Taglialatela
- Style/ParenthesesAroundCondition - Style/RedundantParentheses - Style/TernaryParentheses `Style/ParenthesesAroundCondition` may be questionable, but a majority of comparison where not using parentheses, so offenses have been fixed for uniformity across the codebase
2023-05-31Use Ruby 1.9 hash syntaxGeremia Taglialatela
2023-05-05Pipe output directly to str and avoid additional memory allocationsPaul Kmiec
Currently, there are lots of examples of code like this, ``` str << ('<tag ' << foo << ' ' << bar << '/>') ``` which create the string for the tag in memory before piping to str. We can avoid creating all of these intermediate strings by dropping the paranthesis and piping directly to str. This relies on the `str` passed around to handle lots of small appends. This is a problem when using RubyZip, but that is solved in the next commit.
2023-05-04Fix tests / code to work with frozen string literalsPaul Kmiec
2023-05-04Enable Style/FrozenStringLiteralComment and autocorrectPaul Kmiec
2023-04-10Fix Layout/LeadingCommentSpace offensesGeremia Taglialatela
``` rubocop --only Layout/LeadingCommentSpace -a ```
2023-04-09Fix offenses related to indentation consistencyGeremia Taglialatela
2023-04-08Fix space-related offensesGeremia Taglialatela
- Layout/SpaceAfterComma - Layout/SpaceAroundEqualsInParameterDefault - Layout/SpaceAroundOperators - Layout/SpaceBeforeBlockBraces - Layout/SpaceInsideBlockBraces - Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideParens
2023-04-08Fix EmptyLines related offensesGeremia Taglialatela
2023-04-06Fix Style/Encoding offensesGeremia Taglialatela
``` rubocop --only Style/Encoding -a ```
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.
2014-02-26Huge refactoringJurriaan Pruis
Do not create huge strings Let Row inherit from SimpleTypedList Optimized sanitizing Optimized validation And more..
2013-06-27Fixes Issue #202 Axes are borked in Bar3DChart by requiring axis order in ↵Moses Hohman
the constructor
2013-04-19Added prep for 1.3.6 releaseRandy Morgan
2013-03-17Fixed LineChart and refactored chart axes managementRandy Morgan
2013-01-23Updated chart vary_colorsRandy Morgan
This sets the proper default for each chart type and lets us change it as we need.
2012-07-23more cleanup for optional data label attributesRandy Morgan
2012-07-20data labels for bar and line chartsRandy Morgan
2012-07-08adding in some excel bar chart defaults for LO interop testingRandy Morgan
2012-07-03more work on snake case standardizationRandy Morgan
2012-04-03pre-release cleanupRandy Morgan
2012-04-01rebuild all serialization to use string concatenation instead of nokogiri.Randy Morgan
2012-04-01part way through changing all serialization to use string concatenation ↵Randy Morgan
prior to dropping Nokogiri dep in production.
2012-02-12Adding in support for optionally using the shared strings table. This will ↵Randy Morgan
allow us to inter-op properly with Numbers
2011-12-08cleaning up xml namespace usage in drawings and improving looks for charts ↵Randy Morgan
in excel 2011
2011-11-26adding in support for ruby 1.9.3Randy Morgan
release version 1.0.9
2011-11-23-refactoring chart position and axis data/category for chart.Randy Morgan
-additional specs and documentation improvements.
2011-11-21Adding in support for line charts, style attribute for all charts and minor ↵Randy Morgan
bug fixes.
2011-11-20first commitRandy Morgan