Login   Register  
PHP Classes
elePHPant
Icontem

File: test_trend.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Miran Zagar  >  eBusiness Charts  >  test_trend.php  >  Download  
File: test_trend.php
Role: Example script
Content type: text/plain
Description: Test script
Class: eBusiness Charts
Wrapper around eBusiness charts generation service
Author: By
Last change: ID change
Date: 2004-05-26 11:17
Size: 1,137 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Test eB/Charts php class</TITLE>
<style type="text/css">
<!--
  .tbhead { color: #000000; font: 15pt  Tahoma, Arial, Helvetica, sans-serif; font-weight: bold  }  
  .label { color: #000000; font: 8pt  Tahoma, Arial, Helvetica, sans-serif; font-weight: bold  }  
  th { color: #000000; font: 15pt  Tahoma, Arial, Helvetica, sans-serif; font-weight: bold  } 
  td { color: #000000; font: 8pt  Tahoma, Arial, Helvetica, sans-serif; font-weight: bold  }  
-->
</style>

</HEAD>
<BODY>
<?
require_once ("class_ebcharts.php");

//////////////////////////////////////////////////////////////
//
// please change YOUR_ID to ID received after registration
//
// if you do not have your ID please get one from
//                                          http://charts.eb-mon.net
//
////////////////////////////////////////////////////////////////
$b=new chart('YOUR_ID','trend',300,200);
$b->set_bg("gold");
$b->add_value_line('1,3,4,5,6,5','xxxxxx');
$b->add_label('Jan,Feb,Mar,April,Maj,Junij');
$b->enable_spine();
$b->draw();
echo 
"<HR>";


?>
</BODY>
</HTML>