Location: PHPKode > scripts > eBusiness Charts > ebusiness-charts/test_trend.php
<!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>
Return current item: eBusiness Charts