PHP Classes

File: samples/sample3.php

Recommend this page to a friend!
  Classes of David Frendin  >  TinyPie  >  samples/sample3.php  >  Download  
File: samples/sample3.php
Role: Example script
Content type: text/plain
Description: Sample of using TinyPie in tables
Class: TinyPie
Generate pie charts as images embedded in HTML
Author: By
Last change: changed description
Date: 4 years ago
Size: 1,026 bytes


Class file image Download

<a href="index.php">&lt;&lt;&nbsp;Back to list</a>

    <legend>3. Demo usage sample in table</legend>
    <table cellpadding="5" cellspacing="0">
        <thead style="background: #000000; color: #FFFFFF;">
                <td><?php echo TinyPie::QuickImg(16, array(array(70000, '00CC00'), array(157500, '555555'))); ?></td>
            <tr style="background: #EEEEFF;">
                <td><?php echo TinyPie::QuickImg(16, array(array(56200, '00CC00'), array(157500, '555555'))); ?></td>
                <td><?php echo TinyPie::QuickImg(16, array(array(31300, '00CC00'), array(157500, '555555'))); ?></td>