123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369 |
- $(function () {
- "use strict";
- /* Circle-progress */
- $('#circle').circleProgress({
- value: 0.85,
- size: 70,
- fill: {
- color: ["#05c3fb"]
- }
- });
- /* Circle-progress closed */
- /* Circle-progress-1 */
- $('#circle-1').circleProgress({
- value: 0.64,
- size: 70,
- fill: {
- color: ["#09ad95"]
- }
- });
- /* Circle-progress-1 closed */
- /* Circle-progress-2 */
- $('#circle-2').circleProgress({
- value: 0.74,
- size: 70,
- fill: {
- color: ["#f7b731"]
- }
- });
- /* Circle-progress-2 closed */
- /* Circle-progress-3 */
- $('#circle-3').circleProgress({
- value: 0.55,
- size: 70,
- fill: {
- gradient: ["#e82646"]
- }
- });
- /* Circle-progress-3 closed */
- /* Chartjs (#areaChart1) */
- var ctx = document.getElementById('areaChart1').getContext('2d');
- var myChart = new Chart(ctx, {
- type: 'line',
- data: {
- labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
- type: 'line',
- datasets: [{
- label: 'Market value',
- data: [30, 70, 30, 100, 50, 130, 100, 140],
- backgroundColor: 'transparent',
- borderColor: '#1170e4',
- pointBackgroundColor: '#fff',
- pointHoverBackgroundColor: '#1170e4',
- pointBorderColor: '#1170e4',
- pointHoverBorderColor: '#1170e4',
- pointBorderWidth: 2,
- pointRadius: 2,
- pointHoverRadius: 2,
- borderWidth: 4,
- lineTension: 0.3,
- },]
- },
- options: {
- maintainAspectRatio: false,
- plugins: {
- legend: {
- display: false,
- labels: {
- display: false
- }
- },
- tooltip: {
- mode: 'index',
- backgroundColor: '#fff',
- titleColor: '#000',
- bodyColor: '#000',
- cornerRadius: 3,
- intersect: false,
- }
- },
- responsive: true,
- scales: {
- x: {
- display: false,
- gridLines: {
- color: 'transparent',
- zeroLineColor: 'transparent'
- },
- ticks: {
- fontSize: 2,
- display: false,
- fontColor: 'transparent'
- }
- },
- y: {
- display: false,
- ticks: {
- display: false,
- }
- }
- },
- title: {
- display: false,
- },
- elements: {
- line: {
- borderWidth: 1
- },
- point: {
- radius: 4,
- hitRadius: 10,
- hoverRadius: 4
- }
- }
- }
- });
- /* Chartjs (#areaChart1) closed */
- /* Chartjs (#areaChart2) */
- var ctx = document.getElementById('areaChart2').getContext('2d');
- var myChart = new Chart(ctx, {
- type: 'line',
- data: {
- labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
- type: 'line',
- datasets: [{
- label: 'Market value',
- data: [24, 18, 28, 21, 32, 28, 30],
- backgroundColor: 'transparent',
- borderColor: '#09ad95',
- pointBackgroundColor: '#fff',
- pointHoverBackgroundColor: '#09ad95',
- pointBorderColor: '#09ad95',
- pointHoverBorderColor: '#09ad95',
- pointBorderWidth: 2,
- pointRadius: 2,
- pointHoverRadius: 2,
- borderWidth: 4,
- lineTension: 0.3,
- },]
- },
- options: {
- maintainAspectRatio: false,
- plugins: {
- legend: {
- display: false,
- labels: {
- display: false
- }
- },
- tooltip: {
- mode: 'index',
- backgroundColor: '#fff',
- titleColor: '#000',
- bodyColor: '#000',
- cornerRadius: 3,
- intersect: false,
- }
- },
- responsive: true,
- scales: {
- x: {
- display: false,
- gridLines: {
- color: 'transparent',
- zeroLineColor: 'transparent'
- },
- ticks: {
- fontSize: 2,
- fontColor: 'transparent'
- }
- },
- y: {
- display: false,
- ticks: {
- display: false,
- }
- }
- },
- title: {
- display: false,
- },
- elements: {
- line: {
- borderWidth: 1
- },
- point: {
- radius: 4,
- hitRadius: 10,
- hoverRadius: 4
- }
- }
- }
- });
- /* Chartjs (#areaChart2) closed */
- /* Chartjs (#areaChart3) */
- var ctx = document.getElementById('areaChart3').getContext('2d');
- var myChart = new Chart(ctx, {
- type: 'line',
- data: {
- labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
- type: 'line',
- datasets: [{
- label: 'Market value',
- data: [30, 70, 30, 100, 50, 130, 100, 140],
- backgroundColor: 'transparent',
- borderColor: '#f7b731',
- pointBackgroundColor: '#fff',
- pointHoverBackgroundColor: '#f7b731',
- pointBorderColor: '#f7b731',
- pointHoverBorderColor: '#f7b731',
- pointBorderWidth: 2,
- pointRadius: 2,
- pointHoverRadius: 2,
- borderWidth: 4,
- lineTension: 0.3,
- },]
- },
- options: {
- maintainAspectRatio: false,
- plugins: {
- legend: {
- display: false,
- labels: {
- display: false
- }
- },
- tooltip: {
- mode: 'index',
- backgroundColor: '#fff',
- titleColor: '#000',
- bodyColor: '#000',
- cornerRadius: 3,
- intersect: false,
- }
- },
- responsive: true,
- scales: {
- x: {
- display: false,
- gridLines: {
- color: 'transparent',
- zeroLineColor: 'transparent'
- },
- ticks: {
- fontSize: 2,
- fontColor: 'transparent'
- }
- },
- y: {
- display: false,
- ticks: {
- display: false,
- }
- }
- },
- title: {
- display: false,
- },
- elements: {
- line: {
- borderWidth: 1
- },
- point: {
- radius: 4,
- hitRadius: 10,
- hoverRadius: 4
- }
- }
- }
- });
- /* Chartjs (#areaChart3) closed */
- /* Chartjs (#areaChart4) */
- var ctx = document.getElementById('areaChart4').getContext('2d');
- var myChart = new Chart(ctx, {
- type: 'line',
- data: {
- labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
- type: 'line',
- datasets: [{
- label: 'Market value',
- data: [24, 18, 28, 21, 32, 28, 30],
- backgroundColor: 'transparent',
- borderColor: '#e82646',
- pointBackgroundColor: '#fff',
- pointHoverBackgroundColor: '#e82646',
- pointBorderColor: '#e82646',
- pointHoverBorderColor: '#e82646',
- pointBorderWidth: 2,
- pointRadius: 2,
- pointHoverRadius: 2,
- borderWidth: 4,
- lineTension: 0.3,
- },]
- },
- options: {
- maintainAspectRatio: false,
- plugins: {
- legend: {
- display: false,
- labels: {
- display: false
- }
- },
- tooltip: {
- mode: 'index',
- backgroundColor: '#fff',
- titleColor: '#000',
- bodyColor: '#000',
- cornerRadius: 3,
- intersect: false,
- }
- },
- responsive: true,
- scales: {
- x: {
- display: false,
- gridLines: {
- color: 'transparent',
- zeroLineColor: 'transparent'
- },
- ticks: {
- fontSize: 2,
- fontColor: 'transparent'
- }
- },
- y: {
- display: false,
- ticks: {
- display: false,
- }
- }
- },
- title: {
- display: false,
- },
- elements: {
- line: {
- borderWidth: 1
- },
- point: {
- radius: 4,
- hitRadius: 10,
- hoverRadius: 4
- }
- }
- }
- });
- /* Chartjs (#areaChart4) closed */
- });
|