snapstats 0.0.6 → 0.0.7

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: 8ea346969f2718f2e4b4627bc28abb0919980baf
4
- data.tar.gz: 347d3a69764313c5d483efb82eca978fabcb8aa2
3
+ metadata.gz: 417ac8a47a89389f3cf4ab6802afc5b77bd14d3e
4
+ data.tar.gz: ab877ec2ffe285e2aa47a57eb9a88120669853da
5
5
  SHA512:
6
- metadata.gz: 80018a8d0502e8e1166b7ddf35bc85c724401e23b78fc3789b1a4c7532c5872886e9ac3d80676866aeb7ea0e6dbe9c56fd61a87b1dc4800fc0dd149b8d960bdd
7
- data.tar.gz: f15424b5810879f418b4c4a1b4b175c25ba3285cdd8c750bc22e2e5d034f00837d521d9cd904aded6b0b9a11c0dc62818fd9121e2ba696dbfbf00f9cd8424c74
6
+ metadata.gz: 927e5b9f3052d5ac603aafe0b39e09d8b40faf64929877fccb9670ca0b016db6d1a39a59bf45446836f1e64b8ed4a30e45808f8ff35cb84557b5b6293c9f0f66
7
+ data.tar.gz: 0794eb15edb0627e949c0d82d40bb08a05b129661f573804a33206764469afc4226b6c940ee98179a3934bfa3d9b5c873f61a612d5369d3918a017256edfd773
@@ -27,6 +27,7 @@ $(document).ready(function () {
27
27
 
28
28
  MG.data_graphic({
29
29
  data: data,
30
+
30
31
  full_width: true,
31
32
  height: self.torso.height * 3 / 2,
32
33
  right: self.torso.right,
@@ -35,7 +36,8 @@ $(document).ready(function () {
35
36
  x_extended_ticks: true,
36
37
  x_accessor: "date",
37
38
  y_accessor: "value",
38
- interpolate: "liniar"
39
+ interpolate: "linear",
40
+ y_scale_type:'log',
39
41
  });
40
42
 
41
43
  });
@@ -36,7 +36,8 @@ $(document).ready(function () {
36
36
  target: '.chart-performance',
37
37
  x_accessor: 'date',
38
38
  y_accessor: 'value',
39
- interpolate: "liniar",
39
+ interpolate: "linear",
40
+ y_scale_type:'log',
40
41
  // y_label: "milliseconds",
41
42
  legend: data.legend,
42
43
  legend_target: '.legend'
@@ -3,6 +3,7 @@ $(document).ready(function () {
3
3
 
4
4
  when_cat : "li.section-user",
5
5
  data_path : ($(location).attr('pathname') + '/chart').replace('//', '/'),
6
+ torso : { width : 375, height : 200, right : 20 },
6
7
 
7
8
  init : function () {
8
9
  var self = this;
@@ -30,13 +31,16 @@ $(document).ready(function () {
30
31
  MG.data_graphic({
31
32
 
32
33
  data: data,
33
- width: $('.panel-wgt').width() - 40,
34
- height: 250,
34
+ full_width: true,
35
+
36
+ height: self.torso.height * 3 / 2,
37
+ right: self.torso.right,
38
+
35
39
  target: ".user-activity-chart",
36
40
  x_extended_ticks: true,
37
41
  x_accessor: "date",
38
42
  y_accessor: "value",
39
- interpolate: "liniar"
43
+ interpolate: "linear"
40
44
  });
41
45
 
42
46
  });
@@ -30,7 +30,7 @@
30
30
  <th>Browser</th>
31
31
  </tr>
32
32
 
33
- <% @activity.sort_by{ |i| -i.date.to_i }.each do |i| %>
33
+ <% @activity.sort_by{ |i| i.date.to_i }.each do |i| %>
34
34
 
35
35
  <tr>
36
36
  <td>
@@ -1,3 +1,3 @@
1
1
  module Snapstats
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snapstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - s3k