c3-rails 0.4.15 → 0.4.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +4 -4
- data/LICENSE +20 -20
- data/README.md +82 -82
- data/c3-rails.gemspec +15 -15
- data/lib/c3-rails.rb +1 -1
- data/lib/c3/rails.rb +2 -2
- data/lib/c3/rails/engine.rb +6 -6
- data/lib/c3/rails/version.rb +5 -5
- data/vendor/assets/javascripts/c3.js +9236 -9137
- data/vendor/assets/stylesheets/c3.css +174 -174
- metadata +2 -2
@@ -1,174 +1,174 @@
|
|
1
|
-
/*-- Chart --*/
|
2
|
-
.c3 svg {
|
3
|
-
font: 10px sans-serif;
|
4
|
-
-webkit-tap-highlight-color: transparent; }
|
5
|
-
|
6
|
-
.c3 path, .c3 line {
|
7
|
-
fill: none;
|
8
|
-
stroke: #000; }
|
9
|
-
|
10
|
-
.c3 text {
|
11
|
-
-webkit-user-select: none;
|
12
|
-
-moz-user-select: none;
|
13
|
-
user-select: none; }
|
14
|
-
|
15
|
-
.c3-legend-item-tile,
|
16
|
-
.c3-xgrid-focus,
|
17
|
-
.c3-ygrid,
|
18
|
-
.c3-event-rect,
|
19
|
-
.c3-bars path {
|
20
|
-
shape-rendering: crispEdges; }
|
21
|
-
|
22
|
-
.c3-chart-arc path {
|
23
|
-
stroke: #fff; }
|
24
|
-
|
25
|
-
.c3-chart-arc text {
|
26
|
-
fill: #fff;
|
27
|
-
font-size: 13px; }
|
28
|
-
|
29
|
-
/*-- Axis --*/
|
30
|
-
/*-- Grid --*/
|
31
|
-
.c3-grid line {
|
32
|
-
stroke: #aaa; }
|
33
|
-
|
34
|
-
.c3-grid text {
|
35
|
-
fill: #aaa; }
|
36
|
-
|
37
|
-
.c3-xgrid, .c3-ygrid {
|
38
|
-
stroke-dasharray: 3 3; }
|
39
|
-
|
40
|
-
/*-- Text on Chart --*/
|
41
|
-
.c3-text.c3-empty {
|
42
|
-
fill: #808080;
|
43
|
-
font-size: 2em; }
|
44
|
-
|
45
|
-
/*-- Line --*/
|
46
|
-
.c3-line {
|
47
|
-
stroke-width: 1px; }
|
48
|
-
|
49
|
-
/*-- Point --*/
|
50
|
-
.c3-circle._expanded_ {
|
51
|
-
stroke-width: 1px;
|
52
|
-
stroke: white; }
|
53
|
-
|
54
|
-
.c3-selected-circle {
|
55
|
-
fill: white;
|
56
|
-
stroke-width: 2px; }
|
57
|
-
|
58
|
-
/*-- Bar --*/
|
59
|
-
.c3-bar {
|
60
|
-
stroke-width: 0; }
|
61
|
-
|
62
|
-
.c3-bar._expanded_ {
|
63
|
-
fill-opacity: 1;
|
64
|
-
fill-opacity: 0.75; }
|
65
|
-
|
66
|
-
/*-- Focus --*/
|
67
|
-
.c3-target.c3-focused {
|
68
|
-
opacity: 1; }
|
69
|
-
|
70
|
-
.c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
|
71
|
-
stroke-width: 2px; }
|
72
|
-
|
73
|
-
.c3-target.c3-defocused {
|
74
|
-
opacity: 0.3 !important; }
|
75
|
-
|
76
|
-
/*-- Region --*/
|
77
|
-
.c3-region {
|
78
|
-
fill: steelblue;
|
79
|
-
fill-opacity: .1; }
|
80
|
-
|
81
|
-
/*-- Brush --*/
|
82
|
-
.c3-brush .extent {
|
83
|
-
fill-opacity: .1; }
|
84
|
-
|
85
|
-
/*-- Select - Drag --*/
|
86
|
-
/*-- Legend --*/
|
87
|
-
.c3-legend-item {
|
88
|
-
font-size: 12px; }
|
89
|
-
|
90
|
-
.c3-legend-item-hidden {
|
91
|
-
opacity: 0.15; }
|
92
|
-
|
93
|
-
.c3-legend-background {
|
94
|
-
opacity: 0.75;
|
95
|
-
fill: white;
|
96
|
-
stroke: lightgray;
|
97
|
-
stroke-width: 1; }
|
98
|
-
|
99
|
-
/*-- Title --*/
|
100
|
-
.c3-title {
|
101
|
-
font: 14px sans-serif; }
|
102
|
-
|
103
|
-
/*-- Tooltip --*/
|
104
|
-
.c3-tooltip-container {
|
105
|
-
z-index: 10; }
|
106
|
-
|
107
|
-
.c3-tooltip {
|
108
|
-
border-collapse: collapse;
|
109
|
-
border-spacing: 0;
|
110
|
-
background-color: #fff;
|
111
|
-
empty-cells: show;
|
112
|
-
-webkit-box-shadow: 7px 7px 12px -9px #777777;
|
113
|
-
-moz-box-shadow: 7px 7px 12px -9px #777777;
|
114
|
-
box-shadow: 7px 7px 12px -9px #777777;
|
115
|
-
opacity: 0.9; }
|
116
|
-
|
117
|
-
.c3-tooltip tr {
|
118
|
-
border: 1px solid #CCC; }
|
119
|
-
|
120
|
-
.c3-tooltip th {
|
121
|
-
background-color: #aaa;
|
122
|
-
font-size: 14px;
|
123
|
-
padding: 2px 5px;
|
124
|
-
text-align: left;
|
125
|
-
color: #FFF; }
|
126
|
-
|
127
|
-
.c3-tooltip td {
|
128
|
-
font-size: 13px;
|
129
|
-
padding: 3px 6px;
|
130
|
-
background-color: #fff;
|
131
|
-
border-left: 1px dotted #999; }
|
132
|
-
|
133
|
-
.c3-tooltip td > span {
|
134
|
-
display: inline-block;
|
135
|
-
width: 10px;
|
136
|
-
height: 10px;
|
137
|
-
margin-right: 6px; }
|
138
|
-
|
139
|
-
.c3-tooltip td.value {
|
140
|
-
text-align: right; }
|
141
|
-
|
142
|
-
/*-- Area --*/
|
143
|
-
.c3-area {
|
144
|
-
stroke-width: 0;
|
145
|
-
opacity: 0.2; }
|
146
|
-
|
147
|
-
/*-- Arc --*/
|
148
|
-
.c3-chart-arcs-title {
|
149
|
-
dominant-baseline: middle;
|
150
|
-
font-size: 1.3em; }
|
151
|
-
|
152
|
-
.c3-chart-arcs .c3-chart-arcs-background {
|
153
|
-
fill: #e0e0e0;
|
154
|
-
stroke: none; }
|
155
|
-
|
156
|
-
.c3-chart-arcs .c3-chart-arcs-gauge-unit {
|
157
|
-
fill: #000;
|
158
|
-
font-size: 16px; }
|
159
|
-
|
160
|
-
.c3-chart-arcs .c3-chart-arcs-gauge-max {
|
161
|
-
fill: #777; }
|
162
|
-
|
163
|
-
.c3-chart-arcs .c3-chart-arcs-gauge-min {
|
164
|
-
fill: #777; }
|
165
|
-
|
166
|
-
.c3-chart-arc .c3-gauge-value {
|
167
|
-
fill: #000;
|
168
|
-
/* font-size: 28px !important;*/ }
|
169
|
-
|
170
|
-
.c3-chart-arc.c3-target g path {
|
171
|
-
opacity: 1; }
|
172
|
-
|
173
|
-
.c3-chart-arc.c3-target.c3-focused g path {
|
174
|
-
opacity: 1; }
|
1
|
+
/*-- Chart --*/
|
2
|
+
.c3 svg {
|
3
|
+
font: 10px sans-serif;
|
4
|
+
-webkit-tap-highlight-color: transparent; }
|
5
|
+
|
6
|
+
.c3 path, .c3 line {
|
7
|
+
fill: none;
|
8
|
+
stroke: #000; }
|
9
|
+
|
10
|
+
.c3 text {
|
11
|
+
-webkit-user-select: none;
|
12
|
+
-moz-user-select: none;
|
13
|
+
user-select: none; }
|
14
|
+
|
15
|
+
.c3-legend-item-tile,
|
16
|
+
.c3-xgrid-focus,
|
17
|
+
.c3-ygrid,
|
18
|
+
.c3-event-rect,
|
19
|
+
.c3-bars path {
|
20
|
+
shape-rendering: crispEdges; }
|
21
|
+
|
22
|
+
.c3-chart-arc path {
|
23
|
+
stroke: #fff; }
|
24
|
+
|
25
|
+
.c3-chart-arc text {
|
26
|
+
fill: #fff;
|
27
|
+
font-size: 13px; }
|
28
|
+
|
29
|
+
/*-- Axis --*/
|
30
|
+
/*-- Grid --*/
|
31
|
+
.c3-grid line {
|
32
|
+
stroke: #aaa; }
|
33
|
+
|
34
|
+
.c3-grid text {
|
35
|
+
fill: #aaa; }
|
36
|
+
|
37
|
+
.c3-xgrid, .c3-ygrid {
|
38
|
+
stroke-dasharray: 3 3; }
|
39
|
+
|
40
|
+
/*-- Text on Chart --*/
|
41
|
+
.c3-text.c3-empty {
|
42
|
+
fill: #808080;
|
43
|
+
font-size: 2em; }
|
44
|
+
|
45
|
+
/*-- Line --*/
|
46
|
+
.c3-line {
|
47
|
+
stroke-width: 1px; }
|
48
|
+
|
49
|
+
/*-- Point --*/
|
50
|
+
.c3-circle._expanded_ {
|
51
|
+
stroke-width: 1px;
|
52
|
+
stroke: white; }
|
53
|
+
|
54
|
+
.c3-selected-circle {
|
55
|
+
fill: white;
|
56
|
+
stroke-width: 2px; }
|
57
|
+
|
58
|
+
/*-- Bar --*/
|
59
|
+
.c3-bar {
|
60
|
+
stroke-width: 0; }
|
61
|
+
|
62
|
+
.c3-bar._expanded_ {
|
63
|
+
fill-opacity: 1;
|
64
|
+
fill-opacity: 0.75; }
|
65
|
+
|
66
|
+
/*-- Focus --*/
|
67
|
+
.c3-target.c3-focused {
|
68
|
+
opacity: 1; }
|
69
|
+
|
70
|
+
.c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step {
|
71
|
+
stroke-width: 2px; }
|
72
|
+
|
73
|
+
.c3-target.c3-defocused {
|
74
|
+
opacity: 0.3 !important; }
|
75
|
+
|
76
|
+
/*-- Region --*/
|
77
|
+
.c3-region {
|
78
|
+
fill: steelblue;
|
79
|
+
fill-opacity: .1; }
|
80
|
+
|
81
|
+
/*-- Brush --*/
|
82
|
+
.c3-brush .extent {
|
83
|
+
fill-opacity: .1; }
|
84
|
+
|
85
|
+
/*-- Select - Drag --*/
|
86
|
+
/*-- Legend --*/
|
87
|
+
.c3-legend-item {
|
88
|
+
font-size: 12px; }
|
89
|
+
|
90
|
+
.c3-legend-item-hidden {
|
91
|
+
opacity: 0.15; }
|
92
|
+
|
93
|
+
.c3-legend-background {
|
94
|
+
opacity: 0.75;
|
95
|
+
fill: white;
|
96
|
+
stroke: lightgray;
|
97
|
+
stroke-width: 1; }
|
98
|
+
|
99
|
+
/*-- Title --*/
|
100
|
+
.c3-title {
|
101
|
+
font: 14px sans-serif; }
|
102
|
+
|
103
|
+
/*-- Tooltip --*/
|
104
|
+
.c3-tooltip-container {
|
105
|
+
z-index: 10; }
|
106
|
+
|
107
|
+
.c3-tooltip {
|
108
|
+
border-collapse: collapse;
|
109
|
+
border-spacing: 0;
|
110
|
+
background-color: #fff;
|
111
|
+
empty-cells: show;
|
112
|
+
-webkit-box-shadow: 7px 7px 12px -9px #777777;
|
113
|
+
-moz-box-shadow: 7px 7px 12px -9px #777777;
|
114
|
+
box-shadow: 7px 7px 12px -9px #777777;
|
115
|
+
opacity: 0.9; }
|
116
|
+
|
117
|
+
.c3-tooltip tr {
|
118
|
+
border: 1px solid #CCC; }
|
119
|
+
|
120
|
+
.c3-tooltip th {
|
121
|
+
background-color: #aaa;
|
122
|
+
font-size: 14px;
|
123
|
+
padding: 2px 5px;
|
124
|
+
text-align: left;
|
125
|
+
color: #FFF; }
|
126
|
+
|
127
|
+
.c3-tooltip td {
|
128
|
+
font-size: 13px;
|
129
|
+
padding: 3px 6px;
|
130
|
+
background-color: #fff;
|
131
|
+
border-left: 1px dotted #999; }
|
132
|
+
|
133
|
+
.c3-tooltip td > span {
|
134
|
+
display: inline-block;
|
135
|
+
width: 10px;
|
136
|
+
height: 10px;
|
137
|
+
margin-right: 6px; }
|
138
|
+
|
139
|
+
.c3-tooltip td.value {
|
140
|
+
text-align: right; }
|
141
|
+
|
142
|
+
/*-- Area --*/
|
143
|
+
.c3-area {
|
144
|
+
stroke-width: 0;
|
145
|
+
opacity: 0.2; }
|
146
|
+
|
147
|
+
/*-- Arc --*/
|
148
|
+
.c3-chart-arcs-title {
|
149
|
+
dominant-baseline: middle;
|
150
|
+
font-size: 1.3em; }
|
151
|
+
|
152
|
+
.c3-chart-arcs .c3-chart-arcs-background {
|
153
|
+
fill: #e0e0e0;
|
154
|
+
stroke: none; }
|
155
|
+
|
156
|
+
.c3-chart-arcs .c3-chart-arcs-gauge-unit {
|
157
|
+
fill: #000;
|
158
|
+
font-size: 16px; }
|
159
|
+
|
160
|
+
.c3-chart-arcs .c3-chart-arcs-gauge-max {
|
161
|
+
fill: #777; }
|
162
|
+
|
163
|
+
.c3-chart-arcs .c3-chart-arcs-gauge-min {
|
164
|
+
fill: #777; }
|
165
|
+
|
166
|
+
.c3-chart-arc .c3-gauge-value {
|
167
|
+
fill: #000;
|
168
|
+
/* font-size: 28px !important;*/ }
|
169
|
+
|
170
|
+
.c3-chart-arc.c3-target g path {
|
171
|
+
opacity: 1; }
|
172
|
+
|
173
|
+
.c3-chart-arc.c3-target.c3-focused g path {
|
174
|
+
opacity: 1; }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: c3-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sunny Li
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem provides "c3 - A D3-based reusable chart library" for Rails
|
14
14
|
email:
|