403Webshell
Server IP : 46.62.235.243  /  Your IP : 216.73.216.217
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/linkabili/node_modules/flot.curvedlines/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/linkabili/node_modules/flot.curvedlines/exampleHelperPoints.txt
### html ###

<h4>CurvedLines: random data points </h4>
<div id="flotContainer" class="chart-style"></div>

<h4>CurvedLines: internally created helper points</h4>
<div id="flotContainer2" class="chart-style"></div>

### css ###

.chart-style {
    width: 600px;
    height: 260px;
}

### javascript ###

//random data
var d1 = []; var last = 0;
for (var i = 0; i <= 40; i += (2 + parseInt(Math.random() * 5))) {
    last = last + ((Math.random() * 3) - 1.5)
    d1.push([i, parseInt(last)]);
}

//flot options
var options = {
                 series: {
                     curvedLines: {
                                   active: true,
                                   nrSplinePoints: 20 // <- control nr of helper points
                     }                                // between two poins
                 }
              };
//plotting
$.plot($("#flotContainer"),[
    { //curved line
        data: d1,
        lines: {show: true, lineWidth: 3},
        curvedLines: {apply: true } // <- curve line
    }, { //original data points
        data: d1,
        points: {show: true}
    }      
], options);

$.plot($("#flotContainer2"),[
    { // <- helper points that are used to curve the lines
        data: d1,
        color: '#CC0000',
        points: {show: true},
        curvedLines: {apply: true}  //<- "curve" points
     }        
], options);

Youez - 2016 - github.com/yon3zu
LinuXploit