-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeature-admin-charts.html
766 lines (695 loc) · 31.2 KB
/
feature-admin-charts.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
---
layout: default
title: Home Page
---
<section class="page-top">
<div class="container">
<div class="row">
<div class="col-md-12">
<ul class="breadcrumb">
<li><a href="#">Home</a></li>
<li class="active">Features</li>
</ul>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h1>Charts</h1>
</div>
</div>
</div>
</section>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="alert alert-info alert-admin">
<div class="row">
<div class="col-md-8">
<h4>Admin Extension</h4>
<p><strong class="warning"><i class="fa fa-warning"></i> Warning!</strong> This page is part of the admin extension and is <strong>NOT</strong> included on Porto - Responsive HTML5 Template, to get all features, purchase both templates: <a target="_blank" href="http://www.themeforest.net/item/porto-responsive-html5-template/4106987?ref=Okler">Porto ($15)</a> + <a target="_blank" href="http://www.themeforest.net/item/porto-admin-responsive-html5-template/8539472?ref=Okler">Porto Admin ($23)</a>: <strong>$38 Total.</strong></p>
<p>
<a class="btn btn-lg btn-sm btn-primary" target="_blank" href="http://www.themeforest.net/item/porto-admin-responsive-html5-template/8539472?ref=Okler">View Porto Admin!</a>
</p>
</div>
<div class="col-md-4 visible-md visible-lg">
<img class="appear-animation pull-right" src="img/admin-banner.png" data-appear-animation="fadeIn">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<h2 class="mt-none">Flot Charts</h2>
<p class="mb-lg">Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks and interactive features.</p>
<div class="row">
<div class="col-md-6">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Basic Chart</h2>
<p class="panel-subtitle">You don't have to do much to get an attractive plot. Create a placeholder, make sure it has dimensions (so Flot knows at what size to draw the plot), then call the plot function with your data.</p>
</header>
<div class="panel-body">
<!-- Flot: Basic -->
<div class="chart chart-md" id="flotBasic"></div>
<script type="text/javascript">
var flotBasicData = [{
data: [
[0, 170],
[1, 169],
[2, 173],
[3, 188],
[4, 147],
[5, 113],
[6, 128],
[7, 169],
[8, 173],
[9, 128],
[10, 128]
],
label: "Series 1",
color: "#0088cc"
}, {
data: [
[0, 115],
[1, 124],
[2, 114],
[3, 121],
[4, 115],
[5, 83],
[6, 102],
[7, 148],
[8, 147],
[9, 103],
[10, 113]
],
label: "Series 2",
color: "#2baab1"
}, {
data: [
[0, 70],
[1, 69],
[2, 73],
[3, 88],
[4, 47],
[5, 13],
[6, 28],
[7, 69],
[8, 73],
[9, 28],
[10, 28]
],
label: "Series 3",
color: "#734ba9"
}];
// See: assets/javascripts/ui-elements/examples.charts.js for more settings.
</script>
</div>
</section>
</div>
<div class="col-md-6">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Real-Time Chart</h2>
<p class="panel-subtitle">You can update a chart periodically to get a real-time effect by using a timer to insert the new data in the plot and redraw it.</p>
</header>
<div class="panel-body">
<!-- Flot: Curves -->
<div class="chart chart-md" id="flotRealTime"></div>
</div>
</section>
</div>
</div>
<div class="row">
<div class="col-md-6">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Bars Chart</h2>
<p class="panel-subtitle">With the categories plugin you can plot categories/textual data easily.</p>
</header>
<div class="panel-body">
<!-- Flot: Bars -->
<div class="chart chart-md" id="flotBars"></div>
<script type="text/javascript">
var flotBarsData = [
["Jan", 28],
["Feb", 42],
["Mar", 25],
["Apr", 23],
["May", 37],
["Jun", 33],
["Jul", 18],
["Aug", 14],
["Sep", 18],
["Oct", 15],
["Nov", 4],
["Dec", 7]
];
// See: assets/javascripts/ui-elements/examples.charts.js for more settings.
</script>
</div>
</section>
</div>
<div class="col-md-6">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Pie Chart</h2>
<p class="panel-subtitle">Default Pie Chart</p>
</header>
<div class="panel-body">
<!-- Flot: Pie -->
<div class="chart chart-md" id="flotPie"></div>
<script type="text/javascript">
var flotPieData = [{
label: "Series 1",
data: [
[1, 60]
],
color: '#0088cc'
}, {
label: "Series 2",
data: [
[1, 10]
],
color: '#2baab1'
}, {
label: "Series 3",
data: [
[1, 15]
],
color: '#734ba9'
}, {
label: "Series 4",
data: [
[1, 15]
],
color: '#E36159'
}];
// See: assets/javascripts/ui-elements/examples.charts.js for more settings.
</script>
</div>
</section>
</div>
</div>
<h2>Morris Charts</h2>
<p class="mb-lg">Good-looking charts shouldn't be difficult.</p>
<div class="row">
<div class="col-md-6">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Line Chart</h2>
<p class="panel-subtitle">A style of chart that is created by connecting a series of data points together with a line.</p>
</header>
<div class="panel-body">
<!-- Morris: Line -->
<div class="chart chart-md" id="morrisLine"></div>
<script type="text/javascript">
var morrisLineData = [{
y: '2006',
a: 100,
b: 90
}, {
y: '2007',
a: 75,
b: 65
}, {
y: '2008',
a: 50,
b: 40
}, {
y: '2009',
a: 75,
b: 65
}, {
y: '2010',
a: 50,
b: 40
}, {
y: '2011',
a: 75,
b: 65
}, {
y: '2012',
a: 100,
b: 90
}, {
y: '2013',
a: 75,
b: 65
}, {
y: '2014',
a: 100,
b: 90
}];
// See: assets/javascripts/ui-elements/examples.charts.js for more settings.
</script>
</div>
</section>
</div>
<div class="col-md-6">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Donut Chart</h2>
<p class="panel-subtitle">Donut Chart are functionally identical to pie charts.</p>
</header>
<div class="panel-body">
<!-- Morris: Donut -->
<div class="chart chart-md" id="morrisDonut"></div>
<script type="text/javascript">
var morrisDonutData = [{
label: "Porto Template",
value: 32
}, {
label: "Tucson Template",
value: 18
}, {
label: "Porto Admin",
value: 20
}];
// See: assets/javascripts/ui-elements/examples.charts.js for more settings.
</script>
</div>
</section>
</div>
</div>
<div class="row">
<div class="col-md-12">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Bar Chart</h2>
<p class="panel-subtitle">A bar chart is a way of summarizing a set of categorical data.</p>
</header>
<div class="panel-body">
<!-- Morris: Bar -->
<div class="chart chart-md" id="morrisBar"></div>
<script type="text/javascript">
var morrisBarData = [{
y: '2004',
a: 10,
b: 30
}, {
y: '2005',
a: 100,
b: 25
}, {
y: '2006',
a: 60,
b: 25
}, {
y: '2007',
a: 75,
b: 35
}, {
y: '2008',
a: 90,
b: 20
}, {
y: '2009',
a: 75,
b: 15
}, {
y: '2010',
a: 50,
b: 10
}, {
y: '2011',
a: 75,
b: 25
}, {
y: '2012',
a: 30,
b: 10
}, {
y: '2013',
a: 75,
b: 5
}, {
y: '2014',
a: 60,
b: 8
}];
// See: assets/javascripts/ui-elements/examples.charts.js for more settings.
</script>
</div>
</section>
</div>
</div>
<div class="row">
<div class="col-md-6">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Stacked Chart</h2>
<p class="panel-subtitle">Stacked Bar Chart.</p>
</header>
<div class="panel-body">
<!-- Morris: Area -->
<div class="chart chart-md" id="morrisStacked"></div>
<script type="text/javascript">
var morrisStackedData = [{
y: '2004',
a: 10,
b: 30
}, {
y: '2005',
a: 100,
b: 25
}, {
y: '2006',
a: 60,
b: 25
}, {
y: '2007',
a: 75,
b: 35
}, {
y: '2008',
a: 90,
b: 20
}, {
y: '2009',
a: 75,
b: 15
}, {
y: '2010',
a: 50,
b: 10
}, {
y: '2011',
a: 75,
b: 25
}, {
y: '2012',
a: 30,
b: 10
}, {
y: '2013',
a: 75,
b: 5
}, {
y: '2014',
a: 60,
b: 8
}];
// See: assets/javascripts/ui-elements/examples.charts.js for more settings.
</script>
</div>
</section>
</div>
<div class="col-md-6">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Area Chart</h2>
<p class="panel-subtitle">An area chart or area graph displays graphically quantitive data.</p>
</header>
<div class="panel-body">
<!-- Morris: Area -->
<div class="chart chart-md" id="morrisArea"></div>
<script type="text/javascript">
var morrisAreaData = [{
y: '2004',
a: 10,
b: 30
}, {
y: '2005',
a: 100,
b: 25
}, {
y: '2006',
a: 60,
b: 25
}, {
y: '2007',
a: 75,
b: 35
}, {
y: '2008',
a: 90,
b: 20
}, {
y: '2009',
a: 75,
b: 15
}, {
y: '2010',
a: 50,
b: 10
}, {
y: '2011',
a: 75,
b: 25
}, {
y: '2012',
a: 30,
b: 10
}, {
y: '2013',
a: 75,
b: 5
}, {
y: '2014',
a: 60,
b: 8
}];
// See: assets/javascripts/ui-elements/examples.charts.js for more settings.
</script>
</div>
</section>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<h2>Circular Charts</h2>
<p class="mb-lg">Easy pie chart is a jQuery plugin that uses the canvas element to render simple pie charts for single values.</p>
<div class="row">
<div class="col-md-12">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Easy Pie Chart</h2>
<p class="panel-subtitle">Lightweight jQuery plugin to render and animate nice pie charts with the HTML5 canvas element.</p>
</header>
<div class="panel-body">
<div class="row text-center">
<div class="col-md-6">
<div class="circular-bar">
<div class="circular-bar-chart" data-percent="85" data-plugin-options='{ "barColor": "#0088CC", "delay": 300 }'>
<strong>Design</strong>
<label><span class="percent">85</span>%</label>
</div>
</div>
</div>
<div class="col-md-6">
<div class="circular-bar">
<div class="circular-bar-chart" data-percent="60" data-plugin-options='{ "barColor": "#2BAAB1", "delay": 600 }'>
<strong>HTML</strong>
<label><span class="percent">60</span>%</label>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
<div class="col-lg-6">
<h2>Gauge Charts</h2>
<p class="mb-lg">Animated Gauge Charts</p>
<div class="row">
<div class="col-md-12">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Gauge</h2>
<p class="panel-subtitle">100% native and cool looking animated JavaScript/CoffeScript gauge.</p>
</header>
<div class="panel-body">
<div class="row text-center">
<div class="col-md-6">
<div class="gauge-chart">
<canvas id="gaugeBasic" width="180" height="110" data-plugin-options='{ "value": 2150, "maxValue": 3000 }'></canvas>
<strong>Design</strong>
<label id="gaugeBasicTextfield"></label>
</div>
</div>
<div class="col-md-6">
<div class="gauge-chart">
<canvas id="gaugeAlternative" width="180" height="110" data-plugin-options='{ "value": 1350, "maxValue": 3000 }'></canvas>
<strong>HTML</strong>
<label id="gaugeAlternativeTextfield"></label>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h2>Liquid Charts</h2>
<p class="mb-lg">Adds animated liquid charts.</p>
<div class="row">
<div class="col-md-12">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Liquid Meter</h2>
<p class="panel-subtitle">Exclusive Plug-in by Okler Themes</p>
</header>
<div class="panel-body">
<div class="row">
<div class="col-md-6">
<meter min="0" max="100" value="35" id="meter"></meter>
</div>
<div class="col-md-6">
<meter min="0" max="100" value="85" id="meterDark"></meter>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
<div class="col-md-6">
<h2>Small Inline Charts</h2>
<p class="mb-lg">Adds tiny charts called sparklines.</p>
<div class="row">
<div class="col-md-12">
<section class="panel">
<header class="panel-heading">
<div class="panel-actions">
<a href="#" class="fa fa-caret-down"></a>
<a href="#" class="fa fa-times"></a>
</div>
<h2 class="panel-title">Sparklines</h2>
<p class="panel-subtitle">This jQuery plugin generates sparklines (small inline charts).</p>
</header>
<div class="panel-body">
<div class="row">
<div class="col-xs-6 col-lg-4">
<div class="small-chart-wrapper">
<div class="small-chart" id="sparklineLine"></div>
<div class="small-chart-info">
<label>Average</label>
<strong>1567.89</strong>
</div>
<script type="text/javascript">
var sparklineLineData = [15, 16, 17, 19, 10, 15, 13, 12, 12, 14, 16, 17];
</script>
</div>
</div>
<div class="col-xs-6 col-lg-4">
<div class="small-chart-wrapper">
<div class="small-chart" id="sparklineBar"></div>
<div class="small-chart-info">
<label>Average</label>
<strong>5000</strong>
</div>
<script type="text/javascript">
var sparklineBarData = [5, 6, 7, 2, 0, 4 , 2, 4, 2, 0, 4 , 2, 4, 2, 0, 4];
</script>
</div>
</div>
<div class="col-xs-6 col-lg-4">
<div class="small-chart-wrapper">
<div class="small-chart" id="sparklineTristate"></div>
<div class="small-chart-info">
<label>Average</label>
<strong>1567.89</strong>
</div>
<script type="text/javascript">
var sparklineTristateData = [1, 1, 0, 1, -1, -1, 1, -1, 0, 0, 1, 1];
</script>
</div>
</div>
<div class="col-xs-6 col-lg-4">
<div class="small-chart-wrapper">
<div class="small-chart" id="sparklineDiscrete"></div>
<div class="small-chart-info">
<label>Average</label>
<strong>1567.89</strong>
</div>
<script type="text/javascript">
var sparklineDiscreteData = [5, 6, 7, 9, 10, 5, 3, 2, 2, 4, 6, 7];
</script>
</div>
</div>
<div class="col-xs-6 col-lg-4">
<div class="small-chart-wrapper">
<div class="small-chart" id="sparklineBullet"></div>
<div class="small-chart-info">
<label>Average</label>
<strong>1567.89</strong>
</div>
<script type="text/javascript">
var sparklineBulletData = [10, 12, 12, 9, 7];
</script>
</div>
</div>
<div class="col-xs-6 col-lg-4">
<div class="small-chart-wrapper">
<div class="small-chart text-center" id="sparklinePie"></div>
<div class="small-chart-info">
<label>Average</label>
<strong>1567.89</strong>
</div>
<script type="text/javascript">
var sparklinePieData = [1, 1, 2];
</script>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
</div>