gruff 0.6.0-java → 0.11.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +5 -5
  2. data/.editorconfig +14 -0
  3. data/.github/ISSUE_TEMPLATE.md +18 -0
  4. data/.gitignore +3 -0
  5. data/.rubocop.yml +109 -0
  6. data/.rubocop_todo.yml +112 -0
  7. data/.travis.yml +24 -15
  8. data/.yardopts +1 -0
  9. data/{History.txt → CHANGELOG.md} +72 -25
  10. data/Gemfile +3 -7
  11. data/README.md +57 -25
  12. data/Rakefile +21 -192
  13. data/assets/plastik/blue.png +0 -0
  14. data/assets/plastik/green.png +0 -0
  15. data/assets/plastik/red.png +0 -0
  16. data/docker/Dockerfile +14 -0
  17. data/docker/build.sh +4 -0
  18. data/docker/launch.sh +4 -0
  19. data/gruff.gemspec +21 -13
  20. data/init.rb +2 -0
  21. data/lib/gruff.rb +26 -2
  22. data/lib/gruff/accumulator_bar.rb +18 -8
  23. data/lib/gruff/area.rb +33 -19
  24. data/lib/gruff/bar.rb +76 -45
  25. data/lib/gruff/base.rb +435 -704
  26. data/lib/gruff/bezier.rb +32 -17
  27. data/lib/gruff/bullet.rb +62 -68
  28. data/lib/gruff/dot.rb +38 -82
  29. data/lib/gruff/helper/bar_conversion.rb +47 -0
  30. data/lib/gruff/helper/bar_value_label_mixin.rb +30 -0
  31. data/lib/gruff/helper/stacked_mixin.rb +23 -0
  32. data/lib/gruff/histogram.rb +60 -0
  33. data/lib/gruff/line.rb +134 -170
  34. data/lib/gruff/mini/bar.rb +17 -10
  35. data/lib/gruff/mini/legend.rb +24 -36
  36. data/lib/gruff/mini/pie.rb +18 -12
  37. data/lib/gruff/mini/side_bar.rb +26 -12
  38. data/lib/gruff/net.rb +68 -81
  39. data/lib/gruff/patch/rmagick.rb +33 -0
  40. data/lib/gruff/patch/string.rb +10 -0
  41. data/lib/gruff/photo_bar.rb +39 -42
  42. data/lib/gruff/pie.rb +180 -89
  43. data/lib/gruff/renderer/bezier.rb +21 -0
  44. data/lib/gruff/renderer/circle.rb +21 -0
  45. data/lib/gruff/renderer/dash_line.rb +22 -0
  46. data/lib/gruff/renderer/dot.rb +39 -0
  47. data/lib/gruff/renderer/ellipse.rb +21 -0
  48. data/lib/gruff/renderer/line.rb +42 -0
  49. data/lib/gruff/renderer/polygon.rb +23 -0
  50. data/lib/gruff/renderer/polyline.rb +21 -0
  51. data/lib/gruff/renderer/rectangle.rb +19 -0
  52. data/lib/gruff/renderer/renderer.rb +132 -0
  53. data/lib/gruff/renderer/text.rb +53 -0
  54. data/lib/gruff/scatter.rb +163 -182
  55. data/lib/gruff/scene.rb +31 -41
  56. data/lib/gruff/side_bar.rb +81 -65
  57. data/lib/gruff/side_stacked_bar.rb +78 -62
  58. data/lib/gruff/spider.rb +49 -57
  59. data/lib/gruff/stacked_area.rb +40 -32
  60. data/lib/gruff/stacked_bar.rb +86 -53
  61. data/lib/gruff/store/base_data.rb +38 -0
  62. data/lib/gruff/store/custom_data.rb +38 -0
  63. data/lib/gruff/store/store.rb +80 -0
  64. data/lib/gruff/store/xy_data.rb +59 -0
  65. data/lib/gruff/themes.rb +32 -33
  66. data/lib/gruff/version.rb +3 -1
  67. metadata +80 -102
  68. data/Manifest.txt +0 -81
  69. data/RELEASE.md +0 -30
  70. data/assets/bubble.png +0 -0
  71. data/assets/city_scene/background/0000.png +0 -0
  72. data/assets/city_scene/background/0600.png +0 -0
  73. data/assets/city_scene/background/2000.png +0 -0
  74. data/assets/city_scene/clouds/cloudy.png +0 -0
  75. data/assets/city_scene/clouds/partly_cloudy.png +0 -0
  76. data/assets/city_scene/clouds/stormy.png +0 -0
  77. data/assets/city_scene/grass/default.png +0 -0
  78. data/assets/city_scene/haze/true.png +0 -0
  79. data/assets/city_scene/number_sample/1.png +0 -0
  80. data/assets/city_scene/number_sample/2.png +0 -0
  81. data/assets/city_scene/number_sample/default.png +0 -0
  82. data/assets/city_scene/sky/0000.png +0 -0
  83. data/assets/city_scene/sky/0200.png +0 -0
  84. data/assets/city_scene/sky/0400.png +0 -0
  85. data/assets/city_scene/sky/0600.png +0 -0
  86. data/assets/city_scene/sky/0800.png +0 -0
  87. data/assets/city_scene/sky/1000.png +0 -0
  88. data/assets/city_scene/sky/1200.png +0 -0
  89. data/assets/city_scene/sky/1400.png +0 -0
  90. data/assets/city_scene/sky/1500.png +0 -0
  91. data/assets/city_scene/sky/1700.png +0 -0
  92. data/assets/city_scene/sky/2000.png +0 -0
  93. data/assets/pc306715.jpg +0 -0
  94. data/lib/gruff/bar_conversion.rb +0 -46
  95. data/lib/gruff/deprecated.rb +0 -39
  96. data/lib/gruff/stacked_mixin.rb +0 -23
  97. data/test/gruff_test_case.rb +0 -154
  98. data/test/image_compare.rb +0 -58
  99. data/test/test_accumulator_bar.rb +0 -51
  100. data/test/test_area.rb +0 -134
  101. data/test/test_bar.rb +0 -505
  102. data/test/test_base.rb +0 -8
  103. data/test/test_bezier.rb +0 -33
  104. data/test/test_bullet.rb +0 -26
  105. data/test/test_dot.rb +0 -263
  106. data/test/test_labels_for_null_data.rb +0 -27
  107. data/test/test_legend.rb +0 -68
  108. data/test/test_line.rb +0 -657
  109. data/test/test_mini_bar.rb +0 -33
  110. data/test/test_mini_pie.rb +0 -25
  111. data/test/test_mini_side_bar.rb +0 -36
  112. data/test/test_net.rb +0 -231
  113. data/test/test_photo.rb +0 -41
  114. data/test/test_pie.rb +0 -161
  115. data/test/test_scatter.rb +0 -233
  116. data/test/test_scene.rb +0 -100
  117. data/test/test_side_bar.rb +0 -56
  118. data/test/test_sidestacked_bar.rb +0 -105
  119. data/test/test_spider.rb +0 -226
  120. data/test/test_stacked_area.rb +0 -52
  121. data/test/test_stacked_bar.rb +0 -68
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3dcf399d4935b793e35aa2e4a23fb653e149f2da
4
- data.tar.gz: 9165805bf7719fb68924645d694cc189095b39b7
2
+ SHA256:
3
+ metadata.gz: f2eb363f545e171df5a5d457b5d34e867a060dc4d84eda87d77b2447172d2c04
4
+ data.tar.gz: fa7708d508f2a016c11af3c08d2b877ff65eaf62955658c9b57fbd08b9f45659
5
5
  SHA512:
6
- metadata.gz: ebc6235ed48788da4152060d8a5cf54c75a7eab654628af66a0c63743fb3951a6038dd89e15802008a0fc574c284d2386f9bb3ad446eaa965f4794cff9c9f559
7
- data.tar.gz: af643a3a4fad7a7ab8e6fd25c186eb002d3e3b62760db781be5168417768d7973a5e365f214d87ffbc4933d9d5e1caa9eb5885686e33c915eb9b73dd6d5d2ac9
6
+ metadata.gz: 06d22482b55dd1f478f9ad8ae660f8fe96a4f4b8c7f651207b3de2d1cacf9c1399cf6d88ebd3fdad3178acb020371924f189fa86ee6107d240850788dd9156f3
7
+ data.tar.gz: 61461cbe1691e7aec5a6c178778c0f40ede97d496857f6a797867be3ae6f52565b33ad8556654ce592aec2717e11e7512bf2cfb25e7cfcdff9797da1faeb9b01
@@ -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
@@ -1,6 +1,9 @@
1
1
  *~
2
2
  /.idea/
3
3
  /pkg/
4
+ /vendor/
5
+ /test/output/
6
+ /test/output_java/
4
7
  .DS_Store
5
8
  .bundle
6
9
  .yardoc
@@ -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
@@ -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
@@ -1,17 +1,26 @@
1
1
  language: ruby
2
- sudo: false
2
+ dist: bionic
3
+ cache: bundler
4
+
3
5
  rvm:
4
- - "1.8.7"
5
- - "1.9.3"
6
- - "2.0.0"
7
- - "2.1"
8
- - "2.2"
9
- - jruby-18mode
10
- - jruby-19mode
11
- - jruby-20mode
12
- - jruby-head
13
- - rbx
14
- - rbx-2
15
- notifications:
16
- email:
17
- - uwe@kubosch.no
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
@@ -0,0 +1 @@
1
+ --no-private
@@ -1,4 +1,51 @@
1
- == 0.5.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
- == 0.5.0
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
- == 0.4.0
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
- == 0.3.7
151
+ ## 0.3.7
105
152
 
106
153
  * ???
107
154
 
108
- == 0.3.6
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
- == 0.3.5
161
+ ## 0.3.5
115
162
 
116
163
  * Added dot graph from Erik Andrejko
117
164
 
118
- == 0.3.4
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
- == 0.3.3
170
+ ## 0.3.3
124
171
 
125
172
  * Legend line wrapping [Mat Schaffer]
126
173
  * Stacked area graph fixes [James Coglan]
127
174
 
128
- == 0.3.2
175
+ ## 0.3.2
129
176
 
130
177
  * Include init.rb for use as a Rails plugin.
131
178
 
132
- == 0.3.1
179
+ ## 0.3.1
133
180
 
134
181
  * Fixed missing bullet graph bug (experimental, will be in a future release).
135
182
 
136
- == 0.3.0
183
+ ## 0.3.0
137
184
 
138
185
  * Fixed bug where pie graphs weren't drawing their label correctly.
139
186
 
140
- == 0.2.9
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
- == 0.2.8
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
- == 0.2.7
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
- == 0.2.6
208
+ ## 0.2.6
162
209
 
163
210
  * Fixed missing side_bar.rb in Manifest.txt
164
211
 
165
- == 0.2.5
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
- == 0.2.4
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
- == 0.2.3
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
- == 0.1.2
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
- == 0.0.8
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
- == 0.0.6
243
+ ## 0.0.6
197
244
 
198
245
  * Fixed hang when no data is passed.
199
246
 
200
- == 0.0.4
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
- == 0.0.3
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
- == 0.0.2
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
- == 0.0.1
268
+ ## 0.0.1
222
269
 
223
270
  * Initial release.
224
271
  * Line graphs only. Other graph styles coming soon.