403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/check/RGraph/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/check/RGraph/examples/line.html
<!DOCTYPE html >
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">

    <!--
        /**
        * o------------------------------------------------------------------------------o
        * | This file is part of the RGraph package - you can learn more at:             |
        * |                                                                              |
        * |                          http://www.rgraph.net                               |
        * |                                                                              |
        * | This package is licensed under the RGraph license. For all kinds of business |
        * | purposes there is a small one-time licensing fee to pay and for non          |
        * | commercial  purposes it is free to use. You can read the full license here:  |
        * |                                                                              |
        * |                      http://www.rgraph.net/LICENSE.txt                       |
        * o------------------------------------------------------------------------------o
        */
    -->
    <title>Line charts</title>
    
    <meta name="keywords" content="rgraph html5 canvas example line chart" />
    <meta name="description" content="Line chart example" />
    
    <meta property="og:title" content="RGraph: HTML5 Javascript charts library" />
    <meta property="og:description" content="A charts library based on the HTML5 canvas tag" />
    <meta property="og:image" content="http://www.rgraph.net/images/logo.png"/>

    <link rel="stylesheet" href="../css/website.css" type="text/css" media="screen" />
    <link rel="icon" type="image/png" href="../images/favicon.png">
    
    <!-- Place this tag in your head or just before your close body tag -->
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

    <script src="../libraries/RGraph.common.core.js" ></script>
    <script src="../libraries/RGraph.common.context.js" ></script>
    <script src="../libraries/RGraph.common.annotate.js" ></script>
    <script src="../libraries/RGraph.common.tooltips.js" ></script>
    <script src="../libraries/RGraph.common.zoom.js" ></script>
    <script src="../libraries/RGraph.common.effects.js" ></script>
    <script src="../libraries/RGraph.common.key.js" ></script>
    <script src="../libraries/RGraph.line.js" ></script>
    <script src="../libraries/RGraph.common.key.js" ></script>
    <!--[if lt IE 9]><script src="../excanvas/excanvas.original.js"></script><![endif]-->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" ></script>

    <script>
        window.onload = function ()
        {
            var line1 = new RGraph.Line('line1', [56,45,43,52,56,65,21,23,34,15,21,12], [35,43,41,41,42,46,42,39,46,41,45,65,54]);
            line1.Set('chart.background.grid', true);
            line1.Set('chart.linewidth', 5);
            line1.Set('chart.gutter.left', 35);
            line1.Set('chart.hmargin', 5);
            if (!document.all || RGraph.isIE9up()) {
                line1.Set('chart.shadow', true);
            }
            line1.Set('chart.tickmarks', null);
            line1.Set('chart.units.post', 'k');
            line1.Set('chart.colors', ['red', 'green']);
            line1.Set('chart.background.grid.autofit', true);
            line1.Set('chart.background.grid.autofit.numhlines', 10);
            line1.Set('chart.curvy', true);
            line1.Set('chart.curvy.factor', 0.5); // This is the default
            line1.Set('chart.animation.unfold.initial',0);
            line1.Set('chart.labels',['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']);
            line1.Set('chart.title','The Trace effect');
            
            if (RGraph.isOld()) {
                line1.Draw();
            } else {
                RGraph.Effects.Line.jQuery.Trace(line1);
            }
            
            var line2 = new RGraph.Line('line2', [6,5,4,5,6,4,1,2,3], [7,8,9,9,8,7,8,7,6]);
            line2.Set('chart.labels', ['13th','14th','15th','16th','15th','16th','17th','18th','19th']);
            line2.Set('chart.title', 'Range of fuel consumption');
            line2.Set('chart.title.vpos', 0.5);
            line2.Set('chart.background.grid.autofit.align', true);
            line2.Set('chart.filled', true);
            line2.Set('chart.filled.range', true);
            line2.Set('chart.fillstyle', 'rgba(128,255,128,0.5)');
            line2.Set('chart.linewidth', 2);
            line2.Set('chart.colors', ['green']);
            line2.Set('chart.hmargin', 5);
            line2.Set('chart.gutter.left', 50);
            RGraph.isOld() ? line2.Draw() : RGraph.Effects.Line.jQuery.Trace(line2);
            
            var line3 = new RGraph.Line('line3', [12,23,25,26,28,48,45,46,70], [31,20,48,46,41,52,54,58,34]);
            line3.Set('chart.linewidth', 7);
            line3.Set('chart.filled', true);
            line3.Set('chart.fillstyle', ['rgba(255,0,0,1)', 'rgba(255,255,0,1)']);
            line3.Set('chart.colors', ['black','black']);
            line3.Set('chart.units.post', '%');
            line3.Set('chart.gutter.left', 55);
            line3.Set('chart.gutter.right', 15);
            line3.Set('chart.labels', ['Hoolio', 'Gary', 'Fliss', 'Nevil', 'Jobe', 'Pete', 'Lou', 'John', 'Fred']);
            line3.Set('chart.key', ['Year 1 (1999)', 'Year 2 (2009)']);
            line3.Set('chart.key.colors', line3.Get('chart.fillstyle'));
            line3.Set('chart.key.position', 'gutter');
            line3.Set('chart.key.position.gutter.boxed', false);
            line3.Draw();
            
            var line4 = new RGraph.Line('line4', [6,3,5,8,9,5,7,4,8,6,2]);
            line4.Set('chart.yaxispos', 'right');
            line4.Set('chart.hmargin', 15);
            line4.Set('chart.tickmarks', 'endcircle');
            line4.Set('chart.labels', ['Alex','\r\nGary','Hoolio','\r\nBenny','Olga','\r\nRachel','June','\r\nShappy','Lou','\r\nPete','Kevin']);
            line4.Set('chart.linewidth', 3);
            line4.Set('chart.shadow', true);
            line4.Set('chart.gutter.top', 5);
            line4.Set('chart.gutter.bottom', 45);
            line4.Draw();

            var line5 = new RGraph.Line('line5', [15,40,16,44,51,12,19], [35,20,34,16,12,34,16], [24,25,13,21,27,24,15], [26,15,37,19,10,30,50]);
            line5.Set('chart.colors', ['red','green','blue','black']);
            line5.Set('chart.fillstyle', ['rgba(255,0,0,0.3)','rgba(0,255,0,0.3)','rgba(0,0,255,0.3)','rgba(188,188,188,0.3)']);
            line5.Set('chart.title', 'A Line chart showing percentages');
            line5.Set('chart.key', ['Fred','Bob','Jeremy','Louise']);
            line5.Set('chart.gutter.right', 80);
            line5.Set('chart.gutter.left', 40);
            line5.Set('chart.key.position.x', line5.canvas.width - line5.Get('chart.gutter.right'));
            line5.Set('chart.key.position.y', line5.Get('chart.gutter.top') + 60);
            line5.Set('chart.key.linewidth', 0.001);
            line5.Set('chart.key.background', 'rgba(0,0,0,0)');
            line5.Set('chart.key.colors', line5.Get('chart.colors'));
            line5.Set('chart.linewidth', 5);
            line5.Set('chart.filled', true);
            line5.Set('chart.units.post', '%');
            line5.Set('chart.labels', ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday']);
            RGraph.isOld() ? line5.Draw() : RGraph.Effects.Line.jQuery.Trace(line5);
        }
    </script>

    <script>
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-54706-2']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    </script>

</head>
<body>

    
    <!-- Social networking buttons -->
        <?php
            $prefix = substr($_SERVER['SERVER_NAME'], 0, 3);
            require("/rgraph.{$prefix}/social.html");
        ?>
    <!-- Social networking buttons -->


<div id="breadcrumb">
    <a href="../index.html">RGraph: HTML5 Javascript charts library</a>
    >
    <a href="./index.html">Examples</a>
    >
    Line chart
</div>

<h1>Line <span>charts</span></h1>

    <script>
        if (RGraph.isOld()) {
            document.write('<div style="background-color: #fee; border: 2px dashed red; padding: 5px"><b>Important</b><br /><br /> Internet Explorer does not natively support the HTML5 canvas tag, so if you want to see the charts, you can either:<ul><li>Install <a href="http://code.google.com/chrome/chromeframe/">Google Chrome Frame</a></li><li>Use ExCanvas. This is provided in the RGraph Archive.</li><li>Use another browser entirely. Your choices are Firefox 3.5+, Chrome 2+, Safari 4+ or Opera 10.5+. </li></ul> <b>Note:</b> Internet Explorer 9 fully supports the canvas tag.</div>');
        }
    </script>
    
    <div>
    
        <div>
            <p>
                Like Bar charts, Line charts are some of the most versatile chart types. It is similar, but can indicate
                chronological data better. Line charts are good if, for example, you want to illustrate sales figures
                over a year (or any period of time). You'll then be able to easily see whether sales are going up, down
                or are stagnant. It will also become apparent which months are busier than others. By using a multiple
                line chart you can add multiple sets of data (eg two or more years of figures) to your chart. You can
                customise the line chart by stipulating it as being filled, having drop shadows, keys, having the X
                axis in the centre, different colors, different tickmark styles and tooltips etc.
            </p>

            <ul>
                <li><a href="../docs/line.html">Line charts API documentation</a></li>
            </ul>
        </div>

        <div>
            <canvas id="line1" width="475" height="250">[Please wait...]</canvas>
            <canvas id="line2" width="475" height="250">[Please wait...]</canvas>
        </div>

        <div>
            <canvas id="line3" width="475" height="250">[Please wait...]</canvas>
            <canvas id="line4" width="475" height="250">[Please wait...]</canvas>
        </div>

        <div>
            <canvas id="line5" width="475" height="250">[Please wait...]</canvas>
        </div>
    </div>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit