plasticine 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e66d1f4b3fa8368311e58c898c0e09ade893daf8deb6df5ea147a14434bba66
4
- data.tar.gz: b19a9dd56807f2437be8e0709711117eea5d9392c9b68409971e0d3305e960dd
3
+ metadata.gz: ec28eb39afbe68a7d8736bb19f20e372e005d0bc22134d07996e3ec45641440e
4
+ data.tar.gz: f143b3e121fb0986a4396103a1be0b39ee3d30df173f5c531b11a7e1de92cea3
5
5
  SHA512:
6
- metadata.gz: 8d88313573087a2649edffe92cd0b8292206472d049a99991bd6d1f6ea431fd2ee335af3112bf486cb7ed30162d1a078afa85c09c6348e3784fde03496db5c56
7
- data.tar.gz: 60c751b37114dc5744e252c536e7cccccc1bc6509f5ad2286631cde1e51a58e3f94930ec139edd36f7513bd227dd7171e8fad8d7841d804676e6f0ce044993ab
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 %b'))
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 %b'))
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 %b'))
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.2"
6
+ gem.version = "1.2.3"
7
7
  gem.licenses = ["MIT"]
8
8
 
9
9
  gem.authors = ["Sebastien Rosa"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plasticine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Rosa