graph plot

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
sandeep605085
New php-forum User
New php-forum User
Posts: 44
Joined: Tue Feb 26, 2013 6:00 am
Location: Mindfire Solutions
Contact:

Re: graph plot

Post by sandeep605085 » Wed May 08, 2013 9:57 am

Hi,

check if this simple tool helps you.

Download phplot-6.0.0.zip from below link
http://sourceforge.net/projects/phplot/?source=dlp

unzip the above zip file

then inside phplot directory where all code is present there create a test.php and write the below code
<?php
require 'phplot.php';
$plot = new PHPlot();
$data = array(array('', 0, 0), array('', 1, 9));
$plot->SetDataValues($data);
$plot->SetDataType('data-data');
$plot->DrawGraph();
?>

then run the test.php from browser and check it plots the graph.

Thanks,
Sandeep Agrawal
Mindfire Solutions.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 5 guests