technical_graph 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/technical_graph/graph_axis.rb +3 -3
- data/technical_graph.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
@@ -226,7 +226,7 @@ class GraphAxis
|
|
226
226
|
plot_axis_x_text = Magick::Draw.new
|
227
227
|
|
228
228
|
plot_axis_x_line.stroke_antialias(axis_antialias)
|
229
|
-
plot_axis_x_text.text_antialias(
|
229
|
+
plot_axis_x_text.text_antialias(image_drawer.font_antialias)
|
230
230
|
|
231
231
|
plot_axis_x_line.fill_opacity(0)
|
232
232
|
plot_axis_x_line.stroke(options[:axis_color])
|
@@ -262,7 +262,7 @@ class GraphAxis
|
|
262
262
|
def render_axis_labels
|
263
263
|
if options[:x_axis_label].to_s.size > 0
|
264
264
|
plot_axis_text = Magick::Draw.new
|
265
|
-
plot_axis_text.text_antialias(
|
265
|
+
plot_axis_text.text_antialias(image_drawer.font_antialias)
|
266
266
|
|
267
267
|
plot_axis_text.pointsize(options[:axis_label_font_size])
|
268
268
|
plot_axis_text.font_family('helvetica')
|
@@ -280,7 +280,7 @@ class GraphAxis
|
|
280
280
|
|
281
281
|
if options[:y_axis_label].to_s.size > 0
|
282
282
|
plot_axis_text = Magick::Draw.new
|
283
|
-
plot_axis_text.text_antialias(
|
283
|
+
plot_axis_text.text_antialias(image_drawer.font_antialias)
|
284
284
|
|
285
285
|
plot_axis_text.pointsize(options[:axis_label_font_size])
|
286
286
|
plot_axis_text.font_family('helvetica')
|
data/technical_graph.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: technical_graph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 0.0.3
|
10
|
+
version: 0.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aleksander Kwiatkowski
|