svg-graph 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c04fc1439663b78a87afd588d309fbcb9f4c229
4
- data.tar.gz: 67af809341a01054a18db1af326f45a8d4a9989c
3
+ metadata.gz: a522ee6da8f411c886cf522dca6e8ab1a6e6dc4b
4
+ data.tar.gz: 917c7446f2d06edc9ba644948d17f3cb63f3e446
5
5
  SHA512:
6
- metadata.gz: 1a004615aa34f83e7379bb33e6cb0c4d833c2e9adbcac67dcffab4fddf39be1efc81139a12376488eb3f71b6cf9b45ff59645c4d53025bea678f0bd7d1f1a75c
7
- data.tar.gz: 4f1e300008a206f8ca77b482f7482a9b912baeb9dc0d78ea018a64a662b63c1cad755c13706fbed019097d1b7a70ea1526942b0e6e759fcee262e4fd82c8b837
6
+ metadata.gz: 149a97802da1b358eb5fa43d77066c3c1950b644dcc5ae817f360c64b3045ea7d56505590fa0bd4144c22e342829c0e1bda59a3960b4557d2e52172a18f5a608
7
+ data.tar.gz: bfe772c7f4b72975960645206f3283250878c9d83da249c237b9baf4eca0d8b79ba5107acaa189c9f455c7e05709343666372bdd583c950e6fa74cd6e0713925
@@ -117,7 +117,7 @@ module SVG
117
117
  # +ve -ve value - 0
118
118
  # -ve -ve value.abs - 0
119
119
 
120
- value = dataset[:data][i]/@y_scale_division
120
+ value = dataset[:data][i] / @y_scale_division.to_f
121
121
 
122
122
  left = (fieldwidth * field_count)
123
123
 
@@ -1,6 +1,6 @@
1
1
  module SVG
2
2
  module Graph
3
- VERSION = '2.1.0'
3
+ VERSION = '2.1.1'
4
4
  end
5
5
  end
6
6
  require_relative 'SVG/Graph/DataPoint'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svg-graph
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Russell
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-02-26 00:00:00.000000000 Z
15
+ date: 2017-09-25 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: "Gem version of SVG:::Graph. SVG:::Graph is a pure Ruby library for generating
18
18
  charts, \nwhich are a type of graph where the values of one axis are not scalar.
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  version: '0'
73
73
  requirements: []
74
74
  rubyforge_project:
75
- rubygems_version: 2.4.8
75
+ rubygems_version: 2.6.12
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: SVG:::Graph is a pure Ruby library for generating charts, which are a type