Вход Регистрация
Файл: wapxl.ru/js/morris-data.js
Строк: 24
<?php
$(function() {

    
Morris.Area({
        
element'morris-area-chart',
        
data: [{
            
period'2010 Q1',
            
iphone2666,
            
ipadnull,
            
itouch2647
        
}, {
            
period'2010 Q2',
            
iphone2778,
            
ipad2294,
            
itouch2441
        
}, {
            
period'2010 Q3',
            
iphone4912,
            
ipad1969,
            
itouch2501
        
}, {
            
period'2010 Q4',
            
iphone3767,
            
ipad3597,
            
itouch5689
        
}, {
            
period'2011 Q1',
            
iphone6810,
            
ipad1914,
            
itouch2293
        
}, {
            
period'2011 Q2',
            
iphone5670,
            
ipad4293,
            
itouch1881
        
}, {
            
period'2011 Q3',
            
iphone4820,
            
ipad3795,
            
itouch1588
        
}, {
            
period'2011 Q4',
            
iphone15073,
            
ipad5967,
            
itouch5175
        
}, {
            
period'2012 Q1',
            
iphone10687,
            
ipad4460,
            
itouch2028
        
}, {
            
period'2012 Q2',
            
iphone8432,
            
ipad5713,
            
itouch1791
        
}],
        
xkey'period',
        
ykeys: ['iphone''ipad''itouch'],
        
labels: ['iPhone''iPad''iPod Touch'],
        
pointSize2,
        
hideHover'auto',
        
resizetrue
    
});

    
Morris.Donut({
        
element'morris-donut-chart',
        
data: [{
            
label"Download Sales",
            
value12
        
}, {
            
label"In-Store Sales",
            
value30
        
}, {
            
label"Mail-Order Sales",
            
value20
        
}],
        
resizetrue
    
});

    
Morris.Bar({
        
element'morris-bar-chart',
        
data: [{
            
y'2006',
            
a100,
            
b90
        
}, {
            
y'2007',
            
a75,
            
b65
        
}, {
            
y'2008',
            
a50,
            
b40
        
}, {
            
y'2009',
            
a75,
            
b65
        
}, {
            
y'2010',
            
a50,
            
b40
        
}, {
            
y'2011',
            
a75,
            
b65
        
}, {
            
y'2012',
            
a100,
            
b90
        
}],
        
xkey'y',
        
ykeys: ['a''b'],
        
labels: ['Series A''Series B'],
        
hideHover'auto',
        
resizetrue
    
});

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