pyk 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  @import "vendor/bootstrap.min";
2
2
  @import "vendor/jquery.gridster";
3
3
  @import "vendor/chardinjs";
4
+ @import "vendor/dc";
4
5
  @import "app/helpers";
5
6
  @import "app/sprites";
6
7
  @import "app/user_card";
@@ -0,0 +1,246 @@
1
+ div.dc-chart {
2
+ float: left;
3
+ }
4
+
5
+ .dc-chart rect.bar {
6
+ stroke: none;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .dc-chart rect.bar:hover {
11
+ fill-opacity: .5;
12
+ }
13
+
14
+ .dc-chart rect.stack1 {
15
+ stroke: none;
16
+ fill: red;
17
+ }
18
+
19
+ .dc-chart rect.stack2 {
20
+ stroke: none;
21
+ fill: green;
22
+ }
23
+
24
+ .dc-chart rect.deselected {
25
+ stroke: none;
26
+ fill: #ccc;
27
+ }
28
+
29
+ .dc-chart .pie-slice {
30
+ fill: white;
31
+ font-size: 12px;
32
+ cursor: pointer;
33
+ }
34
+
35
+ .dc-chart .pie-slice :hover {
36
+ fill-opacity: .8;
37
+ }
38
+
39
+ .dc-chart .selected path {
40
+ stroke-width: 3;
41
+ stroke: #ccc;
42
+ fill-opacity: 1;
43
+ }
44
+
45
+ .dc-chart .deselected path {
46
+ stroke: none;
47
+ fill-opacity: .5;
48
+ fill: #ccc;
49
+ }
50
+
51
+ .dc-chart .axis path, .axis line {
52
+ fill: none;
53
+ stroke: #000;
54
+ shape-rendering: crispEdges;
55
+ }
56
+
57
+ .dc-chart .axis text {
58
+ font: 10px sans-serif;
59
+ }
60
+
61
+ .dc-chart .grid-line {
62
+ fill: none;
63
+ stroke: #ccc;
64
+ opacity: .5;
65
+ shape-rendering: crispEdges;
66
+ }
67
+
68
+ .dc-chart .grid-line line {
69
+ fill: none;
70
+ stroke: #ccc;
71
+ opacity: .5;
72
+ shape-rendering: crispEdges;
73
+ }
74
+
75
+ .dc-chart .brush rect.background {
76
+ z-index: -999;
77
+ }
78
+
79
+ .dc-chart .brush rect.extent {
80
+ fill: steelblue;
81
+ fill-opacity: .125;
82
+ }
83
+
84
+ .dc-chart .brush .resize path {
85
+ fill: #eee;
86
+ stroke: #666;
87
+ }
88
+
89
+ .dc-chart path.line {
90
+ fill: none;
91
+ stroke-width: 1.5px;
92
+ }
93
+
94
+ .dc-chart circle.dot {
95
+ stroke: none;
96
+ }
97
+
98
+ .dc-chart g.dc-tooltip path {
99
+ fill: none;
100
+ stroke: grey;
101
+ stroke-opacity: .8;
102
+ }
103
+
104
+ .dc-chart path.area {
105
+ fill-opacity: .3;
106
+ stroke: none;
107
+ }
108
+
109
+ .dc-chart .node {
110
+ font-size: 0.7em;
111
+ cursor: pointer;
112
+ }
113
+
114
+ .dc-chart .node :hover {
115
+ fill-opacity: .8;
116
+ }
117
+
118
+ .dc-chart .selected circle {
119
+ stroke-width: 3;
120
+ stroke: #ccc;
121
+ fill-opacity: 1;
122
+ }
123
+
124
+ .dc-chart .deselected circle {
125
+ stroke: none;
126
+ fill-opacity: .5;
127
+ fill: #ccc;
128
+ }
129
+
130
+ .dc-chart .bubble {
131
+ stroke: none;
132
+ fill-opacity: 0.6;
133
+ }
134
+
135
+ .dc-data-count {
136
+ float: right;
137
+ margin-top: 15px;
138
+ margin-right: 15px;
139
+ }
140
+
141
+ .dc-data-count .filter-count {
142
+ color: #3182bd;
143
+ font-weight: bold;
144
+ }
145
+
146
+ .dc-data-count .total-count {
147
+ color: #3182bd;
148
+ font-weight: bold;
149
+ }
150
+
151
+ .dc-data-table {
152
+ }
153
+
154
+ .dc-chart g.state {
155
+ cursor: pointer;
156
+ }
157
+
158
+ .dc-chart g.state :hover {
159
+ fill-opacity: .8;
160
+ }
161
+
162
+ .dc-chart g.state path {
163
+ stroke: white;
164
+ }
165
+
166
+ .dc-chart g.selected path {
167
+ }
168
+
169
+ .dc-chart g.deselected path {
170
+ fill: grey;
171
+ }
172
+
173
+ .dc-chart g.selected text {
174
+ }
175
+
176
+ .dc-chart g.deselected text {
177
+ display: none;
178
+ }
179
+
180
+ .dc-chart g.county path {
181
+ stroke: white;
182
+ fill: none;
183
+ }
184
+
185
+ .dc-chart g.debug rect {
186
+ fill: blue;
187
+ fill-opacity: .2;
188
+ }
189
+
190
+ .dc-chart g.row rect {
191
+ fill-opacity: 0.8;
192
+ cursor: pointer;
193
+ }
194
+
195
+ .dc-chart g.row rect:hover {
196
+ fill-opacity: 0.6;
197
+ }
198
+
199
+ .dc-chart g.row text {
200
+ fill: white;
201
+ font-size: 12px;
202
+ cursor: pointer;
203
+ }
204
+
205
+ .dc-legend {
206
+ font-size: 11px;
207
+ }
208
+
209
+ .dc-legend-item {
210
+ cursor: pointer;
211
+ }
212
+
213
+ .dc-chart g.axis text {
214
+ /* Makes it so the user can't accidentally click and select text that is meant as a label only */
215
+ -webkit-user-select: none; /* Chrome/Safari */
216
+ -moz-user-select: none; /* Firefox */
217
+ -ms-user-select: none; /* IE10 */
218
+ -o-user-select: none;
219
+ user-select: none;
220
+ pointer-events: none;
221
+ }
222
+
223
+ .dc-chart path.highlight {
224
+ stroke-width: 3;
225
+ fill-opacity: 1;
226
+ stroke-opacity: 1;
227
+ }
228
+
229
+ .dc-chart .highlight {
230
+ fill-opacity: 1;
231
+ stroke-opacity: 1;
232
+ }
233
+
234
+ .dc-chart .fadeout {
235
+ fill-opacity: 0.2;
236
+ stroke-opacity: 0.2;
237
+ }
238
+
239
+ .dc-chart path.dc-symbol {
240
+ fill-opacity: 0.5;
241
+ stroke-opacity: 0.5;
242
+ }
243
+
244
+ .dc-hard .number-display {
245
+ float: none;
246
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pyk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pykih Software LLP
@@ -120,7 +120,9 @@ files:
120
120
  - app/assets/javascripts/pyk.js
121
121
  - app/assets/javascripts/vendor/bootstrap.min.js
122
122
  - app/assets/javascripts/vendor/chardinjs.min.js
123
+ - app/assets/javascripts/vendor/crossfilter.js
123
124
  - app/assets/javascripts/vendor/d3.js
125
+ - app/assets/javascripts/vendor/dc.js
124
126
  - app/assets/javascripts/vendor/jquery.gridster.js
125
127
  - app/assets/javascripts/vendor/jquery.sparkline.min.js
126
128
  - app/assets/javascripts/vendor/tinycon.min.js
@@ -131,6 +133,7 @@ files:
131
133
  - app/assets/stylesheets/pyk.css.scss
132
134
  - app/assets/stylesheets/vendor/bootstrap.min.css
133
135
  - app/assets/stylesheets/vendor/chardinjs.css
136
+ - app/assets/stylesheets/vendor/dc.css
134
137
  - app/assets/stylesheets/vendor/jquery.gridster.css
135
138
  - lib/pyk.rb
136
139
  - lib/pyk/address.rb