PHP Classes

File: samples/twig/demo.html.twig

Recommend this page to a friend!
  Classes of Joseluis Laso  >  PHP Stats Graphs  >  samples/twig/demo.html.twig  >  Download  
File: samples/twig/demo.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Stats Graphs
Generate SVG charts from sample data
Author: By
Last change:
Date: 5 years ago
Size: 512 bytes


Class file image Download
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
<h1>Example of Simple Stats</h1>
    {{ statsGraph('scatter', 'Example scatter', 'clicks,ips', [0,99999999999], 600, 480) }}
    <a href="../click.php?data=click_link&redirect=twig/{{ home() }}">Click</a>
    <span>&nbsp;count [{{ statsCount('ips', userIP()) }}]</span>
    {{ statsGraph('bar', 'Example bars', 'logins', [0,99999999999], 600, 480) }}
For more information send a message to info at phpclasses dot org.