gruff 0.6.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.editorconfig +14 -0
- data/.github/ISSUE_TEMPLATE.md +18 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +109 -0
- data/.rubocop_todo.yml +112 -0
- data/.travis.yml +24 -15
- data/.yardopts +1 -0
- data/{History.txt → CHANGELOG.md} +72 -25
- data/Gemfile +3 -7
- data/README.md +57 -25
- data/Rakefile +21 -192
- data/assets/plastik/blue.png +0 -0
- data/assets/plastik/green.png +0 -0
- data/assets/plastik/red.png +0 -0
- data/docker/Dockerfile +14 -0
- data/docker/build.sh +4 -0
- data/docker/launch.sh +4 -0
- data/gruff.gemspec +21 -13
- data/init.rb +2 -0
- data/lib/gruff.rb +26 -2
- data/lib/gruff/accumulator_bar.rb +18 -8
- data/lib/gruff/area.rb +33 -19
- data/lib/gruff/bar.rb +76 -45
- data/lib/gruff/base.rb +435 -704
- data/lib/gruff/bezier.rb +32 -17
- data/lib/gruff/bullet.rb +62 -68
- data/lib/gruff/dot.rb +38 -82
- data/lib/gruff/helper/bar_conversion.rb +47 -0
- data/lib/gruff/helper/bar_value_label_mixin.rb +30 -0
- data/lib/gruff/helper/stacked_mixin.rb +23 -0
- data/lib/gruff/histogram.rb +60 -0
- data/lib/gruff/line.rb +134 -170
- data/lib/gruff/mini/bar.rb +17 -10
- data/lib/gruff/mini/legend.rb +24 -36
- data/lib/gruff/mini/pie.rb +18 -12
- data/lib/gruff/mini/side_bar.rb +26 -12
- data/lib/gruff/net.rb +68 -81
- data/lib/gruff/patch/rmagick.rb +33 -0
- data/lib/gruff/patch/string.rb +10 -0
- data/lib/gruff/photo_bar.rb +39 -42
- data/lib/gruff/pie.rb +180 -89
- data/lib/gruff/renderer/bezier.rb +21 -0
- data/lib/gruff/renderer/circle.rb +21 -0
- data/lib/gruff/renderer/dash_line.rb +22 -0
- data/lib/gruff/renderer/dot.rb +39 -0
- data/lib/gruff/renderer/ellipse.rb +21 -0
- data/lib/gruff/renderer/line.rb +42 -0
- data/lib/gruff/renderer/polygon.rb +23 -0
- data/lib/gruff/renderer/polyline.rb +21 -0
- data/lib/gruff/renderer/rectangle.rb +19 -0
- data/lib/gruff/renderer/renderer.rb +132 -0
- data/lib/gruff/renderer/text.rb +53 -0
- data/lib/gruff/scatter.rb +163 -182
- data/lib/gruff/scene.rb +31 -41
- data/lib/gruff/side_bar.rb +81 -65
- data/lib/gruff/side_stacked_bar.rb +78 -62
- data/lib/gruff/spider.rb +49 -57
- data/lib/gruff/stacked_area.rb +40 -32
- data/lib/gruff/stacked_bar.rb +86 -53
- data/lib/gruff/store/base_data.rb +38 -0
- data/lib/gruff/store/custom_data.rb +38 -0
- data/lib/gruff/store/store.rb +80 -0
- data/lib/gruff/store/xy_data.rb +59 -0
- data/lib/gruff/themes.rb +32 -33
- data/lib/gruff/version.rb +3 -1
- metadata +80 -89
- data/Manifest.txt +0 -81
- data/RELEASE.md +0 -30
- data/assets/bubble.png +0 -0
- data/assets/city_scene/background/0000.png +0 -0
- data/assets/city_scene/background/0600.png +0 -0
- data/assets/city_scene/background/2000.png +0 -0
- data/assets/city_scene/clouds/cloudy.png +0 -0
- data/assets/city_scene/clouds/partly_cloudy.png +0 -0
- data/assets/city_scene/clouds/stormy.png +0 -0
- data/assets/city_scene/grass/default.png +0 -0
- data/assets/city_scene/haze/true.png +0 -0
- data/assets/city_scene/number_sample/1.png +0 -0
- data/assets/city_scene/number_sample/2.png +0 -0
- data/assets/city_scene/number_sample/default.png +0 -0
- data/assets/city_scene/sky/0000.png +0 -0
- data/assets/city_scene/sky/0200.png +0 -0
- data/assets/city_scene/sky/0400.png +0 -0
- data/assets/city_scene/sky/0600.png +0 -0
- data/assets/city_scene/sky/0800.png +0 -0
- data/assets/city_scene/sky/1000.png +0 -0
- data/assets/city_scene/sky/1200.png +0 -0
- data/assets/city_scene/sky/1400.png +0 -0
- data/assets/city_scene/sky/1500.png +0 -0
- data/assets/city_scene/sky/1700.png +0 -0
- data/assets/city_scene/sky/2000.png +0 -0
- data/assets/pc306715.jpg +0 -0
- data/lib/gruff/bar_conversion.rb +0 -46
- data/lib/gruff/deprecated.rb +0 -39
- data/lib/gruff/stacked_mixin.rb +0 -23
- data/test/gruff_test_case.rb +0 -154
- data/test/image_compare.rb +0 -58
- data/test/test_accumulator_bar.rb +0 -51
- data/test/test_area.rb +0 -134
- data/test/test_bar.rb +0 -505
- data/test/test_base.rb +0 -8
- data/test/test_bezier.rb +0 -33
- data/test/test_bullet.rb +0 -26
- data/test/test_dot.rb +0 -263
- data/test/test_labels_for_null_data.rb +0 -27
- data/test/test_legend.rb +0 -68
- data/test/test_line.rb +0 -657
- data/test/test_mini_bar.rb +0 -33
- data/test/test_mini_pie.rb +0 -25
- data/test/test_mini_side_bar.rb +0 -36
- data/test/test_net.rb +0 -231
- data/test/test_photo.rb +0 -41
- data/test/test_pie.rb +0 -161
- data/test/test_scatter.rb +0 -233
- data/test/test_scene.rb +0 -100
- data/test/test_side_bar.rb +0 -56
- data/test/test_sidestacked_bar.rb +0 -105
- data/test/test_spider.rb +0 -226
- data/test/test_stacked_area.rb +0 -52
- data/test/test_stacked_bar.rb +0 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cde92091d39ed0a45d754a184ce6d938b559334934ded0f94b040586b8736caf
|
4
|
+
data.tar.gz: 97c10dc9f3f6aa60ec5512935b527051d111f2121368bafd1d0a7b0c6ff529cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ac67b830bb677be39811647f2fe91fdd3d9ca4db1f38b08d812d4c3cf5f2fd139af2f43436fd81fa00c49e78f526a4ab485cb484d803c71e58d3d8cca6ee7df
|
7
|
+
data.tar.gz: 1898e2bfc719cea2e14c463a18ec806782dcfbb8ddc25e3eb317d41d6be11cc65858120d2cee1faa4292d4efb05725c6ccb7fb8c1bd017817395060bae6539d5
|
data/.editorconfig
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
|
2
|
+
# @see http://editorconfig.org
|
3
|
+
root = true
|
4
|
+
|
5
|
+
[*]
|
6
|
+
end_of_line = lf
|
7
|
+
charset = utf-8
|
8
|
+
trim_trailing_whitespace = true
|
9
|
+
insert_final_newline = true
|
10
|
+
indent_style = spaces
|
11
|
+
tab_width = 2
|
12
|
+
|
13
|
+
[{*.{rb,yml,md}]
|
14
|
+
indent_size = 2
|
@@ -0,0 +1,18 @@
|
|
1
|
+
### Description
|
2
|
+
<!-- A description of the bug or feature -->
|
3
|
+
|
4
|
+
### Steps to Reproduce
|
5
|
+
<!-- List of steps, sample code, failing test or link to a project that reproduces the behavior.
|
6
|
+
Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues -->
|
7
|
+
|
8
|
+
### System Configuration
|
9
|
+
<!-- Tell us about the environment where you are experiencing the bug -->
|
10
|
+
|
11
|
+
- ImageMagick version:
|
12
|
+
- RMagick version:
|
13
|
+
- Gruff version:
|
14
|
+
- Ruby version:
|
15
|
+
- Environment (Operating system, version and so on):
|
16
|
+
- Additional information:
|
17
|
+
|
18
|
+
<!-- Thanks for reporting the issue to Gruff! -->
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
|
3
|
+
AllCops:
|
4
|
+
EnabledByDefault: true
|
5
|
+
Exclude:
|
6
|
+
- 'vendor/bundle/**/*'
|
7
|
+
- 'rails_generators/gruff/**/*'
|
8
|
+
|
9
|
+
Gemspec/OrderedDependencies:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Gemspec/RequiredRubyVersion:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
Layout/AccessModifierIndentation:
|
16
|
+
EnforcedStyle: outdent
|
17
|
+
|
18
|
+
Layout/ClassStructure:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
Layout/FirstMethodArgumentLineBreak:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Layout/LeadingCommentSpace:
|
25
|
+
Enabled: false
|
26
|
+
|
27
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
28
|
+
Enabled: false
|
29
|
+
|
30
|
+
Layout/MultilineAssignmentLayout:
|
31
|
+
EnforcedStyle: same_line
|
32
|
+
|
33
|
+
Lint/AssignmentInCondition:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
Lint/NumberConversion:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
Style/ClassAndModuleChildren:
|
40
|
+
Enabled: false
|
41
|
+
|
42
|
+
Style/ConditionalAssignment:
|
43
|
+
Enabled: false
|
44
|
+
|
45
|
+
Style/ConstantVisibility:
|
46
|
+
Enabled: false
|
47
|
+
|
48
|
+
Style/Copyright:
|
49
|
+
Enabled: false
|
50
|
+
|
51
|
+
Style/Encoding:
|
52
|
+
Enabled: false
|
53
|
+
|
54
|
+
Style/FormatString:
|
55
|
+
EnforcedStyle: sprintf
|
56
|
+
|
57
|
+
Style/FormatStringToken:
|
58
|
+
Enabled: false
|
59
|
+
|
60
|
+
Style/GuardClause:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
Style/HashSyntax:
|
64
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
65
|
+
|
66
|
+
Style/IfUnlessModifier:
|
67
|
+
Enabled: false
|
68
|
+
|
69
|
+
Style/InlineComment:
|
70
|
+
Enabled: false
|
71
|
+
|
72
|
+
Style/ImplicitRuntimeError:
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
Style/MethodCallWithArgsParentheses:
|
76
|
+
Enabled: false
|
77
|
+
|
78
|
+
Style/MissingElse:
|
79
|
+
Enabled: false
|
80
|
+
|
81
|
+
Style/MutableConstant:
|
82
|
+
Enabled: false
|
83
|
+
|
84
|
+
Style/Next:
|
85
|
+
Enabled: false
|
86
|
+
|
87
|
+
Style/NumericLiterals:
|
88
|
+
Enabled: false
|
89
|
+
|
90
|
+
Style/NumericPredicate:
|
91
|
+
Enabled: false
|
92
|
+
|
93
|
+
Style/OptionHash:
|
94
|
+
Enabled: false
|
95
|
+
|
96
|
+
Style/SingleLineBlockParams:
|
97
|
+
Enabled: false
|
98
|
+
|
99
|
+
Style/SpecialGlobalVars:
|
100
|
+
Enabled: false
|
101
|
+
|
102
|
+
Style/StructInheritance:
|
103
|
+
Enabled: false
|
104
|
+
|
105
|
+
Style/SymbolArray:
|
106
|
+
Enabled: false
|
107
|
+
|
108
|
+
Style/TernaryParentheses:
|
109
|
+
Enabled: false
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2020-05-24 08:35:04 +0000 using RuboCop version 0.81.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 1
|
10
|
+
Lint/DuplicateMethods:
|
11
|
+
Exclude:
|
12
|
+
- 'lib/gruff/photo_bar.rb'
|
13
|
+
|
14
|
+
# Offense count: 1
|
15
|
+
Lint/UnreachableCode:
|
16
|
+
Exclude:
|
17
|
+
- 'lib/gruff/photo_bar.rb'
|
18
|
+
|
19
|
+
# Offense count: 1
|
20
|
+
Lint/UselessAssignment:
|
21
|
+
Exclude:
|
22
|
+
- 'lib/gruff/photo_bar.rb'
|
23
|
+
|
24
|
+
# Offense count: 1
|
25
|
+
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
26
|
+
Lint/Void:
|
27
|
+
Exclude:
|
28
|
+
- 'lib/gruff/patch/rmagick.rb'
|
29
|
+
|
30
|
+
# Offense count: 49
|
31
|
+
# Configuration parameters: IgnoredMethods.
|
32
|
+
Metrics/AbcSize:
|
33
|
+
Max: 78
|
34
|
+
|
35
|
+
# Offense count: 1
|
36
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
37
|
+
# ExcludedMethods: refine
|
38
|
+
Metrics/BlockLength:
|
39
|
+
Max: 29
|
40
|
+
|
41
|
+
# Offense count: 12
|
42
|
+
# Configuration parameters: CountComments.
|
43
|
+
Metrics/ClassLength:
|
44
|
+
Max: 637
|
45
|
+
|
46
|
+
# Offense count: 12
|
47
|
+
# Configuration parameters: IgnoredMethods.
|
48
|
+
Metrics/CyclomaticComplexity:
|
49
|
+
Max: 17
|
50
|
+
|
51
|
+
# Offense count: 126
|
52
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
53
|
+
Metrics/MethodLength:
|
54
|
+
Max: 81
|
55
|
+
|
56
|
+
# Offense count: 2
|
57
|
+
# Configuration parameters: CountKeywordArgs.
|
58
|
+
Metrics/ParameterLists:
|
59
|
+
Max: 7
|
60
|
+
|
61
|
+
# Offense count: 9
|
62
|
+
# Configuration parameters: IgnoredMethods.
|
63
|
+
Metrics/PerceivedComplexity:
|
64
|
+
Max: 20
|
65
|
+
|
66
|
+
# Offense count: 1
|
67
|
+
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
68
|
+
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
69
|
+
Naming/MemoizedInstanceVariableName:
|
70
|
+
Exclude:
|
71
|
+
- 'lib/gruff/scene.rb'
|
72
|
+
|
73
|
+
# Offense count: 7
|
74
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
75
|
+
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
|
76
|
+
Naming/MethodParameterName:
|
77
|
+
Exclude:
|
78
|
+
- 'lib/gruff/base.rb'
|
79
|
+
- 'lib/gruff/patch/rmagick.rb'
|
80
|
+
- 'lib/gruff/pie.rb'
|
81
|
+
- 'lib/gruff/renderer/text.rb'
|
82
|
+
|
83
|
+
# Offense count: 2
|
84
|
+
Security/Eval:
|
85
|
+
Exclude:
|
86
|
+
- 'test/gruff_test_case.rb'
|
87
|
+
|
88
|
+
# Offense count: 39
|
89
|
+
Style/Documentation:
|
90
|
+
Enabled: false
|
91
|
+
|
92
|
+
# Offense count: 134
|
93
|
+
# Configuration parameters: RequireForNonPublicMethods.
|
94
|
+
Style/DocumentationMethod:
|
95
|
+
Enabled: false
|
96
|
+
|
97
|
+
# Offense count: 3
|
98
|
+
Style/EvalWithLocation:
|
99
|
+
Exclude:
|
100
|
+
- 'test/gruff_test_case.rb'
|
101
|
+
|
102
|
+
# Offense count: 1
|
103
|
+
Style/MissingRespondToMissing:
|
104
|
+
Exclude:
|
105
|
+
- 'lib/gruff/scene.rb'
|
106
|
+
|
107
|
+
# Offense count: 406
|
108
|
+
# Cop supports --auto-correct.
|
109
|
+
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
110
|
+
# URISchemes: http, https
|
111
|
+
Layout/LineLength:
|
112
|
+
Max: 164
|
data/.travis.yml
CHANGED
@@ -1,17 +1,26 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
2
|
+
dist: bionic
|
3
|
+
cache: bundler
|
4
|
+
|
3
5
|
rvm:
|
4
|
-
-
|
5
|
-
-
|
6
|
-
-
|
7
|
-
-
|
8
|
-
-
|
9
|
-
- jruby-
|
10
|
-
- jruby-
|
11
|
-
- jruby-
|
12
|
-
- jruby-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
6
|
+
- 2.3
|
7
|
+
- 2.4
|
8
|
+
- 2.5
|
9
|
+
- 2.6
|
10
|
+
- 2.7
|
11
|
+
- jruby-1.7.27
|
12
|
+
- jruby-9.0.5.0
|
13
|
+
- jruby-9.1.17.0
|
14
|
+
- jruby-9.2.11.1
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
include:
|
18
|
+
- name: 'Lint'
|
19
|
+
rvm: 2.3
|
20
|
+
script: bundle exec rubocop
|
21
|
+
|
22
|
+
addons:
|
23
|
+
apt:
|
24
|
+
packages:
|
25
|
+
- gsfonts
|
26
|
+
- ghostscript
|
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--no-private
|
@@ -1,4 +1,51 @@
|
|
1
|
-
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## 0.11.0
|
4
|
+
- Fix regression in empty data handling (#445)
|
5
|
+
- Rendering text in front most (#439)
|
6
|
+
- Allow to change settings even after entered the data in Gruff::Histogram (#437)
|
7
|
+
- Adjust label position in Gruff::Net (#436)
|
8
|
+
- Adjust LABEL_MARGIN value (#435)
|
9
|
+
- Add shadow line in marker line into Gruff::{Dot, SideBar, Scatter} (#430)
|
10
|
+
- Move no data message to the vertical center (#428)
|
11
|
+
- Remove the getter method in attributes for configuration (#424)
|
12
|
+
- Fix title margin in Gruff::Bullet if empty title was given (#422)
|
13
|
+
|
14
|
+
## 0.10.0
|
15
|
+
|
16
|
+
* Add Histogram chart (#419)
|
17
|
+
* Fix that Y axis label is not displayed on JRuby platform (#415)
|
18
|
+
* Add fill_opacity and stroke_width in Gruff::Area in order to specify the filling opacity (#413)
|
19
|
+
* Fix "`get_type_metrics': no text to measure" exception (#410, #409)
|
20
|
+
|
21
|
+
## 0.9.0
|
22
|
+
|
23
|
+
* Fix that sidebar label is not displayed on JRuby platform (#402)
|
24
|
+
* Add `group_spacing` which is spacing factor applied between a group of bars belonging to the same label (#400)
|
25
|
+
* Fix that label is displayed in the center of the side bar (#399)
|
26
|
+
* Fix that value label is displayed in the center of the side bar (#398)
|
27
|
+
* Add `show_labels_for_bar_values` into StackedBar (#396)
|
28
|
+
* Auto resize title font size if long title will be cut off (#395)
|
29
|
+
* Adjust label position in StackedBar (#394)
|
30
|
+
* Fix that labels are rendered in the center of bar graph (#393)
|
31
|
+
* Remove `stacked` property marked as experimental (#392)
|
32
|
+
* Fix to not move away from the baseline if big value was given into `segment_spacing` (#391)
|
33
|
+
* Add `segment_spacing property` into SideStackedBar like StackedBar (#390)
|
34
|
+
* Fix an exception when using an object as an argument that behaves as an Array (#317)
|
35
|
+
* Add `Scatter#dataxy` method like `Line#dataxy` (#316)
|
36
|
+
* Retry to fill background to fix "cache resources exhausted" error (#305)
|
37
|
+
* Fix label position in Gruff::Bar with negative value (#265)
|
38
|
+
* Fixed a bug that did not handle the specified minimum/maximum properly (#260)
|
39
|
+
* Fix error of “comparison of Integer with nil failed” (#257, #366, #367)
|
40
|
+
* Fix redundant label padding with many decimal points (#254)
|
41
|
+
* Fix that value label might be displayed with scientific notation (#252)
|
42
|
+
|
43
|
+
## 0.8.0
|
44
|
+
|
45
|
+
* Remove version restriction in RMagick (#186)
|
46
|
+
* Remove the upper limit (< Ruby 3.0) from the required Ruby version (#207)
|
47
|
+
|
48
|
+
## 0.5.1
|
2
49
|
|
3
50
|
Skip packaging the test images. This reduces the gem from 20MB+ to
|
4
51
|
300KB+.
|
@@ -8,7 +55,7 @@ Bugfixes:
|
|
8
55
|
* Issue #92 Reduce the gem size by not shipping the test images.
|
9
56
|
|
10
57
|
|
11
|
-
|
58
|
+
## 0.5.0
|
12
59
|
|
13
60
|
We have added a couple of cosmetic changes: Multiple marker lines both
|
14
61
|
vertically and horizontally, and multi-line titles, or no title at all if
|
@@ -29,7 +76,7 @@ Pull requests:
|
|
29
76
|
* Issue #90 Added missing parenthesis in base.rb
|
30
77
|
|
31
78
|
|
32
|
-
|
79
|
+
## 0.4.0
|
33
80
|
|
34
81
|
All old branches and pull requests have been merged or deleted. Over 40
|
35
82
|
issues have been resolved! Ruby 2.0 compatibility has been confirmed.
|
@@ -101,55 +148,55 @@ Internal:
|
|
101
148
|
* Issue #80 Remove the .rmvrc file from the project
|
102
149
|
|
103
150
|
|
104
|
-
|
151
|
+
## 0.3.7
|
105
152
|
|
106
153
|
* ???
|
107
154
|
|
108
|
-
|
155
|
+
## 0.3.6
|
109
156
|
|
110
157
|
* Fixed manifest to list dot graph [theirishpenguin]
|
111
158
|
* Fixed color cycling error [Gunnar Wolf]
|
112
159
|
* Handle case where a line graph data set only has one value [Ron Colwill]
|
113
160
|
|
114
|
-
|
161
|
+
## 0.3.5
|
115
162
|
|
116
163
|
* Added dot graph from Erik Andrejko
|
117
164
|
|
118
|
-
|
165
|
+
## 0.3.4
|
119
166
|
|
120
167
|
* Reverted DEBUG=true. Will add a check in the release process so this doesn't happen again.
|
121
168
|
* Future releases will end in an odd number for development (topfunky-gruff on GitHub) or even for production releases.
|
122
169
|
|
123
|
-
|
170
|
+
## 0.3.3
|
124
171
|
|
125
172
|
* Legend line wrapping [Mat Schaffer]
|
126
173
|
* Stacked area graph fixes [James Coglan]
|
127
174
|
|
128
|
-
|
175
|
+
## 0.3.2
|
129
176
|
|
130
177
|
* Include init.rb for use as a Rails plugin.
|
131
178
|
|
132
|
-
|
179
|
+
## 0.3.1
|
133
180
|
|
134
181
|
* Fixed missing bullet graph bug (experimental, will be in a future release).
|
135
182
|
|
136
|
-
|
183
|
+
## 0.3.0
|
137
184
|
|
138
185
|
* Fixed bug where pie graphs weren't drawing their label correctly.
|
139
186
|
|
140
|
-
|
187
|
+
## 0.2.9
|
141
188
|
|
142
189
|
* Patch to make SideBar accurate instead of stacked [Marik]
|
143
190
|
* Will be extracting net, pie, stacked, and side-stacked to separate gem
|
144
191
|
in next release.
|
145
192
|
|
146
|
-
|
193
|
+
## 0.2.8
|
147
194
|
|
148
195
|
* New accumulator bar graph (experimental)
|
149
196
|
* Better mini graphs
|
150
197
|
* Bug fixes
|
151
198
|
|
152
|
-
|
199
|
+
## 0.2.7
|
153
200
|
|
154
201
|
* Regenerated Manifest.txt
|
155
202
|
* Added scene sample to package
|
@@ -158,27 +205,27 @@ Internal:
|
|
158
205
|
* Increased size of numbers in Gruff::Mini::Pie
|
159
206
|
* Added legend_box_size accessor
|
160
207
|
|
161
|
-
|
208
|
+
## 0.2.6
|
162
209
|
|
163
210
|
* Fixed missing side_bar.rb in Manifest.txt
|
164
211
|
|
165
|
-
|
212
|
+
## 0.2.5
|
166
213
|
|
167
214
|
* New mini graph types (Experimental)
|
168
215
|
* Marker lines can be different color than text labels
|
169
216
|
* Theme definition cleanup
|
170
217
|
|
171
|
-
|
218
|
+
## 0.2.4
|
172
219
|
|
173
220
|
* Added option to hide line numbers
|
174
221
|
* Fixed code that was causing warnings
|
175
222
|
|
176
|
-
|
223
|
+
## 0.2.3
|
177
224
|
|
178
225
|
* Cleaned up measurements so the graph expands to fill the available space
|
179
226
|
* Added x-axis and y-axis label options
|
180
227
|
|
181
|
-
|
228
|
+
## 0.1.2
|
182
229
|
|
183
230
|
* minimum_value and maximum_value can be set after data() to manually scale the graph
|
184
231
|
* Fixed infinite loop bug when values are all equal
|
@@ -187,17 +234,17 @@ Internal:
|
|
187
234
|
* Initial refactoring of tests
|
188
235
|
* A host of other bug fixes
|
189
236
|
|
190
|
-
|
237
|
+
## 0.0.8
|
191
238
|
|
192
239
|
* NEW Sidestacked Bar Graphs. [Alun Eyre]
|
193
240
|
* baseline_value larger than data will now show correctly. [Mike Perham]
|
194
241
|
* hide_dots and hide_lines are now options for line graphs.
|
195
242
|
|
196
|
-
|
243
|
+
## 0.0.6
|
197
244
|
|
198
245
|
* Fixed hang when no data is passed.
|
199
246
|
|
200
|
-
|
247
|
+
## 0.0.4
|
201
248
|
|
202
249
|
* Added bar graphs
|
203
250
|
* Added area graphs
|
@@ -207,18 +254,18 @@ Internal:
|
|
207
254
|
* Added initial line marker rounding to significant digits (Christian Winkler)
|
208
255
|
* Line graphs line width is scaled with number of points being drawn (Christian Winkler)
|
209
256
|
|
210
|
-
|
257
|
+
## 0.0.3
|
211
258
|
|
212
259
|
* Added option to draw line graphs without the lines (points only), thanks to Eric Hodel
|
213
260
|
* Removed font-minimum check so graphs look better at 300px width
|
214
261
|
|
215
|
-
|
262
|
+
## 0.0.2
|
216
263
|
|
217
264
|
* Fixed to_blob (thanks to Carlos Villela)
|
218
265
|
* Added bar graphs (initial functionality...will be enhanced)
|
219
266
|
* Removed rendered test output from gem
|
220
267
|
|
221
|
-
|
268
|
+
## 0.0.1
|
222
269
|
|
223
270
|
* Initial release.
|
224
271
|
* Line graphs only. Other graph styles coming soon.
|