plasticine 1.2.2 → 1.2.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec28eb39afbe68a7d8736bb19f20e372e005d0bc22134d07996e3ec45641440e
|
4
|
+
data.tar.gz: f143b3e121fb0986a4396103a1be0b39ee3d30df173f5c531b11a7e1de92cea3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4117b65a69e027ae9950a7afe3430e8de657584f504534d36770e936e9e471359600fcf860597c384956d52db76d79c23ff394116cc4feeb5ade5850340acb2
|
7
|
+
data.tar.gz: bad51faaaa94cd35e34c2c0cd50d239f613e1e4548c42313d6c02037dab4433e0173a8b5d5245f64e97082a3330498d79a49dc9e686f3556d5670f6accfdccd5
|
@@ -137,7 +137,7 @@ class @PlasticineColumn
|
|
137
137
|
|
138
138
|
switch @yAxisFormat
|
139
139
|
when 'date' then @yAxis.tickFormat(d3.timeFormat('%b'))
|
140
|
-
when 'day' then @yAxis.tickFormat(d3.timeFormat('%e
|
140
|
+
when 'day' then @yAxis.tickFormat(d3.timeFormat('%e-%m'))
|
141
141
|
when 'money' then @yAxis.tickFormat (d) => PlasticineHelpers.toPrice(d)
|
142
142
|
when 'numeric' then @yAxis.tickFormat (d) => PlasticineHelpers.toNumeric(d)
|
143
143
|
|
@@ -128,7 +128,7 @@ class @PlasticineLine
|
|
128
128
|
|
129
129
|
switch @xAxisFormat
|
130
130
|
when 'date' then @xAxis.tickFormat(d3.timeFormat('%b'))
|
131
|
-
when 'day' then @xAxis.tickFormat(d3.timeFormat('%e
|
131
|
+
when 'day' then @xAxis.tickFormat(d3.timeFormat('%e-%m'))
|
132
132
|
when 'quarter' then @xAxis.tickFormat (d) => PlasticineHelpers.toQuarter(d, @quarterStartMonth)
|
133
133
|
when 'year' then @xAxis.tickFormat (d) => PlasticineHelpers.toYear(d, @quarterStartMonth)
|
134
134
|
when 'money' then @xAxis.tickFormat (d) => PlasticineHelpers.toPrice(d)
|
@@ -151,6 +151,6 @@ class @PlasticineLine
|
|
151
151
|
|
152
152
|
switch @yAxisFormat
|
153
153
|
when 'date' then @yAxis.tickFormat(d3.timeFormat('%b'))
|
154
|
-
when 'day' then @yAxis.tickFormat(d3.timeFormat('%e
|
154
|
+
when 'day' then @yAxis.tickFormat(d3.timeFormat('%e-%m'))
|
155
155
|
when 'money' then @yAxis.tickFormat (d) => PlasticineHelpers.toPrice(d)
|
156
156
|
when 'numeric' then @yAxis.tickFormat (d) => PlasticineHelpers.toNumeric(d)
|
data/plasticine.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |gem|
|
|
3
3
|
gem.description = "Data visualization toolkit for Rails App using D3.js"
|
4
4
|
gem.summary = "Data visualization toolkit for Rails App using D3.js"
|
5
5
|
gem.homepage = "https://github.com/alchimikweb/plasticine"
|
6
|
-
gem.version = "1.2.
|
6
|
+
gem.version = "1.2.3"
|
7
7
|
gem.licenses = ["MIT"]
|
8
8
|
|
9
9
|
gem.authors = ["Sebastien Rosa"]
|