repsheet_visualizer 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +25 -1
- data/bin/repsheet_visualizer +10 -8
- data/config.ru +8 -0
- data/lib/repsheet_visualizer/application/app.rb +120 -107
- data/lib/repsheet_visualizer/application/views/404.erb +66 -0
- data/lib/repsheet_visualizer/application/views/500.erb +66 -0
- data/lib/repsheet_visualizer/version.rb +1 -1
- metadata +4 -245
- data/redesign/actor.html +0 -237
- data/redesign/blacklist.html +0 -274
- data/redesign/css/App.css +0 -3436
- data/redesign/css/Login.css +0 -88
- data/redesign/css/bootstrap.min.css +0 -9
- data/redesign/css/custom.css +0 -0
- data/redesign/css/font-awesome.min.css +0 -395
- data/redesign/fonts/FontAwesome.otf +0 -0
- data/redesign/fonts/fontawesome-webfont.eot +0 -0
- data/redesign/fonts/fontawesome-webfont.svg +0 -414
- data/redesign/fonts/fontawesome-webfont.ttf +0 -0
- data/redesign/fonts/fontawesome-webfont.woff +0 -0
- data/redesign/fonts/glyphicons-halflings-regular.eot +0 -0
- data/redesign/fonts/glyphicons-halflings-regular.svg +0 -228
- data/redesign/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/redesign/fonts/glyphicons-halflings-regular.woff +0 -0
- data/redesign/img/jquery/handle-vertical.png +0 -0
- data/redesign/img/jquery/handle.png +0 -0
- data/redesign/img/layout/sidebar-bg.png +0 -0
- data/redesign/img/loaders/ajax-loader.gif +0 -0
- data/redesign/img/photos/map.png +0 -0
- data/redesign/index.html +0 -333
- data/redesign/js/App.js +0 -372
- data/redesign/js/Login.js +0 -17
- data/redesign/js/demos/buttons.js +0 -7
- data/redesign/js/demos/calendar.js +0 -142
- data/redesign/js/demos/charts/flot/area.js +0 -73
- data/redesign/js/demos/charts/flot/chart1.js +0 -77
- data/redesign/js/demos/charts/flot/chart2.js +0 -70
- data/redesign/js/demos/charts/flot/chart3.js +0 -71
- data/redesign/js/demos/charts/flot/chart4.js +0 -69
- data/redesign/js/demos/charts/flot/donut.js +0 -49
- data/redesign/js/demos/charts/flot/horizontal.js +0 -56
- data/redesign/js/demos/charts/flot/line.js +0 -76
- data/redesign/js/demos/charts/flot/pie.js +0 -50
- data/redesign/js/demos/charts/flot/scatter.js +0 -62
- data/redesign/js/demos/charts/flot/stacked-area.js +0 -86
- data/redesign/js/demos/charts/flot/stacked-horizontal.js +0 -60
- data/redesign/js/demos/charts/flot/stacked-vertical.js +0 -75
- data/redesign/js/demos/charts/flot/vertical.js +0 -70
- data/redesign/js/demos/charts/morris/area.js +0 -28
- data/redesign/js/demos/charts/morris/bar.js +0 -29
- data/redesign/js/demos/charts/morris/donut.js +0 -26
- data/redesign/js/demos/charts/morris/line.js +0 -30
- data/redesign/js/demos/dashboard.js +0 -26
- data/redesign/js/demos/form-extended.js +0 -61
- data/redesign/js/demos/popups.js +0 -16
- data/redesign/js/demos/pricing.js +0 -10
- data/redesign/js/demos/sliders.js +0 -77
- data/redesign/js/libs/bootstrap.js +0 -1999
- data/redesign/js/libs/bootstrap.min.js +0 -6
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/redesign/js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.css +0 -294
- data/redesign/js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.min.css +0 -7
- data/redesign/js/libs/jquery-1.9.1.min.js +0 -5
- data/redesign/js/libs/jquery-ui-1.9.2.custom.min.js +0 -6
- data/redesign/js/libs/jquery.min.map +0 -1
- data/redesign/js/libs/raphael-2.1.2.min.js +0 -11
- data/redesign/js/plugins/autosize/jquery.autosize.min.js +0 -7
- data/redesign/js/plugins/datatables/DT_bootstrap.js +0 -148
- data/redesign/js/plugins/datatables/img/Sorting icons.psd +0 -0
- data/redesign/js/plugins/datatables/img/back_disabled.png +0 -0
- data/redesign/js/plugins/datatables/img/back_enabled.png +0 -0
- data/redesign/js/plugins/datatables/img/back_enabled_hover.png +0 -0
- data/redesign/js/plugins/datatables/img/datatable-row-openclose.png +0 -0
- data/redesign/js/plugins/datatables/img/favicon.ico +0 -0
- data/redesign/js/plugins/datatables/img/forward_disabled.png +0 -0
- data/redesign/js/plugins/datatables/img/forward_enabled.png +0 -0
- data/redesign/js/plugins/datatables/img/forward_enabled_hover.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_asc.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_asc_disabled.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_both.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_desc.png +0 -0
- data/redesign/js/plugins/datatables/img/sort_desc_disabled.png +0 -0
- data/redesign/js/plugins/datatables/jquery.dataTables.min.js +0 -155
- data/redesign/js/plugins/datepicker/bootstrap-datepicker.js +0 -1258
- data/redesign/js/plugins/datepicker/datepicker.css +0 -481
- data/redesign/js/plugins/datepicker/less/datepicker.less +0 -122
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.css +0 -132
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.js +0 -169
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.min.css +0 -31
- data/redesign/js/plugins/fileupload/bootstrap-fileupload.min.js +0 -7
- data/redesign/js/plugins/flot/jquery.flot.js +0 -2599
- data/redesign/js/plugins/flot/jquery.flot.orderBars.js +0 -186
- data/redesign/js/plugins/flot/jquery.flot.pie.js +0 -750
- data/redesign/js/plugins/flot/jquery.flot.resize.js +0 -57
- data/redesign/js/plugins/flot/jquery.flot.stack.js +0 -184
- data/redesign/js/plugins/flot/jquery.flot.tooltip.min.js +0 -14
- data/redesign/js/plugins/fullcalendar/fullcalendar.css +0 -589
- data/redesign/js/plugins/fullcalendar/fullcalendar.js +0 -6110
- data/redesign/js/plugins/fullcalendar/fullcalendar.min.js +0 -7
- data/redesign/js/plugins/fullcalendar/fullcalendar.print.css +0 -32
- data/redesign/js/plugins/fullcalendar/gcal.js +0 -107
- data/redesign/js/plugins/howl/howl.js +0 -70
- data/redesign/js/plugins/howl/howl.min.js +0 -2
- data/redesign/js/plugins/icheck/jquery.icheck.js +0 -462
- data/redesign/js/plugins/icheck/jquery.icheck.min.js +0 -11
- data/redesign/js/plugins/icheck/skins/all.css +0 -61
- data/redesign/js/plugins/icheck/skins/flat/_all.css +0 -540
- data/redesign/js/plugins/icheck/skins/flat/aero.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/aero.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/aero@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/blue.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/blue.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/blue@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/flat.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/flat.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/flat@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/green.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/green.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/green@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/grey.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/grey.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/grey@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/orange.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/orange.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/orange@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/pink.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/pink.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/pink@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/purple.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/purple.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/purple@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/red.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/red.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/red@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/yellow.css +0 -54
- data/redesign/js/plugins/icheck/skins/flat/yellow.png +0 -0
- data/redesign/js/plugins/icheck/skins/flat/yellow@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/futurico/futurico.css +0 -54
- data/redesign/js/plugins/icheck/skins/futurico/futurico.png +0 -0
- data/redesign/js/plugins/icheck/skins/futurico/futurico@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/line/_all.css +0 -740
- data/redesign/js/plugins/icheck/skins/line/aero.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/blue.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/green.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/grey.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/line.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/line.png +0 -0
- data/redesign/js/plugins/icheck/skins/line/line@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/line/orange.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/pink.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/purple.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/red.css +0 -74
- data/redesign/js/plugins/icheck/skins/line/yellow.css +0 -74
- data/redesign/js/plugins/icheck/skins/minimal/_all.css +0 -600
- data/redesign/js/plugins/icheck/skins/minimal/aero.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/aero.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/aero@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/blue.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/blue.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/blue@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/green.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/green.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/green@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/grey.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/grey.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/grey@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/minimal.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/minimal.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/minimal@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/orange.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/orange.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/orange@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/pink.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/pink.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/pink@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/purple.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/purple.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/purple@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/red.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/red.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/red@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/yellow.css +0 -60
- data/redesign/js/plugins/icheck/skins/minimal/yellow.png +0 -0
- data/redesign/js/plugins/icheck/skins/minimal/yellow@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/polaris/polaris.css +0 -60
- data/redesign/js/plugins/icheck/skins/polaris/polaris.png +0 -0
- data/redesign/js/plugins/icheck/skins/polaris/polaris@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/_all.css +0 -600
- data/redesign/js/plugins/icheck/skins/square/aero.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/aero.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/aero@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/blue.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/blue.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/blue@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/green.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/green.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/green@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/grey.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/grey.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/grey@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/orange.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/orange.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/orange@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/pink.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/pink.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/pink@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/purple.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/purple.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/purple@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/red.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/red.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/red@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/square.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/square.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/square@2x.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/yellow.css +0 -60
- data/redesign/js/plugins/icheck/skins/square/yellow.png +0 -0
- data/redesign/js/plugins/icheck/skins/square/yellow@2x.png +0 -0
- data/redesign/js/plugins/magnific/jquery.magnific-popup.js +0 -2026
- data/redesign/js/plugins/magnific/jquery.magnific-popup.min.js +0 -4
- data/redesign/js/plugins/magnific/magnific-popup.css +0 -396
- data/redesign/js/plugins/morris/morris.css +0 -1
- data/redesign/js/plugins/morris/morris.min.js +0 -1
- data/redesign/js/plugins/parsley/parsley.js +0 -1363
- data/redesign/js/plugins/select2/select2-spinner.gif +0 -0
- data/redesign/js/plugins/select2/select2.css +0 -615
- data/redesign/js/plugins/select2/select2.js +0 -3217
- data/redesign/js/plugins/select2/select2.min.js +0 -22
- data/redesign/js/plugins/select2/select2.png +0 -0
- data/redesign/js/plugins/select2/select2x2.png +0 -0
- data/redesign/js/plugins/simplecolorpicker/jquery.simplecolorpicker.css +0 -98
- data/redesign/js/plugins/simplecolorpicker/jquery.simplecolorpicker.js +0 -211
- data/redesign/js/plugins/sparkline/jquery.sparkline.min.js +0 -5
- data/redesign/js/plugins/tableCheckable/jquery.tableCheckable.js +0 -122
- data/redesign/js/plugins/textarea-counter/jquery.textarea-counter.js +0 -163
- data/redesign/js/plugins/timepicker/bootstrap-timepicker.css +0 -121
- data/redesign/js/plugins/timepicker/bootstrap-timepicker.js +0 -893
- data/redesign/suspects.html +0 -273
- data/redesign/whitelist.html +0 -273
@@ -1,69 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var d1, data, chartOptions;
|
4
|
-
|
5
|
-
d1 = [
|
6
|
-
[1262304000000, 963] , [1264982400000, 1563] , [1267401600000, 2043] , [1270080000000, 2198]
|
7
|
-
, [1272672000000, 2660] , [1275350400000, 2782] , [1277942400000, 2430] , [1280620800000, 2427]
|
8
|
-
, [1283299200000, 2743] , [1285891200000, 3120] , [1288569600000, 3345] , [1291161600000, 3689]
|
9
|
-
];
|
10
|
-
|
11
|
-
data = [{
|
12
|
-
label: "Total visitors",
|
13
|
-
data: d1,
|
14
|
-
color: '#e5412d'
|
15
|
-
}];
|
16
|
-
|
17
|
-
chartOptions = {
|
18
|
-
xaxis: {
|
19
|
-
min: (new Date(2009, 12, 1)).getTime(),
|
20
|
-
max: (new Date(2010, 11, 2)).getTime(),
|
21
|
-
mode: "time",
|
22
|
-
tickSize: [2, "month"],
|
23
|
-
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
24
|
-
tickLength: 0
|
25
|
-
},
|
26
|
-
yaxis: {
|
27
|
-
|
28
|
-
},
|
29
|
-
series: {
|
30
|
-
lines: {
|
31
|
-
show: true,
|
32
|
-
fill: true,
|
33
|
-
fillColor: { colors: [ { opacity: 0.5 }, { opacity: 0.2 } ] },
|
34
|
-
lineWidth: 1.5
|
35
|
-
},
|
36
|
-
points: {
|
37
|
-
show: true,
|
38
|
-
radius: 2.5,
|
39
|
-
fill: true,
|
40
|
-
fillColor: "#ffffff",
|
41
|
-
lineWidth: 1.1
|
42
|
-
}
|
43
|
-
},
|
44
|
-
grid: {
|
45
|
-
hoverable: true,
|
46
|
-
clickable: false,
|
47
|
-
borderWidth: 0
|
48
|
-
},
|
49
|
-
legend: {
|
50
|
-
show: false
|
51
|
-
},
|
52
|
-
|
53
|
-
tooltip: true,
|
54
|
-
|
55
|
-
tooltipOpts: {
|
56
|
-
content: '%s: %y'
|
57
|
-
}
|
58
|
-
};
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
var holder = $('#chart4');
|
63
|
-
|
64
|
-
if (holder.length) {
|
65
|
-
$.plot(holder, data, chartOptions );
|
66
|
-
}
|
67
|
-
|
68
|
-
|
69
|
-
});
|
@@ -1,49 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var data, chartOptions;
|
4
|
-
|
5
|
-
data = [
|
6
|
-
{ label: "Product 1", data: Math.floor (Math.random() * 100 + 250) },
|
7
|
-
{ label: "Product 2", data: Math.floor (Math.random() * 100 + 350) },
|
8
|
-
{ label: "Product 3", data: Math.floor (Math.random() * 100 + 650) },
|
9
|
-
{ label: "Product 4", data: Math.floor (Math.random() * 100 + 50) },
|
10
|
-
{ label: "Product 5", data: Math.floor (Math.random() * 100 + 250) }
|
11
|
-
];
|
12
|
-
|
13
|
-
chartOptions = {
|
14
|
-
series: {
|
15
|
-
pie: {
|
16
|
-
show: true,
|
17
|
-
innerRadius: .5,
|
18
|
-
stroke: {
|
19
|
-
width: 4
|
20
|
-
}
|
21
|
-
}
|
22
|
-
},
|
23
|
-
|
24
|
-
legend: {
|
25
|
-
position: 'ne'
|
26
|
-
},
|
27
|
-
|
28
|
-
tooltip: true,
|
29
|
-
|
30
|
-
tooltipOpts: {
|
31
|
-
content: '%s: %y'
|
32
|
-
},
|
33
|
-
|
34
|
-
grid: {
|
35
|
-
hoverable: true
|
36
|
-
},
|
37
|
-
|
38
|
-
colors: App.chartColors
|
39
|
-
};
|
40
|
-
|
41
|
-
|
42
|
-
var holder = $('#donut-chart');
|
43
|
-
|
44
|
-
if (holder.length) {
|
45
|
-
$.plot(holder, data, chartOptions );
|
46
|
-
}
|
47
|
-
|
48
|
-
|
49
|
-
});
|
@@ -1,56 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var ds=[], data, chartOptions;
|
4
|
-
|
5
|
-
ds.push ([[2500, 1],[3400, 2],[3700, 3],[4500, 4]]);
|
6
|
-
ds.push ([[1300, 1],[2900, 2],[2500, 3],[2300, 4]]);
|
7
|
-
ds.push ([[800, 1],[1300, 2],[1900, 3],[1500, 4]]);
|
8
|
-
|
9
|
-
data = [ {
|
10
|
-
label: 'Product 1',
|
11
|
-
data: ds[1]
|
12
|
-
}, {
|
13
|
-
label: 'Product 2',
|
14
|
-
data: ds[0]
|
15
|
-
}, {
|
16
|
-
label: 'Product 3',
|
17
|
-
data: ds[2]
|
18
|
-
}];
|
19
|
-
|
20
|
-
chartOptions = {
|
21
|
-
xaxis: {
|
22
|
-
|
23
|
-
},
|
24
|
-
grid: {
|
25
|
-
hoverable: true,
|
26
|
-
clickable: false,
|
27
|
-
borderWidth: 0
|
28
|
-
},
|
29
|
-
bars: {
|
30
|
-
horizontal: true,
|
31
|
-
show: true,
|
32
|
-
barWidth: 8*24*60*60*300,
|
33
|
-
barWidth: .2,
|
34
|
-
fill: true,
|
35
|
-
lineWidth: 1,
|
36
|
-
order: true,
|
37
|
-
lineWidth: 0,
|
38
|
-
fillColor: { colors: [ { opacity: 1 }, { opacity: 1 } ] }
|
39
|
-
},
|
40
|
-
|
41
|
-
tooltip: true,
|
42
|
-
|
43
|
-
tooltipOpts: {
|
44
|
-
content: '%s: %x'
|
45
|
-
},
|
46
|
-
colors: App.chartColors
|
47
|
-
}
|
48
|
-
|
49
|
-
var holder = $('#horizontal-chart');
|
50
|
-
|
51
|
-
if (holder.length) {
|
52
|
-
$.plot(holder, data, chartOptions );
|
53
|
-
}
|
54
|
-
|
55
|
-
|
56
|
-
});
|
@@ -1,76 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var d1, d2, data, chartOptions;
|
4
|
-
|
5
|
-
d1 = [
|
6
|
-
[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 1129],
|
7
|
-
[1272672000000, 1163], [1275350400000, 1905], [1277942400000, 2002], [1280620800000, 2917],
|
8
|
-
[1283299200000, 2700], [1285891200000, 2700], [1288569600000, 2100], [1291161600000, 1700]
|
9
|
-
];
|
10
|
-
|
11
|
-
d2 = [
|
12
|
-
[1262304000000, 434], [1264982400000, 232], [1267401600000, 475], [1270080000000, 553],
|
13
|
-
[1272672000000, 675], [1275350400000, 679], [1277942400000, 789], [1280620800000, 1026],
|
14
|
-
[1283299200000, 1640], [1285891200000, 1892], [1288569600000, 2147], [1291161600000, 2256]
|
15
|
-
];
|
16
|
-
|
17
|
-
data = [{
|
18
|
-
label: "Total visitors",
|
19
|
-
data: d1
|
20
|
-
}, {
|
21
|
-
label: "Total Sales",
|
22
|
-
data: d2
|
23
|
-
}];
|
24
|
-
|
25
|
-
chartOptions = {
|
26
|
-
xaxis: {
|
27
|
-
min: (new Date(2009, 12, 1)).getTime(),
|
28
|
-
max: (new Date(2010, 11, 2)).getTime(),
|
29
|
-
mode: "time",
|
30
|
-
tickSize: [1, "month"],
|
31
|
-
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
32
|
-
tickLength: 0
|
33
|
-
},
|
34
|
-
yaxis: {
|
35
|
-
|
36
|
-
},
|
37
|
-
series: {
|
38
|
-
lines: {
|
39
|
-
show: true,
|
40
|
-
fill: false,
|
41
|
-
lineWidth: 3
|
42
|
-
},
|
43
|
-
points: {
|
44
|
-
show: true,
|
45
|
-
radius: 4.5,
|
46
|
-
fill: true,
|
47
|
-
fillColor: "#ffffff",
|
48
|
-
lineWidth: 2.75
|
49
|
-
}
|
50
|
-
},
|
51
|
-
grid: {
|
52
|
-
hoverable: true,
|
53
|
-
clickable: false,
|
54
|
-
borderWidth: 0
|
55
|
-
},
|
56
|
-
legend: {
|
57
|
-
show: true
|
58
|
-
},
|
59
|
-
|
60
|
-
tooltip: true,
|
61
|
-
tooltipOpts: {
|
62
|
-
content: '%s: %y'
|
63
|
-
},
|
64
|
-
colors: App.chartColors
|
65
|
-
};
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
var holder = $('#line-chart');
|
70
|
-
|
71
|
-
if (holder.length) {
|
72
|
-
$.plot(holder, data, chartOptions );
|
73
|
-
}
|
74
|
-
|
75
|
-
|
76
|
-
});
|
@@ -1,50 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var data, chartOptions;
|
4
|
-
|
5
|
-
data = [
|
6
|
-
{ label: "Product 1", data: Math.floor (Math.random() * 100 + 250) },
|
7
|
-
{ label: "Product 2", data: Math.floor (Math.random() * 100 + 350) },
|
8
|
-
{ label: "Product 3", data: Math.floor (Math.random() * 100 + 650) },
|
9
|
-
{ label: "Product 4", data: Math.floor (Math.random() * 100 + 50) },
|
10
|
-
{ label: "Product 5", data: Math.floor (Math.random() * 100 + 250) }
|
11
|
-
];
|
12
|
-
|
13
|
-
chartOptions = {
|
14
|
-
series: {
|
15
|
-
pie: {
|
16
|
-
show: true,
|
17
|
-
innerRadius: 0,
|
18
|
-
stroke: {
|
19
|
-
width: 4
|
20
|
-
}
|
21
|
-
}
|
22
|
-
},
|
23
|
-
|
24
|
-
legend: {
|
25
|
-
position: 'ne'
|
26
|
-
},
|
27
|
-
|
28
|
-
tooltip: true,
|
29
|
-
|
30
|
-
tooltipOpts: {
|
31
|
-
content: '%s: %y'
|
32
|
-
},
|
33
|
-
|
34
|
-
grid: {
|
35
|
-
hoverable: true
|
36
|
-
},
|
37
|
-
|
38
|
-
colors: App.chartColors
|
39
|
-
};
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
var holder = $('#pie-chart');
|
44
|
-
|
45
|
-
if (holder.length) {
|
46
|
-
$.plot(holder, data, chartOptions );
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
});
|
@@ -1,62 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var d1, d2, data, chartOptions;
|
4
|
-
|
5
|
-
d1 = [[0,1],[1,2],[3,8],[5,4],[2,10],[1.2,9],[9,2],[46,41],[22,14],[20,12],[20,25],[7,5],[18,11],[31,20]];
|
6
|
-
d2 = [[50,40],[24,36],[20,42],[33,41],[51,39],[11,28],[32,16],[38,40],[35,22],[41,30],[21,18]];
|
7
|
-
|
8
|
-
data = [{
|
9
|
-
label: "Total visitors",
|
10
|
-
data: d1
|
11
|
-
}, {
|
12
|
-
label: "Total Sales",
|
13
|
-
data: d2
|
14
|
-
}];
|
15
|
-
|
16
|
-
chartOptions = {
|
17
|
-
xaxis: {
|
18
|
-
|
19
|
-
},
|
20
|
-
yaxis: {
|
21
|
-
|
22
|
-
},
|
23
|
-
series: {
|
24
|
-
lines: {
|
25
|
-
show: false,
|
26
|
-
fill: false,
|
27
|
-
lineWidth: 3
|
28
|
-
},
|
29
|
-
points: {
|
30
|
-
show: true,
|
31
|
-
radius: 4,
|
32
|
-
fill: true,
|
33
|
-
lineWidth: 3
|
34
|
-
}
|
35
|
-
},
|
36
|
-
grid: {
|
37
|
-
hoverable: true,
|
38
|
-
clickable: false,
|
39
|
-
borderWidth: 0
|
40
|
-
},
|
41
|
-
legend: {
|
42
|
-
show: true
|
43
|
-
},
|
44
|
-
|
45
|
-
tooltip: true,
|
46
|
-
tooltipOpts: {
|
47
|
-
content: '%s: %y'
|
48
|
-
},
|
49
|
-
|
50
|
-
colors: App.chartColors
|
51
|
-
};
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
var holder = $('#scatter-chart');
|
56
|
-
|
57
|
-
if (holder.length) {
|
58
|
-
$.plot(holder, data, chartOptions );
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
});
|
@@ -1,86 +0,0 @@
|
|
1
|
-
$(function () {
|
2
|
-
|
3
|
-
var d1, d2, d3, data, chartOptions;
|
4
|
-
|
5
|
-
d1 = [
|
6
|
-
[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 1129],
|
7
|
-
[1272672000000, 1163], [1275350400000, 1905], [1277942400000, 2002], [1280620800000, 2917],
|
8
|
-
[1283299200000, 2700], [1285891200000, 2700], [1288569600000, 2100], [1291161600000, 1700]
|
9
|
-
];
|
10
|
-
|
11
|
-
d2 = [
|
12
|
-
[1262304000000, 434], [1264982400000, 232], [1267401600000, 475], [1270080000000, 553],
|
13
|
-
[1272672000000, 675], [1275350400000, 679], [1277942400000, 789], [1280620800000, 1026],
|
14
|
-
[1283299200000, 1640], [1285891200000, 1892], [1288569600000, 2147], [1291161600000, 2256]
|
15
|
-
];
|
16
|
-
|
17
|
-
d3 = [
|
18
|
-
[1262304000000, 632], [1264982400000, 487], [1267401600000, 623], [1270080000000, 789],
|
19
|
-
[1272672000000, 892], [1275350400000, 853], [1277942400000, 952], [1280620800000, 1245],
|
20
|
-
[1283299200000, 1872], [1285891200000, 2036], [1288569600000, 2345], [1291161600000, 2498]
|
21
|
-
];
|
22
|
-
|
23
|
-
data = [{
|
24
|
-
label: "Total visitors",
|
25
|
-
data: d1
|
26
|
-
}, {
|
27
|
-
label: "Total sales",
|
28
|
-
data: d2
|
29
|
-
}, {
|
30
|
-
label: "Total visitors",
|
31
|
-
data: d3
|
32
|
-
}];
|
33
|
-
|
34
|
-
chartOptions = {
|
35
|
-
xaxis: {
|
36
|
-
min: (new Date(2009, 12, 1)).getTime(),
|
37
|
-
max: (new Date(2010, 11, 2)).getTime(),
|
38
|
-
mode: "time",
|
39
|
-
tickSize: [1, "month"],
|
40
|
-
monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
41
|
-
tickLength: 0
|
42
|
-
},
|
43
|
-
yaxis: {
|
44
|
-
|
45
|
-
},
|
46
|
-
series: {
|
47
|
-
stack: true,
|
48
|
-
lines: {
|
49
|
-
show: true,
|
50
|
-
fill: true,
|
51
|
-
lineWidth: 3
|
52
|
-
},
|
53
|
-
points: {
|
54
|
-
show: false,
|
55
|
-
radius: 4.5,
|
56
|
-
fill: true,
|
57
|
-
fillColor: "#ffffff",
|
58
|
-
lineWidth: 2.75
|
59
|
-
}
|
60
|
-
},
|
61
|
-
grid: {
|
62
|
-
hoverable: true,
|
63
|
-
clickable: false,
|
64
|
-
borderWidth: 0
|
65
|
-
},
|
66
|
-
legend: {
|
67
|
-
show: true
|
68
|
-
},
|
69
|
-
|
70
|
-
tooltip: true,
|
71
|
-
tooltipOpts: {
|
72
|
-
content: '%s: %y'
|
73
|
-
},
|
74
|
-
colors: App.chartColors
|
75
|
-
};
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
var holder = $('#stacked-area-chart');
|
80
|
-
|
81
|
-
if (holder.length) {
|
82
|
-
$.plot(holder, data, chartOptions );
|
83
|
-
}
|
84
|
-
|
85
|
-
|
86
|
-
});
|