Вход Регистрация
Файл: admin/skins/lib/flot/examples/graph-types.html
Строк: 35
<?php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<
html>
 <
head>
    <
meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <
title>Flot Examples</title>
    <
link href="layout.css" rel="stylesheet" type="text/css">
    <!--[if 
lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
    <
script language="javascript" type="text/javascript" src="../jquery.js"></script>
    <
script language="javascript" type="text/javascript" src="../jquery.flot.js"></script>
 </
head>
    <
body>
    <
h1>Flot Examples</h1>

    <
div id="placeholder" style="width:600px;height:300px"></div>

    <
p>Flot supports linespointsfilled areasbars and any
    combinations of these
in the same plot and even on the same data
    series
.</p>

<
script type="text/javascript">
$(function () {
    var 
d1 = [];
    for (var 
014+= 0.5)
        
d1.push([iMath.sin(i)]);

    var 
d2 = [[03], [48], [85], [913]];

    var 
d3 = [];
    for (var 
014+= 0.5)
        
d3.push([iMath.cos(i)]);

    var 
d4 = [];
    for (var 
014+= 0.1)
        
d4.push([iMath.sqrt(10)]);
    
    var 
d5 = [];
    for (var 
014+= 0.5)
        
d5.push([iMath.sqrt(i)]);

    var 
d6 = [];
    for (var 
014+= 0.5 Math.random())
        
d6.push([iMath.sqrt(2*Math.sin(i) + 5)]);
                        
    $.
plot($("#placeholder"), [
        {
            
datad1,
            
lines: { showtruefilltrue }
        },
        {
            
datad2,
            
bars: { showtrue }
        },
        {
            
datad3,
            
points: { showtrue }
        },
        {
            
datad4,
            
lines: { showtrue }
        },
        {
            
datad5,
            
lines: { showtrue },
            
points: { showtrue }
        },
        {
            
datad6,
            
lines: { showtruestepstrue }
        }
    ]);
});
</
script>

 </
body>
</
html>
?>
Онлайн: 1
Реклама