Skip to content

Commit 3660b48

Browse files
committed
remove gh-pages content
1 parent 7c2098f commit 3660b48

File tree

262 files changed

+79
-57577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+79
-57577
lines changed

.DS_Store

2 KB
Binary file not shown.

_layouts/demo.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
5+
<title>{{page.title}} - EON Realtime Dashboards</title>
6+
7+
<script type="text/javascript" src="../../lib/eon.js"></script>
8+
<link type="text/css" rel="stylesheet" href="../../lib/eon.css" />
9+
10+
</head>
11+
<body>
12+
{{ content }}
13+
</body>
14+
</html>

_site/examples/chart/bar.html

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,62 @@
1-
<html>
1+
<!DOCTYPE html>
2+
<html lang="en">
23
<head>
34

5+
<title>EON Bar Chart - EON Realtime Dashboards</title>
6+
47
<script type="text/javascript" src="../../lib/eon.js"></script>
58
<link type="text/css" rel="stylesheet" href="../../lib/eon.css" />
69

7-
<style>
8-
.c3-region-1 {
9-
fill: #dd3333;
10-
fill-opacity: 0.8
11-
}
12-
</style>
13-
1410
</head>
1511
<body>
16-
<div id="chart"></div>
17-
<script>
18-
var channel = "c3-bar" + Math.random();
19-
eon.chart({
20-
channel: channel,
21-
generate: {
22-
bindto: '#chart',
23-
data: {
24-
labels: true,
25-
type: 'bar'
26-
},
27-
bar: {
28-
width: {
29-
ratio: 0.5
30-
}
31-
},
32-
tooltip: {
33-
show: false
34-
}
12+
<style>
13+
.c3-region-1 {
14+
fill: #dd3333;
15+
fill-opacity: 0.8
16+
}
17+
</style>
18+
<div id="chart"></div>
19+
<script>
20+
var channel = "c3-bar" + Math.random();
21+
eon.chart({
22+
channel: channel,
23+
generate: {
24+
bindto: '#chart',
25+
data: {
26+
labels: true,
27+
type: 'bar'
28+
},
29+
bar: {
30+
width: {
31+
ratio: 0.5
3532
}
36-
});
37-
</script>
38-
<script>
39-
var pubnub2 = PUBNUB.init({
40-
publish_key: 'demo',
41-
subscribe_key: 'demo'
42-
});
43-
setInterval(function(){
33+
},
34+
tooltip: {
35+
show: false
36+
}
37+
}
38+
});
39+
</script>
40+
<script>
41+
var pubnub2 = PUBNUB.init({
42+
publish_key: 'demo',
43+
subscribe_key: 'demo'
44+
});
45+
setInterval(function(){
4446

45-
pubnub2.publish({
46-
channel: channel,
47-
message: {
48-
columns: [
49-
['Austin', Math.floor(Math.random() * 99)],
50-
['New York', Math.floor(Math.random() * 99)],
51-
['San Francisco', Math.floor(Math.random() * 99)],
52-
['Portland', Math.floor(Math.random() * 99)]
53-
]
54-
}
55-
});
47+
pubnub2.publish({
48+
channel: channel,
49+
message: {
50+
columns: [
51+
['Austin', Math.floor(Math.random() * 99)],
52+
['New York', Math.floor(Math.random() * 99)],
53+
['San Francisco', Math.floor(Math.random() * 99)],
54+
['Portland', Math.floor(Math.random() * 99)]
55+
]
56+
}
57+
});
5658

57-
}, 1000);
58-
</script>
59+
}, 1000);
60+
</script>
5961
</body>
6062
</html>

_site/index.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ <h1 class="logo">
6666
<li><a href="./examples/chart/bar.html">Bar</a></li>
6767
<li><a href="./examples/chart/donut.html">Donut</a></li>
6868
<li><a href="./examples/chart/gauge.html">Gauge</a></li>
69-
<li><a href="./examples/chart/transform.html">Transform</a></li>
7069
</ul>
7170
</li><!--//dropdown-->
7271
<li class="nav-item dropdown">
@@ -86,13 +85,7 @@ <h1 class="logo">
8685
</div><!--//container-->
8786
</header><!--//header-->
8887

89-
<!--
90-
edit apache config to embed this package within pubnub.com
91-
search for github
92-
http://www.pubnub.com/developers/bitcoin/
93-
https://github.com/pubnub/pubnub-web/blob/master/config/common-apache.conf#L35
94-
-->
95-
<style type="text/css">
88+
<style type="text/css">
9689
body {
9790
background-color: #efefef;
9891
}
@@ -280,7 +273,7 @@ <h4>Embed chart.</h4>
280273
<pre><code class="javascript">eon.chart({
281274
channel: 'eon-chart',
282275
limit: 20,
283-
history: true,
276+
flow: true,
284277
generate: {
285278
bindto: '#body-spline'
286279
}

_site/lib/eon-chart.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7223,11 +7223,12 @@ eon.c = {
72237223
}
72247224

72257225
options.channel = options.channel || false;
7226-
options.generate = options.generate || {
7227-
data: {
7226+
options.generate = options.generate || {};
7227+
if(!options.generate.data) {
7228+
options.generate.data = {
72287229
columns: null
7229-
}
7230-
};
7230+
};
7231+
}
72317232
options.flow = options.flow || false;
72327233
if(options.flow) {
72337234
options.flow = {};
@@ -7419,7 +7420,7 @@ eon.c = {
74197420
delete self.chart;
74207421
};
74217422

7422-
var boot = function(){
7423+
var boot = function() {
74237424

74247425
options.generate.data.columns = dataStore;
74257426

_site/lib/eon.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7223,11 +7223,12 @@ eon.c = {
72237223
}
72247224

72257225
options.channel = options.channel || false;
7226-
options.generate = options.generate || {
7227-
data: {
7226+
options.generate = options.generate || {};
7227+
if(!options.generate.data) {
7228+
options.generate.data = {
72287229
columns: null
7229-
}
7230-
};
7230+
};
7231+
}
72317232
options.flow = options.flow || false;
72327233
if(options.flow) {
72337234
options.flow = {};
@@ -7419,7 +7420,7 @@ eon.c = {
74197420
delete self.chart;
74207421
};
74217422

7422-
var boot = function(){
7423+
var boot = function() {
74237424

74247425
options.generate.data.columns = dataStore;
74257426

_site/src/bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"pubnub": "3.7.8",
3939
"eon-map": "~0.2.2",
4040
"c3": "0.4.9",
41-
"eon-chart": "~0.2.10"
41+
"eon-chart": "~0.2.11"
4242
},
4343
"resolutions": {
4444
"d3": "~3.5.5",

examples/.DS_Store

6 KB
Binary file not shown.

examples/chart/.DS_Store

6 KB
Binary file not shown.

examples/chart/bar.html

Lines changed: 0 additions & 60 deletions
This file was deleted.

examples/chart/donut.html

Lines changed: 0 additions & 52 deletions
This file was deleted.

examples/chart/gauge.html

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)