Вход Регистрация
Файл: admin/js/dashboard1.js
Строк: 45
<?php
// Dashboard 1 Morris-chart

Morris.Area({
        
element'morris-area-chart',
        
data: [{
            
period'2010',
            
iphone50,
            
ipad80,
            
itouch20
        
}, {
            
period'2011',
            
iphone130,
            
ipad100,
            
itouch80
        
}, {
            
period'2012',
            
iphone80,
            
ipad60,
            
itouch70
        
}, {
            
period'2013',
            
iphone70,
            
ipad200,
            
itouch140
        
}, {
            
period'2014',
            
iphone180,
            
ipad150,
            
itouch140
        
}, {
            
period'2015',
            
iphone105,
            
ipad100,
            
itouch80
        
},
         {
            
period'2016',
            
iphone250,
            
ipad150,
            
itouch200
        
}],
        
xkey'period',
        
ykeys: ['iphone''ipad''itouch'],
        
labels: ['iPhone''iPad''iPod Touch'],
        
pointSize3,
        
fillOpacity0,
        
pointStrokeColors:['#00bfc7''#fb9678''#9675ce'],
        
behaveLikeLinetrue,
        
gridLineColor'#e0e0e0',
        
lineWidth3,
        
hideHover'auto',
        
lineColors: ['#00bfc7''#fb9678''#9675ce'],
        
resizetrue
        
    
});

Morris.Area({
        
element'morris-area-chart2',
        
data: [{
            
period'2010',
            
SiteA0,
            
SiteB0,
            
        }, {
            
period'2011',
            
SiteA130,
            
SiteB100,
            
        }, {
            
period'2012',
            
SiteA80,
            
SiteB60,
            
        }, {
            
period'2013',
            
SiteA70,
            
SiteB200,
            
        }, {
            
period'2014',
            
SiteA180,
            
SiteB150,
            
        }, {
            
period'2015',
            
SiteA105,
            
SiteB90,
            
        },
         {
            
period'2016',
            
SiteA250,
            
SiteB150,
           
        }],
        
xkey'period',
        
ykeys: ['SiteA''SiteB'],
        
labels: ['Site A''Site B'],
        
pointSize0,
        
fillOpacity0.4,
        
pointStrokeColors:['#b4becb''#01c0c8'],
        
behaveLikeLinetrue,
        
gridLineColor'#e0e0e0',
        
lineWidth0,
        
smoothfalse,
        
hideHover'auto',
        
lineColors: ['#b4becb''#01c0c8'],
        
resizetrue
        
    
});

 
 $(
'.vcarousel').carousel({
            
interval3000
         
})
$(
".counter").counterUp({
        
delay100,
        
time1200
    
});

$(
document).ready(function() {
    
   var 
sparklineLogin = function() { 
        $(
'#sales1').sparkline([204030], {
            
type'pie',
            
height'90',
            
resizetrue,
            
sliceColors: ['#01c0c8''#7d5ab6''#ffffff']
        });
        $(
'#sparkline2dash').sparkline([61091191012], {
            
type'bar',
            
height'154',
            
barWidth'4',
            
resizetrue,
            
barSpacing'10',
            
barColor'#25a6f7'
        
});
        
   }
    var 
sparkResize;
 
        $(
window).resize(function(e) {
            
clearTimeout(sparkResize);
            
sparkResize setTimeout(sparklineLogin500);
        });
        
sparklineLogin();

});
?>
Онлайн: 0
Реклама